Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Georgi Alexandrov <georgi.alexandrov@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Re: grovel netfilter_conntrack_xxx from applications how?
Date: Fri, 25 Nov 2005 08:45:06 +0200	[thread overview]
Message-ID: <4386B2F2.3030108@gmail.com> (raw)
In-Reply-To: <7B270B91-F48A-4B64-B0C0-49AAB6E7BB11@softelsystems.com.au>

Tyler Retzlaff wrote:

> How does one query netfilter for information about conntrack connections
> when they are established, disestablished etc..?
>
> Basically for connections established via conntrack_xxx modules I want
> to extract the details and use them in an application on the router.   
> Is there
> documentation to a C API for doing this?
>
> Thanks
>
>
check /proc/net/ip_conntrack
but remember that accessing it directly ... with cat for example is
known that may crash your machine.

P.S.
Though i've never experienced the above behaviour.

regards,
Georgi Alexandrov



  reply	other threads:[~2005-11-25  6:45 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-25  4:33 grovel netfilter_conntrack_xxx from applications how? Tyler Retzlaff
2005-11-25  6:45 ` Georgi Alexandrov [this message]
     [not found]   ` <9157D95B-8939-4BA4-B254-76E073BC23E9@softelsystems.com.au>
2005-11-25 10:52     ` Georgi Alexandrov

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=4386B2F2.3030108@gmail.com \
    --to=georgi.alexandrov@gmail.com \
    --cc=netfilter@lists.netfilter.org \
    /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