This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

About

This package allows you to describes firewall rules and dump it out, there is support for iptables and ip6tables.

Example Usage

>>> import iptdump
>>> ipt = iptdump.Iptables()
>>> chain = ipt.table(iptdump.TABLE_FILTER).chain(iptdump.CHAIN_INPUT)
>>> chain.new().src('192.168.23.0/24').target(iptdump.TARGET_DROP)
<iptdump.Rule instance at 0x7f922dfb8cb0>
>>> print ipt.dump()
# Generated by python-iptdump v1b1 on Mon Dec  3 18:25:27 2012
*filter
:INPUT ACCEPT [0:0]
-A INPUT -s 192.168.23.0/24 -j DROP
COMMIT
# Completed on Mon Dec  3 18:25:27 2012
>>> ipt = iptdump.Ip6tables()
>>> chain = ipt.table(iptdump.TABLE_FILTER).chain(iptdump.CHAIN_INPUT)
>>> chain.new().src('fe80::/64').target(iptdump.TARGET_DROP)
<iptdump.Rule instance at 0x7f7ed18a1b48>
>>> print ipt.dump()
# Generated by python-iptdump v1b1 on Mon Dec  3 18:25:32 2012
*filter
:INPUT ACCEPT [0:0]
-A INPUT -s fe80::/64 -j DROP
COMMIT
# Completed on Mon Dec  3 18:25:32 2012
Release History

Release History

1b1.3

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
iptdump-1b1.3.tar.gz (7.0 kB) Copy SHA256 Checksum SHA256 Source Feb 5, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting