Linux Netfilter discussions
 help / color / mirror / Atom feed
* sequence of matches in a single rule
@ 2008-05-17  5:40 Nishit Shah
  2008-05-17  7:05 ` Jan Engelhardt
  0 siblings, 1 reply; 6+ messages in thread
From: Nishit Shah @ 2008-05-17  5:40 UTC (permalink / raw)
  To: netfilter

Hi,
	Is there any specific order in which match will take place ?

	Ex:- lets say I have a following rules.

	1.) iptables -I PREROUTING -t mangle -m state --state NEW -m mark
--mark 1 -j ACCEPT
	2.) iptables -I PREROUTING -t mangle -m mark --mark 1 -m state
--state NEW -j ACCEPT

	When packet traverse first rule, does state match comes before mark
match ?
	When packet traverse second rule, does mark match comes before state
match ?


Rgds,
Nishit Shah.	


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

end of thread, other threads:[~2008-05-17  9:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-17  5:40 sequence of matches in a single rule Nishit Shah
2008-05-17  7:05 ` Jan Engelhardt
2008-05-17  7:21   ` Nishit Shah
2008-05-17  8:35     ` Jan Engelhardt
2008-05-17  8:48       ` Nishit Shah
2008-05-17  9:12         ` Jan Engelhardt

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