From mboxrd@z Thu Jan 1 00:00:00 1970 From: Georgi Alexandrov Subject: Re: grovel netfilter_conntrack_xxx from applications how? Date: Fri, 25 Nov 2005 08:45:06 +0200 Message-ID: <4386B2F2.3030108@gmail.com> References: <7B270B91-F48A-4B64-B0C0-49AAB6E7BB11@softelsystems.com.au> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <7B270B91-F48A-4B64-B0C0-49AAB6E7BB11@softelsystems.com.au> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter@lists.netfilter.org 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