Search Results: "tg"

10 May 2006

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.

5 May 2006

Erich Schubert: More on your Google SoC applications

I'd just like to point out that using Debian is not sufficient for sending us your application. Apparently some projects were submitted with minimal wording changes to Debian, Python, Postgres, Gentoo and Apache. If you send us your project, it should have some extra relationship to our project... it should be something our users or our community needs and that is somehow related to Debian. There is nothing wrong with being useable by other projects as well, but the relationship to Debian needs to be a bit more than just "Debian is my favourite distro." For example the SELinux policy module dependency handling is obviously something all distributions would like to have to ease installation. But when integrated with some nice magic of autoselecting policy modules based on the Debian packages installed: go for it. I've been asked about details on the Debtags SoC ideas. Here are some mails for you to read:

1 May 2006

Gustavo Noronha Silva: 1 May 2006

So, long time no blog entry. Work has been sucking my blood these days, but I managed to do some stuff recently that I feel like sharing. First of all, I've been enjoying TurboGears a bunch. Unfortunately I didn't get around to playing with it as much as I would have liked. Some time ago I became the maintainer of cherrypy, and that became an important piece of TG some time later. Now TG has been using something called Python eggs, and its versioning and dependency information. We fought a bunch on the debian-python mailing list trying to figure out how to handle that stuff in Debian packages and it seems like the best solution is the one which ended up on the new python-cherrypy package, which packaged CherryPy 2.1, and right now contains CherryPy 2.2. Most of the efforts of the Debian Python people has been documented on the Debian Python FAQ. Also, let me say that python-support is really cool; Thanks Joss! Also, I'm now a member of the Debian Python Modules maintainers team! Team maintainership is a really good idea, and I'm happy that it is becoming more and more the rule, not the exception; and I am very happy to be part of many very good teams. In other news, I've been working on the new version of libgksu/gksu. The API for libgksu has been greatly improved and simplified. The new design also allowed me to handle some situations in a much saner way; some things that bothered me for a long time are now gone. Packages are on their way to experimental, but if you want to take a look at what is happening, and comment on the new API (please, do!), you can look here: http://people.debian.org/~kov/gksu/libgksu2/ I'll upload some packages to http://people.debian.org/~kov/gksu/debian/ while the packages which are on NEW are not processed.

Andrew Pollock: [debian] On non-free RFC documents

So a release-critical bug was filed against dhcp3, of which I am the only active maintainer at present. I dutifully stripped the RFCs and IETF draft documents from dhcp3-common, and made an upload, however the bug was reopened. Seems I should have read this. So it looks like I need to strip them out of the source tarball as well. Goody. I'm no fan of debian-legal, and I don't personally subscribe to the non-freeness of RFCs, using my personal DFSG-o-meter, but #199810 makes for an interesting read. It's motivated me beyond raising my middle finger to debian-legal to actually bothering to repack the tarball sans the RFCs, but it's going to be a bit of PITA to do that for every new release. I mailed the dhcp-workers mailing list to ask the upstream maintainer what he thought about removing the RFCs from the source tarball. So far he hasn't replied yet, but I have had one interesting reply:
In general, I applaud the DFSG. But in this case, I think Debian is being unreasonable. While the RFC licenses do not permit creation of derivative works, they may be copied verbatim. It's marginally useful to users of the code to have the RFCs handy, and it's probably quite helpful for people trying to find and fix bugs. I'm in favor of being careful about licenses. I've asked people on my project at work not to use the Sun JDK (but did not ask them not to write in Java) because Sun's implementation is non-Free, and therefore non-portable. But objecting to RFCs really seems to be going overboard. If the RFC were used to build the program, I could see the point of needing to have the software freedom to modify it. But it's merely bundled. So I would suggest that Debian reconsider their position, and apply DFSG to software, and adopt Debian Free Documentation Guidelines for docs, and Debian Free Standards Guidelines for standards. DFStG should allow the ISOC copyright license - the purpose of allowing standards is to have them easily available as a reference.

30 April 2006

David Welton: Rails Annoyances

First, let me say that I'm actually enjoying Ruby on Rails quite a bit. I agree with the large number of people who, like me, are finding that Rails hits a sweet spot between too much structure, configuration and overhead, and anarchy, on the other side. It's good code, fun to use, and for the most part I enjoy Ruby as a language. However, being a bit of a perfectionist, and since Rails is "opinionated software", I thought I'd fire mine right back at it regarding a few of the things I don't like. Mostly minor nitpicks, but I'll likely add to them as time goes by and I use Rails more (I'd like to use it more at work, for instance) - after all, I'm opinionated myself.

27 April 2006

Joey Hess: emacs

Amaya -- so sorry about Emacs. I had two cats for a couple years, and lost Felix during a move back East, The saddest thing has been that Leo lost a brother to play with and had to become sort of a loner, and rely more on human companionship. Last night Leo suprised me, I was idly swinging my headphones around and he began to play with them and we had a good old style tussle like we used to when he was a kitten, and I thought, hmm, I should probably get him some proper toys again, cats never really outgrow that even if they get to go outside and hunt small furry creatures and butterflies and annoy other cats. Wish his brother was still around.. Anyway, I think you should still take Vim to the beach sometime.

Neil McGovern: Choosing a CMS system

Well, I volunteered at the last SPI board meeting to re-do the SPI website, as it was old and outdated.

So, I posted a message over to spi-private and spi-www asking for ideas.

The main one that came up was using a CMS. Now, I've had a look at various CMSs in the past, and none of them have come up trumps. Also suggested were other options such as using Embperl and svn (which I use for the Debconf site), but this isn't user friendly enough for many people, and a wiki, but I'm not convinced a wiki is the best thing for a static site.

The main issue that I saw with using a CMS for the SPI site is the requirement for it to be truly multilinugual. Unfortunately, this does sort of knock out a SPI Project, Drupal. Another less important issue is the storage engine. Ideally, this should be postgres, as it's another associated project :) Thirdly, the software should be free (as in DFSG, not beer).

So, this leaves a few options. After many hours googling and lots of suggestions from the lists, I had a short list. This leaves one which I've found, Plone. It has issues, but it's the best I've found. Namely, it requires Zope. This means that every time you change it's skin, the entire Zope server requires a restart. Not even a reload, but a full restart. However, it's multilinugal facilities are very good, and it has a nice management interface. It does have lots of plugins that extend it's functionality, which is nice.

One of the problems I'm having at the moment is to get news items to have a 'Effective Date' of 1998, as the management interface only seems to go back to 1999, and I need to put old items on there. I also need to work out how to run it under Apache, and possibly use postgres as a storage engine.

So, all in all, Plone wins the day, due to it's ability to host multilinugal sites, and it having a management interface that doesn't suck.

For those that want a sneak preview, see the testbed, but don't expect it to work perfectly :)

23 April 2006

David Pashley: Installing Oracle XE on Debian

I've spent the weekend playing around with the new Oracle XE Debian packages in preparation of having to use them at work in the near future. I've written up my experiences of setting the server and connecting remote clients in my latest article. Talking of work, we have a position for a junior support role open. If you live in or around Brighton, England and know a little bit about Linux, Debian, Tomcat, Java, PostgreSQL and Oracle and willing to learn more, have a look at the job description and get in contact.

22 April 2006

Joey Hess: ugh&#44; mailman

Just wasted 3 hours fighting with my mailman installation, which had, unnoticed to me, stopped processing any mail two weeks ago. It seemed to be either getting completly stuck on some messages in the outgoing mail queue -- strace and ltrace showed it was in some kind of tight loop processing their contents. So I solved that by removing some 900 of the 1000 queued messages (the ones that were messages about bounces, held messages, and spam), then it processed the rest of the actual important messages quite quickly. I think I've had enough of mailman. The web user interface is great for letting nontechnical users admin their own mailing lists, but every time the package upgrades I seem to have to manually delete cruft out of the queue; the spamassassin integration sucks, it doesn't allow configuring it on a per-list basis; its mail archiving is sucky, especially its attachment handling; it seems to shunt random messages constantly for no apparent reason; mailing list admin is unending drudgery of processing mails that it thinks are spam; this is at least the third time in the past year that it's just died for no apparent reason; and in general it seems the be designed with the idea that there will be a human constantly in the loop babysitting things. Oh and it still defaults to sending stupid monthly password reminders in cleartext. Guess I should try Enemies of Carlotta or something, ezmlm used to work fine w/o handholding back when I used qmail.

21 April 2006

Jose Carlos Garcia Sogo: GCompareFunc...

or why C++ sucks. I am wondering if someone could be able to explain me why this piece of code fails when I try to compile it:
  1. GMJabberClient *GMJabberManager::GetClient (GmAccount *ac)
  2. {
  3.   GMJabberClient *client = NULL;
  4.  
  5.   client = g_slist_find_custom (jabber_client_list, ac,
  6.                                 (GCompareFunc) compare_clients_by_account);
  7.   return client;
  8.  
  9. }
  10.  
  11. gint GMJabberManager::compare_clients_by_account (gconstpointer a,
  12.                                                   gconstpointer b)
  13. {
  14.   GmAccount *client_ac;
  15.  
  16.   GMJabberClient *client = (GMJabberClient *) a;
  17.   GmAccount *ac = (GmAccount *) b;
  18.  
  19.   client_ac = client->GetGmAccount();
  20.   if ( strcmp(client_ac->aid, ac->aid) )
  21.      return 0;
  22.  
  23.   return 1;
  24. }
It fails at g_slist_find_custom call, why GCC saying:
endpoints/jabber.cpp: In member function GMJabberClient* GMJabberManager::GetClient(GmAccount*):
endpoints/jabber.cpp: 6 error: invalid use of member (did you forget the & ?)
make[1]: *** [jabber.o] Error 1
I have been only able to fix this by declaring compare_clients_by_account () function a static function, while it actually should be private method of GMJabberManager client. Ideas?
Update 04-21-2006 11:31:34.- First of all, thanks to everybody who have replied to me by mail. Fot those who wonder why I don't have comments enabled, the answer is easy... it is another place to look at, to keep clean of spam, and to care. Those who suggested using constructions like this->compare_clients_by_account or &compare;_clients_by_account that won't work, as other people explained to me (and GCC says a bit more clearly if you try to compile that). As this is C++, when using such constructions you get a member function which gets passed a pointer to the class instance. This way, the prototype for what g_slist_find_custom expects and what it is actually being passed is not the same. This is where static member functions enter in action. Those are functions belonging to a class that not get passed the this pointer, avoiding the problem. Please, follow next week our "C++ sucks / what the hell" show!

13 April 2006

Erich Schubert: MusicSquirrel 0.1

Grab my new MusicSquirrel 0.1 while it's hot. MusicSquirrel is a duplicate finder and killer for your music collection. It will calculate Accoustic fingerprints for your music files (MP3, Ogg and such) and thus can detect the same song even when it was encoded in different formats or at different quality settings. The findings are presented in a sorted list, with checkboxes to pick which version of the files to delete. MusicSquirrel Screenshot It requires PyGTK, Python Glade2 and Python Glade2 and python-tunepimp. You can even run it on Windows (Don't ask me for help on that! Get ActivePython, PyGTK for Windows, Python tunepimp bindings and either compile all the libraries yourself or copy them from the latest Picard beta. Note that there is a memory leak somewhere in windows only, probably in the libs and not in the python code)

8 April 2006

Neil McGovern: Choosing a CMS system

Well, I volunteered at the last SPI board meeting to re-do the SPI website, as it was old and outdated.

So, I posted a message over to spi-private and spi-www asking for ideas.

The main one that came up was using a CMS. Now, I've had a look at various CMSs in the past, and none of them have come up trumps. Also suggested were other options such as using Embperl and svn (which I use for the Debconf site), but this isn't user friendly enough for many people, and a wiki, but I'm not convinced a wiki is the best thing for a static site.

The main issue that I saw with using a CMS for the SPI site is the requirement for it to be truly multilinugual. Unfortunately, this does sort of knock out a SPI Project, Drupal. Another less important issue is the storage engine. Ideally, this should be postgres, as it's another associated project :) Thirdly, the software should be free (as in DFSG, not beer).

So, this leaves a few options. After many hours googling and lots of suggestions from the lists, I had a short list. This leaves one which I've found, Plone. It has issues, but it's the best I've found. Namely, it requires Zope. This means that every time you change it's skin, the entire Zope server requires a restart. Not even a reload, but a full restart. However, it's multilinugal facilities are very good, and it has a nice management interface. It does have lots of plugins that extend it's functionality, which is nice.

One of the problems I'm having at the moment is to get news items to have a 'Effective Date' of 1998, as the management interface only seems to go back to 1999, and I need to put old items on there. I also need to work out how to run it under Apache, and possibly use postgres as a storage engine.

So, all in all, Plone wins the day, due to it's ability to host multilinugal sites, and it having a management interface that doesn't suck.

For those that want a sneak preview, see the testbed, but don't expect it to work perfectly :)

Julien Danjou: New TuxFamily web site

TuxFamily.org has just launched his new web site. It now supports english, spanish and, of course, french. For whose who don't know TuxFamily yet, it's a non-profit organization aiming to provide hosting services for free software projects. It's like SourceForge somehow, except that we don't use gforce but vhffs, our own hosting system. I would say that the main difference is that we don't provide a lot of preinstalled tools like bugtracking system, release publishing infrastructure, forums, etc.
We "only" give web spaces (with PHP support), MySQL or PostgreSQL databases, Subversion and/or CVS repositories, DNS servers hosting, mail hosting, mailing-lists, etc. For free, and for all projects which are free as in free speech. And not only free software projects, we also host some free art stuffs. For example, we host the prism54 project. Although the organization is french, our goal is to be open to other countries, so we began to internationalize all of our web interfaces. It is almost complete now, so maybe you could give it a try if you need hosting for your next project!

7 April 2006

Julien Danjou: NetBSD 3 in Xen

It works. I just installed a NetBSD 3 as Xen 3 DomU using this kernels.
NetBSD thor.adm.naquadah.org 3.99.17 NetBSD 3.99.17 (XEN3_U) #5: Sat Mar 25 19:01:14 CET 2006 bouyer@blues.lip6.fr:/Volumes/data/bouyer/tmp/i386/obj/Volumes/data/bouyer/current/src/sys/arch/i386/compile/XEN3_U i386

1 April 2006

Jeff Bailey: The urge to eat candy

I remember when Twinkies finally went vegetarian. I hadn't had any in something like 8 years. Bought a box, ate them, and didn't feel compelled to ever again.<br /><br />Now someone has come up with healthy <a href="http://www.drfuhrman.com/shop/pixievite.aspx">Pixie Sticks</a>. I might have to try a box of them, just to see if my adult mouth has outgrown my old junior high sugar tolerances. =) I got this from a blog called <a href="http://veganlunchbox.blogspot.com/">Vegan Lunchbox</a>. It's a lady who makes healthy vegan lunches for her kid and then documents it. I haven't actually tried any of her recipes yet, but I've book marked several.<br /><br />Unrelated to this: Montr al weather is really weird. It was +22 C yesterday, but it's warmed up so quickly that there was still a pile of snow in the back lane yesterday evening.<br /><br />(Please consider this post to have been made either on the 31st or the 2nd, as you see fit)

29 March 2006

John Goerzen: I've chosen Serendipity

I wrote the other day that I was considering Serendipity, and had a few concerns about it.

Those concerns have now been pretty well resolved.

I also looked at WordPress. It looked like it had more features, but the whole lack of a central plugin store bothered me. I'd have to scour all over the net to find plugins, and half of them are just on a random person's blog. Very few mentioned support for WordPress 2.0; most were for 1.5.

Then I looked at anti-spam options in both. The major anti-spam plugin for Wordpress had two big strikes against it, in my mind: it's not Free software, and it doesn't work with PostgreSQL.

I am really ticked off by webapps that only support MySQL. There is no reason not to support PostgreSQL (especially when WordPress itself does).

So I am going with Serendipity.

Now, I have to write a Drupal to Serendipity conversion tool.

28 March 2006

John Goerzen: I've chosen Serendipity

I wrote the other day that I was considering Serendipity, and had a few concerns about it. Those concerns have now been pretty well resolved. I also looked at WordPress. It looked like it had more features, but the whole lack of a central plugin store bothered me. I'd have to scour all over the net to find plugins, and half of them are just on a random person's blog. Very few mentioned support for WordPress 2.0; most were for 1.5. Then I looked at anti-spam options in both. The major anti-spam plugin for Wordpress had two big strikes against it, in my mind: it's not Free software, and it doesn't work with PostgreSQL. I am really ticked off by webapps that only support MySQL. There is no reason not to support PostgreSQL (especially when WordPress itself does). So I am going with Serendipity. Now, I have to write a Drupal to Serendipity conversion tool.

27 March 2006

Gunnar Wolf: Comas is moving

Hi! This is Comas, the conference management system we all know and love! Perhaps you remember me from /www.consol.org.mx/">/www.consol.org.mx/">CONSOL 2004 and 2005, Debconf 5 and 6, CICOL, Seminario Globalizaci n, Conocimiento y Desarrollo or other such great conferences! Well, it is a pleasure for me to announce I am moving.
That's right - My developers have felt too constrained by CVS to keep being merry and productive, and decided to move away from it and to Subversion. If you are tracking my development history, you should have noticed a new file in my base CVS directory, called DONT_USE_THIS_REPOSITORY_ANYMORE. I will reproduce it here following Gunnar's wishes, and hoping it is useful to you.
PLEASE DON'T USE THIS REPOSITORY ANYMORE! Just in the meantime, while we migrate our current installations to point to the correct server, while our users take note, and while the kind GBorg admins lock down this project: PLEASE DON'T USE THIS REPOSITORY. WE HAVE MOVED. The Comas project will no longer be hosted at GBorg - We are moving to Debian's Alioth.
Comas' webpage (although it is still ugly :) ) is still the same as always. The repository will no longer be handled through CVS - We switched to Subversion. Don't worry, the usage is basically the same. You can use anonymous access to get the Subversion tree. If you want to participate in the project, register at Alioth and ask us for commit access. You can also use the very nice SVN Web interface, which allows you to look at each of the files, view the changes, and even subscribe to the Comas RSS feeds! Development goes on. Stay tuned! Greetings, - Gunnar Wolf
Of course, as in any migration, there is still a lot of things to do. Mail the other contributors and interested people notifying them of the move. Migrate (and check the validity of) any tickets we have in the old site. Point all the places where there is Comas-related information to the new repository. Close the existing project page at GBorg. Sanely re-structure the repository in a more standard and functional way (and hope it does not break current installations ;-) ). Rework the documentation that has been neglected in the last months. Rework the bits of logic that never smelt very good but -as a dead rat- now positively stink. Fixe the things that will eventually stink as well... Anyway, I'm sure this will speed up my growth!
I am very excited on which way my dear authors will continue to push me - I know I'm quite a lousy program for many things, and I know there is a lot for me to learn until I am a military-grade conference management system - But my many parents have written me with deep love, and I understand they had to write hastily parts of my code. I understand their mistakes, but I hope they make them go away soon.

25 March 2006

Pierre Habouzit: debian.org and SPAM

Our @debian.org addresses are just too polluted. It's a fact, and nobody moves. It's really tiredsome. I happen to also be a co-admin on a mail server, that accepts almost 300k per MX, which is not very big, but quite big enough. I've written a little tool called whitelister. It's used in conjunction with postgrey that we use as a POLICY daemon for postfix. Basicaly, what it does is quite simple: This approach has spectacular results: greylisting in action Edit: the same statistics on our backup/secondary MX greylisting in action The green area are the mails we accept for delivery (after the AV-checks and classicale anti-UCE-checks). The red line is the amount of messages that the bayesian antispam (bogofilter) marks as spam. Since our clever greylisting is up, the results are just unbelievable: we drop a huge amount of spam, without needing bayesian spamfilter or clamav or any CPU-intensive checks, so almost for free. The statistics we run show that a very few mails are actually submitted again (less than 20 per week), and most of them are spam anyway. And an analysis of the remaining spams shows that those are spam that come from redirections services (mail lists, @debian.org, ). We almost drop 99% of the spam that is submitted into the SMTP network through one of our MX's. For the record, we only use cbl.abuseat.org, dul.dnsbl.sorbs.net and dynablock.njabl.org. why doing it that way ? greylisting is all about creating a dynamic map of the SMTP queues of the planet. What I do, is only using RBL's that already exists to make that principle converge faster. Moreover, even if you use "bad" blacklists that have too many false positives, the greylist is here to let legitimates mails through. So basicaly, it combines two bad[1] methods, to make a good one: It's a win-win use. Conclusion I'd really like to see such a system be installed on our main MX's. @debian.org emails addresses are overloaded with spam (and 90% of the spam I receive, comes from my @debian address). btw, in a MTA like exim (that some of our MX use), a tool like whitelister is not needed. It's possible to achieve the same thing within the exim configuration files (but don't ask me how, I never used exim, I just know it's possible to do it). Is there anybody out there to support such an idea ?
Notes [1] Used singly, I consider those methods really bad.

24 March 2006

Wouter Verhelst: Hmm

I read quite some stuff through liferea: Planet Debian, Planet Grep, commit logs on the d-i SVN repository, and more. One of the things that fits in the "more" category is my ThinkGeek wishlist (hey, they provide an RSS feed, so why not? ;-). Which, obviously, does not often see any updates; I don't surf the TG website all that often. Except that today, it did. And the best part is: I didn't even ask for it! Suddenly my thinkgeek wishlist contained some shirt that I did not ask for (and never will, since it's ugly). Strange...

Next.

Previous.