Telcel is one of the local mobile phone providers here in Mexico. When I
called my parents after I arrived at Mexico City airport, everything worked
fine. This morning I tried to call a colleague in Germany, but it didn't work.
Instead a voice told me something in spanish. And only in spanish. Guess
what... I don't speak spanish. Isn't it possible to detect that I'm using
roaming and that my original mobile phone provider isn't from a spanish
speaking country?
Update: Amaya just told me at dinner that the problem is the "+" in the dialed
number. The solution is to use "00" instead "+" for the country part of the
number, e.g. "0049" instead "+49" when you want to call to germany. But this
is not clear from the spanish message, even if you understsand spanish. It's just
saying "bad number" or something.
Upon popular request (my post was even featured on
Debian Weekly News), I re-ran
my previous query on the changelog files in Debian packages. This time, however, I didn't only retrieve 40 random package release names, but "all" of them, for unknown values of "all". I didn't analyze some of the files (missing permissions), and maybe I missed one or two because my query sucked, but I think I've got most of them.
I ran a slightly more complicated query than last time, using the data from
gluck:/org/lintian.debian.org/laboratory/. I have not the slightest idea how old the files in that archive are, but there's ca. 10.000 packages in there — more than enough, if you ask me.
The
results (78 KB) this time are in alphabetical order, and include the package names where the strings were found. There's a total of 1408 strings.
Here are 20 randomly chosen strings, for some more fun:
gdb: * The "Ahhhhhhhhhhhhhhhhhh!" Release.
glibc: * The "Fuck Me Harder" release.
abiword: * The "Foolin' Myself" release.
opensc: * The "RTFM" release.
directory-administrator: * The "On Train" release
xchat: * The "Merry Christmas, mine beloved Xchat users!" release.
apache: * The "Yes, we know there is a new upstream release" upload.
mmm-mode: * The "But I'm Not Dead Yet!" Release
mozilla-firefox: * The "becoming more and more an iceweasel" release.
nano: * The "Marbella, ciudad hermanada con Benidorm" release.
thy: * The Empty Spaces' release.
glibc: * The "Chainsaw Psycho" release.
sam: * The Minime' release.
xchat: * The "Binary only" release.
tellico: * The "pbuider and buildds are not the same" package release
pingus: * The "All you pingus are belong to blendi" release
xchat: * The "Ok, wrong patch, excuse me guys :)" release.
cappuccino: * The "It's time for the upload" release
abiword: * The "Got A Good Thing Goin'" release.
firefox: * The "what he taketh, he giveth back" release.
I also created a small statistic this time. Here's the Top-20 packages (the ones with the most release names):
64 abiword
62 thy
41 xchat
35 glibc
31 shadow
31 abcde
28 menu
18 reportbug
18 firefox
17 fetchmail
15 ccze
14 tama
14 mozilla-firefox
12 nano
12 apache2
11 gaim
10 debconf
9 mailutils
9 lirc
9 geneweb
Feel free to grab the whole
results file for more reading fun during boring hours of the day.
If you do any further processing or analysis of any kind with the data, please
post a comment and let us all know ;-)
Jeff Waugh: former GNOME release manager, LCA7 organiser, Ubuntu
evangelist extraodinaire ... rock star?
David
Woodhouse reports on a bug in Evolution he reported
ages
ago where Evolution wasn't acting RFC-compliant, which meant that it
was impossible for it to communicate with
some MTA's in their default
configuration.
At the time, the evolution (upstream) maintainers claimed it wasn't a
bug, and that he should fix his mailservers instead. While the RFC
clearly states the contrary. David rightfully called the evolution
maintainers idiots in his blog post.
The patch did eventually get applied, however, so all was well.
However, then the guy whom he called an idiot took offense at being
called so, and started
reverting fixes for bugs, and even
closing valid ones, just because they were filed by David Woodhouse.
Way to go. Someone use the cluebat, please. And the LART.
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:
- Installing the Kerberos plugin (if any) for both the server and the
client;
- Generating the service principal, and adding it to a/the keytab;
- 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:
- Installing the plugin
As you've guessed, libpam-krb5 is the package you'll
need. That, or the heimdal implementation.
- Generating and installing the service principal
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.
- Configuring
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
- Installation
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.
- Service principal
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.
- Configuration
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).
- Installation
As dovecot comes with everything compiled in, there is no need for
installing extra packages.
- Service principal
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)
- Configuration
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
- Installation
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.
- Service principal
You need a service principal that starts with ldap/,
obviously followed by the hostname and the realm.
- Configuration
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
- Installation
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.
- Service principal.
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.
- Configuration
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.
Do you remember the time that Kenneth Branagh was supposed to serve me tea and scones?
No? Well, I do. What I remember most about that is that he never did. Seeing Roger
Moore in a dress made up for having to pay $1 to see Roger Moore in a dress, but did
it make up for the lack of scones? I don't know.
On friday the 5th I started my trip to MX. I am assisting to Debconf 6 from the very first day, so that I can help the local team (at least with translations and such).
I arrived to the airport early, so that I didnt have to suffer last minute stress if I see that the line is way too long and I have too little time to catch the plane.
It all started fine (well, I forgot my keys at home when taking the dog for a walk, but I managed to reach my girlfriend and she came back to open the door for me).
I must be the worst traveler in the world, since I seem to be causing only problems. Or maybe is that I question too many things that are the status quo and seem reasonable for other people.
From the begining. It was check-in time, and the lady ask me about my hand luggage. I mentioned that since my friends were going to be waiting for me at the airport for almost 2 hours, I had prepared all my stuff so that I was not carrying anything dangerous in my two backpacks. Heck, I even left behind the regular tools that I carry with me, including the nail scissors,...
The lady said it was not possible. "Sir, you can only carry 8 kilos of hand luggage". I looked around and saw people with lighter bags, but bulkier than mine. "Sorry, but, what is the reason? My luggage is smaller that the regular luggage, and I just need to get out asap". "Security reasons, sir". "Could you describe those reasons?". "... ... (surprise face) Security, sir. I would like to travel with my 20 kilos os luggage with me, sir". Yeah, sure. I am happy about that. I dont recall going away for such an extended period with such an small amount of things.
When did all this madness start?
Well, she did not manage to give me any reason why I could not take my things with me, but she got her sweet revenge. She put me on the back of the plane, with a guy who had at least 50k more on than I, although we both paid the same price for the ticket. I wonder where the security reasons are then, for those 50k...
(Mental note: add to the travel checklist not to EVER forget deodorant and to take a shower before leaving home. Two showers. I had enough torture with the guy beside me...)
The nice part of the flight was that for the first time i traveled on a Jet. Boy, is nice.
Landed in Germany. The plane went to park on the backyard of the airport. We had a long 10min trip back to the terminal.
The check-in for the plane to MX was a full hour set in advance, so that the HUGE amount of people that fits on one of those 747 had the time to show (for the 10th time) the passport. But looking aroung one wonders again where those security reasons not to let me carry my 8 kilos of luggage are: people around me had bought nearly their year salary on duty free stuff that wights more than 15k.
Oh, boy, now I am confused. Is it so that someone has decided to add a rule in the name of security at some point after 11/9 and they forgot why? What difference does it make to get the luggage with 8 kilos from outside the terminal than from inside?
As a side note, one can see that mexicans still keep much of the Spanish attitude. The speaker goes on, a man speaks in German and explains that people with children will board before anyone else. Nobody has understood anything, but they are already piling before the boarding gate. Once the man speaks in English, only the ones who dont understand English still await impatientily at the gate, mostly disturbing the check-in procedure for the flight, which will probably be delayed because of that.
The second part of the trip was a bit more relaxed... I will skip the story about the looks-like-it-is-not-her-day flight attendant who could not understand a shit, and will only mention that when she served me a light coke and I handed her the empty can for dispossal, she gave me another full can with a face of "take-this-and-shut-up,dont-you-see-i-am-not-having-a-good-day?".
I did not know Mexico was in the south hemisphere. At least that was the reason given for the satellite-linked internet only working the first three hours, although we were flying through Greenland, Canada, USA and Mexico's gulf for the 12h of flight, and Mexico IS on the (using the lonstanding critizised convention of not putting the map upside-down and say that is the right possition) north side.
After landing it was a bit of rush, until I had to wait for my luggage, which of course came after waiting for almost 40min (Revenge of the Check-in Lady, take three... hi, if you read me). The people who create those inmigration forms MUST have short names. They have a big horizontal box with small vertical lines on the boxes to put your data trying to force you to put every character of your name in one small designated area. So there you go: "J E S U S _ D A N I E L _ C L I M E" That's right. Not even my first surname fits. Forget the second. This are the times that a friend of mine comes to mind: Enrique Garcia-Villarubia Gomez-Limon (Hi, if you read me).
After all this I went out to find Amaya and h01ger waiting for me. We met Ganneff, Stockholm, Sam and Jeroen, and Damog, along with Agi, were coming right after picking up the van.
We put Ganneff and Stockholm on a taxi and sent them to Oaxtepec, and left the airport for some dinner.
Mexico is BIG, BIG, BIG. After driving for more than half an hour we got to a bridge from where you could see the city lights. And still, they were covering the horizon. HUGE. That realization is something I have not digested yet. Some local beers and tacos made the end of the night and we headed to Hector's place, where we were going to spend the night.
From a not so negative point of view, the whole experience has been positive, and enlightening, to say it mildly. The food is mostly spicy. It could burn hell. Amaya is trying to get use to it by eating an insane amount of hot stuff but I refuse to do so.
For the scared (hi, helix) I have not managed to get anything from the tap water. So nobody is dead, yet, although rumor has it that some are in comas.
The net is here, although the roundtrip values are not very exciting.
Mao has visited already the place, and said it is here to stay.
Summary for the ones to come: this is HOT. I mean, really HOT. Forget your long jeans and bring shorts, even if you dont like to show your legs, sun screen cream, t-shirts, deodorant, swimming suit, and keep a bottle of water all the time with you.
Food is served at a more sensible time than in Finland: 02:00h and 20:00h.
See you in MX.
Looks like my plans for installing
cfengine are hitting problems before I’ve even started getting very far.
By default
cfengine will not copy files from the master host to the client nodes if their clocks are “too far” out of sync.
Unfortunately I cannot sync the clocks on all my nodes, much as I would like to, since UML doesn’t play nice with clocks going backwards ..
On the plus side I’ve got a nifty script which will push updates to remote systems via a combination of rsync + dpkg - that allowed me to update 50ish machines and cause them all to start logging remotely with
syslog-ng in the space of around an hour.
If I could generalise this system it might be sufficient to copy files, do minor edits, and essentially do the
tasks I wanted to automate with cfengine in the first place!
In related news the more I learn of ruby the more I’m coming to dislike it…. It is just so .. un-perl!
Still ruby is nicer than daemontools
With the help of Seo Sanghyeon, Josselin Mouette, Aaron Swartz and of course Fabio Tranchitella a new
webpy release is uploaded to unstable.
I just love working with other people to realise something. Especially when everyone is “on the same page”. It’s techy, social and it’s enjoyable.
Interesting thing about this release is that the packaging uses python-support so it should work with any python interpreter. So no need for ugly
python2.4- type naming.
Check it out.
Yesterday, I went to the Munich Bladenight... 20000 people (excellent weather)
on a 20km track through the city filling major roads.
(
picture gallery, though mostly of the gettogether before the start)
I didn't blade much recently - I went to only one Bladenight last year, and
that probably was only a 15km track, since I was in the US and Canada until
mid August. So it probably was a bad idea to start with this 20km long track...
at least my feet think so - they're still aching. Interestingly, it was worst
when walking after the bladenight. Everything was okay while blading...
And biking was much better than walking afterwards - you don't have your full
weight on you feet when biking.
Anyway, if the weather is good next week, I'll be going again. The north
route due next week is just 15km.
Amusing news yesterday, as it's revealed that Roger Knapman, the leader of
UKIP (a single-issue party
who dislikes the EU, and basically wants to reduce, or remove,
immigration), hires Polish builders to work on his country mansion. The
bonus punchline: the builders are hired through a Polish-registered
company that specialises in hiring eastern Europeans to work in Britian,
which is run by Mr Knapman's son.
Mr Knapman, an MEP and the UKIP's leader since 2002, recruited the
workers through his son, whose company specialises in bringing foreign
labour to Britain.
The men have been at Mr Knapman's grade-II listed home in the village of
Coryton, west Devon, for 11 months. They sleep dormitory-style in the
attic.
The company run by Mr Knapman's son claims that the imported labour
costs up to 50 per cent less than British workers would. Mr Knapman,
speaking to an undercover reporter from The Sunday Times, praised the
men as "they work so much harder".
(from
The Independent)
NP: Boards of Pays-Bas, Poxfil
Should Mock Objects be considered harmful? As an optimisation for test suites they are convenient, but they mean you are not testing against the something which can be verified to behave as the concrete interface is meant to, which can lead to Interface Skew.
... and already liking it. Though, first things first, some notes about the trip so far: The plane from vienna took off 50 minutes late due to weather reasons. It was quite nice, though, and I hope that some of the night pictures of town lightnings are usable. At least the delay reduced my waiting time at the madrid airport quite a bit.
Which brings me to that airport. It's... HUGE! I mean... erm, it has signs telling people that it will take 25 minutes to the gate that the plane to mexico will be leaving. And that is including the trip on some underground train they have that it doesn't take you much longer than that... But appart from that, I arrived on the gate area before midnight so I was able to order some drink at the starbucks. At least some shop that knows how to let people enjoy the waiting time. :)
The plane to mexico left on schedule at 1:50, so it was completely dark outside when we started. And almost the whole trip, up until about the last 20 minutes or so of the 13 hour flight, it was completely dark outside, because we were travelling ahead of the sun. So it wasn't too bad, being able to get some good sleep, at least as good as possible on a plane.
Having arrived in mexio airport with a short delay and waiting a bit for my suitcase I finally met up with Frans Pop, because I was too scared of getting lost without any sense for the spanish language yet. We took one of the prepaid official taxis to the bus that will take us the rest of the trip. The taxi drive was really... well, interesting. It was the fastest trip I've ever seen in any car in city area, but the bad thing: I can't even tell you how fast we were at times because the speedometer was b0rked and displayed only zero all of the time. I guess taxi drivers are most the same all around the world, but this one definitely mastered the art.
The bustrip wasn't anything notable, besides a bit tiresome due to the air in the bus, the partly monotonous vegetation outside and that I was sure to not be able to watch the movie to the end, besides that the sound was too silent. :)
Finally arrived at Oaxtepec, which turned out that our hotel seems to be in some sort of recreation area, maybe even a bit of themepark... At least it has some rollercoasters, at least they showed them on the video. We'll see. I at least tried out the pool already, it's not even feeling cold for me. Not have met all the people yet that are rumoured to be around already, but I guess it might happen at lunch, which is expected soonish. Due to network not working though this blog post will have to wait until afterwards.
Andrew:
I’m glad you like the xen tools package - looks like you followed pretty much the same approach as I did
running the new Xen 3.0 packages on Debian Sid… although I can’t duplicate your
sda vs
hda issue. (Already reported as
#366252)
I only wrote that guide after seeing
the confusion of Joey Hess.
Currently me mostly concentrate on the following topics:
- Portland Project (xdg-utils)
- Sound / Multimedia
- Desktop Standards (LSB)
- SODA arch (just showed by Tom Schwaller, some kind of
back to the roots
componized application idea)
- build once / installation / sytem management / etc. (independent Software vendors want something like autopackage, but it should work...)
- printing
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.