All of lore.kernel.org
 help / color / mirror / Atom feed
* iptables rule chain question
@ 2006-02-09 13:17 Mark-Walter
  2006-02-09 14:13 ` Rob Sterenborg
  2006-02-09 14:17 ` Boryan Yotov
  0 siblings, 2 replies; 6+ messages in thread
From: Mark-Walter @ 2006-02-09 13:17 UTC (permalink / raw)
  To: netfilter

Hi,

I've have this in my firewall rule script and I'am unsure about DROP:

#
# allowed chain
#

$IPTABLES -A allowed -p TCP --syn -j ACCEPT
$IPTABLES -A allowed -p TCP -m state --state ESTABLISHED,RELATED -j
ACCEPT
$IPTABLES -A allowed -p TCP -j DROP

The first should allow tcp connections with syn,rst,ack and he should
accept it.

The second one describes already established connections with ACCEPT.

But what happens in the third rule ?

Does it mean iptables DROP every TCP connection in the case syn,rst,ack is not set and the connection is not established.

Does iptables storing all connection's with connection tracking to know
which connection is established,related ? (2. rule)

Sorry, for these questions but I think it's fast answer for you.


-- 
Best Regards,

Mark


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

end of thread, other threads:[~2006-02-10  1:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-09 13:17 iptables rule chain question Mark-Walter
2006-02-09 14:13 ` Rob Sterenborg
2006-02-09 18:21   ` Mark-Walter
2006-02-09 14:17 ` Boryan Yotov
2006-02-09 18:42   ` Mark-Walter
2006-02-10  1:47     ` ludi

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.