All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] generic CONNTRACK target
@ 2008-01-14 16:19 Pablo Neira Ayuso
  2008-01-14 16:29 ` Pablo Neira Ayuso
  2008-01-15  6:42 ` Patrick McHardy
  0 siblings, 2 replies; 7+ messages in thread
From: Pablo Neira Ayuso @ 2008-01-14 16:19 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: Phil Oester, Netfilter Development Mailinglist

Hi Patrick,

Attached an untested RFC patch to discuss the posibility of introducing
a generic CONNTRACK target which replaces several existing specific
targets. It's a quick and dirty hack. I have also somehow merged the
recent Phil Oester's proposition on manual timeouts. We may also
introduce there the explicit helper tracking via iptables that you've
been discussing lately.

Also, I'd like to discuss some kind of mechanisms to reduce the number
of event messages generated by ctnetlink such as introducing
IPCT_VOLATILE to explicitly tell ctnetlink ignore certain events via
iptables. I think that, ideally, an alternative can be some kind of
ctnetlink filtering based on unicast netlink socket (similar to
nfnetlink_queue) in which we attach a filter via CMD_SUBSCRIBE_EVENTS or
something. This solution let us define a per-socket filter in the style
of BSF. However, this means that we'll need a complete filtering
facility for ctnetlink to classify events, and iptables already provides
such classificator. This is intended to reduce the CPU consumption of
conntrackd (around 25% avg, 45% max, in my testbed [1] with 2500 HTTP
GET request per second) by only replicating TCP ESTABLISHED states.

Any ideas?

[1] http://people.netfilter.org/pablo/conntrack-tools/testcase.html

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

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

end of thread, other threads:[~2008-01-15 14:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-14 16:19 [RFC] generic CONNTRACK target Pablo Neira Ayuso
2008-01-14 16:29 ` Pablo Neira Ayuso
2008-01-14 17:00   ` Jan Engelhardt
2008-01-15  6:40   ` Patrick McHardy
2008-01-15 12:27     ` Jan Engelhardt
2008-01-15 14:11       ` Patrick McHardy
2008-01-15  6:42 ` Patrick McHardy

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.