package
0.3.1
Repository: https://github.com/u2takey/go-utils.git
Documentation: pkg.go.dev

# Functions

NewFake returns a no-op iptables.Interface.

# Constants

Destination represents the destination address flag.
DPort represents the destination port flag.
Jump represents jump flag specifies the jump target.
Masquerade represents the target that is used in nat table.
MatchSet represents the flag which match packets against the specified set.
Protocol represents the protocol flag.
Recent represents the sub-command recent that allows to dynamically create list of IP address to match against.
Reject specifies the reject target.
Source represents the source address flag.
SrcType represents the --src-type flag which matches if the source address is of given type.
ToDest represents the flag used to specify the destination address in DNAT.

# Structs

FakeIPTables is no-op implementation of iptables Interface.

# Type aliases

Rule holds a map of rules.