libioc.Firewall module¶
ioc firewall module.
-
class
libioc.Firewall.
Firewall
(logger=None)[source]¶ Bases:
object
ioc host firewall abstraction.
-
IPFW_COMMAND
= '/sbin/ipfw'¶
-
add_rule
(rule_number, rule_arguments, insecure=False)[source]¶ Add a rule to the firewall configuration.
- Return type
None
-