All of lore.kernel.org
 help / color / mirror / Atom feed
* connection tracking question
@ 2004-05-12 21:20 Paul Albert
  2004-05-12 22:21 ` Pablo Neira
  2004-05-12 23:00 ` Henrik Nordstrom
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Albert @ 2004-05-12 21:20 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 673 bytes --]

Hi - 

 

I hope that this is a quick question regarding when connection tracking
happens in relation to iptables chains being traversed.

 

Specifically, I would like to know when the ESTABLISHED state is set in
the kernel.  I realize that it is when iptables sees an ACK of a SYN
packet, for example, but if I have a firewall rule in the nat/PREROUTING
chain that checks to ensure that the connection is ESTABLISHED, will the
ACK packet cause the rule to be hit?  Does the connection tracking take
place before the mangle/PREROUTING chain?

 

I tried checking around the kernel code, but it wasn't immediately
obvious to me.  Thanks!

 

Paul


[-- Attachment #2: Type: text/html, Size: 2788 bytes --]

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

end of thread, other threads:[~2004-05-12 23:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-12 21:20 connection tracking question Paul Albert
2004-05-12 22:21 ` Pablo Neira
2004-05-12 22:35   ` Pablo Neira
2004-05-12 23:00 ` Henrik Nordstrom

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.