Search Results: "sf"

14 May 2006

Erich Schubert: DNSoupdate download location

So those interested in my remote DNS update CGI (via nsupdate), you can download it from my playground for now. Note that as usualy it comes without any warranty; there might be still security issues in there (but you don't want to allow arbitrary users to access it anyway...) and so on, you know the drill. The big plus of that app is that it doesn't modify zone files, but just loads the current zone via the DNS protocol (zone transfer), and modifications are sent back to your DNS server via DNS, too (nsupdate, just like dhcpd does). That way it works very well remotely, is quite secure and reliable (no parsing of zone files involved, no reloading of your name server). While it's MIT-style licensed, I still appreciate improvements such as syntax checks for entered data (nsupdate does a bit, but not much).

Andree Leidenfrost: Mondo Rescue RAID Support at Last

CeBIT Australia ate substantial amounts of my time for the last two weeks (and almost killed both my feet and my voice but was still interesting and fun), so things took a little longer in Mondo Rescue land. But at last, here it is: mindi-1.07-3 and mondo-2.07-2 are in incoming and add the much overdue RAID support for Debian!

What it does (from the shiny new NEWS.Debian file):
This is the first release supporting RAID via mdadm. It is supposed to work with all RAID levels/varieties supported by mdadm and the kernel.

The following limitations and oddities apply:
  • All information about existing RAID arrays is drawn from /proc/mdstat, the contents of an mdadm.conf file is ignored.
  • Using RAID for the boot device is currently untested. The system will likely be unbootable after a restore.
  • Using LVM in conjunction with RAID is currently untested. Restore will likely fail.
  • Building a RAID5 array may appear to hang the system because of extended screen inactivity. However, disk activity should be high and eventually the restore will continue.
  • The synchronisation progress bar and the formatting progress bar may overwrite each other leaving the screen somewhat garbled. Not nice but harmless.
I have intensely tested this with various RAID levels, chunk sizes, parity algorithms, with and without spare disks and so forth. In particular, I've done successful full archive and restore runs using NFS as storage media for the following:
  • amd64, RAID1, kernel 2.6.16-1-amd64-k8 (2.6.16-12)
  • amd64, RAID5, kernel 2.6.16-1-amd64-k8 (2.6.16-12)
  • amd64, RAID10, kernel 2.6.16-1-amd64-k8 (2.6.16-12)
  • i386, no RAID, kernel 2.6.16-1-k7-smp (2.6.16-10)
I'll post the patch to #325877 for reference purposes and will also commit to upstream SVN shortly. Bruno was kind enough to review that patch and likes it, so there shouldn't be a problem (other than some fiddling because I have worked off the Debian 2.07-1 package and not tracked upstream).

Apart from fixing issues with the above, I plan the next steps to be:
  • support for RAID boot partitions
  • getting LVM to work
However, I think I'll do a fresh install of Sid AMD64 before that, to ensure that d-i created systems work with Mondo Rescue.
.

Also, I am experiencing a strange behaviour with busybox on AMD64 in that I get the following message on virtual terminals (and no prompt):

./sh: Cannot set tty process group (Operation not permitted)

when I run:

./openvt 8 ./sh

(where ./openvt and ./sh are both links to ./busybox)

This happens with 1.00 as well but in either case only on amd64, i386 is fine. Also, it only happens if NFS support is enabled for busybox mount.

13 May 2006

Andrew Pollock: [life] Dinner with The Reg

A while ago, I read an article on The Register, written by a journo based in Mountain View of all places, which had a tagline at the bottom that said to email him if you wanted to "drink like a vulture" on some sort of corporate drinkies or something. Being in Mountain View and all, I could hardly resist. Said journalist actually emailed me back, after Googling me, and it turned out he was half Australian himself, so what better excuse to catch up for dinner? Tonight we had dinner with Ashlee Vance and his wife Melinda, at the Cantankerous Fish in downtown Mountain View, and had a really great time. It's cool when you meet the sort of people you can just chat with for hours and get along with, and they're complete strangers you've never met before. It was a good night out.

12 May 2006

David Welton: "Hydras" and "real" open source

An interesting post by Ian Holsman, one of my colleagues in the Apache Software Foundation who has similar interests to mine: http://feh.holsman.net/articles/2006/05/12/is-your-project-a-hydra I take a more lassez-faire approach, myself. Ian's advice is valuable to those sorting through open source projects to use or get involved with - a full-fledged free software project with many users and committers who are independant of one another is usually going to be a better proposition than something run by one company, or one person. A lot of ASF thinking focuses on the community being the real value in an open source project, and it's obvious that it adds a lot of value. However, the licensing is important too, because it's your escape hatch. It means that if the company goes away, or decides to create a proprietary product, that you have the option to create a community around the open source code, by taking over its development and maintainance.

David Welton: "Hydras", "real" open source, and the ASF Incubator

An interesting post by Ian Holsman, one of my colleagues in the Apache Software Foundation who is also interested in open source business and economics: http://feh.holsman.net/articles/2006/05/12/is-your-project-a-hydra I take a more lassez-faire approach, myself. Ian's advice is valuable to those sorting through open source projects to use or get involved with - a full-fledged free software project with many users and committers who are independant of one another is usually going to be a better proposition than something run by one company, or one person. A lot of ASF thinking focuses on the community being the real value in an open source project, and it's obvious that it adds a lot of value. However, the licensing is important too, because it's your escape hatch. It means that if the company goes away, or decides to create a proprietary product, that you have the option to create a community around the open source code, by taking over its development and maintainance. ASF Incubator Ian also mentions the ASF Incubator, which I've been involved with first hand through my involvement in incubating OFBiz. One of the big hurdles that the project faces is getting a scrap of paper from everyone who has ever contributed anything important to the project. And since OFBiz is a real open source project with committers all over the world, and, over the years, many contributions, that is a lot of paper to collect! Thanks to the efforts of the OFBiz team, they're doing an admirable job of completing the task. However, I can't help but observe that "incubation" is a far easier process to go through if the code arrives in the form of a corporate donation, because it all comes from one place. Unfortunately, I think that leads to some selection for "hydra style" projects, although to their credit they may be trying to break out of that by joining the ASF (they need to if they want to successfully complete incubation). Still, I think it is likely to lead to a more "corporate" organization.

11 May 2006

Wouter Verhelst: NBD 2.9.0-test2

A few days ago, I released nbd 2.9.0-test2 to sourceforge.net, and a bit later, to Debian's experimental distribution, too—which, occasionally, means I'll have to skip the 2.9.0 release, because I don't feel like increasing my epoch. The new release contains a few new things, most notably support for a configuration file and, coupled with that, the ability to run multiple nbd exports from one nbd-server instance. This is an experimental version in that it hasn't been tested much outside my artificial testing environments, and in that the configuration file format is a first proposal, on which I'm hoping to get feedback, so that it can be improved before it's finalized. Unfortunately, the latter hasn't happened as of yet. I'd love to see that change. Anyone?

Simon Law: Packing the bags

The impromptu dinner party was quite successful. Not only is my refrigerator mostly empty now, I also had happy people walking out the door. I am going to buy pesos later this afternoon. And quite possibly some appropriate clothing. I understand it's the rainy season down in Mexico. I wish it were warm and rainy here. Then I could put my plants outside and not worry about them dying. Say, does anyone want to water my plants when I'm away? Some of you may be wondering why I'm going to Mexico. Well, I had booked this trip months in advance, because it was the first time in four years that Debconf has returned to North America. Although last time, I only had to road-trip to Toronto, instead of flying for several hours. I hope to see people that I haven't seen in a long while, and maybe geek out just a little bit more than I normally do. Oh yes, and to take photographs. In a surprising turn on events, I now work on a Debian-derived distribution. So perhaps some of this trip could be considered business as well? Who knows? I'd certainly like to talk to AJ and the other BTS folks about passing bugs between Debian and Ubuntu. Because we can certainly pool our resources for things like this. Then I want to buy people drinks and food. And get far too little sleep. Don't look at me like that. I get plenty of sleep. Oh wait, it's half-past three, isn't it?

9 May 2006

Matthew Garrett: 9 May 2006

The Apple Public Source License is a GPL-incompatible file-level copyleft license. That's mostly irrelevant - what actually matters is that both the FSF and OSI regard it as free or open source. So no problem, right? Except that the APSL hasn't really caught on. Freshmean lists two whole pieces of APSL software. Both of them are derived from Apple code released under the APSL. That is, nobody other than Apple has chosen to start a project based on APSL code. It's actually worse than that. Section 12.1(c) of the license automatically terminates your right to use or distribute the software if you sue Apple for patent infringement. Any patent infringement. Apple have infringed your new chip process patent? Better hope you don't rely on any APSL code. Apple's new TFT design copies yours? Better work on a replacement for Howl. Apple have stolen your entire motherboard design? Bad luck - using this code made it awkward for you to defend your IP. As a result of this, the only significant APSL project (Howl) has effectively been entirely replaced by Avahi. Both Gnome and KDE adopted Avahi once it became stable. In other words, the only community projects using APSL code rejected it the moment there was an alternative - and the reason for developing Avahi in the first place was that several projects refused to ship APSLed code. It's hard to claim that the APSL is regarded as an adequately free or open source license if almost nobody is willing to depend on code under it. In other words, the community has rejected the idea that it's really an open source license. But both OSI and the FSF lack any obvious mechanism of discussing decisions they've made. Both OSI and the FSF have claims to representing the community. How does the community let them know that their views are at odds with it?

Martin F. Krafft: Choosing a new cellphone

For the past two years, I have been a moderately satisfied user of the Nokia 6230 cellphone, which does all a cellphone should do ("it even has a camera!"). However, it suffers from some shortcomings, namely:
  • While it's surely possible to connect a laptop to the Internet via bluetooth to the phone, then GSM, UMTS, or GPRS to the provider, it's not possible to do it the other way, phone via bluetooth to laptop, then Ethernet. This is annoying for two reasons: one, I have to pay expensive GPRS charges even if I am downloading something to the phone in the office, and two, I cannot use my SyncML server, because the perimeter firewall blocks access to its port from the outside. See these threads: A B C.
  • When connected to the headset, the phone cannot establish other bluetooth connections. So while it's possible for me to dial numbers from the laptop or my Palm (quite convenient), I cannot do that for calls using the headset. I'd really like to be able to stow my cellphone in the bag, and do communications with the Palm (which can also read and send SMS via the phone) and the headset only. Right now, I might have to search for the number on the Palm, dial it by hand, then stash the phone away to complete the call via headset.
  • I store all my contacts on the phone memory, not on the SIM card, for two reasons: the SIM card memory can only store one number per name, and I really don't want separate records for "John Home", "John Office", and "John Cell", and two, I often switch SIM cards when travelling to other countries. But switching the SIM card will always configure the phone to use phone and SIM memory for the addressbook, so I always have to change that back.
  • Even though the phone comes with timezone support, I have to press at least 10 keys to change the timezone.
  • The phone has five caller groups, to which you can assign separate ringing tones. I often wanted to be able to set ring tones per person instead.
Now, my provider is offering me a new phone if I choose to renew the contract (which I will). Thus, I am faced with a new choice, and so ventured out to the stores to get myself informed. I have somewhat of a preference for Nokia phones simply because I already have a set of chargers for them. My requirements for a phone are:
  • It has to be small, light, and sturdy.
  • It has to have bluetooth, ideally without the aforementioned shortcomings.
  • It has to have a long battery life, standby time of at least a week.
  • It should interface (via bluetooth) with the Palm Tungsten T5 as well as Linux (Gammu, or something else).
  • It has to have quick and intuitive navigation (this pretty much rules out Sony Ericsson, where it can be a second between keypress and display update, or so I've seen).
  • It has to have voice-activated dialing, but instead of pressing a key, speaking the name, then having the phone dial, I would like to press a key, speak the name, confirm the call within a set amount of time, and only then have the phone call. Alternatively, I'd accept if I had to keep a button pressed while speaking the name. Also, the phone should acknowledge failure to determine a name rather than choosing the closest one; it happened too many times that the key would be accidentally pressed while the phone was in my pocket, followed by the phone's "smart" decision to call some random person in my address book after listening to the background noise or the rustling of my pocket.
My most-wanted feature has always been a button you can press, which would make the phone ring 10 seconds later -- a great way to get out of an annoying conversation. Unfortunately, no manufacturer even bothered to reply to my feature request sent maybe 4 years ago, so it's unlikely I'll find a phone with this capability anytime soon. Another nice feature to have would be an in-phone answering machine, like the Sony CMD-Z5 used to have. Of course, the provider lobby is not going to let that happen, as they'd lose revenue not being able to charge people normal connection charges for calls to their own mailbox. What I don't need (but would not care about anyway) are:
  • Camera, video camera
  • MP3 player, other multimedia support
  • MMS support
  • Games, Java, other applications
Given all of the above, it seems that I only have one phone to choose: The Nokia 6230i, where the i stands for "improved", I guess. But before you get your hops up high (as I did mine), check out the list of improvements and join me in a big sigh. While every manufacturer, including Nokia, has released several new phones over the last two years, they have all been down their multimedia lines. In fact, it seems that the only improvements Nokia and the other manufacturers performed on their business lines was to make the phones larger, add keyboards, and turn them more into PDAs. How sad. Then again, a lot of new models are announced. I may well have to put off the decision until the 6233 is out, the 6021 available here, or I've had a chance to check out the 6822. Also, the E60 and E70 look like worth a look, especially because they integrate Voice-over-IP. And I feel I should have another look at Motorola, Samsung, and Siemens phones. However, so far I have not heard too many good things about any of these, and haven't seen models that are small and light. I really don't need to slide or fold the phone to use it. PS: if you are a phone manufacturer and read this, maybe you could again consider normal user needs when designing your next line of phones, rather than trying to forcefully push more multimedia upon our entertainment society, which nobody really needs but everyone ends up using.

Martin F. Krafft: Choosing a new cellphone

For the past two years, I have been a moderately satisfied user of the Nokia 6230 cellphone, which does all a cellphone should do ("it even has a camera!"). However, it suffers from some shortcomings, namely:
  • While it's surely possible to connect a laptop to the Internet via bluetooth to the phone, then GSM, UMTS, or GPRS to the provider, it's not possible to do it the other way, phone via bluetooth to laptop, then Ethernet. This is annoying for two reasons: one, I have to pay expensive GPRS charges even if I am downloading something to the phone in the office, and two, I cannot use my SyncML server, because the perimeter firewall blocks access to its port from the outside. See these threads: A B C.
  • When connected to the headset, the phone cannot establish other bluetooth connections. So while it's possible for me to dial numbers from the laptop or my Palm (quite convenient), I cannot do that for calls using the headset. I'd really like to be able to stow my cellphone in the bag, and do communications with the Palm (which can also read and send SMS via the phone) and the headset only. Right now, I might have to search for the number on the Palm, dial it by hand, then stash the phone away to complete the call via headset.
  • I store all my contacts on the phone memory, not on the SIM card, for two reasons: the SIM card memory can only store one number per name, and I really don't want separate records for "John Home", "John Office", and "John Cell", and two, I often switch SIM cards when travelling to other countries. But switching the SIM card will always configure the phone to use phone and SIM memory for the addressbook, so I always have to change that back.
  • Even though the phone comes with timezone support, I have to press at least 10 keys to change the timezone.
  • The phone has five caller groups, to which you can assign separate ringing tones. I often wanted to be able to set ring tones per person instead.
Now, my provider is offering me a new phone if I choose to renew the contract (which I will). Thus, I am faced with a new choice, and so ventured out to the stores to get myself informed. I have somewhat of a preference for Nokia phones simply because I already have a set of chargers for them. My requirements for a phone are:
  • It has to be small, light, and sturdy.
  • It has to have bluetooth, ideally without the aforementioned shortcomings.
  • It has to have a long battery life, standby time of at least a week.
  • It should interface (via bluetooth) with the Palm Tungsten T5 as well as Linux (Gammu, or something else).
  • It has to have quick and intuitive navigation (this pretty much rules out Sony Ericsson, where it can be a second between keypress and display update, or so I've seen).
  • It has to have voice-activated dialing, but instead of pressing a key, speaking the name, then having the phone dial, I would like to press a key, speak the name, confirm the call within a set amount of time, and only then have the phone call. Alternatively, I'd accept if I had to keep a button pressed while speaking the name. Also, the phone should acknowledge failure to determine a name rather than choosing the closest one; it happened too many times that the key would be accidentally pressed while the phone was in my pocket, followed by the phone's "smart" decision to call some random person in my address book after listening to the background noise or the rustling of my pocket.
My most-wanted feature has always been a button you can press, which would make the phone ring 10 seconds later -- a great way to get out of an annoying conversation. Unfortunately, no manufacturer even bothered to reply to my feature request sent maybe 4 years ago, so it's unlikely I'll find a phone with this capability anytime soon. Another nice feature to have would be an in-phone answering machine, like the Sony CMD-Z5 used to have. Of course, the provider lobby is not going to let that happen, as they'd lose revenue not being able to charge people normal connection charges for calls to their own mailbox. What I don't need (but would not care about anyway) are:
  • Camera, video camera
  • MP3 player, other multimedia support
  • MMS support
  • Games, Java, other applications
Given all of the above, it seems that I only have one phone to choose: The Nokia 6230i, where the i stands for "improved", I guess. But before you get your hops up high (as I did mine), check out the list of improvements and join me in a big sigh. While every manufacturer, including Nokia, has released several new phones over the last two years, they have all been down their multimedia lines. In fact, it seems that the only improvements Nokia and the other manufacturers performed on their business lines was to make the phones larger, add keyboards, and turn them more into PDAs. How sad. Then again, a lot of new models are announced. I may well have to put off the decision until the 6233 is out, the 6021 available here, or I've had a chance to check out the 6822. Also, the E60 and E70 look like worth a look, especially because they integrate Voice-over-IP. And I feel I should have another look at Motorola, Samsung, and Siemens phones. However, so far I have not heard too many good things about any of these, and haven't seen models that are small and light. I really don't need to slide or fold the phone to use it. PS: if you are a phone manufacturer and read this, maybe you could again consider normal user needs when designing your next line of phones, rather than trying to forcefully push more multimedia upon our entertainment society, which nobody really needs but everyone ends up using.

8 May 2006

Barry Hawkins: A successful round of catch-up

Despite having been sick and having my wife and child get sick as well, I got caught up on some Debian work that’s been on hold for almost six months. The last part of my Philosophy & Procedures phase 1 went out last night (well, this morning really, around 3:00 in between sessions of soothing my now-sick 4-month-old daughter), and I updated all of the packages I comaintain to fix a few bugs, update the standards versions, and correct my uploader email address. The java-package update is pending Jeroen’s arrival in Mexico for Debcamp. I am glad to have these backlog items cleared before heading to DebConf; now I can tackle newer stuff while I’m there ;-). With all the life change in past 6 months, I was beginning to wonder if I’d ever catch up.

Wouter Verhelst: Traffic shaping and iptables

Someone just asked something on be.comp.os.linux for which I spent quite some time on reading relevant documentation to find a working solution. It's not hard if you know it, but since it's hidden in a lot of documentation, some of which only partially relevant, I thought it'd be nice to show it here. The question was about how to do some traffic shaping based on the process which is sending out the data. This is not directly possible; however, it is possible to match packets based on the PID by using iptables' -m owner. The nice thing about this solution is that it doesn't have to be the PID you're selecting on; you can really use anything (yes, anything) in iptables to decide on traffic shaping later on. The trick is to use the -j MARK stuff from iptables. In our example:
iptables -t mangle -A PREROUTING -m owner --owner-pid <some PID> -j MARK --set-mark 1
Now our packets are marked based on what PID is sending them out. Next, we'll have to make sure those packets are given lower priority over other packets:
tc qdisc add dev $OUTIF root handle 1: htb default 10
tc class add dev $OUTIF parent 1: classid 1:1 htb rate 256kbit burst 15k
tc class add dev $OUTIF parent 1:1 classid 1:10 htb rate 100kbit burst 15k
tc class add dev $OUTIF parent 1:1 classid 1:20 htb rate 50kbit burst 15k
tc qdisc add dev $OUTIF parent 1:10 handle 10: sfq perturb 10
tc qdisc add dev $OUTIF parent 1:20 handle 20: sfq perturb 10
tc filter add dev $OUTIF protocol ip parent 1:0 prio 1 u32 match mark 1 0xffff flowid 1:20
Et voila, you have traffic shaping based on the iptables -J MARK stuff. Nice, huh?

7 May 2006

Dirk Eddelbuettel: Patricia Barber

Went to see Patricia Barber and her band at a fundraiser for the Oak Park Arts Council, and in particular its scholarships program. I had seen Barber before at her usual venue, the Green Mill. I am still somewhat divided about her music: some material is really good and innovative. I particularly like how she transforms standards, and how she can rock rather hard. Some of her stuff, on the other hand, leaves me unimpressed. But she's definitely worth watching given the opportunity. The surprise revelation of the evening, though, was Ars Nova, a standard quintet (tenor, alto, piano, bass, drums) composed of a mix of current students of the local high school OPRF as well as former students now spread across area music programs as well as Berklee. They played a set of modern classics and were really impressive. No web site to link to, unfortunately.

Brett Parker: Finally...

After much messing about - I've worked out how to use the MoinMoin parser in other python programs... this means that later (after I've slept) I can write a django template tag to unwiki things nicely, using MoinMoin's parser and so not invent another wiki parsing engine (hoorah!). All that I need to do now is reimplement the text_html formatter from MoinMoin in to something slightly more useable in other apps, then we'll be there. Yay! And indeed, hoopla! I could, of course, use the text_xml formatter instead and then just do an xslt transformation on it in python... actually, that might not be such a bad idea... hmmm. I'll have to think about it :)

6 May 2006

MJ Ray: Futurelab: free and open education

Futurelab has published a discussion paper entitled 'The potential of open source approaches for education' - the only criticism I have is that it's a bit school-centric [via Becta, Adam Moran and fsfe-uk@gnu, permalink is direct to their site]

5 May 2006

Wouter Verhelst: Bluetooth spam

I have a laptop that supports bluetooth. By using gnome-bluetooth (which unfortunately isn't packaged yet—and no, I don't have the time to start doing more packages), I can accept data transfers over Bluetooth to my laptop, which sometimes is handy. Some people seem to think it's funny to start sending me unsolicited files while I'm on the train, hacking away on my laptop. I swear, they're spamming me. Of course, it's not something that can't be solved by running killall gnome-obex-server, but it's annoying. I'm thinking of writing my own obex server (or modifying g-o-s) so that the box that appears when it asks whether I want to accept some file has the option to "spam back", i.e., send the same file to the sending device over and over again. But then, that wouldn't be ethical, would it?

Simon Richter: Novelty and the desire to be part of it

Since no movie would be worth watching on its own, there has to be a shitload of extra stuff attached to it. Granted, m:i 3 is probably not worth its budget even with the ringtones, but the "set your phone to infrared reception and stay near the ad" thingy was kind of cool. Only that it doesn't work as one might expect, by transferring the ringtone. No, it uses AT commands to send an SMS on your behalf. And that is not worth trying out (hey, as if I wanted a new ringtone now that I got used to Lagerfeldt's "Dutch Breeze Robocop 3 progressive uplift"

3 May 2006

David Moreno Garza: Enemies of your freedom

It depends how you see it.

Matt Brown: Local Loop Unbundling

Wow! It’s out. The government has finally gained the courage to force Telecom to unbundle the local loop. Possibly the most interesting part of the whole announcement is the circumstances of it. Cabinet signed off on it this morning, by midday it had been leaked to Telecom and the Government was forced to scramble to announce it to everyone to avoid regulatory problems from the Sharemarket. No doubt whoever leaked it is feeling very very worried about their job security right now! The Cabinet briefing paper and minutes that accompanied the original press release are a bad quality scan and have obviously been prepared very quickly with hand written corrections to the page
numbers in the latter half of the document. The document has now been removed from the website, which I guess means that it is being touched up. Email me if you want a copy. [Update 1am: It’s now back, but has had information redacted presumably because it is meant to be commercially sensitive!] If you want the hard facts the following are good sources: So, is this a good a thing? I think it is in the long term, but the best part of today’s announcement is what goes alongside the LLU decision, not the LLU itself. More on that in a minute. The Cabinet paper (60 pages) appears to be a very thorough summary of the detailed analysis that has obviously been performed over the previous months. What I think is a fairly reasonable argument is made for why the action is needed and why the chosen course of action is the best option. I’m very impressed with David Cunliffe’s handling of the portfolio and I hope that he continues to work to the high standard that he’s set himself in the few short months since the election. He’s certainly going to face some opposition now! One thing to keep in mind in reading the paper and analysing the information available is that the Government’s hand was forced and there is probably a lot of implementation detail that they would have planned to release with the offical announcement on the 18th. So theres not much point in nit-picking details at this stage. The meat of the announcement is that the Government has chosen a two-stage approach to increase the regulation in the sector. The two stages are basically short and long term actions designed to be complementary. The long term action is the LLU itself and promotion of investment in alternative infrastructure. Because this will not be completed and ready to use in any shape or form until 2008 at the earliest there are also a series of measures to beef up the current wholesale offerings to tide us over and improve the market in the interim. What we get in the short-term: With prices and access terms for all these services to be set by the Commerce Commision, which is directed to ensure that the pricing is applied to protect investment incentives. There are a few juicy paragraphs that suggest the Government has considered opposition and is ready for it, such as 113 that warns that is Telecom does not invest quickly enough then full structural separation will be considered. However there are also suggestions (para 113) that Telecom is going to be thrown a bone in the form of a recalculated TSO that will provide higher levels of compensation to support the necessary network upgrades in rural areas. Rodney Hide and no doubt other right-wing groups are already bleating about the “stolen” property rights. But as I see it thats not the case. Telecom still owns the local loop. ISPs do not get to use the copper for free! They must pay Telecom a market rent. LLU is about regulating that price and forcing Telecom to offer the service where there is no incentive for Telecom to do otherwise given their vertically integrated monopoly. Secondly, Telecom was given a chance to avoid this scenario with the 2003 decision not to unbundle. At that point Telecom and its shareholders were warned that if they didn’t invest appropriately and provide a competitive wholesale market the situation would be reviewed. These warnings increased in frequency over the past year. Telecom cannot say that they were not warned. They may have massively misjudged the government, but they were warned. The simple fact is that over the last three years Telecom has played games and stalled as much as possible. In many ways I feel they are the authors of their own misfortune. Overall, I’m very happy and excited. Its a great time to be involved in the Internet industry in New Zealand. The government has churned out an excellent paper that shows that they have carefully analysed the issues and decide on a course of action that I think has an excellent chance of improving the state of broadband in New Zealand. LLU is not viewed as a magic bullet, other measures have been put in place to ease its introduction and investment incentives to build the next generation of access infrastructure are mentioned and regarded as important. The big risk to watch is how the Government goes with the implementation. It is a hugely complex peice of policy to implement, with lots of potential for mistake and they are fighting against a well resourced company with lots to loose. No doubt this will not be my last post on the issue.

2 May 2006

Andres Salomon: openswan vs openvpn speed tests

I’ve been using OpenSWAN for a little while now, and have been quite unhappy w/ it. Aside from being poorly documented and a pain in the ass, we’ve run into kernel bugs and stability issues; the various SWAN implementations feel very cobbled together. I also firmly believe that network stacks should be implemented in userspace, and linux’s IPSec stack confirms that belief (Van Jocobson’s network channels display a nice example of how an efficient userspace tcp stack would work). Layering GRE tunnels and using OSPF over the tunnels simply adds to the complexity. Playing around w/ OpenVPN was such a pleasant experience. It has excellent documentation, and was a breeze to configure/set up. I was concerned with speed issues, however; OpenSWAN uses the kernel’s IPSec stack, while OpenVPN has to copy packets between kernelspace and userspace, and uses SSL + Linux’s tun device. I experimented w/ two machines; a dual opteron and a single processor 2.4GHz p4, both w/ Debian’s 2.6.15-1-686-smp kernel. Doing a straight netcat of /dev/zero between the two machines yielded 98mbit/s (according to iptraf). Using an OpenSWAN tunnel and a GRE tunnel [0], I got about 81mbit/s sustained between the two machines. The load on the slower machine hovered around 0.30 while this was happening. Using OpenVPN in UDP mode, I got about 15mbit/s, w/ a load avg of 1.84. Very disappointing results. I was curious if using OpenVPN in TCP mode made a difference; it did. With it, I got about 17mbit/s, w/ a load avg of 2.10. This wasn’t very satisfactory; replacing OpenSWAN w/ OpenVPN when it could only do 17mbit/s over a 100mbit connection, and drove the load way up while doing it was not going to work. Looking at the config, I tried another change; disabling compression [1]. This made all the difference. With OpenVPN in UDP mode and compression disabled, I got 98mbit/s between the two machines, w/ a load avg of about 1.90. This made me much happier; looks like I’ll be replacing OpenSWAN. No need for GRE tunnels over top of the OpenVPN tunnels, either; OSPF works just fine between the tun devices. [0] There are a number of reasons to use GRE tunnels over OpenSWAN IPSec tunnels; Ken Bantoft’s Linux Symposium paper on the subject summarizes them nicely. [1] Most of the traffic that goes across our tunnel links is compressed already, anyways. No sense recompressing it.

Next.

Previous.