Note

The Funtoo Linux project has transitioned to "Hobby Mode" and this wiki is now read-only.

Difference between revisions of "Irssi over tor"

From Funtoo
Jump to navigation Jump to search
m (Updating tor HS v2 address to v3)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<br />
<br />


'''Tor''': ''or The Onion Router is an Internet anonymity system that helps you defend against traffic analysis.''
'''Tor''': ''The Onion Router is an Internet anonymity system that helps you defend against traffic analysis.''


'''Irssi''': ''is a terminal based IRC client for UNIX systems.''
'''Irssi''': ''is a terminal based IRC client for UNIX systems.''
Line 14: Line 14:
<console>
<console>
# ##i##emerge -va tor proxychains irssi
# ##i##emerge -va tor proxychains irssi
# ##i##sed  -i 's/socks4\t127.0.0.1/socks5\t127.0.0.1/g' /etc/proxychains.conf
# ##i##/etc/init.d/tor start
# ##i##/etc/init.d/tor start
</console>
</console>
Line 22: Line 23:


     A registered nickname on Freenode
     A registered nickname on Freenode
     SASL EXTERNAL Mechaninsm
     SASL EXTERNAL Mechanism
     A Client Certificate  
     A Client Certificate  
<br />
<br />
Line 44: Line 45:
* On Irssi
* On Irssi
   /network add -sasl_username <login> -sasl_password ~/.irssi/mynick.pem -sasl_mechanism EXTERNAL freenodetor
   /network add -sasl_username <login> -sasl_password ~/.irssi/mynick.pem -sasl_mechanism EXTERNAL freenodetor
   /server add -auto -net freenodetor -ssl -ssl_cert ~/.irssi/mynick.pem freenodeok2gncmy.onion  6697
   /server add -auto -net freenodetor -ssl -ssl_cert ~/.irssi/mynick.pem ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion  6697


* Quit and Execute irssi over proxychains tools
* Quit and Execute irssi over proxychains tools
Line 51: Line 52:
</console>  
</console>  


   Connected on Freenode: /j #Funtoo
   Connected on Freenode: /j #funtoo


[[Category:HOWTO]]
[[Category:HOWTO]]

Latest revision as of 17:06, September 4, 2020

Introduction

Tor: The Onion Router is an Internet anonymity system that helps you defend against traffic analysis.

Irssi: is a terminal based IRC client for UNIX systems.

Proxychains: is a tool to force any tcp connections to flow through a proxy ( Socks/HTTP )

Installation

root # emerge -va tor proxychains irssi
root # sed  -i 's/socks4\t127.0.0.1/socks5\t127.0.0.1/g' /etc/proxychains.conf
root # /etc/init.d/tor start

Freenode IRC Server and Tor Hidden Service

  • Preliminaries
   A registered nickname on Freenode
   SASL EXTERNAL Mechanism 
   A Client Certificate 


Generating a client certificate and getting fingerprint certificate

root # openssl req -newkey rsa:2048 -days 730 -x509 -keyout mynick.key -out mynick.cert -nodes
root # cat mynick.cert mynick.key > mynick.pem
root # openssl x509 -sha1 -noout -fingerprint -in mynick.pem | sed -e 's/^.*=//;s/://g;y/ABCDEF/abcdef/'
The output will be something like: 029d7db1ccc82cd3f8ec50eb293761598f95c9cb


Adding fingerprint certificate to Freenode Nickserv Service

 Connected on Freenode: /msg NICKSERV CERT ADD 029d7db1ccc82cd3f8ec50eb293761598f95c9cb


Configuring irssi to use Tor Hidden Service

  • On Irssi
 /network add -sasl_username <login> -sasl_password ~/.irssi/mynick.pem -sasl_mechanism EXTERNAL freenodetor
 /server add -auto -net freenodetor -ssl -ssl_cert ~/.irssi/mynick.pem ajnvpgl6prmkb7yktvue6im5wiedlz2w32uhcwaamdiecdrfpwwgnlqd.onion  6697
  • Quit and Execute irssi over proxychains tools
root # proxychains irssi -n yournick 
 Connected on Freenode: /j #funtoo