Page 1 of 1

Need to block multiple ip addresses, where?

Posted: Fri Jan 25, 2013 7:31 pm
by cwwilson721
gline/shun/whatever will be such a waste, too varied in the addresses.

We have a bunch of idiots trying to squat a channel on our server. They are good at IP hopping. But, they don't vary much.

Rather than doing mass shuns/glines/whatever, is there ANY way to "multi-add" a varies ip addres range?
Ex: 67.222.145.140/29 and 202.174.135.0/26 (But my list is WAY longer)

Trying to edit unrealircd.conf, adding in the individual:

Code: Select all

ban ip {
	mask XX.XX.XX.XX/29;
	reason "Morons";
};
but, the list would take WAY too long.

I already know you can only have one range per block.

P.S. My list is in a separate text file.

Ideas?

Re: Need to block multiple ip addresses, where?

Posted: Fri Jan 25, 2013 7:55 pm
by katsklaw
If they are only on 1 or just a few channels, look at using a deny channel block which can be configured to announce joins th snomask eyes. Then have a bot or script the is opered gline them on join.

Click the configuration link in my signature and read about deny channel blocks.

Re: Need to block multiple ip addresses, where?

Posted: Sat Jan 26, 2013 3:21 am
by cwwilson721
Already looked into that, and not just one channel

Need server block

Admittably, an iptables solution would be best, but no access in the shell to root

So, it's down to 1723 separate entries in the conf file....

Re: Need to block multiple ip addresses, where?

Posted: Sat Jan 26, 2013 9:14 am
by katsklaw
Do you run bopm or any form of dnsbl? That seems to be a lot of ips to be all legally usable.

Re: Need to block multiple ip addresses, where?

Posted: Thu Jan 31, 2013 3:03 pm
by Crash
Other way add your ban ip list in separate file for example blacklisted.conf, then add this line file in your unrealircd.conf.

include "blacklist.conf";