From: Jason Opperisano <opie@817west.com>
To: netfilter@lists.netfilter.org
Subject: Re: ICMP rule for stateful firewall
Date: Mon, 9 May 2005 11:16:55 -0400 [thread overview]
Message-ID: <20050509151655.GA5153@bender.817west.com> (raw)
In-Reply-To: <9927912d05050903154ad4c3f6@mail.gmail.com>
On Mon, May 09, 2005 at 02:15:51PM +0400, Visham Ramsurrun wrote:
> Hi to all,
>
> I wanted to ask if such a rule was possible:
>
> iptables -A FORWARD -i eth0 -o eth0 -s 192.168.10.0/24 -d
> 192.168.10.0/24 -m state --state NEW,ESTABLISHED,RELATED -p icmp
> --icmp-type echo request -j ACCEPT
first, it's "echo-request" not "echo request"
grant already covered all the idiosyncrasies of having the same inbound
and outbound interface and the same layer3 subnet pretty thoroughly.
the only thing i'll add is that i can't think of a situation where an
ICMP echo-request packet would be marked RELATED or ESTABLISHED by the
conntrack code. in the case of a normal ping, ICMP echo-requests are
NEW, and ICMP echo-replies are ESTABLISHED.
i guess given grant's and my comments; i'd say, while that rule is
"possible" i don't see the point of it, and i question whether it meets
the intended purpose.
-j
--
"Stewie: Careful! You're washing a baby's scalp, not scrubbing
the vomit out of a Christmas dress, you stupid holiday drunk."
--Family Guy
prev parent reply other threads:[~2005-05-09 15:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-09 10:15 ICMP rule for stateful firewall Visham Ramsurrun
2005-05-09 14:47 ` Taylor, Grant
2005-05-09 15:16 ` Jason Opperisano [this message]
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=20050509151655.GA5153@bender.817west.com \
--to=opie@817west.com \
--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.