netfilter project logo

The netfilter.org "libnetfilter_conntrack" project

What is libnetfilter_conntrack?

libnetfilter_conntrack is a userspace library providing a programming interface (API) to the in-kernel connection tracking state table. The library libnetfilter_conntrack has been previously known as libnfnetlink_conntrack and libctnetlink. This library is currently used by conntrack-tools among many other applications.

Dependencies

libnetfilter_conntrack requires libnfnetlink and a kernel that includes the nfnetlink_conntrack subsystem (initial support >= 2.6.14, recommended >= 2.6.18).

Main Features

  • listing/retrieving entries from the kernel connection tracking table
  • inserting/modifying/deleting entries from the kernel connection tracking table
  • listing/retrieving entries from the kernel expect table
  • inserting/modifying/deleting entries from the kernel expect table

License

Since 0.9.1, this library is released under GPLv2+. Previous versions were released under GPLv2.

Documentation

You can check the library documentation generated in doxygen format.

Git Tree

The current development version of libnetfilter_conntrack can be accessed at https://git.netfilter.org/libnetfilter_conntrack/.

Authors

libnetfilter_conntrack has been written by Pablo Neira and Harald Welte.

Python Binding

pynetfilter_conntrack is a Python binding of libnetfilter_conntrack written by Victor Stinner. You can visit his official web site at http://software.inl.fr/trac/trac.cgi/wiki/pynetfilter_conntrack.


Copyright © 1999-2010 The Netfilter webmaster . Pablo Neira Ayuso