[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 revisionNext revisionBoth sides next revision | ||
howtos:software:irssi_on_tor [2013/02/10 10:22 (UTC)] – chrisabela | howtos:software:irssi_on_tor [2014/02/01 19:04 (UTC)] – Link to the list of Freenode hidden servers included chrisabela | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> | ||
======irssi on tor====== | ======irssi on tor====== | ||
=====1. Introduction===== | =====1. Introduction===== | ||
- | This wiki shows a method you can follow to torify irssi for an irc session on freenode | + | This article |
====1.1. irssi (1)=== | ====1.1. irssi (1)=== | ||
Line 10: | Line 9: | ||
irssi is a Command Line terminal based IRC client for UNIX systems. | irssi is a Command Line terminal based IRC client for UNIX systems. | ||
- | If you followed a default installation, | + | If you followed a default installation, |
===1.1.1. irc (2)=== | ===1.1.1. irc (2)=== | ||
Line 18: | Line 17: | ||
==1.1.2. Freenode (3)== | ==1.1.2. Freenode (3)== | ||
- | The Freenode IRC Server | + | The Freenode IRC network |
- | one finds those that cater for discussion on Slackware, e.g. the # | + | |
====1.2 tor (4)==== | ====1.2 tor (4)==== | ||
- | tor (The Onion Router) provides anonymity for dissidents and whistle blowers | + | tor (The Onion Router) provides anonymity for dissidents and whistle blowers |
- | the destination port information. | + | |
- | A SlackBuild for tor is maintained on the slackbuilds.org repository. You will also need tsocks, that is listed as an optional | + | A SlackBuild for tor is maintained on the [[http://slackbuilds.org/ |
- | | + | |
- | If you are using a desktop, I recommend to install also vidalia. A SlackBuild for vidalia is also found on the slackbuilds.org | + | If you are using a desktop, I recommend to install also vidalia. A SlackBuild for vidalia is also found on the [[http://slackbuilds.org/ |
- | repository. If you choose to use vidalia, then do not start tor manually, as otherwise vidalia will get confused and quit. If | + | # chmod +x / |
- | on the other hand you do not want vidalia, then you will need to start tor manually. As root perform the following commands to start tor | + | # / |
- | + | ||
- | < | + | |
- | chmod +x / | + | |
- | / | + | |
</ | </ | ||
Line 44: | Line 36: | ||
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. | 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===== | + | =====2.0 |
- | 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 is may be followed from here: http:// | + | 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===== | + | =====3.0 SASL Authentication |
Then you will need to logon Freenode via SASL authentication. | Then you will need to logon Freenode via SASL authentication. | ||
- | Install cpan2tgz. A SlackBuild for cpan2tgz is available from slackbuilds.org | + | Install |
Then proceed to install some required CPAN perl modules: | Then proceed to install some required CPAN perl modules: | ||
- | As root, execute the following commands. Note that you will need an Internet connection | + | As root, execute the following commands. Note that you will need an Internet connection < |
- | + | # cpan2tgz | |
- | < | + | # cpan2tgz |
- | cpan2tgz Crypt:: | + | # cpan2tgz --build-tag=me |
- | cpan2tgz Crypt::DH Crypt:: | + | # cpan2tgz |
- | cpan2tgz Math:: | + | # cpan2tgz |
- | cpan2tgz Math:: | + | |
- | cpan2tgz Math:: | + | |
</ | </ | ||
+ | Note that the argument " | ||
- | Now as your usual non-privileged user, delete | + | Now as your chosen |
- | + | $ mv -i $HOME/ | |
- | < | + | $ irssi |
- | rm -rf $HOME/ | + | |
- | irssi | + | |
</ | </ | ||
- | Quit irssi by entering | + | Quit irssi by entering < |
- | + | ||
- | < | + | |
/quit | /quit | ||
</ | </ | ||
- | Edit the 3rd line from the last of $HOME/ | + | Edit the 3rd last line of the file '' |
- | to accomodate your nick. For example: | + | |
From: | From: | ||
< | < | ||
Line 94: | Line 81: | ||
< | < | ||
- | mkdir -p $HOME/ | + | $ mkdir -p $HOME/ |
- | cd $HOME/ | + | $ cd $HOME/ |
- | wget http:// | + | $ wget http:// |
- | ln -s ../ | + | $ ln -s ../ |
- | cd | + | $ cd |
- | irssi | + | $ irssi |
</ | </ | ||
Line 112: | Line 99: | ||
</ | </ | ||
- | Naturally enter your actual nick and password | + | Naturally enter your actual nick and password where indicated. |
Proceed like this: | Proceed like this: | ||
Line 122: | Line 109: | ||
</ | </ | ||
- | Next time you run irssi, you will automatically logon Freenode without being asked for the password, this indicates that your | + | 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. |
- | SASL authentication has been succesful. | + | |
=====4.0 Torifying irssi===== | =====4.0 Torifying irssi===== | ||
+ | |||
+ | <note warning> | ||
+ | |||
+ | < | ||
+ | # cd /usr/lib | ||
+ | # ln -s ../ | ||
+ | </ | ||
To connect to freenode with tor, start it as follows: | To connect to freenode with tor, start it as follows: | ||
< | < | ||
- | http_proxy=http:// | + | $ http_proxy=http:// |
</ | </ | ||
- | |||
and it will fail miserably! | and it will fail miserably! | ||
- | This is my result: | ||
+ | This is my result: | ||
< | < | ||
20:45 -!- Irssi: Looking up irc.freenode.net | 20:45 -!- Irssi: Looking up irc.freenode.net | ||
Line 143: | Line 135: | ||
</ | </ | ||
- | You will need to connect to the Freenode' | + | You will need to connect to the Freenode' |
< | < | ||
/server p4fsi4ockecnea7l.onion | /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 | + | Be aware that the connection will be slow. If you are using vidalia, you may try changing your proxy server for a better |
- | ct. Eventually, you should manage to log in but you have to be patient and accept some latency. | + | |
You may check that you are chatting anonymously: | You may check that you are chatting anonymously: | ||
Line 160: | Line 150: | ||
I obtained the following result: | I obtained the following result: | ||
< | < | ||
- | 20:55 -!- ChrisAbela [~chris@gateway/ | + | 20:18 -!- ChrisAbela [~Chris@gateway/ |
- | 20:55 -!- ircname | + | 20:18 -!- ircname |
- | 20:55 -!- server | + | 20:18 -!- server |
- | 20:55 -!- hostname : gateway/ | + | 20:18 -!- hostname : gateway/ |
- | 20:55 -!- idle : 0 days 0 hours 0 mins 25 secs [signon: | + | 20:18 -!- idle : 0 days 0 hours 0 mins 9 secs [signon: |
- | 20:55 -!- account | + | 20:18 -!- account |
- | 20:55 -!- End of WHOIS | + | 20:18 -!- End of WHOIS |
</ | </ | ||
- | Note that the username | + | Note that the user_name |
Then proceed as usual: | Then proceed as usual: | ||
< | < | ||
- | /j #slackware | + | /j ##slackware |
</ | </ | ||
- | =====5.0 | + | =====5.0 |
+ | |||
+ | * (1) http:// | ||
- | (1) http://www.irssi.org/ | + | * (2) https://tools.ietf.org/html/ |
- | (2) https://tools.ietf.org/ | + | * (3) http://freenode.net/ |
- | (3) http://freenode.net/ | + | * (4) https://www.torproject.org/ |
- | (4) https://www.torproject.org/ | + | * (5) http://www.andrews-corner.org/irssi.html |
* Originally written by [[wiki: | * Originally written by [[wiki: | ||
<!-- Please do not modify anything below, except adding new tags.--> | <!-- Please do not modify anything below, except adding new tags.--> | ||
- | <!-- You must remove the tag-word " | + | {{tag> |
- | {{tag> | + |