acl icon indicating copy to clipboard operation
acl copied to clipboard

Add iptables support to ACL parser

Open jathanism opened this issue 12 years ago • 2 comments

See python-netfilter (which actually has a parser): https://github.com/jlaine/python-netfilter

Or python-iptables (which is a low-level lib): https://github.com/ldx/python-iptables

See IPTables::Parse (Perl) for regex patterns: http://www.cipherdyne.org/modules/IPTables-Parse.html

jathanism avatar Mar 01 '13 06:03 jathanism

And info on the iptables-save output: http://www.faqs.org/docs/iptables/iptables-save.html

jathanism avatar Mar 01 '13 16:03 jathanism

Turns out Salt has an iptables parsing library that might actually be pretty useful: https://github.com/saltstack/salt/blob/develop/salt/modules/iptables.py

jathanism avatar Mar 06 '13 04:03 jathanism