Enjoy Slackware 15.0!
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
playground:irssi_on_tor [2013/02/09 20:26 (UTC)] chrisabela |
playground:irssi_on_tor [2013/06/07 20:41 (UTC)] chrisabela |
||
---|---|---|---|
Line 3: | Line 3: | ||
=====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 9: | 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, |
- | lackware | + | |
===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 |
- | h 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 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 / | + | |
- | / | + | |
</ | </ | ||
- | I recommend to install the latest | + | I recommend to install the latest |
- | ilds are not always updated. Modify the scripts to target the updated source code if needed. | + | |
- | ====1.3 | + | ====1.3 |
- | Some sorry individuals might persue | + | Some sorry individuals might pursue |
- | lling is a sure sign of a personality disorder. Seek professional help as trolling is not going to ease your frustrations! | + | |
- | o note that you will need to register you nick before starting so you will be banned after you get detected 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 regis | + | 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 |
- | ter your nick is 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 usual non-privileged user, rename |
- | + | $ 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 99: | 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 117: | 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 127: | 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===== | ||
Line 134: | Line 115: | ||
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 148: | Line 128: | ||
</ | </ | ||
- | 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 174: | Line 152: | ||
</ | </ | ||
- | 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:// |
- | (2) https:// | + | * (2) https:// |
- | (3) http:// | + | * (3) http:// |
- | (4) https:// | + | * (4) https:// |
- | * Originally written by [[wiki:user: | + | * (5) http:// |
+ | * Originally written by [[wiki: | ||
+ | <!-- Please do not modify anything below, except adding new tags.--> | ||
+ | {{tag> |