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
(Created page with "<big>'''Introduction'''</big> <br /> '''Tor''': ''or The Onion Router is an Internet anonymity system that helps you defend against traffic analysis.'' '''Irssi''': ''is a...")
 
Line 52: Line 52:


   Connected on Freenode: /j #Funtoo
   Connected on Freenode: /j #Funtoo
[[Category:HOWTO]]

Revision as of 21:09, November 21, 2016

Introduction

Tor: or 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 Mechaninsm 
   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