Need to block multiple ip addresses, where?

These are old archives. They are kept for historic purposes only.
Post Reply
cwwilson721
Posts: 2
Joined: Fri Jan 25, 2013 7:23 pm

Need to block multiple ip addresses, where?

Post by cwwilson721 » Fri Jan 25, 2013 7:31 pm

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?

katsklaw
Official supporter
Posts: 1114
Joined: Sun Apr 18, 2004 5:06 pm

Re: Need to block multiple ip addresses, where?

Post by katsklaw » Fri Jan 25, 2013 7:55 pm

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.

cwwilson721
Posts: 2
Joined: Fri Jan 25, 2013 7:23 pm

Re: Need to block multiple ip addresses, where?

Post by cwwilson721 » Sat Jan 26, 2013 3:21 am

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....

katsklaw
Official supporter
Posts: 1114
Joined: Sun Apr 18, 2004 5:06 pm

Re: Need to block multiple ip addresses, where?

Post by katsklaw » Sat Jan 26, 2013 9:14 am

Do you run bopm or any form of dnsbl? That seems to be a lot of ips to be all legally usable.

Crash
Posts: 12
Joined: Wed Feb 25, 2009 11:04 pm
Location: Ceuta, Spain
Contact:

Re: Need to block multiple ip addresses, where?

Post by Crash » Thu Jan 31, 2013 3:03 pm

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";

Post Reply