May 14th, 2006


My new JID, or how to run DJabberd on Debian

Now that s2s is secure and memory leaks are fixed, I'm now running djabberd on my personal server/domain.

My new canonical instant messaging JID is now . Chat me up. (if you're using something which uses Jabber for IM interop, which includes Google Talk and I think Gizmo too....)

If you want to run this yourself on Debian, here's a short guide:
$ wget
$ wget
$ sudo dpkg -i libsys*.deb libdanga*.deb
$ sudo apt-get install openssl libdbd-sqlite3-perl \
 libnet-ssleay-perl libnet-dns-perl libdigest-sha1-perl \
 libxml-sax-perl libxml-libxml-perl liblog-log4perl-perl 
 subversion libdigest-hmac-perl

$ svn co djabberd
$ cd djabberd
$ openssl req -x509 -newkey rsa:1024 -keyout server-key.pem \
         -out server-cert.pem -days 365 -nodes
$ htdigest -c djabberd.users djabberd [your-username-without-at-sign]
(enter password twice)

Make a conf file. mine is:
$ cat fitzpat.conf
OldSSL  enable
  S2S enable
  RequireSSL yes
  <Plugin DJabberd::Authen::HTDigest>
     Realm djabberd
     HtDigest /home/bradfitz/djabberd/djabberd.users
  <Plugin DJabberd::RosterStorage::SQLite>
     Database /home/bradfitz/djabberd/fitzjabber.sqlite
Then run it:

$ ./djabberd --conf=fitzpat.conf

Or daemonize it with --daemon|-d.