20211128 - Server went through an OS upgrade, sorry for the downtime.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
playground:irssi_on_tor [2013/05/22 19:22 (UTC)]
chrisabela
playground:irssi_on_tor [2015/11/10 09:33 (UTC)] (current)
chrisabela
Line 23: Line 23:
 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. 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://slackbuilds.org/result/?search=tor|slackbuilds.org]] repository. You will also need [[http://slackbuilds.org/result/?search=tsocks|tsocks]], which is listed as an optional dependency, as you will be using ''torify''.+A SlackBuild for tor is maintained on the [[http://slackbuilds.org/result/?search=tor|slackbuilds.org]] repository. You will also need [[http://slackbuilds.org/result/?search=torsocks|torsocks]], as you will be using ''torify''.
  
 If you are using a desktop, I recommend to install also vidalia. A SlackBuild for vidalia is also found on the [[http://slackbuilds.org/result/?search=vidalia|slackbuilds.org]] repository. If you choose to use vidalia, then do not start tor manually, as otherwise vidalia will get confused and quit. If 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: <code> If you are using a desktop, I recommend to install also vidalia. A SlackBuild for vidalia is also found on the [[http://slackbuilds.org/result/?search=vidalia|slackbuilds.org]] repository. If you choose to use vidalia, then do not start tor manually, as otherwise vidalia will get confused and quit. If 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: <code>
Line 50: Line 50:
 As root, execute the following commands. Note that you will need an Internet connection <code> As root, execute the following commands. Note that you will need an Internet connection <code>
 # cpan2tgz --build-tag=me Crypt::Blowfish # cpan2tgz --build-tag=me Crypt::Blowfish
 +# cpan2tgz --build-tag=me Math::BigInt::GMP
 # cpan2tgz --build-tag=me Crypt::DH Crypt::OpenSSL::Bignum # cpan2tgz --build-tag=me Crypt::DH Crypt::OpenSSL::Bignum
 # cpan2tgz --build-tag=me Math::BigInt # cpan2tgz --build-tag=me Math::BigInt
 # cpan2tgz --build-tag=me Math::BigInt::FastCalc # cpan2tgz --build-tag=me Math::BigInt::FastCalc
 </code> </code>
-Note that the argument "--build-tag=me" will cause a "build tag" to be added to the resulting package (like "''perl-crypt-blowfish-2.12-i486-1me.tgz''") which makes it easier to exclude from [[slackware:slackpkg|slackpkg]] package management.+Note that the argument "--build-tag=me" will cause a "build tag" to be added to the resulting package (like "''perl-crypt-blowfish-2.12-i486-1me.txz''") which makes it easier to exclude from [[slackware:slackpkg|slackpkg]] package management.
  
-Now as your usual non-privileged user, rename your irssi configurations files, to ensure consistency: <code>+Now as your chosen non-privileged user, rename your irssi configurations files, to ensure consistency: <code>
 $ mv -i $HOME/.irssi $HOME/.irssi.orig $ mv -i $HOME/.irssi $HOME/.irssi.orig
 $ irssi $ irssi
Line 82: Line 83:
 $ mkdir -p $HOME/.irssi/scripts/autorun $ mkdir -p $HOME/.irssi/scripts/autorun
 $ cd $HOME/.irssi/scripts/ $ cd $HOME/.irssi/scripts/
-$ wget http://freenode.net/sasl/cap_sasl.pl+$ wget http://scripts.irssi.org/scripts/cap_sasl.pl
 $ ln -s ../cap_sasl.pl autorun/ $ ln -s ../cap_sasl.pl autorun/
 $ cd $ cd
Line 95: Line 96:
 /save /save
 /script load cap_sasl.pl /script load cap_sasl.pl
-/sasl set Freenode <nick> <password> DH-BLOWFISH+/sasl set Freenode <nick> <password> PLAIN
 </code> </code>
  
Line 111: Line 112:
  
 =====4.0 Torifying irssi===== =====4.0 Torifying irssi=====
 +
 +<note warning>Note that Freenode hidden service is offline until further notice. The rest of this wiki will not work. 
 +</note>
 +
 +<note warning>If you have an installation with multilib packages, it may be necessary to create this symbolic link as root for the torify command to work:
 +
 +<code>
 +# cd /usr/lib
 +# ln -s ../lib64/torsocks/ .
 +</code></note> 
  
 To connect to freenode with tor, start it as follows: To connect to freenode with tor, start it as follows:
Line 127: Line 138:
 </code> </code>
  
-You will need to connect to the Freenode's tor's hidden service address: //p4fsi4ockecnea7l.onion//+You will need to connect to the Freenode's tor's hidden service address: //frxleqtzgvwkv7oz.onion//
 <code> <code>
-/server p4fsi4ockecnea7l.onion+/server frxleqtzgvwkv7oz.onion
 </code> </code>
  
Line 142: Line 153:
 I obtained the following result: I obtained the following result:
 <code> <code>
-20:55 -!- ChrisAbela [~chris@gateway/tor-sasl/chrisabela] +20:18 -!- ChrisAbela [~Chris@gateway/tor-sasl/chrisabela] 
-20:55 -!-  ircname  : Chris +20:18 -!-  ircname  : Chris 
-20:55 -!-  server   : asimov.freenode.net [TX, USA+20:18 -!-  server   : zelazny.freenode.net [internal
-20:55 -!-  hostname : gateway/tor-sasl/chrisabela 255.255.255.255 +20:18 -!-  hostname : gateway/tor-sasl/chrisabela 255.255.255.255  
-20:55 -!-  idle     : 0 days 0 hours 0 mins 25 secs [signon: Sat Feb  9 20:55:24 2013+20:18 -!-  idle     : 0 days 0 hours 0 mins secs [signon: Fri Jan 10 20:18:40 2014
-20:55 -!-  account  : ChrisAbela +20:18 -!-  account  : ChrisAbela 
-20:55 -!- End of WHOIS+20:18 -!- End of WHOIS
 </code> </code>
  
Line 157: Line 168:
 <code> <code>
 /j ##slackware /j ##slackware
 +</code>
 +
 +If you need assistance, you may join the freenode channel to seek guidance:
 +
 +<code>
 +/j #freenode
 </code> </code>
  
Line 174: Line 191:
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 {{tag>howtos tor irssi author_chrisabela}} {{tag>howtos tor irssi author_chrisabela}}
 +

In Other Languages
QR Code
QR Code playground:irssi_on_tor (generated for current page)