IRC is one of the great communication tools of hackers.
Using that tool safely is important, and easy to do.
Here is how to setup an irc bnc(IRC BouNCer). I use znc, a free, open-source program.
First, get a shell account. Linux, BSD/Unix, does not matter, as long as its a shell.
Some providers offer "irc bnc" or "irc shell" accounts. These are the best because the server your account is on will often have multiple ip addresses and multiple virtual hosts(called vhosts). Having multiple IPs and vhosts will give you more options with your bnc.
You do not need root to install, just the ability to use the system compilers.
You will also need to know the location of openssl on the server. To do this run:
which opensslThis should return the path to openssl on the system. Note this path.
Download znc to your home dir
http://znc.in/releases/znc-0.206.tar.gzYou can find the url for the latest version here:
http://wiki.znc.in/ZNCuntar it
tar zxvf znc-*cd znc*Configure, Make, Make Install
Add the path to install dir, and path to openssl
./configure --prefix=/home/username/.znc --with-openssl=/usr/bin/opensslmakemake installIf you are on a *BSD system, you will want to use GNU make, so substitute
gmake and
gmake installThat's it, it is installed. Now to set it up
cd ~/.znc/bin./znc --makeconfThis will make the "configs" dir and "znc.conf" inside that dir
Defaults are fine here, the only global module to load is "webadmin"
For user name and password, I create a user name with a REALLY STRONG password. I use this user only for logging in to configure the znc. This first user is an "admin" and can add/delete other users
After this is done, restart the znc. Quit/Kill if needed, then
./zncAfter it is running, point your web browser to the config page
https://server.host.com:40000Replace "40000" with the port number you setup for the webadmin module
Log in with the user/pass you setup during initial config.
In the "Global Settings" section of webadmin, paste the list of vhosts that your provider gives you, like this:
found.your.picture.at-google.com
dont.need.no.****en.l33t-vhost.com
online.via.your.wireless-inter.net
using.your.wireless-inter.net
carded.this.wireless-inter.net
null.routed.wireless-inter.net
ispeeds.customers.get.free.canadian-ass.net
terrorist.strikes.may.cause-lagging.netFrom here it is pretty self-explanatory, setup unique connections as "add user", set nicks, pick vhost, etc
After you setup a user you connect to it from mirc with
/server -m server.host.com +30000 username:passwordReplace 30000 with the ssl irc port you setup during --makeconf, and username:password with the user and password for the connection you setup in webadmin
You can string a bunch of these together in a mirc alias(Alt + R, Alias tab) using "|" to separate
/bnc /server -m server.host.com +30000 username0:password0 | /server -m server.host.com +30000 username1:password1 | /server -m server.host.com +30000 username2:password2Now you see why I set the initial admin user with hard password, but do not use as an irc connection. Then my znc log-on details are not sitting in plain-text mirc script
------------------------------------------------------------------
Edit:
Connect to your znc bouncer using Colloquy (mobile)In Colloquy:
1. Add IRC connection
2. Description can be whatever, something you'll recognize
3. Address is in
server.host.com format. Replace with hostname of your znc
4. Nick is what will be seen in the channel when you join. Try and use your forum nick, so we recognize you
5. Real Name can be whatever. Since this post is about staying safe, do not use your real Real Name.
6. Connect at Launch on
7. Join Rooms, add channels like #iNinjas
8. Allow Multitasking on
9. Advanced > Change port to your znc port number
10.Advanced > SASL off
11.Advanced > SSL on
12.Advanced > Username is the username for this znc user
13.Advanced > Password is the password for this znc user
That's it!
Edit: The webadmin module will run on the port you specify during setup. If you want it to run on a different port than the one used for znc connections, edit your ./configs/znc.conf file to look like this
Listener4 = web_only +10391
Listener4 = +10813You will already have one Listener4 line from setup, add the second line, with the "web_only" parameter
Be sure to add "+" in front of SSL ports, and make sure you use https:// in your browser when connecting to the webadmin module
EDIT: Use AndChat, a free IRC program on ANDROiD, to connect to your znc
Follow this:
