MCPcopy
hub / github.com/bettercap/bettercap / FirewallManager

Interface FirewallManager

firewall/firewall.go:3–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package firewall
2
3type FirewallManager interface {
4 IsForwardingEnabled() bool
5 EnableForwarding(enabled bool) error
6 EnableRedirection(r *Redirection, enabled bool) error
7 Restore()
8}

Callers 25

ConfigureMethod · 0.65
ConfigureMethod · 0.65
TestArpSpooferStartStopFunction · 0.65
TestArpSpooferBanModeFunction · 0.65
ConfigureMethod · 0.65
ConfigureMethod · 0.65
TestHttpProxyStartStopFunction · 0.65
ConfigureMethod · 0.65
ConfigureMethod · 0.65
ConfigureMethod · 0.65
ConfigureMethod · 0.65
ConfigureMethod · 0.65

Implementers 5

MockFirewallmodules/arp_spoof/arp_spoof_test.go
MockFirewallmodules/http_proxy/http_proxy_test.go
WindowsFirewallfirewall/firewall_windows.go
LinuxFirewallfirewall/firewall_linux.go
PfFirewallfirewall/firewall_darwin.go

Calls

no outgoing calls

Tested by

no test coverage detected