Koozali.org: home of the SME Server

blocking IP block...

Steve Lewis

blocking IP block...
« on: November 23, 2002, 01:42:46 AM »
Hello,

I continue to get SPAM and CODE RED hits from several block of IP from China. I would like to block those.

What is the best, easiest, most effective way to make the block of IPs "disappear" so to speak.

Steve Lewis

Nathan Fowler

Re: blocking IP block...
« Reply #1 on: November 23, 2002, 05:31:20 AM »
/sbin/ipchains -A input -p tcp --dport 80 --source / -j DENY -i

Add it to your /etc/rc.d/rc.local to keep these settings on reboot.

Steve Lewis

Re: blocking IP block...
« Reply #2 on: November 23, 2002, 06:34:42 AM »
Thank you, I will give this a whirl.

Steve Lewis

Benny Andersen

Re: blocking IP block...
« Reply #3 on: November 23, 2002, 08:25:37 AM »
Hi
Just a note, we had a similar problem so we ran a program called blockchains it seemd simple enough to install and is effective.

Richard Swann

Re: blocking IP block...
« Reply #4 on: November 24, 2002, 03:06:14 PM »
Hi,

Blockchains sounds interesting but a search on google finds nothing resembling it - do you have a url for it?

Richard Swann

Luis A. Navas

Re: blocking IP block...
« Reply #5 on: November 27, 2002, 10:35:42 PM »
try to use SNORT with ACID, this feature works blocking IP that can try to vulnerable the system.

Sorry for my bad english