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 27 01:19:36 2010] SCAN -> Linking the mask [*!*@*] to scanner [default]
[Jun 27 01:19:36 2010] FIREDNS -> No nameservers found in /etc/resolv.conf
[lumi@base-s1 bin]$
why i get this error when i type ./bopm or ./bopm -ddd
cuz in etc doesnt exist resolv.conf
can someone help me please!