Re: DROP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 22, 2005 at 08:54:05AM -0500, Stephen J. McCracken wrote:
> Jason Opperisano wrote:
> >On Mon, Apr 18, 2005 at 07:37:22AM +0200, Brent Clark wrote:
> 
> >>I was wondering, if was adviseable to set the default policy for tables 
> >>nat and mangle to DROP.
> >
> >no.  *all* packets traverse the filter chains--do your filtering
> >there.
> 
> Just to better understand, don't all packets also pass the mangle table 
> and only the first packet of a connection the nat table?

yes--all packets will traverse mangle, and --state NEW packets traverse
nat.

there's nothing wrong with doing some pre-filter scrubbing of absolute
stupidity in mangle, but the filter table is there for a reason
(filtering).

-j

--
"Bad Cockroach: Man, I'm going to cut you up so bad, that you... you
 gonna wish I didn't cut you up so bad."
        --Family Guy


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux