Search Results: "zed"

16 May 2006

Ted Walther: Report from Debconf, Day Two

Photography. My roommate Aigars is quite a photographer, he came with his digital SLR and several lenses, an item I've lusted after for some time. Large apertures and manual controls are what every real photographer demands, and digital SLR's deliver. I told him my idea for a small sky recording station so that people could make movies of the paths that the stars take, and how it changes over the year. Ultimately I want a network of these stations, all uploading their pictures so I can examine them for anamolies. This is a hard problem, because stars are so faint. Aigars said to take a picture of the whole sky, a 1000 millimeter lense and a $50 computer scanner with some modifications should be able to do the job.

Me and Andreas Schuldei
Programming. Finally made progress in programming, now that I know where everything is in Oaxtepec. My IRC bot didn't handle things gracefully when the server refused to let it log in, but that is fixed now. Tomorrow I hope to add multi-channel support. Reading through the new IRC RFC, I have the information I need to make a proper configuration file for the software. The design is sketched out and feels right, finally. Weekend vs. Weekday. Oaxtepec is much quieter today. Saturday and Sunday there were far more vendors on the street, and they stayed open much later. Today everything closed down around 6pm when the church bell tolled the summons to mass. I couldn't find the coconut man; maybe he only comes on weekends. Half the stalls at the mercado were empty. During the weekend, the resort was full of vacationers swimming, barbecuing, picnicing, playing soccer, or just sunbathing while the kids ran around. Everyone, young and old, but mostly young adult men and women, were running around in bathing trunks and bikinis. The happy noises were great to wake up to. This morning the sounds were quieter, but still present. The swimming pools here get a lot of use. During the weekend, there was a large tent where some ladies were giving body massages for $10. I didn't see them today. Probably they will be here again next weekend. Food. Tried a dish called "pancita" today. I saw people eating noodles and assumed pancita was a noodle dish, like the Filipino pancit. But no. It is a type of tomato soup filled with chopped up beef rind and chunks of fat. For only P31, I bought a small chicken. It was perfectly marinated and roasted, better than Kentucky Fried Chicken. I paid the money, and the shopkeeper brought out a pair of scissors and cut the chicken into all the appropriate pieces for easy eating, just like they do in Korea (viz the use of scissors) Church. Attended mass tonight, since the church was so close. The church is magnificent. It really is a cathedral inside; to see the ceiling you have to crane your neck. And when you do, you see paintings of angels playing instruments. I went into the nave to pray, and saw a giant depiction of the ark of the covenant. It was very realistic, with the cherubim covering it with their wings. And above it, was a painting of the wine and bread offering, which were offered on the altar daily. The priest was a black man from Illinois; after a bit of attempting to speak to each other in Spanish, we realized we both spoke English, and got on famously from then on. The cathedral opens at 10am, closes for lunch from 2pm-4pm, and then is open until mass is finished. This must be what the church was like in the beginning; a place where believers could drop in any time to be with others of their kind, to meet, eat, drink, discuss, and elevate each other to a higher plane. I am sad that we don't have this in Canada. Debian. There were some Debian talks and presentations, but nothing too interesting. Finally met Mark Shuttleworth, Anthony Towns, Manoj Srivastava, and Roblimo Miller. Clifford Beshers of Linspire almost convinced me to look into the Haskell computer language. I couldn't quite tell what Haskell has that LISP doesn't, apart from forcing strong types on you and being very fast and efficient in benchmarks tests. Marga didn't give me meal tickets before, so Graham printed some up for me today. By pure serendipity, I sat at dinner with the only other Canadian developers at the conference; Simon Law and Eric Dorland from Montreal. The drinking started at 11pm and is still going strong; the atmosphere is very convivial right now, but half of us are still tapping away at our keyboards.

Eric Dorland: DebConf Fun

So I'm halfway through my 2nd full day here at DebConf 6. The trip over was fairly uneventful. Dorval Airport charges a fairly ridiculous amount for WiFi. Cost me $10 to surf for an hour. Such a ripoff. Meet Jimmy in Newark. A bit of a mad rush from the Mexico City airport to the bus station to catch the last bus to Oaxtepec. Mexico city is big (says Captain Obvious). Arrived at the resort after midnight, and was greeted by a nice gift bag and many developers, including one of my roomies for the week, [info]sfllaw. There are wild cats everywhere on the resort! They're adorable, but a little heartbreaking. There's waterpark here too, need to try to find time for that. The swimming pool closes at 6pm, just around the time I'm most keen for a swim. Yesterday, the conference officially began. [info]sfllaw, I and few others (including important spanish speakers), went into town for breakfast. I had a chorizo echilada, very nice and not sick yet. The talk level was fairly light, and [info]sfllaw went to town again to get some beer, limes and water from town. The deposits on the beer bottles were almost the same as the price of the beer! [info]sfllaw theorized that it was to discourage destroying the bottles. The day caught up with me in the evening and I fell asleep and almost missed dinner. Luckily we made it just in time. The conference food has been fairly good, and I can't argue with the price. The net connection seemed to have problems in the evening, I was feeling a mite anti-social and the previous 24 hours had caught up with me, so I totally crashed around 11. Today was some interesting talks, the most interesting being the Ubuntu Annual Report by Mark Shuttleworth. During the QA, a lot of the same objections seemed to be raised (LaunchPad non-freeness, passing back to Debian. The same soft answers were forthcoming. I mostly have no problem with Ubuntu, and think sometimes we're a bit whiny about them. This is free software, we can't compel anyone to do exactly what we want, nor do they owe us. I'm happy to get what help I do from them.

15 May 2006

Sergio Talens-Oliag: ikiwiki

Since I first read that joeyh was going to write a wiki engine with a subversion back-end I thought it was a good idea and after the announce that it was going to be usable as a blogging system I was sure that it was going to be something worth looking at (and hopefully learn from). I have installed the Debian package, but I have not had the time to test it although I've put it on my TODO list, as I'd love to move my blog to use a system like the one ikiwiki uses; I have a lot of things under revision control and moving things like my blog seem a logical next step (probably moving all my home directory comes next, but I need some time to do it and I also need to decide if I will use a centralized or distributed control system or a mix of both). Anyway it has a couple of problems for me right now:
  • It uses MarkDown (looks like a good format, although it is too centred into HTML), but I usually use reStructuredText (all my blog entries are written on .rst files) as it is a good format for reusing text for different purposes and there are tools to generate output formats that cover all my current needs (HTML for web pages, LaTeX/PDF for printing and S5 for presentations).
  • It is written in perl. As a user that is not a problem, but I'm not a native speaker and to solve the previous problem I was thinking about adding an rst plug-in to the current code... I'll look at it and see how it can be done, maybe it is simpler than I imagine and it is just a matter of calling the rst2html script and I can do it while keeping my perl knowledge low... ;)
Well, I'll test the current system and to see if I have to fill a wishlist bug against ikiwiki asking for reStructuredText support.

14 May 2006

Adam Rosi-Kessel: Comcast: Human or Automaton?

I’m not the first person with a story about the sad state of Comcast. Since I’m certain I’m never actually going to get a True Human to read my email at Comcast, I’ll just post my brief exchange regarding Comcast’s SMTP servers here. Maybe some future archaeologist of the Internet will point to this exchange as early evidence of the End of Email: I posted the following to Comcast’s website feedback form — apparently there is no publicly advertised email address for communicating with Comcast:
Please forward this email to an engineer responsible for Comcast’s SMTP service. I run an ISP. Email to @comcast.net addresses often bounces with a “556 null byte in data” rejection connecting to gateway-s.comcast. I use postfix from Debian Sarge. This is not a problem on my end. There are numerous reports of this problem in newsgroups (just google ‘556 null byte in data’ ‘comcast’). The problem is independent of mail user agent and ISP. Note that this is *not* an issue of my users attempting to connect to the Comcast SMTP server themselves—I understand there is some issue where Comcast only accepts SMTP/SSL/TLS now for its users. This is a *delivery* problem. I have seen some speculation that Comcast’s SMTP servers are rejecting email with this error because of either large attachments or attachments with long filenames. I have seen the problem occur where the attachments are very small (on the order of 10K), but I haven’t ruled out the latter explanation. Please let me know if there is anything I can do to fix this problem. My users would like to be able to email Comcast customers.
Comcast’s response:
Dear Adam KESSEL, Thank you for taking the time to write us. Comcast is aggressive about protecting its’ subscribers from unwanted and unauthorized emails. In keeping with industry standards and best practices some recent changes to our filters have been made.If you are attempting to send emails to legitimate recipients in the Comcast.net domain, and receive an error message there are 3 likely reasons: 1. Your mail server has been identified as a source of Spam. Our mail filters have been updated to reject all mail from your server until the administrator of your mail server contacts us to request the server be removed. 2. The source of your message has a dynamic email address. Anyone attempting to email into the Comcast domain directly from a Dynamic IP address will receive the following error message: Comcast does not support the direct connection to its mail servers from residential IPs. Your mail should be sent to comcast.net users through your ISP. Please contact your ISP or mail administrator for more information. 3. Your mail server has an invalid rDNS value. What this means is that our mail filters authenticate each message by checking the rDNS value to ensure its’ a legitimate domain and yours wasnot. The error or “bounce” message you receive will indicate which reason the message was rejected. Youwill either be given the address to request Blacklist removal or you will be directed to our rDNS FAQpage. If a domain administrator feels that their IP range has been blocked in error or they would like information on required steps to be removed from our black list, they can contact us at: blacklist_comcastnet@cable.comcast.com If you need assistance setting up email through your ISP?s mail servers please visit their support pages or contact their support group. If you need information on the rDNS block, please visit: http://www.comcast.net/help/faq/index.jsp?faq=Email118405 Thank you for the opportunity to assist you. If you need further assistance with any of your Comcast services please reply to this email and we will be happy to assist you. Thank you again for choosing Comcast we appreciate your business. To visit our local support page including links to contact us via Live Chat, as well as many downloadable forms,and FAQ pages, please visit: http://www.comcast.com/nesupport/ Did you know that Comcast offers its customers a variety of free benefits? These include McAfee Antivirus, Firewall and Privacy software as well the Comcast tool bar that lets you take Comcast.net with you while you surf, and the Desktop Doctor to help you restore lost settings…plus much more, please visit http://www.comcast.net/downloads/ to see all of the extras that we provide. Sincerely,
Irene Comcast Electronic Customer Care - New England You can email us anytime by replying to this email or by clicking the “Contact Comcast” link found on the bottom of all www.Comcast.net and www.Comcast.com webpages. Our Electronic Customer Support teams are available to assist you 24 hours a day 7 days a week. **************************************************
The response contained in this message is intended for the addressee only and may vary from other ponses depending on geography, promotional campaigns or other factors. If you are not the intended recipient of this response, please delete this message. Any unauthorized use or dissemination of the information contained in this message is prohibited.
**************************************************
The last bit about “unauthorized use” is a nice touch. My follow-up:
The 556 null byte SMTP error is *not* a spam or blocking related rejection. My mail server is (1) not a source of spam (2) does not have a dynamic IP address (I assume below whenyou wrote “dynamic email address” you meant “dynamic IP address”); it is not a residential IP but rather a commercial ISP that I run; and (3) the mail server has a valid reverse DNS lookup. To clarify: not every email is being rejected from the ISP’s IP address. In fact, the same sender can send from my ISP multiple times to a Comcast subscriber, and most messages will get through. There appears to be a bug in your SMTP delivery server whereby certain triggering events cause a 556 null byte error. There is at least some evidence that one such triggering event is an email with an attachment with a long filename. This is not a spam filter issue. This is a Comcast SMTP configuration issue. As you will see if you google “‘556 null byte in data’ comcast” this is awidespread problem that is entirely unrelated to Comcast’s zealous efforts to block unsolicited email. Please forward my email to an engineer or technician. Thanks,
Adam
Finally, Comcast’s witty retort:
Dear Adam Rosi-Kessel, Thank you for taking the time to write us. Commercial Email Accounts We have to apologize, but at this time you must contact our Commercial Business support team by calling one of the following toll free numbers 888-824-8105 or 888-824-8155, 1-888-737-8361 Thank you for the opportunity to assist you. If you need further assistance with any of your Comcastservices please reply to this email and we will be happy to assist you. Thank you again for choosingComcast we appreciate your business. To visit our local support page including links to contact us via Live Chat, as well as many downloadable forms,and FAQ pages, please visit: http://www.comcast.com/nesupport/ Did you know that Comcast offers its customers a variety of free benefits? These include McAfee Antivirus, Firewall and Privacy software as well the Comcast tool bar that lets you take Comcast.net with you while you surf, and the Desktop Doctor to help you restore lost settings…plus much more, please visit http://www.comcast.net/downloads/ to see all of the extras that we provide. Sincerely,
Ivonne Comcast Electronic Customer Care - New England You can email us anytime by replying to this email or by clicking the “Contact Comcast” link found onthe bottom of all www.Comcast.net and www.Comcast.com webpages. Our Electronic Customer Support teams are available to assist you 24 hours a day 7 days a week. **************************************************
The response contained in this message is intended for the addressee only and may vary from other responses depending on geography, promotional campaigns or other factors. If you are not the intended recipient of this response, please delete this message. Any unauthorized use or dissemination of the information contained in this message is prohibited.
**************************************************
If anyone has interesting ideas about how to get past Comcast’s front lines, I would like to know.

12 May 2006

DebConf6 Blog: Desperate - written some hours ago (Posted by Gunnar Wolf)

Note: This entry was written at least 24 hours ago. After a very long day filled with frustration and hope, the situation right now is quite different - But I still want to share what I already wrote ;-)
I’m sad. I have worked towards having a Debconf in Mexico for a long time - I started playing with the idea maybe three years ago, after being at Oslo, and started pushing for it one year later, in Brazil. Last year, before leaving to Finland, it was a fact: I convinced everybody that our country could be a great place to host Debconf. The last month or so, basically my whole time has been devoted to making this conference something worth remembering. And this has been an exciting year of work. But a couple of weeks ago, I realized it was probably not such a good idea, probably this is not the best way in which I can contribute to Debian being better, or get more Mexicans involved in Free Software. And I fear that, if something does not change soon, we will break the impressing steady growing and professionalization of our conference. What was the problem? Lack of people. Lack of committment. Lack of time. Things that -by whatever means it has been possible- we have been solving. But right now, the main problem is the network. I trusted to have enough network quality in a semi-rural setting, we didn’t actually have the time to properly test our plans were well laid out, we didn’t test if the line of sight we supposed we would have would work, I didn’t press for the hardware to be ready on time, we had communication errors that led different teams into believing the other would provide specific equipment we needed… This is not so bad, as it is solved only with enough devoted time at the beginning of the conference itself - But once the pieces were already in place, the situation didn’t improve - Maybe because the hardware was less than what we expected, or because we rely on having access to the roof of the neighbour of the neighbour of a friend… Who knows. The fact is, we do not have network access - And when we have it, it is darn slow and with a tremendous amount of packet loss. And it seems that the only thing you really need for a good Debconf is a bunch of friendly geeks, which we have, and good network access - which we don’t. I wanted also to misspell the bad impression many people have of Mexicans, about us being informal, never really committed, and always having an excuse. But… Well, I also failed miserably on that. I really didn’t want this to be the “mañana” Debconf. That is a sad prejidice I don’t want my country to have - As many of you surely know by now, I love this country and talk about its beauty and good things every time I can. Of course, not all problems are to be blamed on Mexicans, it would be foolish for me to believe so, but we do have our fair share of guilt. Still… Hope is not yet lost. Debconf hasn’t formally started - We are at Debcamp still. Up to today, we are a group of forty-something geeky friends having a good time, talking, having sun and pool time, and laughing and complaining about the network and about the heat. The Debian community will not forget Mexico. And progress is being made every day. There are some really really cool things about this, and I’ll try to cool down and enjoy what we have. The strongest stress seems to be over (at least for now, wait until most people arrive on Friday/Saturday/Sunday). And it is good that I can identify a forming depression - maybe this can help disspell it before it is too late - We only have Debconf once a year, and I do not want to be sad during it.

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?

10 May 2006

Aigars Mahinovs: Debconf6 day -4: The Pyramids

Yesterday it became clear that the daytrip during the conference will not go to the Teotihuacan Aztec pyramids as it is too far, which is a shame. For that reason a small group of people organized a separate trip to Teotihuacan ("the Pyramids" from now on). 11 people boarded 3 taxis which we hired for the whole day for a price of 1500 pesos per taxi per day (~150 USD) which averaged to 410 pesos per person. Before we left I managed to climb a stadium wall and take a couple of nice shots of a local vulcano and sneaky picture of Gunar running laps on the stadium at 7 in the morning with his wife. No wonder he looks so much better this year. (Comparison pictures will be put here) I also managed to notice that we do not have Internet again. Manyana. We ordered the taxis to arrive at 8:30, so when we gathered at the place at 8:40 we were expecting to have to wait a bit, but to our surprise the taxis were already there and waiting for us. The drive took three hours. On a taxi. No wonder it was too far for a daytrip. There is a lot of cars and a lot of roads in Mexico. People here are not too worried about fuel consumption here and it is not too surprising to me - the gas here costs between 6 and 8 pesos per liter. That might also be the reason why cars here are so incredibly loud - when a truck goes by on the road that is a couple kilometers away from the parliament tower in the hotel it sounds like a small plane is flying by nearby. Also the number of road is so huge and the structure is so chaotic that even taxi drivers did not know the route - they had to stop and ask for directions multiple times. Even when going back. Trying to stay on the same route. We got lost more then twice. Along the way to the Pyramids we stopped for breakfast in small roadside place somewhere. It was a family owned place where you have cactus tortillas with different fillings heated up on a big metal plate that is heated up by burning wood. there also was coffee in large cups and soft drinks. Tortillas and soft drinks were 8 pesos each, coffee was 5 pesos and the beer that the girls went to get for us from other cafes along the road were 10 pesos each. Wonderful food for incredibly cheap prices. After we all ate we threw money in the pile according to how much each of us wanted to pay and gave it to the owner. She looked at them money and started protesting that is is much too much, but we insisted. Very heartwarming place. We bought large bottles of water and moved on. It is quite hard to take good photos of the Mexican landscape because of two reasons: first there is huge number of large power lines going in all directions all across the land. And the other thing is the smog - you just can not take clear pictures of distant objects, the smoke or fog or something is covering the whole place. I suspect that it is related to the number of cars here, but I can not be entirely sure about that. I do not to intend to trash Mexico, but the fact is that Mexicans do. Along the roads near the Mexico City all roadsides are littered with all kinds of thrash - bottles, plastic bags, metal pieces, tires, ... On the other hand I have noticed that Mexicans do like IT - in every small town I noticed a computer shop with Internet. Some shops even promptly have Tux painted on their walls. It is quite strange to see that every wall is used for some kind of announcement or advertisement. Even a barely standing wall in the middle of the field between towns was used as an advertisement platform for a hotel in one of the towns. After long wondering around we finally arrived at the Pyramids. There was additional tickets to buy there - a 150 peso ticket for the car and a 45 peso ticket for each person. Each of three entrances to the Pyramid area has a range of souvenir shops and also there is a huge lot of private sellers walking all around the place and trying to sell you the same stuff for double or triple the price. The standing advice is to go to shops and negotiate prices there. We went in the entrance number 1 (which is how I would recommend anyone to do) which is at the south end of the Alley of the Dead. We started the excursion by climbing the small pyramid of the temple of the serpent god. The excavation was still going on there and it was interesting to watch. And it also was a warm-up for the other climbs. After that we moved on along the Alley of the Dead. After crossing the "river" (it was like 5 cm wide at this time of year) we were distracted by a sign pointing sideways that said "Museo (800m)". It sounded like a nice idea, so we went along. Unfortunately the road curves to the north and in the end the museum itself is almost next to the sun pyramid. So if you happen to go there I would advice you to go along the Alley of the Dead to the Pyramid of Sun and go to the museum from there. There is also a toilet and an ice cream shop next to the museum. After visiting the museum I went back to the "river" so that I could walk along the alley. There are several overwalks across the alley, so you either have to walk up and down the stairs a lot or walk up on the wall there. Then we came to the Pyramids. They are huge. Huge. Several millions of tons of rocks. Hundreds of meters of steep stairs going up. And a rubble on the top covering the temple site. The view is phenomenal. There will be a lot of photos from there including one of the traditional tourist type where I am sitting on the top of the sun pyramid with the moon pyramid in the background. Some of us did not make it the top of the first pyramid. It was quite hard. Coming down feels even more scary as the stairs are very steep. In front of the main Moon Pyramid there is the main square of the ancient city. In the center of it is the sacrificial altar. If you stand in the center of it, you can almost feel the sea of blood that was spilled onto these stones during the golden age of the Aztec civilization. It is a powerful feeling that could have gotten a bit scary if there were not so many people around. The climb to the Moon Pyramid was much harder then to the Sun Pyramid, it could have been because it was the second one or because it is more steep and with a higher pile of rubble on top (where there are no stairs). After a few stops most of us did climb to the top and took even more wonderful photos of the view around us. I must say that this was well worth all the effort, time and expense. After coming down from the pyramids, we went out via the exit number 3 which has the largest number of souvenir shops and did some shopping there. It was 15:30 by then and the souvenir shops were starting to close down. We were recommended a restaurant near the pyramids for our lunch, so we went there. The restaurant is located in the south direction from the pyramids and is almost on the continuation of the Alley of the Dead. The pyramids are still well visible from the windows. Just as our meals in the hotel, this meal was very nice and very Mexican - mashed beans in every dish, meat and the hot green stuff which is actually called "the green sauce". The way back after that was longer, but uneventful - we did get lost a bit more then usual, but it was the drivers problem. Altogether the trip took 12 hours. We really were exhausted after that.

Aigars Mahinovs: Debconf6 day -5: Manyana and it is still hot

It is evening of the third day and we are still netless - "manyana" is all that we know and people have accepted that. Hacking is being conduced efficiently - the local network is up and there is local Debian mirror in the LAN. The mornings are very nice here - it is not too hot yet and the water sprinklers also improve the situation further. I took a walk to the Oaxtepec town itself which is a couple minutes away from the Debconf6 venue. I hoped to find a currency exchange, but I had no idea where to go and the city is planned rather randomly, so I did not find it and got lost. Additionally I was brave^Wstupid enough to take this walk barefoot and by the middle of the day the asphalt was getting very hot. Luckily I managed to find a person who spoke tiny bit of English, showed him the wristband of the hotel and he immediately suggested to drive me there as he was just going to go in that direction. So I got back fast and relatively safe. People are getting a bit bored without the Internet. And what do Debian people do when they get bored? Right, they start playing Mao. I joined after the game was running for an hour and with a bit of luck won once before the game ended in implosion. My rule went unused. It is late in the evening but the Internet is finally up. Hurray! In seconds the hacklab become much more quiet - the number of people there doubled, but the talking seized. People flooded the IRC. In an hour the spell was broken - the lunch is here, and the hacklab is to be closed for the night. Hard choice. After my failure to find a currency exchange during the day, Enrico agreed to help me - he would withdraw some money from a local ATM and give it to me in exchange for my pounds and euros. The closest ATM is in the town, so we went there after the dinner. It is strange that I did not notice the bank with the ATM before because it has an advertisement put up on a ~30 meter pole. It seems that in Mexico the cooler you are the higher your advert is. On the way back operation "thirst clenching" commenced - beer was acquired from the local 24 hour shop. We were told before that the security guards of the hotel did not want us to bring any alcohol from the town following the "pool accident", but the operation went on anyway. It was a long walk and now I finally now some places in the town that have some value to them. Thanks for the help, Enrico! I will need that money very much tomorrow. Why? Read on :) Note: I have decided to not put photos inside these blog entries for now because it consumes too much time. Instead I will do an update of these pages sometime after the Debconf is over and will also upload all pictures to gallery.debconf.org at the same time. I will also then make a new post in the blog saying that I did so and having in it links to all appropriate locations.

Wouter Verhelst: Kerberos II

So about two weeks ago I started playing with Kerberos. And I'm still not finished with it, kerberizing one service after the other. Really fun, that. Kerberizing a network protocol involves somehow sending the Kerberos ticket in-band with the rest of the conversation. This is not entirely defined by the Kerberos protocol, and indeed, different network protocols have come up with different ways of sending the Kerberos ticket to the service. So far, I've encountered SPNEGO for HTTP, GSSAPI for IMAP and SSH, and SASL for LDAP. It sounds like a complex mess, but it really isn't; in general, kerberizing a service involves three steps:
  1. Installing the Kerberos plugin (if any) for both the server and the client;
  2. Generating the service principal, and adding it to a/the keytab;
  3. Configuring the service so that it knows it can do Kerberos, and so that it knows how to act when a Kerberos request is sent
Yes, in the cases I've seen it's really that simple. Although I'm skipping step 0 here–reading the documentation. But I've done that for you already ;-) The hardest part is the initial setup. But even that isn't very hard, because the process is very well documented. For starters, install the krb5-doc package, and read the excellent /usr/share/doc/krb5-doc/README.KDC which explains just enough of the system to get you started. The rest will be explained to you through debconf and the like; and if you want more, the krb5-doc package also contains three info files which explain concepts and usage very well. There's an alternative implentation called heimdal, which I presume works similar; but I haven't tried it, so I don't have much details on that one. The process of installing krb5 is very straightforward; the only thing I'll let you know is that you should ensure that any host you're going to kerberize should have reverse name lookups configured and working correctly; otherwise, you're going to run into a bunch of serious problems. After the initial setup, you'll have a Kerberos realm, usually your domain name in upper case (GREP.BE in my case). You'll now want to set up principals for your users and principals for your hosts. Now, let me show you how to configure Kerberos for LDAP, PAM, HTTP, IMAP, and SSH:
PAM
By installing and using the libpam-krb5 package, you'll log in to kerberos and receive your TGT immediately at login time; the alternative would be having to use kinit (in the krb5-user package) afterwards. pam_krb5.so also takes care of destroying your tickets when you log out, so that you don't have to worry about that. This is very handy, but not really required; you could just use kinit all the time. Of course, using pam_krb5.so also means you have only one password for everything—and that is a very good argument to use it.
Anyway; our three steps:
  1. Installing the plugin
  2. As you've guessed, libpam-krb5 is the package you'll need. That, or the heimdal implementation.
  3. Generating and installing the service principal
  4. In the case of any service such as PAM that will give you a shell (thus, as we'll see later on, also SSH), the principal is supposed to be host/<hostname>@<REALM>. For instance, on rock.grep.be, the principal PAM will use is host/rock.grep.be@GREP.BE. We'll create it with kadmin (which can be done on any kerberized host):
    wouter@rock:~$ sudo kadmin
    Password for root/admin@GREP.BE:
    kadmin:  addprinc -randkey host/rock.grep.be@GREP.BE
    WARNING: no policy specified for host/rock.grep.be@GREP.BE; defaulting to no policy
    Principal "host/rock.grep.be@GREP.BE" created.
    kadmin:  ktadd host/rock.grep.be@GREP.BE
    Entry for principal host/rock.grep.be@GREP.BE with kvno 3, encryption type Triple DES cbc mode with HMAC/sha1 added to keytab WRFILE:/etc/krb5.keytab.
    Entry for principal host/rock.grep.be@GREP.BE with kvno 3, encryption type DES cbc mode with CRC-32 added to keytab WRFILE:/etc/krb5.keytab.
    kadmin:  q
    
    Generating the principal can really be done as any /admin user; but as the same isn't true for writing the keytab, I'm using sudo in the above example to become root.
  5. Configuring
  6. account	required	pam_krb5.so ignore_root
    auth	sufficient	pam_krb5.so ignore_root forwardable
    password optional	pam_krb5.so ignore_root
    session	optional	pam_krb5.so ignore_root
    
    After adding the above lines to the relevant files in /etc/pam.d, you should log off, then log on again, run 'klist', and marvel. If you add the lines to your passwd file as shown above, and don't remove the pam_unix.so lines, then local passwd-based authentication will still work. This can be nice if, for example, the Kerberos server is down, or you're working on a laptop that isn't always within reach of the Kerberos server. It doesn't do any harm; the worst that can happen is that at some point you happen to be on a network where there's a firewall which drops packets on the floor rather than sending you an ICMP port unreachable; in that case, you need to wait for the Kerberos login to time out, which takes half a minute or so (I haven't timed).
SSH
  1. Installation
  2. If you're running unstable, you don't need to do anything. The OpenSSH packages in unstable are all set to understand Kerberos. If, however, you're running stable, you'll want to replace your ssh package by the ssh-krb5 package, which is the regular SSH package plus some patches to enable GSSAPI (read: Kerberos) authentication.
  3. Service principal
  4. If you've done the PAM setup above, you're all set; SSH, being a service which gives you a shell, also uses the host/ service principal.
  5. Configuration
  6. Make sure both the server and the client have the GSSAPIAuthentication option enabled. After you've done so, restart the server.
IMAP
I'm using dovecot as my IMAP server, which has builtin support for GSSAPI authentication (at least in unstable; haven't checked stable in this regard).
  1. Installation
  2. As dovecot comes with everything compiled in, there is no need for installing extra packages.
  3. Service principal
  4. You'll need the imap/ principal (e.g., imap/rock.grep.be@GREP.BE). Note that the host name which is found by doing a reverse lookup on the ip of the server is what counts, not the name of the server as you're using it (so not, e.g., imap/imap.grep.be@GREP.BE)
  5. Configuration
  6. Edit your dovecot.conf, and find the line that starts with "mechanisms" in the auth default stanza. Make sure it contains at least the word gssapi. Restart dovecot. I haven't found a Free (as in speech) IMAP client that supports GSSAPI authentication. My client of choice, offlineimap, doesn't seem to support it; mutt doesn't either (unless I'm missing something); and while thunderbird in unstable is supposed to support it, I haven't been able to configure it correctly yet. Probably me. I have, however, been able to verify that it works by using a non-free software package. Obviously, this isn't good enough. In addition, I found that horde and imp don't like an IMAP server that has GSSAPI enabled if they don't, while enabling GSSAPI in horde requires a PHP extension that isn't packaged in Debian. So I've disabled it for the time being. Stay tuned.
LDAP
  1. Installation
  2. LDAP requires uses SASL for authentication, which doesn't have GSSAPI modules in the default package; for those, you need the libsasl2-modules-gssapi-heimdal package. Attentive readers will have noticed that this package contains the string heimdal in it, rather than krb5, and that this is not the same implementation that I've been using previously. Yes, true. But since there's no libsasl2-modules-gssapi-krb5, and since Kerberos is, after all, a well-defined protocol, this is not an issue—except in that you need a bit more diskspace for the additional libraries. Note that the modules have to be installed on both the client and the server.
  3. Service principal
  4. You need a service principal that starts with ldap/, obviously followed by the hostname and the realm.
  5. Configuration
  6. For those people whom you want to allow to authenticate themselves using Kerberos, make sure they have ' SASL <principal>' in their userPassword attribute set (e.g., I have userPassword: SASL wouter@GREP.BE). You can have that in addition to a regular encrypted password; the userPassword attribute is a multi-value attribute. Now if you use ldapsearch or anything similar, it will try to negotiate GSSAPI authentication as the SASL mechanism. If it doesn't do so, you can force it by adding -Y GSSAPI to the command line.
HTTP
  1. Installation
  2. You need the libapache-mod-auth-kerb or libapache2-mod-auth-kerb modules on the server. For the client, you need a browser which has SPNEGO support; Konqueror and Firefox are two examples of browsers that do.
  3. Service principal.
  4. The prefix here should be HTTP/. That's right, in upper case, contrary to previous examples where this wasn't the case. HTTP is also different in that apache usually isn't running as root. This is a good thing; however, it does mean that the kerberos authentication module is unable to read /etc/krb5.keytab. You'll have to write the service principal to a different keytab for apache; I've used the -k option to the ktadd command in kadmin to specify the keytab as /etc/apache2/keytab; I'll assume you do the same.
  5. Configuration
  6. Something like this, on the server:
    <Location /some/URL>
    	AuthType Kerberos
    	KrbMethodNegotiate on
    	Require valid-user
    	Krb5Keytab /etc/apache2/keytab
    </Location>
    
    This will enable SPNEGO authentication; and if SPNEGO authentication fails for some reason (for example, because the used browser doesn't support SPNEGO, or because the user isn't logged in to Kerberos), it will fall back to Basic Authentication. While the latter is usually a good idea, it's less of a good idea if you're not using SSL, since then your password would be sent over the wire in cleartext. Luckily, the basic authentication can be switched off, by using KrbMethodK5Passwd off. If you go to my webserver logs, you'll see that you'll get a 401 right away, while the HTTPS version of the same allows you to try to log in by using basic authentication. On the client side, if you're using Firefox, you need to go to about:config, and set the option network.negotiate-auth.trusted-uris to a string that will identify the servers that may do SPNEGO authentication in your realm. In my case, I've set it to grep.be. For konqueror, doing something similar is not required—it'll do SPNEGO authentication out of the box.
So, that's what I've got set up on my network currently. Next on the list: NFS4 kerberos auth (requires updated nfs utilities, which aren't in Debian yet because of issues with NFS2, IIRC), PostgreSQL (it does seem to support it), and finding out if or how I can create principals can't be used for one authentication scheme or the other. Phew, that was a long post. I'll stop now.

8 May 2006

Alexander Schmehl: [OSDL-DAM-II] Topics covered here...

Currently me mostly concentrate on the following topics: PS: I would like to add, that I'm not flooding planet again; but the wireless lan broke down, so you'll get severall of my blogs at the same time; I'm taking notes through this and thought they might be interesting for someone.

Jacobo Tarr&#237;o Barreiro: The DFSG, a promise to our users

Every once in a while, there is an argument in the debian-legal mailing list: a particular package was rejected because its license didn’t comply with the DFSG, and someone asks for Debian to relax its interpretation of the DFSG. This package, they say, is very important and useful, and the Social Contract states that users are our priority, and, after all, the DFSG are only guidelines and can be skipped every once in a while. I don’t subscribe to this line of thinking. The DFSG are not only a set of “features” the license of a work must have to consider that work “free”: they are a list of promises to our users about what they will be able to do with everything they receive from us. For example, when DFSG#2 says that “the license must allow modifications and derived works, and must allow them to be distributed under the same terms as the license of the original software”, this means to our users: “everything you get from Debian you’ll be authorized to modify, and then give your modified copy to anyone under the same terms as when you received your copy”. That’s why when someone says “the DFSG are just guidelines, we can bypass them just for this very useful package” it would not be proper to actually do it, as we would not be living up to our own promises. This post was not triggered by any particular event; I just wanted to write something not containing a doctored photo or a joke :-)

7 May 2006

David Welton: Open Source Digressions

Is it just me, or do these kinds of side trips happen to other people in the open source world? For instance, I want to add SMS capabilities to Hecl, so I did some research, realized that it's not too hard, and wrote the code. The build system we use is based on Antenna, which turns out to have a problem with the 2.2 version of suns Wireless ToolKit in that it doesn't let you select wma11.jar or wma20.jar, as the 2.2 version requires you to do. Poking around some more turned up a patch for Antenna that would do just what I need. However, it's from late 2005. It seems to be quite popular in the J2ME world, so what happened to it? Is the project no longer maintained? I wonder if it would be possible to fork it and get some people involved in keeping it up to date? And so it goes... and I get sidetracked from what I'm working on. Sometimes it leads me to new and interesting projects, but I suppose that, long-term, it's not the best use of my time. And yet I find that the pattern repeats itself, and all things considered, I really enjoy hacking on open source software, so I do end up having fun.

5 May 2006

John Goerzen: Bacula

Lately we've been looking at backup solutions at work.

And I've got to say that Bacula is looking downright awesome. It's GPL'd and it has just about every feature a person could ask for.

I am a complete Bacula newbie. Today, after using Bacula for a total of about 30-60 minutes, I added the first client machine to my Linux test box. The client machine was running the Windows bacula client. It took about 10 minutes to install and configure the client and the server. And both backup and restore worked perfectly the first time. Nice. Setting up a *nix client is even easier.

I've been using Amanda for many years at home and at various workplaces. Looks like we're going to be switching.

We've also ordered an HP MSL4048, a 48-tape LTO3 library with barcode support. Each tape has a native storage capacity of 400GB. Should be nice when it arrives. With that library and Bacula, we should be able to back up all our servers using a single backup system. And both our Windows and Unix people can manage the system, including running restores to any machine, from any authorized console machine.

4 May 2006

Andrew Pollock: [life/americania] Still no licence

So about a month ago, I discovered that my driver's licence was stuck in bureaucratic hell. Well the temporary piece of paper licence was due to expire on May 10, and so I called up the DMV again yesterday, and was told it was still pending. So I made an appointment to renew it. Today, coincidentally, I received a brand new 120 day temporary piece of paper licence in the mail, with a note attached:
Your application for a California driver license cannot be completed. California law (Vehicle Code Section 12801.5) prohibits the issuance of a driver license until your legal presence, as authorized under federal law, has been verified. This information has not been received from the Immigration and Naturalization Service (INS). ... Your application will remain valid for 12 months from the date you applied for your driver license. Your license will be issued and mailed to you as soon as the information is received from INS. We regret any inconvenience this may cause you.
The process inconsistencies are incredible. I know of two other E-3 visa holders that have received their proper licences without significant delay. I seem to be cursed.

3 May 2006

Alexander Schmehl: I really LOVE it, this happens!

Right now I'm sitting in a train. Again. This morning I traveled from my home near Frankfurt main to Munich, where the office of my employer is. My train was delayed gain by a Personenschaden (translation would be something personal injury; non polite versions of that phrase would be someone kissed a train). I could stay about 3 hours in the office, which means I'll need to do a lot of work tomorrow, so I should be there early in the morning. But I'm not on my way to my favourite hotel in Munich or to aba (who's a nearly perfect host; his house just misses meals containing meat ;) I'm sitting in a train back to Frankfurt. And I can choose to either take a train back to Munich at 0:30 (or something similar), which will arrive between 05:00 and 06:00 AM (about 2 hours to early), or get up at 5:30 and take the first train back, and be at the office at around 10:00 (about two hours to late). Either way this won't be a funny night. And that it's my own fault doesn't make me feel any better. But I'm feeling okay. Because someone just recognized the logos on my notebook and my t-shirt and we had a nice conversation about open source. As you might imagine: I love it, if complete strange person recognize our project :)

2 May 2006

Andres Salomon: rock n roll professionals

I was listening to a DJ Shadow album, “Preemptive Strike”, and recognized one of the songs. The track “High Noon” was from (or included samples of) a Therapy? album called Lonely, Cryin’, Only. I was curious whether Therapy? had originally written the song, or whether both were covers, so I dug around Therapy?’s site a bit and discovered this gem: “Here’s an example of how strange it can be. About a month ago we got a call from DJ Shadow’s management. He’s releasing a DVD and wanted to know if we would give permission for him to include a section of our cover of ‘High Noon’, a song he wrote! Apparently he uses it in his live set and needed clearance from us. How screwed is that? He’s asking us if we allow him to use a section of a cover of a song he wrote! Bizarre.” The music industry is a strange place.

1 May 2006

Holger Levsen: FOSDEM video DVD with debian talks available

A prelimnary video DVD with all talks from the debian developers room at this years FOSDEM is now available for download. It's called preliminary because in the final version I would like to include the two missing talks... (see "extras" on the DVD) - as usual, I happy about feedback!

For those who care, the script make_pal_dvd.sh is what I've used to create the DVD.

On a related note, while uploading the iso I realized that my provider silently upgraded my dsl line to 50% more bandwidth, yay!!

27 April 2006

Clint Adams: Not the Atari game

I was reading a Gregory Maguire book. I won't say which one; that would be telling. A man, perhaps 45 years old, with a shaved head and a bit of drunkenness, informed me that he had just been mugged. I did not care in the slightest. He then commented on the anthropomorphized animal depicted on the cover of my book, and went into some detail about the creature's inner thoughts. He was still boring the hell out of me. Then he caught me off-guard. You ever read the Foundation series? he asked. Yeah, I mumbled, wondering where this was going. He proceeded to ramble on, inching closer and closer to me. Perhaps he thought that my name was Harry. It was not. The drunken spray of his saliva became more excited, and then he made his most impressive confession. I'm the Mule, he announced confidently. While I pondered this fact, he made sexual advances. Luckily, Arkady Darrell and Bliss and that little hermaphrodite girl swung by and rescued me. Well, no; I only wish it had ended so well.

Christian Perrier: Back from my annual German samba break

As usually every year, I went this year to the Samba eXPerience conference in G ttingen, Germany. That conference is the only existing conference entirely devoted to the Samba project. It is a unique opportunity to meet with other users of samba, as well as nearly all member of the Samba development team (which is "only" made of 10-15 people, which always seem to surprise attendants when one knows about the quality of Samba over the years). This year, we were missing Tridge who was busy in European Commission hearings about the Microsoft case, if I got the explanations correctly. But most of others were around and I'm glad I had a few really interesting talks with several key people in the Samba project. The small samba maintenance team in Debian will probably take advantage of this as well. There were two of us over there, No l K the and myself. It's always a pleasure to spend some time with No l. We've been able to lower the number of bugs for samba in Debian a little bit as well as prepare the next release (3.0.23) packages...finding a few bugs in the upstream builds..:-) We also initiated some discussions with upstream about possible backports of the current samba code to sarge. Upstream policy is to encourage users to upgrade to the last version in the samba3 releases, so our policy in Debian does not fit well with these goals. We'll try to work closely with people who maintain the Debian packaging in the Samba Team... Of course, we also talked and listened to numerous talks about Samba 4, the Active Directory killer. In short they can be summarized to: nothing will be released "production ready" in 2006. So, we won't have samba4 in Debian etch. Steinar Gundersson and Jelmer Vernooj (member of the Samba Team AND in the Debian NM queue) will continue to maintain samba4 package in experimental (to test them, just install samba from experimental...beware, this *will* break File and Print services on your host). Also important were talk about evolutions in Samba3, the current production code. My vote goes to Jeremy Allison's talk about "Delegating administration of samba servers", introducing what I consider a killer features: user shares, ie the possibility to allow some users to create their own share on Samba server. Believe me, that feature will rock and it *will* be in 3.0.23 due out in a few weeks. I already have tons of plans for my production server at work in ONERA where the days of my NT4 domains are counted. For this, Jerry Carter tutorial about Samba 3 and Active Directory will be incredibly useful, even if I don't have any AD servers (and don't plan to). In short, great time as usual in G ttingen. I'm also very happy that I had the opportunity to visit Meike and have such long and interesting hours talking together while eating noodles. Tsch ss!

24 April 2006

Marco d'Itri: yet another irrtoolset replacement, 1.0

Today I released version 1.0 of rpsltool, my router configuration generator. It can generate the complete BGP configuration (neighbor statements, route-maps, prefix and as-path lists) of peering or customer-facing routers using RPSL data, a local configuration file and a configuration template based on the popular Template::Toolkit perl package. Currently I only provide an IOS configuration template, but it should be easy to write one for JUNOS (patches are welcome!). I know that it's being used in production by several ISPs in the RIPE and APNIC regions, so if you are not satisfied by IRRToolSet I think it's worth some consideration. Major changes since the last public release:

Next.

Previous.