Skip to contentSkip to conversation

logging and droping bad tcp packets

DISCUSSION Derick Anderson 1 participant 1 message Oct 17, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 14 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Seferovic Edvin
Sent: Monday, October 17, 2005 9:45 AM
To: [email protected]
Subject: RE: logging and droping bad tcp packets

Hi and thank you for the answer Derick....

I set it as

Quoted 7 lines

Iptables -t mangle -A PREROUTING ..... -j DROP ... I suppose Ill keep the packages rather far away from the "real" iptables chains that are used for filtering... critics?

Regards,

Edvin Seferovic

Yes... =) Filtering should always be done in the filter table, not mangle or nat. There have been many discussions regarding this in the list if you would like more information on why. The bottom line is that iptables is designed to filter in filter, and it works properly when done that way.

Derick Anderson