From: Eric Leblond <eric@inl.fr>
To: Cedrix <netfilter@cedrix.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: conntrack: Connection close event?
Date: Wed, 22 Aug 2007 23:48:31 +0200 [thread overview]
Message-ID: <1187819311.4824.4.camel@ghlodit.inl.fr> (raw)
In-Reply-To: <004501c7e4e6$74509e80$1700a8c0@xcony13>
Hi,
Le mercredi 22 août 2007 à 20:01 +0200, Cedrix a écrit :
> Hi,
>
> this is my first request. I checked google, nf-faqs and conntrack-homepage
> without sufficient results for this problem:
>
> In Short: I need to know when a connection (TCP or UDP) gets closed. I want
> to use conntrack, because I can track UDP more easily.
The result of "conntrack -E -e DESTROY" is what you want. You can thus
look at the code to build what you want.
You can also look at NuFW (http://www.nufw.org/) which handle conntrack
destroy event. The concerned source code is browsable here:
http://software.inl.fr/trac/trac.cgi/browser/mirror/edenwall/nufw/trunk/nufw/src/nufw/conntrack.c
Hope this help,
--
Eric Leblond
prev parent reply other threads:[~2007-08-22 21:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-22 18:01 conntrack: Connection close event? Cedrix
2007-08-22 19:10 ` Krzysztof Oledzki
2007-08-22 23:17 ` Cedrix
2007-08-22 21:48 ` Eric Leblond [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1187819311.4824.4.camel@ghlodit.inl.fr \
--to=eric@inl.fr \
--cc=netfilter-devel@lists.netfilter.org \
--cc=netfilter@cedrix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).