[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:software:irssi_on_tor [2014/01/10 19:20 (UTC)] – chrisabela | howtos:software:irssi_on_tor [2019/02/21 11:33 (UTC)] (current) – removed markand | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======irssi on tor====== | ||
- | =====1. Introduction===== | ||
- | |||
- | This article shows a method you can follow to " | ||
- | |||
- | ====1.1. irssi (1)=== | ||
- | |||
- | irssi is a Command Line terminal based IRC client for UNIX systems. | ||
- | |||
- | If you followed a default installation, | ||
- | |||
- | ===1.1.1. irc (2)=== | ||
- | |||
- | The IRC (Internet Relay Chat) protocol has been designed for use with text based conferencing. | ||
- | |||
- | ==1.1.2. Freenode (3)== | ||
- | |||
- | The Freenode IRC network provides discussion facilities for the Free and Open Source Software communities. Amongst its channels one finds those that cater for discussion on Slackware, e.g. the ##slackware , # | ||
- | |||
- | ====1.2 tor (4)==== | ||
- | |||
- | tor (The Onion Router) provides anonymity for dissidents and whistle blowers on the Internet. It also channels traffic through port 443, thus it can be used to penetrate through some dumb firewalls that block some services to the users relying only on the destination port information. | ||
- | |||
- | A SlackBuild for tor is maintained on the [[http:// | ||
- | |||
- | If you are using a desktop, I recommend to install also vidalia. A SlackBuild for vidalia is also found on the [[http:// | ||
- | # chmod +x / | ||
- | # / | ||
- | </ | ||
- | |||
- | I recommend to install the latest releases of tor (and optionally vidalia) from the official download sites, as the SlackBuilds are not always updated. Modify the scripts to target the updated source code if needed. | ||
- | |||
- | ====1.3 Misuse=== | ||
- | |||
- | Some sorry individuals might pursue this option for trolling purposes. Although I am not going to deviate on this subject, trolling is a sure sign of a personality disorder. Seek professional help as trolling is not going to ease your frustrations! Also note that you will need to register you nick before starting so you will be banned after you get detected for misbehavior anyway. | ||
- | |||
- | =====2.0 Register your Nick===== | ||
- | |||
- | You will need to register your nick with freenode.net. You will need a valid e-mail address to do that. The procedure to register your nick may be followed from here: http:// | ||
- | |||
- | =====3.0 SASL Authentication (5)===== | ||
- | |||
- | Then you will need to logon Freenode via SASL authentication. | ||
- | |||
- | Install [[http:// | ||
- | |||
- | Then proceed to install some required CPAN perl modules: | ||
- | |||
- | As root, execute the following commands. Note that you will need an Internet connection < | ||
- | # cpan2tgz --build-tag=me Crypt:: | ||
- | # cpan2tgz --build-tag=me Math:: | ||
- | # cpan2tgz --build-tag=me Crypt::DH Crypt:: | ||
- | # cpan2tgz --build-tag=me Math:: | ||
- | # cpan2tgz --build-tag=me Math:: | ||
- | </ | ||
- | Note that the argument " | ||
- | |||
- | Now as your chosen non-privileged user, rename your irssi configurations files, to ensure consistency: | ||
- | $ mv -i $HOME/ | ||
- | $ irssi | ||
- | </ | ||
- | |||
- | Quit irssi by entering < | ||
- | /quit | ||
- | </ | ||
- | |||
- | Edit the 3rd last line of the file '' | ||
- | |||
- | From: | ||
- | < | ||
- | core = { real_name = " | ||
- | </ | ||
- | |||
- | To: | ||
- | < | ||
- | core = { real_name = " | ||
- | </ | ||
- | |||
- | Then proceed as follows: | ||
- | |||
- | < | ||
- | $ mkdir -p $HOME/ | ||
- | $ cd $HOME/ | ||
- | $ wget http:// | ||
- | $ ln -s ../ | ||
- | $ cd | ||
- | $ irssi | ||
- | </ | ||
- | |||
- | In the irssi session, enter the following commands: | ||
- | |||
- | < | ||
- | /network add Freenode | ||
- | /server add -auto -ssl -ssl_verify -network Freenode irc.freenode.net 7000 | ||
- | /save | ||
- | /script load cap_sasl.pl | ||
- | /sasl set Freenode < | ||
- | </ | ||
- | |||
- | Naturally enter your actual nick and password where indicated. | ||
- | |||
- | Proceed like this: | ||
- | |||
- | < | ||
- | /sasl save | ||
- | /save | ||
- | /quit | ||
- | </ | ||
- | |||
- | Next time you run irssi, you will automatically logon to Freenode without being asked for the password, this indicates that your SASL authentication has been succesful. | ||
- | |||
- | =====4.0 Torifying irssi===== | ||
- | |||
- | To connect to freenode with tor, start it as follows: | ||
- | < | ||
- | $ http_proxy=http:// | ||
- | </ | ||
- | and it will fail miserably! | ||
- | |||
- | This is my result: | ||
- | < | ||
- | 20:45 -!- Irssi: Looking up irc.freenode.net | ||
- | 20:45 -!- Irssi: SASL: auth loaded from / | ||
- | 20:46 -!- Irssi: Connecting to irc.freenode.net [195.148.124.79] port 7000 | ||
- | 20:46 -!- Irssi: warning SSL handshake failed: Connection reset by peer | ||
- | 20:46 -!- Irssi: Connection lost to irc.freenode.net | ||
- | </ | ||
- | |||
- | You will need to connect to the Freenode' | ||
- | < | ||
- | /server p4fsi4ockecnea7l.onion | ||
- | </ | ||
- | |||
- | Be aware that the connection will be slow. If you are using vidalia, you may try changing your proxy server for a better connect. Eventually, you should manage to log in but you have to be patient and accept some latency. Should you still fail, consider reporting your problems to the #freenode channel. | ||
- | |||
- | You may check that you are chatting anonymously: | ||
- | |||
- | < | ||
- | /whois < | ||
- | </ | ||
- | |||
- | I obtained the following result: | ||
- | < | ||
- | 20:18 -!- ChrisAbela [~Chris@gateway/ | ||
- | 20:18 -!- ircname | ||
- | 20:18 -!- server | ||
- | 20:18 -!- hostname : gateway/ | ||
- | 20:18 -!- idle : 0 days 0 hours 0 mins 9 secs [signon: Fri Jan 10 20:18:40 2014] | ||
- | 20:18 -!- account | ||
- | 20:18 -!- End of WHOIS | ||
- | </ | ||
- | |||
- | Note that the user_name is leaked! | ||
- | |||
- | Then proceed as usual: | ||
- | |||
- | < | ||
- | /j ##slackware | ||
- | </ | ||
- | |||
- | =====5.0 Sources===== | ||
- | |||
- | * (1) http:// | ||
- | |||
- | * (2) https:// | ||
- | |||
- | * (3) http:// | ||
- | |||
- | * (4) https:// | ||
- | |||
- | * (5) http:// | ||
- | |||
- | * Originally written by [[wiki: | ||
- | <!-- Please do not modify anything below, except adding new tags.--> | ||
- | {{tag> |