Search Results: "ag"

2 November 2005

Uwe Hermann: Initial Linux support for the 5g video iPod - video sync using gtkpod / libgpod

My video iPod OK, so I spent some fun time playing around with my 5g video iPod — time for more serious action now. I have created two patches today which add support for the video iPod to gtkpod, a GTK+ based, platform independent GUI for Apple's iPod.
These initial patches allow you to sync m4v video files to your iPod and watch them there. I will add support for all other video formats which work on the iPod, soon. The patches will be sent to the gtkpod maintainers, of course, in the hope that they can be included in the next release. Note: This is pre-alpha, barely-tested code! Use at your own risk! Installation instructions: I get a "Destroying mmap buffer" error every time I sync the iPod, but that's probably a gtkpod bug, and it's non-fatal anyways. If you happen to own a video iPod, please test the patches and report whether they work! Thanks!

Adam Rosi-Kessel: Is Wolfgang Kueter a jerk or… how to configure iptables?

I’m trying to accomplish what I believe should be a simple task with iptables—replace my DSL router with a linux box. The linux box also routes packets to other machines on the LAN based on destination IP address (the box receives packets for multiple IP addresses from the Internet) and port number, and blocks other packets based on originator IP and port number, but as I understand the firewalling and inbound routing chains are totally separate from the outbound NAT functionality. In any case, the inbound stuff works perfectly now. It seems simple enough to set up a box, where eth0 faces the Internet and eth1 faces the LAN, to act as a gateway or proxy to the LAN:
iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE 
And that actually works perfectly, except that a Windows box inside my LAN is unable to connect to a VPN outside the LAN, while it worked fine with the Buffalo router I had in place before. All other services are properly accessible through the gateway. So I posted a description of my situation to comp.security.firewalls. I admit that I have, at best, a basic understanding of iptables, but I have read the manpage and documentation and gotten it to do 99% of what I need with the exception of this VPN issue. In response, a “Wolfgang Kueter” called me clueless multiple times, said that I had no idea what I was doing, and that I “misunderstand almost everything,” and that I should pay a professional to do it for me and read books on TCP/IP and the IPSec protocol specification itself. Other newsgroup postings by this fellow have a similar tone, e.g. building a security suite (Q: What combination of software firewall, anti-virus, etc., are you using and have you noticed any discernable effect on performance? A: None, because they are useless crap. … I don’t use such crap, so how could I?). Steve suggests that Web 2.0 should have some way to tag people like this as jerks, and their reputation would then follow them around on the web. Since that technology doesn’t yet exist, the next best thing, I suppose, is to just blog about it and hope this entry turns up in a search on the person’s name. Abrasive responses to legitimate requests for help from people hoping to learn something don’t do anything to advance the free software movement. I suppose this kind of person will always exist, but I wish they didn’t. I don’t want to be petty about this sort of thing, but I actually don’t think I need to hire a professional or read books about TCP/IP and the IPSec protocol specification itself to configure a Linux box as a residential gateway. Does anyone disagree?

Gergely Nagy: bye-bye, freepascal

Finally, I can drop freepascal. It turned out to be far more effective to rewrite things in c++ (like, do a module in a day, while I've been fighting freepascal for a week, before I worked around all quirks and bugs). Maybe life does not suck that much, after all...

Erich Schubert: Apache2 + FastCGI + Suexec hell

It took me hours to get FastCGI and Suexec working properly. I'm so annoyed by the horrible docs available for it only. First I tried using fcgid (which at least is DFSG-free) but wasn't able to run moinmoin properly at all. So I gave up on that quickly. So I ended up trying "non-free" libapache2-mod-fastcgi. Oh what a mess. Getting the non-suexec fastcgi working was easy. Now I tried to make it a bit more secure... The "Documentation" claims that all you need to do is enable the SuExec Wrapper. So I configured a "FastCgiServer", set -user and -group appropriately, somehow found out that I need to chown the executeable and the dir containing the executeable accordingly, and that the user and group need to be higher than 100 - ok. (Although group www-data would have been okay, I guess). Reloaded apache. And the fastcgi process is started and running with the right userid. By now I was using a mini test-fastcgi, which prints getuid() - and so I could see that despite my process runing as a different user, it still returned 33 (=www-data). Damn! The reason I found out later after manually changing URIs to find the right docs etc. was that I need to enable mod_suexec, then add the SuexecUserGroup option to my vhost. For incoming requests, FastCGI will check for a running fcgi server with the same path and the same user and group ids as the one you defined in the fastcgi config. Otherwise it will start a new dynamic server. And there is no "FastCgiUserGroup" option or something obvious to configure the user and group name for the cgi path - but you need to do that for mod_suexec. Apache config is a PITA anyway. With its pseudo-XML syntax etc. - we really need to get rid of it sometime... So here is a short howto for using suexec and mod_fastcgi on apache2:

Guido Trotter: Hamachi

A colleague introduced me to Hamachi, a software that claims to be able to connect computers without a fixed internet connection to a VPN between them… The authors say their software is secure, because no communication passes through their server, that serves just as a way to establish the connection. Apart from the fact that in some cases I don’t see how it would be possible for it to work (eg, if both ends are behind a nat…) I also don’t think their protocol is as secure as they say! It seems that if the server wants to lie about the other endpoint public key and ip address it can, and so it is able to create VPN with a man in the middle with absolutely no effort… :( So their protocol is secure only if you put complete trust in their server… What do other people think? Am I right or wrong?

Jesus Climent: For all of you DRM lovers out there...

Sony DRM rootkit love.
RIAA/MPAA broadcast flag on steroids love (PDF). Now, tell me what you will do with your computers and personal pictures/videos when they belong to you no more...

Daniel Stone: [tech/x] custard creams

The X.Org security list has a web form, linked off www.x.org, to submit security concerns. Predictably, it gets a lot of spam and weird stuff. However, I'm utterly at a loss to explain this one:
Date: Wed, 2 Nov 2005 10:12:04 GMT
Message-Id: <200511021012.KAA11645@xoneweb.opengroup.org>
To: xorg_security@x.org
From: Dave Custard <davecustard@custardcreams.com>
Subject: X.Org SECURITY CONCERN: Custard Creams
My concern is that the custard creams are going to escape and
kill us all with their sweet custardy filling. I'm scared.
(form_Security)

Philipp Kern: Gobby 0.3.0

Now with more people blogging about Gobby I could talk a bit about the upcoming 0.3.0 release, which is perhaps sponsored by the Free Software Foundation. We hope to release a new revision as soon as possible and although you wouldn’t see much differences when looking at the running program compared to 0.2.0, many things have changed under the hood. It features a new proven merging algorithm called Jupiter, which replaces the home-made algorithm currently present in obby. This results in less history keeping and a more reliable application of changes. Sadly this still requires Gobby to be a client/server application and does not help it on a way to a peer-to-peer one. Next there are also some new useful features. “Find and replace” with text and regular expressions comes to mind. Yes, we have to reimplement all features of an editor because “gedit” just didn’t meet our expectations when we considered to extend it. Sessions could be serialised into files and restored when needed, while preserving all information like who wrote what. We are currently writing a script which visualises this information on a web page to provide a log of a meeting. Our Tracker lists some more features, although it’s not clear if all could enter this release because of the deadline set by the FSF. I registered all our projects at Launchpad to get them translated through Rosetta. It would be nice if some more could help in translating Gobby. Well to come to an end: Matt Enks informed me today, that the word “gobby” is a slang term for “fellatio” in Australian. It’s a pity, really. It just sounded funny to us, but I won’t talk about the history of the name now because it’s weird. Perhaps we should rename it to something sane at any time in the future. We’ll accept proposals on the Wiki.

Dirk Eddelbuettel: Wilco!

After more than five years in Chicagoland, I finally managed to see Chicago's own Wilco live at the beautiful Auditorium Theater. The concert was a fund-raiser / benefit for hurricane relief -- and sold-out, given the popularity of the band in its home town. And it rocked. Two solid hours with one really short break' before a half-hour long encore of five or six titles. Highly recommended if you get a chance to see'em live; otherwise there are always the Wilco website and the records, including an upcoming live cd.

Jordi Mallach: Arrived in Montr al

It's 6AM (for me) and I'm about to collapse. I am in Montr al to attend to the Ubuntu Below Zero conference. Hopefully jetlag won't last long. There's plenty of anecdotes about the flight, but that can wait until tomorrow.

Benjamin Mako Hill: Double Occupancy

Last night I was out in Dublin and, due to the length that the night dragged on, I invited my friend to crash in the extra bed in my Hotel room in central Dublin rather than return to his place in the suburbs which, at that point, may well have been impossible. When someone came by to clean the room in the morning, they noticed both beds full and reported this to the Hotel managment who called me up to say that they knew the room had been "double occupancy" last night and that they wanted to know if it would "single occupancy" the next night. That's a pretty strange way to talk if you think about it. There is an extra person in my room and the Hotel complains that my room has somehow changed into a new state that they are unhappy with. I suppose this circuitous way of speaking is designed to avoid any potentially embarrassing discussion about who the extra body is and why they are there. That said, this type of obtuse conversation is difficult for patrons to puzzle through immediately after being awoken. Dublin, of course, is great.

Jaldhar Vyas: Happy Diwali and Sal Mubarak!

Ah Diwali. That magical time of the year when Diwali Dilip comes down from Mt. Meru on his sled pulled by eight flying bullocks to deliver presents (dictionaries and socks) to all the good Hindu boys and girls. Or something like that. Happy Diwali and best wishes to all my readers for a wonderful 2062.

John Goerzen: Being on a committee can be fun!

So I am on the Tabor Mennonite Church centennial committee (coming right up in 2008!). We've been going through the church archives, and I've been scanning in interesting photos. Here's one, taken about 1950. This is a photo of the original 1908 Tabor Church building, as remodeled in the 1930s. You'll notice the front door, the many windows. And the two well-worn paths out back. They are leading to the two outhouses. If I understand correctly, they continued to be used up until the mid-1960s when the "new" (present) church building was constructed. The building in the middle housed a Delco Light Plant (generator), which was used until rural electrification provided power to the church. So yes, this church had its own on-site generator, decades before it got indoor plumbing. There's a joke in there somewhere but it's late and somehow I can't come up with a good one. Feel free to post your own ;-)

Jaldhar Vyas: National Novel Writing Month

Once again it is November, National Novel Writing Month participants have one month to write a 50,000+ word novel. I was going to take part last year but didn't follow through. I had a good excuse though, we were having a baby at that time. This year I am going to try again. The genre is science fiction again and the plot is the same: time travel, telepathic dogs, deep philosophical ruminations on the nature of humanity, and new for this year, robot yogis.

Uwe Hermann: Gobby - a collaborative text editor

Gobby screenshot I have heard of Gobby many times now, but when Daniel Stone blogged about it today, I finally decided to give it a try. For those who don't yet know what I'm talking about:
Gobby is a free collaborative editor based on libobby, a library which provides synced document buffers. It supports multiple documents in one session and a multi-user chat. It runs on Microsoft Windows, Mac OS X, Linux and other Unix-like platforms.
One apt-get install gobby later, I was astounded as to how mature it already feels. I think Gobby will be of great benefit when taking notes during conferences, talks and so on. It could also prove invaluable as a pair programming tool. Anyways, I already hear you crying "but SubEthaEdit has been doing this for ages", which is true. But: There you have it. (via Daniel Stone)

Andrew Pollock: [tech] The quest for IPMI LAN access over down interfaces continues

Today I upgraded daedalus to 2.6.14. I had to backport yaird to stable, which wasn't a big deal. It's available here if you're interested. The kernel package for 2.6.14 from unstable worked fine otherwise. I had two motivations behind upgrading - inotify and another look to see if the situation with IPMI had changed. Well inotify just works, and is the bomb. I'm going to have lots of fun with it. IPMI, on the other hand is still broken, which makes me sad. As I've previously pointed out by way of example, LAN access to the base-board management controller via IPMI is impossible after Linux shuts down the interface. It's supposed to work, but the way Linux does it seems to stop it from working. I'd read that the problem was resolved in 2.6.12, and so dutifully tested it out on daedalus to my detriment. I also tested it on 2.6.14, but again, had the same problem (I remembered to schedule a deferred reboot this time). So IPMI with a box running Linux is all good as long as the box is actually running. I suspect if the box panicked and/or hung itself, it'd also be useful for rebooting it, but if you shut the box down and remove power, IPMI won't allow you to turn it back on again.

1 November 2005

Mike Hommey: Firefox 1.5rc1 is out

… and in experimental. RC2 is due soon and final a few days after… I’ll definitely need to update my firefox extensions packaging kinda howto, so as to all my extensions packages, so that they actually work with latests releases of firefox.

Norbert Tretkowski: Caving

My first trip. We visited the Silberloch, one of the more difficult caves in our region. Maybe not the best way to start caving for me, but I really enjoyed it. I was there with four guys from the Caveseekers, all of them quite experienced. We have been about four hours in the cave. That was definitely not the last time I did that, but I need my own equipment next time.

Daniel Stone: [tech] on gobby

So, many people have had many things to say about Gobby, the much-vaunted app with the most phenomenally awful and unfortunate name I've ever seen in a free software app. This tends to be either hype (oh my god, it will enable us to leverage synergies to maximise shareholder value like we've never leveraged synergies before!), or disappointment (is that it?). Mine is neither, really.

I don't find that collaborative editing is hugely groundbreaking; a small IRC channel which everyone uses to document things, then assembled into a text document from there, can do roughly the same job. One thing we've been using it for at Ubuntu Below Zero is taking notes in BoFs. Most people in the BoF log in and the main note taker does the bulk of the work, and either him or the assignee steers conversation.

Normally in BoFs, I either get so involved in it that I forget that I'm supposed to be taking notes and thus don't, or tune out somewhat and forget to take any notes, and have to reconstruct it from vague memories later on. What Gobby is useful for in this case, is keeping the note-taker honest. If the notetaker is writing down anything inaccurate, you can just fix it; if they're forgetting to take notes at all, you can stop talking and throw some Mentos at them.

I think this alone makes it tremendously useful for stuff like note-taking in BoF sessions, and could be useful for minuting conference calls also. Adding the IRCalike interface is useful too as an out-of-band channel to throw URLs around (and to give Seb crap about using azerty) also. So I'm pretty sure I'll keep using it for that.

John Goerzen: A Joke

Overheard on #haskell today: Richard M. Stallman, Linus Torvalds, and Donald E. Knuth engage in a discussion on whose impact on the computerized world was the greatest. Stallman: "God told me I have programmed the best editor in the world!" Torvalds: "Well, God told *me* that I have programmed the best operating system in the world!" Knuth: "Wait, wait - I never said that."

Next.

Previous.