python-iptables icon indicating copy to clipboard operation
python-iptables copied to clipboard

Python bindings for iptables

Results 33 python-iptables issues
Sort by recently updated
recently updated
newest added

Hi, I have the following rules: ACCEPT icmp -- 10.246.0.0/16 10.255.253.4 icmptype 8 state NEW,RELATED,ESTABLISHED ACCEPT tcp -- 10.246.0.0/16 10.255.253.4 tcp dpt:22 ctstate NEW,ESTABLISHED ACCEPT all -- 10.246.0.0/16 10.255.253.4 state...

hi, Distributing certain applications with a dependency on ITPC, have only support for requirements.txt at install time. Access to packager manager is tricky, as you don't know what package manager...

The following Rule does not add the 'proto' or ''reqid' ``` rule = iptc.Rule() rule.src = "172.31.31.124/32" rule.dst = SOURCEIP rule.out_interface = INTERFACE rule.target = iptc.Target(rule, "ACCEPT") match = rule.create_match("policy")...

Hi. I use such prerouting method to set my rule. There is odd issue that happens in iptc/ip4tc.py when I don`t invoke target.to_destination by print() or type(), whatever. Otherwise in...

Hi everybody, I installed python-iptables, according the below instructions : `% git clone git://git.netfilter.org/iptables && cd iptables` `% ./autogen.sh` `% ./configure --prefix=/tmp/iptables` `% make` `% make install` All the obove...

``` >>> import iptc >>> rule = iptc.Rule() >>> match = rule.create_match('comment') >>> match.comment = "don't" >>> match.comment "don\\'t" ``` This makes the comment on the rule when it is...

Add to doc create_chain method in Table

I notice that chain.rules have no rule that is created with iptc.Rule(chain=chain), I know we can add a rule by: chain.insert_rule(rule) but its not like it should be there already?...

Hello, We are using **python-iptables v0.12.0** in production within a dockerized environment orchestrated by kubernetes. The container application that uses python-iptables library consists of the following networking: * Two interfaces,...

That would allow to strip GCC requirement and simplify distribution.