libnetfilter_conntrack is a library to manage Linux firewall NetFilter. pynetfilter_conntrack is a Python binding of this library. The binding is the file pynetfilter_conntrack.py and you have also a clone of conntrack program: conntrack.py.
conntrack.py
conntrack.py is a clone of conntrack C program. Features:
List connections ;
Export connections to XML document ;
Delete connection.
For all commands, you can filter connections with:
source/destination address from original/reply destination ;
layer 3 and 4 protocols ;
source/destination port from original/reply destination (protocols tcp, udp and sctp).
Installation
- Run this command as root:
./setup.py install
- Or using sudo program:
sudo python setup.py install
Dependencies
Linux kernel: 2.6.14+ http://www.kernel.org/
libnetfilter_conntrack 0.0.75+ (May 2007) http://www.netfilter.org/projects/libnetfilter_conntrack/
Python 2.3+ http://www.python.org/
IPy 0.50+ http://software.inl.fr/trac/trac.cgi/wiki/IPy Debian package: python-ipy
ctypes 1.0+ (only for Python < 2.5) http://starship.python.net/crew/theller/ctypes/ Debian package: python-ctypes
ChangeLog
Release 0.5 (2008-09-29)
New classes for EXPECT manipulation, Expect and ExpectEntry
Remove Conntrack.destroy_conntrack(), replaced by ConntrackEntry.destroy()
ConntrackEntry IP (v4 and v6) attributes are now IPy.IP objects
Remove hashtuple attribute from ConntrackEntry
BUGFIX: Don’t convert endian (ntohl) when reading entry.status value
Write cnetfilter_conntrack: Python binding of the libnetfilter_conntrack library written in C
Release 0.4.2 (2007-10-16)
Fix ConntrackEntry._getAttr() for Python 2.3
Release 0.4.1
Fix ConntrackEntry.hashtuple for layer3 different than IPv4 and IPV6
Use correct bitmask with ntohs() in ConntrackEntry._getAttr()
Release 0.4
Rewrite from scratch for new libnetfilter_conntrack
Release 0.3.1
Add debian/ subdirectory for Debian and Ubuntu packaging
Release 0.3
Compliance with ‘pickle’
Minor enhancements in API
Release 0.2
Python 2.3 compliant
Use ElementTree (or cElementTree) to generate XML output
nfct_address: add getIP(), returns a IPy.IP() object
Fix minor bugs in ConntrackTable.filter()
setup.py: add requires (used by setuptools)
Metadata
Release files for pynetfilter_conntrack 0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pynetfilter_conntrack-0.7.tar.gz | 14.5 kB | Without provenance | Details for pynetfilter_conntrack-0.7.tar.gz |
Release files / pynetfilter_conntrack-0.7.tar.gz
| Download URL | pynetfilter_conntrack-0.7.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f1bd5f1f2a746099644ea161cfb800623a37de751449ee2607a4ba35b4abf23
|
|
BLAKE2b-256 checksum How to use checksums |
39399f2ccee6a9dd4faefbcc515ded529edd41132885be8006429d896da246ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pynetfilter_conntrack 0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.