Documentation
¶
Index ¶
- func Accept() []expr.Any
- func ConnectionEstablished() []expr.Any
- func DestinationAddress(ip net.IP) []expr.Any
- func DestinationNAT(ip net.IP, port uint16) []expr.Any
- func DestinationPort(port uint16) []expr.Any
- func Expressions(exprs ...[]expr.Any) []expr.Any
- func IncomingInterface(iface string) []expr.Any
- func LocalDestinationAddress() []expr.Any
- func LocalSourceAddress() []expr.Any
- func Masquerade() []expr.Any
- func NotSourceAddress(ip net.IP) []expr.Any
- func OutgoingInterface(iface string) []expr.Any
- func Protocol(protocol string) []expr.Any
- func SourceNetwork(network *net.IPNet) []expr.Any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectionEstablished ¶
ConnectionEstablished filters established connections.
func DestinationAddress ¶
DestinationAddress filters destination address.
func DestinationNAT ¶
DestinationNAT redirects packets to IP and port.
func DestinationPort ¶
DestinationPort filters destination port.
func Expressions ¶
Expressions combines expressions into a single list.
func IncomingInterface ¶
IncomingInterface filters incoming interface.
func LocalDestinationAddress ¶ added in v0.10.0
LocalDestinationAddress filters local destination addresses.
func LocalSourceAddress ¶
LocalSourceAddress filters local source addresses.
func NotSourceAddress ¶
NotSourceAddress filters out packets coming from IP.
func OutgoingInterface ¶
OutgoingInterface filters outgoing interface.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.