pynetfilter_conntrack is a Python binding for libnetfilter_conntrack that allows you to manipulate Netfilter's stateful inspection objects. This makes it possible to easily close connections and obtain information about connections such as the number of packets and bytes. It could be used to create conntrack entries, replacing heavy kernel modules for complex protocols such as FTP and H323.
|Operating Systems||POSIX Linux|
Release Notes: ConntrackEntry._getAttr() was fixed for Python 2.3. ConntrackEntry.hashtuple was fixed for layer-3 implementations other than IPv4 and IPV6. The correct bitmask is used with ntohs() in ConntrackEntry._getAttr(). The code was rewritten from scratch for the new libnetfilter_conntrack.
Release Notes: Compliance with 'pickle', minor enhancements to the API, and a debian/ subdirectory for Debian and Ubuntu packaging. setup.py no longer uses setuptools by default.