ldx/python-iptables — pull request #17 by Caligatio (2013-02-21 22:59:26+00:00)
Title: Added function to return all parameters in a IPTCModule

I needed functionality to essentially parse all iptables rules, to include parsing relevant matches. Without significant knowledge of every flag for every match type, this is not currently possible.

The modified file has a get_all_parameters() function that will return a dictionary of all the parameters for IPTCModule objects (Target and Rule).