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
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 22: Line 22:


     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 51: Line 51:
</console>  
</console>  


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


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

Revision as of 13:29, February 18, 2017

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 # /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 freenodeok2gncmy.onion  6697
  • Quit and Execute irssi over proxychains tools
root # proxychains irssi -n yournick 
 Connected on Freenode: /j #funtoo