MCPcopy
hub / github.com/bettercap/bettercap / LinuxFirewall

Struct LinuxFirewall

firewall/firewall_linux.go:16–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14)
15
16type LinuxFirewall struct {
17 iface *network.Endpoint
18 forwarding bool
19 restore bool
20 redirections map[string]*Redirection
21}
22
23const (
24 IPV4ForwardingFile = "/proc/sys/net/ipv4/ip_forward"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected