Skip to main content

Python bindings for iptables

Project description

Python Bindings for IPtables:

Iptables is the tool that is used to manage netfilter, the standard packet filtering and manipulation framework under Linux. As the iptables manpage puts it: Iptables is used to set up, maintain, and inspect the tables of IPv4 packet filter rules in the Linux kernel. Several different tables may be defined. Each table contains a number of built-in chains and may also contain user- defined chains. Each chain is a list of rules which can match a set of packets. Each rule specifies what to do with a packet that matches. This is called a target, which may be a jump to a user-defined chain in the same table. Python-iptables provides python bindings to iptables under Linux. Interoperability with iptables is achieved via using the iptables C libraries (libiptc, libxtables, and the iptables extensions), not calling the iptables binary and parsing its output.

See http://ldx.github.com/python-iptables/ for documentation.

Usage : import iptc

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-iptables-0.1.1.tar.gz (31.3 kB view details)

Uploaded Source

File details

Details for the file python-iptables-0.1.1.tar.gz.

File metadata

File hashes

Hashes for python-iptables-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9623d5977bfcdef1f5643f72042f0abacbfca61abaa640f73e27c72ddb74027a
MD5 8b8d0e9dffc809be9382ec5a57bda0a7
BLAKE2b-256 f3eec823729219fd8c3bd79216507745d195638e73480e0363648a771fa6288a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page