Oct 252009

After installing Unreal ircd And Anop Services you might me wondering how to install BOPM proxy scanner bot for your ircd so here is the tutorial about how to setup (compile/install) bopm proxy scanner

type: wget http://static.blitzed.org/www.blitzed.org/bopm/files/bopm-3.1.3.tar.gz

[for latest version visit  http://www.blitzed.org/bopm/ ]
Above command will download bomp in your shell.

type: tar -zxvf bopm-3.1.3.tar
Above command will untar your bopm-3.1.3.tar.gz file

type: cd bopm-3.1.3
Now you are in bopm-3.1.3 directory Where you have to run ./configure command

type: ./configure
It will confirure your bomp

type: make

type: make install
Now your bopm has been installed. You have to edit your bopm.conf file now. For that see below commands

type: cd ../bopm

type: cd etc

type: pico bopm.conf

/*
* Full path and filename for storing the process ID of the running
* BOPM.
*/
pidfile = “/some/path/bopm.pid”; <— Path where your BOPM is installed with bopm.pid
(for example: /home/yourusername/bopm/bopm.pid)

* Amount of file descriptors to allocate to asynchronous DNS. 64
* should be plenty for almost anyone – previous versions of BOPM only
* did one at a time!
*/
dns_fdlimit = 64; <— Leave it as it is.

* Put the full path and filename of a logfile here if you wish to log
* every scan done. Normally BOPM only logs successfully detected
* proxies in the bopm.log, but you may get abuse reports to your ISP
* about portscanning. Being able to show that it was BOPM that did
* the scan in question can be useful. Leave commented for no
* logging.
*/
# scanlog = “/some/path/scan.log”; <— Leave it as it is. Or set it to where u want to save ur logs (ex./home/yourusername/bopm/bopm.pid)
};

/*
* IP to bind to for the IRC connection. You only need to use this if
* you wish BOPM to use a particular interface (virtual host, IP
* alias, …) when connecting to the IRC server. There is another
* “vhost” setting in the scan {} block below for the actual
* portscans. Note that this directive expects an IP address, not a
* hostname. Please leave this commented out if you do not
* understand what it does, as most people don’t need it.
*/
# vhost = “0.0.0.0″; <— Leave it as it is or put the ip your shell company provide you with.

/*
* Nickname for BOPM to use.
*/
nick = “MyBopm”; <— IRC Nickname for your Proxy Bot.

/*
* Text to appear in the “realname” field of BOPM’s /whois output.
*/
realname = “Blitzed Open Proxy Monitor”; <— Realname for your Proxy Bot.

/*
* If you don’t have an identd running, what username to use.
*/
username = “bopm”; <— Username “ident” for your Proxy Bot.

* Hostname (or IP) of the IRC server which BOPM will monitor
* connections on.
*/
server = “myserver.somenetwork.org”; <— Name of your IRCD Server (for example: irc.webshost.net)

/*
* Password used to connect to the IRC server (PASS)
*/

# password = “secret”; <— Password for connect.
password = “serverpass:opernick:operpass”; <<< If you want the bot join as an oper
/*
* Port of the above server to connect to. This is what BOPM uses to
* get onto IRC itself, it is nothing to do with what ports/protocols
* are scanned, nor do you need to list every port your ircd listens
* on.
*/
port = 6667; <— Server Port. or any other port u require

/*
* Command to execute to identify to NickServ (if your network uses
* it). This is the raw IRC command text, and the below example
* corresponds to “/msg nickserv identify password” in a client. If
* you don’t understand, just edit “password” in the line below to be
* your BOPM’s nick password. Leave commented out if you don’t need
* to identify to NickServ.
*/
# nickserv = “privmsg nickserv :identify password”; <— If you are going to use registered nickname for you Proxy bot then    first remove # from the start of the line and change password with password of registered nickname.

/*
* The username and password needed for BOPM to oper up.
*/
oper = “bopm operpass”; <— IRCOP Nickname\Password for Proxy Bot.

* Channel name. Local (“&”) channels are supported if your ircd
* supports them.
*/
name = “#bopm”;
key =”channel key”;

Look down for target_string and change to
target_string = “:basement.fi.eu.ircfuture.net NOTICE AUTH :*** Looking up your hostname…”; << change the server
target_string = “ERROR :Trying to reconnect too fast.”;
target_string = “ERROR :Your host is trying to (re)connect too fast — throttled.”;

# AANOTE good to have
exempt {
mask = “*!*@127.0.0.1″;
mask = “*!*@ircfuturenet”; <
};

Then save your work and exit

type: cd ../bin
type: ./bopm

Jun 272009

>> CLICK HERE TO KNOW HOW TO INSTALL UNREAL IRCD FIRST. <<

After installing unreal ircd you must be looking for installation of Anope Services, so here is the tutorial for you about how to Install (setup / compile) Anope services in few easy steps.

1.) Type: wget http://downloads.sourceforge.net/project/anope/anope-stable/Anope%201.8.2/anope-1.8.2.tar.gz

Above command will download anope-1.8.2.tar.gz in your shell

2.) Type: tar -zxvf anope-1.8.2.tar.gz
Above command will untar your anope-1.8.0.tar.gz and extract all containing files in anope-1.8.0 folder. Now change directory to anope-1.8.0. For that type command given below.

3.) Type: cd anope-1.8.2
Now you are in anope-1.8.0 directory.

4.) Type: ./Config

Above command will config your anope services it will ask you few questions.

In what directory do you want the binaries to be installed?
[/home/username/services]

Keep it blank and hit enter.

/home/username/services does not exist.  Create it?
[y]

Just hit enter for next question

Where do you want the data files to be installed?
[/home/username/services]

Again hit enter as we need it to be default

Which group should all Services data files be owned by?  (If Services
should not force files to be owned by a particular group, just press
Return.)
[]

Press enter for next question

What should the default umask for data files be (in octal)?
(077 = only accessible by owner; 007 = accessible by owner and group)
[077]

Press enter again as we need default setting.

Allow anope to automatically check for mysql libaries?
unless you get errors with make, there is no need to
change this setting.
[yes]

Press enter again. Thats it. now it will config your anope services. now you will have to run make command.

5.) Type: make

Above command will compile anope services.

6.) Type: make install

Above command will install anope services. Now you have to change directory to services which is in your home directory so for that type command given below.

7.) Type: cd ../services/

Now you are in services directory and you have to edit services.conf file but there is no services.conf exists so you have to copy example.conf file as services.conf file for that type command given below.

8.) type: cp example.conf services.conf

Now type following command to edit services.conf

9.) type: pico services.conf

Here you have to edit only 4 lines to get your services work.

IRCDModule “unreal32″

Just remove “#” from start of this line

RemoteServer 127.0.0.1 6667 “services”

change “127.0.0.1″ to your given ircd ip by your ircd shell provider and replace “services” with your password which you have applied in unrealircd.conf in your service link block

ServerName “services.yourdomain.com”

This value should be also as per your unrealircd.conf ’s service link block.

ServicesRoot “YourNicknameHere”

Put your nickname in this value “YourNicknameHere”

10.) now just save your settings and type: ./services -debug -nofork

if everything goes normally and don’t give any error just start your services with command given below.

11.)  Type: ./services

If you find any problem or error while installing (setting up / compiling) Anope services just comment here to get help, I will try to fix errors.

Click here to know:: How to setup (compile/install) BOPM Proxy Scanner Bot

© 2010 WebsHost.net