Questions about this topic? Sign up to ask in the talk tab.

Difference between revisions of "Irssi Tutorial"

From NetSec
Jump to: navigation, search
(Ok finally done with this.)
m (did a formatting thing)
 
Line 1: Line 1:
==Getting Irssi, Socat, Tor and Screen==
+
= Installation =
  
===Debian/Ubuntu===
+
*Debian/Ubuntu
 
{{code|text=
 
{{code|text=
 
<source lang="bash">
 
<source lang="bash">
$ sudo apt-get install irssi socat tor screen
+
# apt-get install irssi socat tor screen
 
</source>
 
</source>
 
}}
 
}}
  
===Gentoo===
+
*Gentoo
 
{{code|text=
 
{{code|text=
 
<source lang="bash">
 
<source lang="bash">
$ sudo emerge irssi socat tor screen
+
# emerge irssi socat tor screen
 
</source>
 
</source>
 
}}
 
}}
  
===Arch Linux===
+
*Arch Linux
 
{{code|text=
 
{{code|text=
 
<source lang="bash">
 
<source lang="bash">
$ sudo pacman -S irssi socat tor screen
+
# pacman -S irssi socat tor screen
 
</source>
 
</source>
 
}}
 
}}
  
==Connecting to the IRC==
+
= Connecting to the IRC =
  
===Method 1===
+
*Method 1
 
[[Tor|Transparent proxy your connection]]
 
[[Tor|Transparent proxy your connection]]
  
Line 34: Line 34:
 
}}
 
}}
  
===Method 2===
+
*Method 2
 
{{code|text=
 
{{code|text=
 
<source lang="bash">
 
<source lang="bash">
Line 47: Line 47:
 
}}
 
}}
  
== Sample config file ==
+
= Sample config file =
<pre>
+
 
 +
{{code|text=
 +
<source lang="bash">
 
servers = (
 
servers = (
 
    
 
    
Line 74: Line 76:
  
 
);
 
);
 
+
</source>
</pre>
+
}}
  
 
==Irssi customization==
 
==Irssi customization==

Latest revision as of 15:09, 21 June 2016

Installation

  • Debian/Ubuntu
 
# apt-get install irssi socat tor screen
 
  • Gentoo
 
# emerge irssi socat tor screen
 
  • Arch Linux
 
# pacman -S irssi socat tor screen
 

Connecting to the IRC

  • Method 1

Transparent proxy your connection

 
$ irssi
/connect -ssl netseclgxigdsvpj.onion 6697
 
  • Method 2
 
$ screen -S connections
$ tor
ctrl-a + c
$ socat TCP4-LISTEN:4242,fork SOCKS4A:localhost:netseclgxigdsvpj.onion:6697,socksport=9050 
ctrl-a + d
$ irssi
/connect -ssl localhost 4242
 

Sample config file

 
servers = (
 
  {
    address = "netseclgxigdsvpj.onion";
    chatnet = "bha";
    port = "6697";
    autoconnect = "yes";
    use_ssl = "yes";
    ssl_verify = "no";
  }
 
chatnets = {
  bha = {
    type = "IRC";
    nick = "<your nickname here>";
    user = "<your nickname here>";
    realname = "<your nickname here>";
  };
}
 
channels = {
  { name = "#csiii"; chatnet = "bha"; autojoin = "Yes"; },
}
 
);
 

Irssi customization