using sasl as authentication to login freenode

No Comments

freenode migrated to use a new server, which forked from others, something notable to me are: 1 support ssl, 2 support sasl authentication, 3 support hang on over 100 channels simultaneously. To get sasl work, you need some configuration work to do:

    install corresponding package

sudo aptitude install libcrypt-blowfish-perl libcrypt-dh-perl libcrypt-openssl-bignum-perl

    download irssi script provided by freenode, and make it run atuomatically

cd ~/.irssi/scripts/

wget http://freenode.net/sasl/cap_sasl.pl

cd autorun

ln -s ../cap_sasl.pl .

    make it run automatically /RUN cap_sasl.pl

/sasl set freenode primary-nick password DH-BLOWFISH

/sasl save

/save

    reconnect to freenode, you will see

22:30:54 [freenode] -!- Irssi: CLICAP: supported by server: identify-msg multi-prefix sasl

22:30:54 [freenode] -!- Irssi: CLICAP: requesting: multi-prefix sasl
22:30:55 [freenode] -!- Irssi: CLICAP: now enabled: multi-prefix sasl
22:30:56 [freenode] -!- freeflying!freeflying@ubuntu/member/freeflying freeflying You are now logged in as freeflying.

22:30:56 [freenode] -!- Irssi: SASL authentication successful

Be the first to write a comment!