netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* event-driven connection tracking
@ 2010-10-13 15:24 Mr Dash Four
  2010-10-13 15:48 ` Jan Engelhardt
  2010-10-14 12:01 ` Pablo Neira Ayuso
  0 siblings, 2 replies; 9+ messages in thread
From: Mr Dash Four @ 2010-10-13 15:24 UTC (permalink / raw)
  To: Netfilter Developer Mailing List; +Cc: netfilter

Is it possible to use event-driven connection tracking - with 
conntrack-utils or by other means?

Ideally, what I would like to do is 'register' a handler for particular 
connection events (when new connection is established and then closed 
for example) based on particular pre-defined filter (say, by protocol, 
source/destination ip etc) and execute a program code/function (if done 
programmatically) or a script (if done outside the connection-tracking 
domain) to do what I want?

Currently, the only way to track such 'events' is if I include a 
separate chain in iptables tracking a particular connection (and logging 
the event via a normal log jump), but that is not enough for me as I 
also need to trigger a full dump based on that particular 'filter' and 
end this dump when the connection is closed. Any ideas?

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

end of thread, other threads:[~2010-10-15  7:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 15:24 event-driven connection tracking Mr Dash Four
2010-10-13 15:48 ` Jan Engelhardt
2010-10-13 22:18   ` Mr Dash Four
2010-10-13 22:56     ` Jan Engelhardt
2010-10-14 12:04       ` Pablo Neira Ayuso
2010-10-14 13:26         ` Mr Dash Four
2010-10-15  7:17           ` Pablo Neira Ayuso
2010-10-14 12:01 ` Pablo Neira Ayuso
2010-10-14 13:14   ` Mr Dash Four

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).