From: Grant Taylor <gtaylor@riverviewtech.net>
To: Mail List - Netfilter <netfilter@vger.kernel.org>
Subject: Re: Reg Stateful firewall
Date: Wed, 28 Nov 2007 10:21:48 -0600 [thread overview]
Message-ID: <474D959C.3090702@riverviewtech.net> (raw)
In-Reply-To: <333233.67984.qm@web1009.biz.mail.sp1.yahoo.com>
On 11/28/07 09:49, Shyam Prasad wrote:
> But would it not be efficient if the firewall automatically allows
> such packets which were validated in INPUT. that would save me lot
> of rules that might otherwise be necessary.
This might be easier, but I don't know about more efficient. A single
"... -m state --state ESTABLISHED,RELATED ..." rule in the OUTPUT chain
should take care of things.
Or if you want to be a bit different about it, you could probably put
your rule(s) in a new chain and jump to said chain from both INPUT and
OUTPUT. This way, you only have to have your rules one time.
> some linux based firewalls(not netfilter) do this automatically since
> they already know the state.
Curious, what firewalls do this?
Grant. . . .
next prev parent reply other threads:[~2007-11-28 16:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-28 15:49 Reg Stateful firewall Shyam Prasad
2007-11-28 16:14 ` Preventing simple DoS attacks with ipt_recent on Kernel 2.6.9-42.ELsmp Shaun Mccullagh
2007-11-28 16:33 ` Grant Taylor
2007-11-28 16:21 ` Grant Taylor [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-11-28 15:15 Reg Stateful firewall Shyam Prasad
2007-11-28 15:27 ` Martijn Lievaart
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=474D959C.3090702@riverviewtech.net \
--to=gtaylor@riverviewtech.net \
--cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox