Search Results: "eric"

7 June 2006

Erich Schubert: Mystery subscription

My last.fm status is "subscriber", though I never subscribed. Interesting. I thought maybe it was a test subscription of one month for my birthday or so (which was less then one month ago), but why didn't I get any mail to tell me of this test subscription then? Weird. So if anyone "secretly donated" this subscription to me, please, don't. But who would do so without telling me? I'm happy with their free service... So if you insist on wasting some money on me, consider my amazon wishlist instead (though I don't really care much about that stuff either...). Well, maybe the "ad" message was just delivered to the spam folder. After all, there is still a "subscribe" button on the last.fm page.

6 June 2006

Erich Schubert: Why I use (well, wrote) my firewall tool

Wouter Verhelst wonders why you would use a firewall config tool (apart from a GUI) instead of writing iptables rules directly. While I do just use a couple of iptables statements in a shell script here on my laptop, this is not manageable for larger networks IMHO. In fact, I wrote my Pyroman firewall admin tool for the very reason that it replaced an existing iptables script which was a pain to maintain. I'm talking 300-400 lines here. Four networks, two failover firewalls, a dozen of servers in the DMZ network some of which with extra access rights into the internal network (such as accessing the LDAP directory). And no full-time admin to take care of them. So I needed a firewall script that everybody can edit and that won't fail miserably when they make a mistake. A script with extensive error checking and that prevents people from locking themselves out. With an easy syntax. The first approach was in Perl, and already worked quite good. The rewrite then was in Python, and the users (read: fellow volunteer "admins", that don't know the firewall by heart as I do) liked it a lot. They now could add new hosts and services without depending on me to update the firewall. This is a configuration file they'll immedeately understand:
# add the web server
add_host(
        name="web",
        ip="10.100.1.2",
        iface="dmz"
)
# offering, well, web service.
allow(
        server="web",
        client="ANY DMZ INT",
        service="www ssh ping"
)
In contrast to any pure iptables script. It also helps to require them to commit their changes to a SVN repository (for getting the changes synched to the failover firewall) - that way you have version control and undo.

Erich Schubert: WM opening game cancelled: city Münich does not exist.

Apparently, FIFA can't spell Munich right... Go to the official german FIFA worldcup page on Munich, choose the first Video link (which won't play, but who cares) and have a look at the city menu in the video player... Guess what: Münich So since FIFA doesn't know how to write München, I guess the opening game won't take place here, since the teams won't find it? [Update: Screenshot done by a friend]

5 June 2006

Eric Dorland: Belated DebConf Conclusion

I'm terrible at the whole blogging thing, I've been back for two weeks and haven't found the time to summarize my time at DebConf. I had an excellent time. I met a lot of great people and even found a squash partner for the next DebConf. It was really quite unforgettable, so thanks to everyone involved.

Hanging out with [info]sfllaw there, I was exposed to a lot more Ubuntu-esque things that I really had before. Some people there were quite unhappy about Ubuntu. To me, it's just not really that interesting, one because I don't see it as being substantially better or different from Debian and two because it looser stand on freedom. But hey, this is free software, people seem to like it, and I'm glad to see something related to Debian getting money and attention, rather than say RedHat or SUSE. I think a lot of developers would be happier with Ubuntu if it was just easier to ignore.

Then there was that dinner, and the events surrounding it. While I and many others won't miss Ted, I don't think he was treated at all fairly. Being thrown out in the middle of conference when seemly he did nothing wrong there was not very civil. If people could not stand to be around him, they did not have to be around him. He could have just as easily been removed from the project after the conference was over.

Enough griping though. If I came away with anything from the conference, it was a renewed vigor to work on Debian. Now if only my schedule would permit it.

Erich Schubert: Upgrading unstable notes

From the "using unstable on my desktop" department: Just two things to point out: liferea-mozilla has been superseded by liferea-xulrunner; so if liferea is held back at your upgrade, do an apt-get install liferea-xulrunner. The old file manager of XFCE has been replaced with "thunar". Just do an apt-get install xfce4 to get the latest xfce4 suite. You might want to install the recommends, too. And remember, don't just blindly run dist-upgrade. This is meant for upgrading e.g. from woody to sarge. For daily use, upgrade is much better, since it's less aggressive at uninstalling applications you might miss afterwards. Aptitude may also offer you alternatives in conflict situations.

Erich Schubert: Google Sitemaps offers insight to your webpage rankings

Google Sitemaps isn't just about giving google an easier way to index your whole website. (There are two reasons you might want to give Google a sitemap: One is that this will result in extra links in the search results, since Google apparently uses the sitemap to give the user some extra navigation links with the search result; the other is that this way Google can avoid any flash or javascript magic you might be using - though it's a bad idea - in your webpage.) One nice feature they added is that they give you an excerpt of the web searches turning up your web page, and the average placement for this term. This is a very nice tool to find out how Google "sees" your webpage. Google also gives you a list of common terms used to refer to your webpage. Results for my personal webpage have been very interesting. There are a couple of highly ranked search terms that I would never have expected, that will turn up my page with a high placement. The funniest result is my #1 ranking for Sportfreunde Stiller Torrent, obviously a file sharers search term (Sportfreunde Stiller are a great German indie rock band; check out their new You have to win Zweikampf soccer album. Consider buying it.). I'm not a filesharer. I like web radios (especially when they play lots of indie music and have high quality Ogg Vorbis streams like M94.5) and I use last.fm quite frequently. I have however blogged on Bittorrent technology aspects (as a legal file transfer protocol. Did you know that Debian GNU/Linux considers to use torrent technology for distributing software updates?), and also blogged on young German bands that have made the top of the charts the last few years.

4 June 2006

Martin F. Krafft: Even easier?

Erich, claiming that "it's even easier" when our two approaches basically do exactly the same (mine requires less keystrokes to confirm) is kind of exaggerating, no? I must admit I am very interested in pyroman since I like Python, and "firewall" and "programming" are closely related topics for me. I'll have to do quite a bit of thinking before I can claim that it's easier to speard Python commands across several files as opposed to composing a firewall ruleset in the way it is later processed: line by line.

Erich Schubert: How to avoid locking yourself out via iptables...

Martin F. Krafft blogged about how to rollback firewall changes in the case you managed to lock yourself out from the box It's even easier if you use my Pyroman firewall config tool. (apt-get install pyroman). If you run pyroman safe it will execute the new firewall rules - and if you don't type OK within 30 seconds, it will undo all changes. Note that it can also restore to a configuration set by a different firewall app. (It just restores the old iptables state and feeds it back to iptables - it will support anything your iptables version does.) Oh, and it's much faster than the other firewall scripts I've tested so far, since it doesn't spawn hundreds of iptables processes, but only one iptables-restore for setting the new rules in one transaction. Check the web page for other benefits; should just work on any Linux distribution with iptables and python (read: every). [Update: Martin, I was referring to the instructions you gave, to adding an at job and then running atrm to accept the changes. Yeah, what you script does is basically the same what mine does for rollback.]

Erich Schubert: Optimize your ext2/ext3 filesystem

You might have read that ext2/ext3 has support for so called "directory indexes", which supposedly speed up operations on directories with many files. For example your /usr/share/doc directory, your packages database, or your home directory (use ls -la wc -l to count the number of files). However, this feature is not enabled on most machines, since up to now you needed to pass a flag when creating the filesystem. The 1.39 upload of e2fsprogs (in Debian unstable as of May 29) made this default. So you probably didn't enable this when creating your filesystem. To check, first find out what your filesystem device is (use mount). Mine is /dev/hda5, so my example will use this device. In traditional terms, this is the first extended partition on the IDE primary master drive. Now use tune2fs -l /dev/hda5 grep features to get a list of your filesystem features. If you have "dir_index" in there then you're all set. Ignore any "needs_recovery" - that is good for mounted filesystems (it just means "not cleanly unmounted") To add dir_index, do the following.

3 June 2006

Erich Schubert: SELinux support is a release goal for etch

SELinux is an official release goal for etch. However, we're currently far from that. So far, very few developers are actually using SELinux (if any), or even testing it. I won't be doing anything on SELinux for the next 6 weeks at least, more likely 6 months. So currently I don't see how we can manage this goal, unless more DDs (and of course users; you don't need to be allowed to upload packages) help getting SELinux properly integrated. (You can run SELinux on etch without having to recompile any software I think, but you'll have to do quite a bit of customizing yourself right now.) For a coordinated effort to get SELinux into shape for etch, there are Debian SELinux mailing lists, but so far they're basically unused. [Update: yes, one option is to remove SELinux from the etch release goals. I was in fact rather surprised to see SELinux listed there.] [Update #2: It was pointed out, that the first occurence of "release goals" in that mail is prefixed by "pet". Don't ask me what the difference between a release goal and a pet release goal is, though. I guess something like being in an official wishlist...]

Joey Hess: new laptop

Well, I finally have a new laptop. Got it yesterday, spent about 3 hours installing and downloading all the software, and then let rsync run all last night to transfer over my home directory. Of course like any good Debian user I've filed a detailed installation report. I'm fairly pleased with the fujitsu p7120 so far. Compared to my old p1100:

Gunnar Wolf: More != better

This is the time of year when most Free Software-related conferences in Mexico have their calls for papers. CONSOL's CfP closed two weeks ago (agh, I had to CONSOL's CfP closed two weeks ago (agh, I had to /lists.consol.org.mx/pipermail/consol/2006-May/006443.html">/lists.consol.org.mx/pipermail/consol/2006-May/006443.html">send my proposal by mail, and I do hope it gets in the official program - For sentimental reasons more than anything else ;-) CONSOL is, after all, still my baby!). Yesterday I had to come up with something, as CICOL's deadline was also hanging upon me. Now my attention has been brought towards FSL, for which I still have almost one month to think. And, of course, although at other times of year (but, of course, still clashing with other conferences) we will not have one, but three instances of GULEV this year..
WTF?
Mexico's Free Software community is a small and not too productive one, as most communities in our (culturally defined) continent, Latin America. And yes, conferences are quite fun, it's always nice to go to a nice place and meet your friends. But we must not forget the real motivation for them all: The academic program. We currently have four conferences that try to reach to the same audience (yes, in different places of the country, but all of them with a national scope). And if you compare the list of proposed talks (visible currently for three of them), you will see there is no real difference between the set of talks on them. Please explain me, what kind of incentive does this give to anybody to attend? Just to hang out with the friends, entering a talk here and there?
I ended up submitting the same talks for both CONSOL and CICOL, as running Debconf didn't leave me time to prepare or think over anything - That's not what I like to do, and I hope I can be a bit more creative with the topics for FSL. There is no published criteria yet on what will be the focus for (each of the) GULEV, so I'm not committing yet to them. And yes, being a very active Free Software promoter in my country, I try to be present everywhere - but of course, everything has a limit. I will most probably not skip CONSOL (as it is on the city I live, and it is the one I am most sentimentally attached to) or CICOL (as it is just 1hr south from here)... But I'm still uncertain if I'll be at FSL or any of the GULEVs.
Back on my initial questioning, anyway: Do we need four perfectly equivalent conferences in this country? Besides ego clashes, wouldn't we be best served if we had only one or two big conferences a year?

Erich Schubert: MySpace bullshit: everybody is in your extended network

... in case you wondered, even when you've never even visited myspace, or are using lynx via some anonymization service, reject all cookies and so on: every profile page on myspace has a big banner saying "nickname is in your extended network". Well, if you consider the Internet your extended network that is true. Still that is bullshitting. What a marketing crap.

2 June 2006

Steve Kemp: I don t want to think too much about what I should or shouldn t do

I have a new desktop machine. An AMD3000 with 1Gb of memory. It is almost entirely setup. Only three Xen-related woes: Also gnome-desktop-environment is uninstallable on Sid at the moment. Just when I’d switched all my machines to using it :( So now I have: The two Dell Dimension L800s I used for backup purposes are retired. This is good, they had 128Mb of memory each and were always at 90-100% disk capacity. One to go to my sister in York, the other to the first person who claims it in Edinburgh. Now to find another LCD display …. I have a 19″ and a 15″.

Philipp Kern: Finally Erich got an account for his second hidden identity

Hey Erich, it's nice to see your hidden identity to get its own account and privileges. Hopefully you get more recoginition from within Debian now!

Uwe Hermann: OS Install Experiences - Part 3: PC-BSD [Update]


Note: This article is part of my OS Install Experiences series.
I'll continue with the recently released operating system PC-BSD 1.1, which is based on FreeBSD 6.1. This is actually the first time I installed a BSD-like OS, so I thought it would be a bit of a hassle. But I was surprised to find that the install was really pretty easy (which is a major goal of PC-BSD, as I understand it). I didn't even read a manual or installation instructions or anything... Install
  1. First, I downloaded a PC-BSD 1.1 CD #1 image, burned it on a CD, and booted from that.
  2. The first installer screen is text-based (later it's graphical), and allows you to choose between a normal install ("boot FreeBSD"), install "with ACPI", "safe mode", "single user mode", and "with verbose logging". You can also "escape to loader prompt", or "reboot".
  3. While the installer runs, it merely shows a nice desktop background, pressing any key shows you the boot messages.
  4. After a while you can select a screen resolution for the graphical installer, run fdisk, escape into an "emergency shell", chroot into the root partition, or reboot. Default is to start the installation at a pre-selected screen resolution.
  5. You can choose the language and keyboard layout. Although you can click "back" to return to previous steps in the installer, you can not go back to the language/keyboard selection later!
  6. Partitioning. First, you can choose on which disk to install, then choose the partition to use. The list only shows the primary partitions and an "extended DOS" partition. Device names for disks are a bit different in BSD world. /dev/ad0 (counting starts at 0) is the first disk, /dev/ad0s1 (counting starts at 1) the first "partition" (called "slice" in BSD). It doesn't seem to be possible to install PC-BSD on an extended partition (please correct me if I'm wrong), so I installed it on /dev/hda2 (/dev/ad0s2 in BSD-speak), which is a primary partition. To make things more complex and confusing, a BSD slice can contain multiple "partitions" (not the same as Linux partitions!). I now have /dev/ad0s2a, which is the boot partition, and /dev/ad0s2b, the swap partition. Confused? Me too.
  7. Note that changes made to the partition table seem to be effective immediately, there's no way to go back without losing data! Debian's installer is better at this. The default PC-BSD file system is UFS, btw.
  8. The hardware will be automatically detected (worked quite well for me).
  9. You can now choose to either install the BSD bootloader in the MBR, or install no bootloader at all. Not sure what the best thing for me is here, but I decided to install the BSD bootloader (overwriting GRUB). I might have to re-install GRUB (and tell it about PC-BSD) if the BSD bootloader cannot boot the other (Linux) OSes.
  10. Now I must enter the root password, and I can also create another user. I noticed that passwords can only contain alpha-numeric characters (no %$ ,.#+!? and so on). WTF? They can't be serious... Also, you must enter a real name for the normal user, it won't let you continue until you type something... Pretty annoying. There's a checkbox called "Auto-Login User?" which is enabled by default, but I didn't find out what exactly that does...
  11. The network is successfully auto-configured via DHCP. I was not asked for a hostname, but typed hostname after the install and I got PCBSD.localhost.
  12. Reboot. The CD is not ejected automatically, you have to remove it manually before booting up.
  13. I'm asked to insert CD 2 (language packs), which I don't have (or want), as I only burned CD 1. Clicking "abort" does the trick, and I can continue with English as the default language.
  14. Finally, I'm dropped into a KDE session, and that's it.
Security That's it. Comments, suggestions, flames? Update 2006-06-02: Added IPv6 netstat/sockstat output.

1 June 2006

David Pashley: Join Map Ord Split

Just when you thought Perl couldn't get more unreadable, someone[0] comes up with something like this:
print join ", ", map ord, split //, $foo;
This mess of perl might be easier to understand if I put the brackets in:
print join (", ", map( ord, split( //, $foo)));
What this does is split $foo into a list of characters. It then uses map to run ord() on each item in the list to return a new list containing the numeric character values. We then join these again with ", " to make the output easier to read.
david% perl -e 'print join ", ", map ord, split //, "word";'
119, 111, 114, 100
The map function is familiar to functional programmers and is very powerful, but beware it can reduce the clarity of your code. [0] Me

31 May 2006

Aigars Mahinovs: Debconf6 last days: Hugs and goodbyes

May 21st & 22nd. The last days of Debconf went under the banner of a "hug day" - everyone was encouraged to hug everyone else for whatever reason or for no reason at all. Gunnar was group hugged several times. Number of people declined rapidly during the Sunday and very little people were left there by Monday, but everyone continued hacking until the network connection was dismantled. In the evening there was chatting, Mao, relaxing and generic photography. It is kind of sad that the Debconf is over. It has been as wonderful as ever and more exciting then ever. Now we can only return to our everyday lives and wait for the next year. Manjana*(365+x)!

Simon Law: Debconf 6, Day 9


Sheep in the streets
Originally uploaded by sfllaw.
By Monday morning, it was my turn to get up ludicrously early. I managed to catch a hot shower, which was very welcome. You see, they turned off the hot water late at night, and didn't turn it on early in the morning. So if you kept hacker hours, you'd get a cold shower before going to bed. I bid goodbye to my sleeping companions as I rolled my suitcase out of the room and checked out at the Reception desk. I sat on my suitcase with laptop in hand, as we waited for the others to show up. We were carpooling to town in some taxis, as I had an awful bus experience coming in to Oaxtepec. It was in this hour that I taught myself how to blend exposures in the Gimp. There was a lot of fiddling with alpha channels and masks, until I hit upon exactly the right solution. By the time I was done, a rather large group of people had gathered about me. It was about then that four taxis pulled up and we threw all our luggage into little hatchbacks. Then Nattie, Ben, and I squeezed inside and we were off! Instead of choosing the toll highway, our driver decided to take the country roads. This was not such a poor idea, since we got a good look at the countryside. I had never seen fields of cactus before, but I suppose that makes sense. After all, it is edible and requires very little irrigation.

Popocatepetl
Originally uploaded by sfllaw.
We drove along the winding roads and passed through town after town. In one, we had to stop momentarily. That's because a herder was driving his flock of sheep through town. We saw them turn a corner, and then our car was surrounded by a sea of bleating wooly sheep. Then, as quickly as they appeared, they were gone. As we neared Mexico City, we noticed a rather large mountain in the distance. A mountain that spewed smoke. Our driver informed us that it's Popocatepetl, a local active volcano. He pulled over by the side of the road and let Nattie hop out to take photographs. The taxi behind us pulled over as well, and they spent a few minutes snapping shots. I noted that where we had stopped was rather hazy, so I just snapped a few photographs when it appeared in my window. I lucked out, I suppose. You could tell when we approached the city, as the traffic got heavier and things got louder. I awoke from my brief nap to see us pull through a toll-booth and on to a six-lane highway. We managed to get to the international gates at the aeroport, have our luggage unloaded, and paid our driver for his troubles. Then we checked in. My luggage tested positive for explosives about four times. The security guard for Mexicana kept swabbing away with test strips, each time coming up with a different result. Eventually, he printed up a chart, stared at the squiggly lines, and let me put it on the conveyor belt. Then, I met up with Nattie and Ben, and we also bumped into Peter.

Over New York
Originally uploaded by sfllaw.
We bought some postcards and sat in a restaurant. There, we ate overpriced American food and wrote back home. Or rather, Nattie and Ben wrote charming postcards and I dashed off twenty-three hastily worded missives. Then, we hugged goodbye and it was time for me to board my flight. Ben graciously offered to post my mail, because I had run out of time. Liftoff was quite exciting. The wind was gusting so as we took off, I got to see the engine shake furiously in its housing. And we did a little hop as we pulled off the ground. A little girl, sitting behind me, shrieked in distress when we did that. I really don't blame her. Landing in Montr al was a lot safer. Even though we had to go through layers and layers of clouds to do it. It was sort of depressing, actually, flying from gorgeous blue skies into a city covered by grey. But I had brought the sunshine back with me!

30 May 2006

Erich Schubert: IEEE1394 drives... damned prolific...

Since the prolific-based 3.5" firewire+usb external HDD box I have is total crap (it often stops and restarts the disk, going readonly and losing data), I've been looking for a different drive. Unfortunately, I havn't been successful so far. The cheap computer stores around here all seem to only have drives with (probabliy newer revisions of) this chipset... and I'd really like to avoid buying another prolific crap. I updated yesterday to the latest firmware for the PL3507, and I also checked that the drive I put in the box doesn't have any errors. Didn't help. The drive still is very unreliable, in both firewire and USB mode. Unfortunately, my laptop only has USB 1, otherwise I'd buy an USB-only box which supposedly uses a different chipset.

Next.

Previous.