From: "Gáspár Lajos" <swifty@freemail.hu>
To: Brent Clark <bclark@eccotours.co.za>
Cc: netfilter@lists.netfilter.org
Subject: Re: why DROP in PREROUTING
Date: Fri, 27 Oct 2006 11:59:58 +0200 [thread overview]
Message-ID: <4541D89E.1080507@freemail.hu> (raw)
In-Reply-To: <4541D552.2070802@eccotours.co.za>
Brent Clark írta:
> Hi all
>
> Would please help me understand as to why you would do some dropping
> in the PREROUTING as opposed to the filter of INPUT or FORWARD (e.g.)
>
It is not really nice, BUT...
the reason is:
You can filter all of these packets at one point no matter where they
coming from and going to....
> Ive been browsing a few sites and I see sites like iptablesrocks.org
> etc all have rules like so
>
> A PREROUTING -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG
> FIN,PSH,URG -j DROP
...
> -A PREROUTING -p tcp -m tcp --tcp-flags FIN,SYN FIN,SYN -j DROP
>
> Just something I was thinking.
>
> Kind Regards
> Brent Clark
>
>
Swifty
next prev parent reply other threads:[~2006-10-27 9:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-27 9:45 why DROP in PREROUTING Brent Clark
2006-10-27 9:59 ` Gáspár Lajos [this message]
2006-10-27 14:52 ` Jakov Sosic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4541D89E.1080507@freemail.hu \
--to=swifty@freemail.hu \
--cc=bclark@eccotours.co.za \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.