|
|||||||||||
|
Re: INVALID packets in OUTPUT chain
From: Gavin Westwood <debian-isp(at)solutium.co.uk>
Date: Wed Aug 08 2007 - 14:19:36 EDT
Unfortunately I can't explain why although it may not necessarily be conntrack, but I'd suggest you at least add the following rules: #Kill invalid packets (illegal combinations of flags) -A INPUT -m state --state INVALID -j DROP -A FORWARD -m state --state INVALID -j DROP # Block fragments and Xmas tree as well as SYN,FIN and SYN,RST -A INPUT -i eth0 -p ip -f -j DROP -A INPUT -i eth0 -p tcp --tcp-flags ALL ACK,RST,SYN,FIN -j DROP -A INPUT -i eth0 -p tcp --tcp-flags SYN,FIN SYN,FIN -j DROP -A INPUT -i eth0 -p tcp --tcp-flags SYN,RST SYN,RST -j DROP
# Block Sequence Number Prediction
# Block NEW without SYN
# Drop all inbound packets that claim to be from us.. -A INPUT -i eth0 -s <your server IP> -j DROP # Accept all previously established connections -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT Gavin -- Gavin Westwood Solutium http://hosting.solutium.co.uk - quality, affordable web hosting. http://www.solutium.co.uk - IT Services and Support. -- To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Wed Aug 8 14:21:28 2007 This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 18:01:50 EDT |
||||||||||
|
|||||||||||