IP chains + redhat 2.4.9-31smp

Chris Chabot chabotc at xs4all.nl
Mon Apr 22 17:34:00 CDT 2002

How about using iptables and not ipchains? ;-) (iptables replaced 
ipchains during the linux kernel 2.2 -> 2.4 switchover)

you will find that the iptables syntax is almost identical to ipchains, 
so porting your script should be easy enough.


	-- Chris

Rolf Hanson wrote:
> Hi,
> I just put a poweredge 1650 running redhat 2.4.9-31smp onto the net, and 
> already my apache is being hammered by a Code Red worm.
> I have a shell script that greps my httpd error log and adds an ipchains 
> rule to block the offending IP. However I just tested ipchains and get:
> [hortence at sv1 hortence]$ sudo /sbin/ipchains -nL
> ipchains: Incompatible with this kernel
> Before I look too much into this, is there a quick and easy way to get a 
> version of ipchains that works?  rpm -v tells me that I've got 
> ipchains-1.3.10-10
> Thanks!
> Rolf Hanson
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq or search the list 
> archives at http://lists.us.dell.com/htdig/

More information about the Linux-PowerEdge mailing list