Connect to Freenode via Tor with irssi

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.

🇬🇧 🇺🇸 If you found value in my content, consider supporting me by treating me to a coffee, beer, or pizza. Your contributions help fuel more quality content creation.

🇮🇹 Se hai trovato valore nei miei contenuti, considera di supportarmi offrendomi un caffè, una birra o una pizza. I tuoi contributi aiutano a creare contenuti di qualità.

🇬🇧 🇺🇸 If you have found inaccuracies or wish to improve this article, please use the comments section below (after clicking on Load Comments).

🇮🇹 Se hai trovato imprecisioni o vuoi migliorare questo articolo, utilizza la sezione commenti qui sotto (dopo aver cliccato Load Comments)

Comments