options {
	pidfile = "/home/pepe/bopm.pid";
#	negcache = 3600;
	dns_fdlimit = 64;
#       scanlog = "/some/path/scan.log";
};

IRC {
#	vhost = "0.0.0.0";
	nick = "Babylon";
	realname = "Blitzed Open Proxy Monitor";
	username = "bopm";
	server = "babylon.irdsi.net";
#       password = "secret";
	port = 6667;
#       nickserv = "privmsg nickserv :identify password";
	mode = "+cs-h";
	away = "I'm a bot.  Your messages will be ignored.";
	channel {
	   name = "#services";
#          key = "somekey";
#          invite = "privmsg chanserv :invite #bopm";
	};

	connregex = "\\*\\*\\* Notice -- Client connecting: ([^ ]+) \\(([^@]+)@([^\\)]+)\\) \\[([0-9\\.]+)\\].*";
	kline = "GLINE *@%h 24h :Open Proxy found on your host. Please visit www.blitzed.org/proxy?ip=%i for more information.";
        perform = "PROTOCTL HCN";

};

OPM {
        blacklist = "opm.blitzed.org";
#       dnsbl_from = "mybopm@myserver.org";
#       dnsbl_to = "bopm@reports.blitzed.org";
#       sendmail = "/usr/sbin/sendmail";
};

scanner {

	name="default";
	protocol = HTTP:80;
	protocol = HTTP:8080;
	protocol = HTTP:3128;
        protocol = HTTP:6588;
	protocol = SOCKS4:1080;
	protocol = SOCKS5:1080;
	protocol = ROUTER:23;
	protocol = WINGATE:23;
	protocol = HTTPPOST:80;

	fd = 512;
	max_read = 4096;
	timeout = 30;

        target_ip     = "62.183.165.194";
	target_port   = 6667;
        target_string = "*** Looking up your hostname...";
	target_string = "ERROR :Trying to reconnect too fast.";
};

scanner {
        name = "extended";
        #vhost = "127.0.0.1";

        protocol = HTTP:81;
        protocol = HTTP:8000;
        protocol = HTTP:8001;
        protocol = HTTP:8081;

        protocol = HTTPPOST:81;
        protocol = HTTPPOST:6588;
#       protocol = HTTPPOST:4480;
        protocol = HTTPPOST:8000;
        protocol = HTTPPOST:8001;
        protocol = HTTPPOST:8080;
        protocol = HTTPPOST:8081;

        /*
         * IRCnet have seen many socks5 on these ports, more than on the
         * standard ports even.
         */
        protocol = SOCKS5:4438;
        protocol = SOCKS5:5104;
        protocol = SOCKS5:5113;
        protocol = SOCKS5:5262;
        protocol = SOCKS5:5634;
        protocol = SOCKS5:6552;
        protocol = SOCKS5:6561;
        protocol = SOCKS5:7464;
        protocol = SOCKS5:7810;
        protocol = SOCKS5:8130;
        protocol = SOCKS5:8148;
        protocol = SOCKS5:8520;
        protocol = SOCKS5:8814;
        protocol = SOCKS5:9100;
        protocol = SOCKS5:9186;
        protocol = SOCKS5:9447;
        protocol = SOCKS5:9578;

        fd = 400;
        target_ip     = "62.183.165.194";   /* !!! CHANGE ME !!! */
        target_port   = 6667;
        target_string = "Looking up your hostname...";
};



user {
	mask = "*!*@*";
	scanner = "default";
};

user {
#       mask = "*!~*@*";
        mask = "*!squid@*";
        mask = "*!nobody@*";
        mask = "*!www-data@*";
        mask = "*!cache@*";
        mask = "*!CacheFlowS@*";
        mask = "*!*@*www*";
        mask = "*!*@*proxy*";
        mask = "*!*@*cache*";

	scanner = "extended";
};

exempt {
	mask = "*!*@*.dnainternet.lpoy.fi";
	mask = "*!*@62.183.*";
};
