Documentation
¶
Overview ¶
Package iptables implements iptables firewall agent.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterSupportedIPTables ¶
FilterSupportedIPTables filter supported versions based on what exists in the system
Types ¶
type IPTables ¶
@TODO upgrade to netfilter library. IPTables handles all firewall changes with iptables
func New ¶
func New(stateModule string, stateFlag string, chainPrefix string, supportedIPTables []string) *IPTables
New is a default constructor for IPTables firewall
func (*IPTables) GetActiveRules ¶
Click to show internal directories.
Click to hide internal directories.