# Functions
MaskToInt converts net.IPMask to integer.
NewFirewall returns instance of Firewall backed by requested provider.
NewFirewallrule returns firewall rule of appropriate type.
NewIPtablesChain initializes a new firewall chain.
RomanaNetNetmaskInt returns integer representation of pseudo net netmask.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Indicates that rule must be removed.
Indicates that rule should be placed at the top of the chain/list.
Indicates that rule should be placed at the bottom of the chain/list.
No description provided by the author
No description provided by the author
No description provided by the author
iptsave is an implementation of firewall based on iptables-save/iptabels-restore.
No description provided by the author
shellex is a default firewall implementation based on line-by-line firewall provisioning.
# Structs
IPtables implements romana Firewall using iptables.
IPtablesChain describes state of the particular firewall chain.
IPtablesRule represents a single iptables rule managed by the agent.
IPTsaveFirewall implements romana Firewall using iptables-save|iptables-restore.
# Interfaces
Firewall interface allows different implementations to be used with romana agent.
FirewallEndpoint is an interface for agent to pass endpoint definition.
FirewallRule is an interface that represents abstract firewall rule.
FirewallStore defines how database should be passed into firewall instance.
NetConfig exposes agent runtime configuration to the consumers outside of the agent who can't have a dependency on the agent (e.g.