All of lore.kernel.org
 help / color / mirror / Atom feed
* is there a way to discriminate the ESTABLISHED traffic?
@ 2005-04-04  2:51 Guido Lorenzutti
  2005-04-04  3:46 ` Grant Taylor
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Guido Lorenzutti @ 2005-04-04  2:51 UTC (permalink / raw)
  To: netfilter

How can i discriminate the traffic that my firewall is answering from a 
NEW request from a network from the ESTABLISHED traffic that my firewall 
is making from a NEW request from him?

In rules, to allow traffic TO my box from the lan 10.0.0.0/32

1 ipt -A INPUT -s 10.0.0.0/32 -m state --state NEW -j ACCEPT
2 ipt -A INPUT -s 10.0.0.0/32 -m state --state ESTABLISHED -j ACCEPT
3 ipt -A OUTPUT -d 10.0.0.0/32 -m state --state ESTABLISHED -j ACCEPT

Now, to allow traffic FROM my box to the lan 10.0.0.0/32

4 ipt -A OUTPUT -d 10.0.0.0/32 -m state --state NEW -j ACCEPT
5 ipt -A OUTPUT -d 10.0.0.0/32 -m state --state ESTABLISHED -j ACCEPT
6 ipt -A INPUT -s 10.0.0.0/32 -m state --state ESTABLISHED -j ACCEPT

The 3 and 5 rules are exactly the same. Is there a way to discriminate 
this or the things are just like this and there is nothing to do about it?

Tnxs in advance.


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

end of thread, other threads:[~2005-04-04 13:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-04  2:51 is there a way to discriminate the ESTABLISHED traffic? Guido Lorenzutti
2005-04-04  3:46 ` Grant Taylor
2005-04-04  8:17 ` John A. Sullivan III
2005-04-04 13:10   ` Jozsef Kadlecsik
2005-04-04  9:00 ` Georgi Alexandrov
     [not found]   ` <425124D1.3080501@lorenzutti.com.ar>
2005-04-04 12:11     ` Georgi Alexandrov

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.