Linux Netfilter discussions
 help / color / mirror / Atom feed
* please explain "--state RELATED/ESTABLISHED" rules in iptables
@ 2002-06-21 15:33 Christian Seberino
  2002-06-21 15:39 ` Antony Stone
  0 siblings, 1 reply; 2+ messages in thread
From: Christian Seberino @ 2002-06-21 15:33 UTC (permalink / raw)
  To: netfilter

My firewall iptables script has rules
to drop lots of packets and only forward
certain packets.....

I've seen lots of iptables scripts that
have rules with "--state RELATED"
and "--state ESTABLISHED".

I know these have to do with TCP packets
related to an existing TCP connection and such.

*What* are these rules good for?  I didn't
use them and couldn't see a need for them.

Chris

-- 
_______________________________________

Dr. Christian Seberino
SPAWAR Systems Center San Diego
Code 2363
53560 Hull Street
San Diego, CA 92152-5001
U.S.A.

Phone: (619) 553-7940
Fax:   (619) 553-2836
Email: seberino@spawar.navy.mil
_______________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: please explain "--state RELATED/ESTABLISHED" rules in iptables
  2002-06-21 15:33 please explain "--state RELATED/ESTABLISHED" rules in iptables Christian Seberino
@ 2002-06-21 15:39 ` Antony Stone
  0 siblings, 0 replies; 2+ messages in thread
From: Antony Stone @ 2002-06-21 15:39 UTC (permalink / raw)
  To: netfilter

On Friday 21 June 2002 4:33 pm, Christian Seberino wrote:

> My firewall iptables script has rules
> to drop lots of packets and only forward
> certain packets.....
>
> I've seen lots of iptables scripts that
> have rules with "--state RELATED"
> and "--state ESTABLISHED".
>
> I know these have to do with TCP packets
> related to an existing TCP connection and such.
>
> *What* are these rules good for?  I didn't
> use them and couldn't see a need for them.

http://www.netfilter.org/documentation/HOWTO//packet-filtering-HOWTO-7.html#ss7.3

Look down until you find "the state match" section.

 

Antony


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-21 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-21 15:33 please explain "--state RELATED/ESTABLISHED" rules in iptables Christian Seberino
2002-06-21 15:39 ` Antony Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox