Linux Netfilter discussions
 help / color / mirror / Atom feed
* State NEW and --syn flag
@ 2004-07-20  9:15 Rob Sterenborg
  2004-07-20  9:38 ` Antony Stone
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Sterenborg @ 2004-07-20  9:15 UTC (permalink / raw)
  To: 'iptables'

Hi all,

When writing a rule, if one doesn't specify a state, state NEW is
assumed, right ?

If the first packet of a connection arrives, it has state NEW and
subsequent packets are ESTABLISHED or RELATED. The first packet also has
the --syn flag set so new packets could also be identified by --syn.

If checking for state NEW, is there any reason to also check if the
--syn flag is set or is it enough to just rely on state NEW ?


Gr,
Rob




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

end of thread, other threads:[~2004-07-20 18:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-20  9:15 State NEW and --syn flag Rob Sterenborg
2004-07-20  9:38 ` Antony Stone
2004-07-20 18:47   ` Rob Sterenborg

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