Documentation
¶
Index ¶
Constants ¶
View Source
const ( EntryChain = "lain-ENTRY" //allow anywaher enter explored port InputChain = "lain-INPUT" //allow white list ip and port enter lain )
View Source
const CMD_IPTABLES = "iptables"
View Source
const CalicoProfileNotExist = "not found."
View Source
const CalicoRuleExist = "Rule already present, skipping."
View Source
const EtcdPrefixKey = "/lain/config"
View Source
const EtcdWLPortsExKeyPrefix = "whitelist_ex_ports"
View Source
const EtcdWLPortsInKeyPrefix = "whitelist_in_ports"
View Source
const EtcdWhiteListIpsKeyPrefix = "whitelist_ips"
View Source
const IptablesChainFound = "iptables: Chain already exists.\n"
View Source
const IptablesChainRulesFound = "iptables: Bad rule (does a matching rule exist in that chain?).\n"
View Source
const IptablesLocked = "Another app is currently holding the xtables lock.\n"
View Source
const IptablesNotFound = "iptables: No chain/target/match by that name.\n"
View Source
const IptablesRuleFound = "iptables: Rule already exists.\n"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.