This is a simple tutorial on how to use irssi over the tor network.
Reference: https://trac.torproject.org/projects/tor/wiki/doc/TorifyHOWTO/IrcSilc
Install tor and run it with default configuration. Some server requires SASL authentication like Freenode. Follow these steps below to make it work:
$ sudo apt-get install libcrypt-blowfish-perl libcrypt-dh-perl libcrypt-openssl-bignum-perl torsocks $ mkdir -p ~/.irssi/scripts/autorun $ cd ~/.irssi/scripts/ $ wget http://freenode.net/sasl/cap_sasl.pl $ cd autorun $ ln -s ../cap_sasl.pl
Alright, now just run:
$ usewithtor irssi
If everything went well, you should see at the top:
Irssi: SASL: auth loaded from /home/…/.irssi/sasl.auth
Run these commands now to set up SASL authentication for freenode:
/sasl set freenode-tor <USERNAME> <PASSWORD> DH-BLOWFISH /sasl save /sasl load
Now add the freenode server:
/NETWORK ADD freenode-tor /SERVER ADD -network freenode-tor -port 6667 p4fsi4ockecnea7l.onion
Minimize information leakage (recommended by the tor Website):
/IGNORE * CTCPS
Finally, save your configuration and restart irssi:
/SAVE $ usewithtor irssi /CONNECT freenode-tor