All of lore.kernel.org
 help / color / mirror / Atom feed
* netfilter efficiency
@ 2005-01-20 17:56 MauroTablo'
  2005-01-21 13:30 ` Peter Surda
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: MauroTablo' @ 2005-01-20 17:56 UTC (permalink / raw)
  To: netfilter-devel

Hi all.
My Linux (+ iptables) based firewall has about 90 forward filtering rules, for tcp packets (about 30 rules), udp datagram (about 40 rules) and icmp messages(about 20 rules).
Suppose that it comes a transit tcp packet that doesn't match anyone of my rules. So, the last rule will be applied, because it is the first one that matches the packet (/sbin/iptables -A FORWARD -j DROP)

The question is: iptables confronts the TCP packet with all my 90 rules, or it confronts the packet ONLY WITH rules for tcp packets (-p tcp)?
In other words, is there a function in netfilter that looks up to the protocol type of a transit packet and decides which rules to confront the packet with?

Thank you.
Mauro.

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

end of thread, other threads:[~2005-01-22 10:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-20 17:56 netfilter efficiency MauroTablo'
2005-01-21 13:30 ` Peter Surda
2005-01-21 13:39 ` Samuel Jean
2005-01-21 13:42   ` Sven-Haegar Koch
2005-01-21 19:35 ` Maxime Ducharme
2005-01-22 10:12 ` Jan Du Caju

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.