For privacy paranoids, it’s possibile to hide our own location when connecting to IRC Freenode using Tor.

Prerequisites:

  • A working tor client on your workstation
  • A registered nick on Freenode

What you need:

  • http://freenode.net/sasl/cap_sasl.pl (irssi plugin for SASL auth) You should add or change the server for connecting to Freenode:
servers = (
  {
    address = "p4fsi4ockecnea7l.onion";
    chatnet = "freenode";
    port = "6667";
    autoconnect = "yes";
  }
);

wget the perl irssi script in and add it to autostart.

cd ~/.irssi/scripts/
wget http://freenode.net/sasl/cap_sasl.pl
cd ~/.irssi/scripts/autorun
ln -s ../cap_sasl.pl

In irssi do:

/sasl add freenode   DH-BLOWFISH
/sasl save</code></pre>

Now launch irssi using the tor wrapper, torify:
torify irssi
As an additional note, I added a line to the perl script to make it working on my irssi:
--- cap_sasl_old.pl     2010-01-28 22:38:43.000000000 +0100
+++ cap_sasl.pl 2010-07-10 13:10:04.000000000 +0200
@@ -4,6 +4,7 @@
 # $Id$
 
 use MIME::Base64;
+use Irssi::Irc;
 
 $VERSION = "1.1";
 
For macports users:
sudo port install p5-crypt-blowfish p5-crypt-dh p5-crypt-openssl-bignum \
p5-math-gmp p5-math-pari
Although I've installed these libraries, I continue to get the error:
Math::BigInt: couldn't load specified math lib(s), fallback to Math::BigInt::Calc at 
          /opt/local/lib/perl5/vendor_perl/5.8.9/Crypt/DH.pm line 6
Comments welcome. Reference: http://freenode.net/irc_servers.shtml#tor