Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
package
firewall
2
3
type
FirewallManager
interface
{
4
IsForwardingEnabled() bool
5
EnableForwarding(enabled bool) error
6
EnableRedirection(r *Redirection, enabled bool) error
7
Restore()
8
}
Callers
25
Configure
Method · 0.65
Configure
Method · 0.65
TestArpSpooferStartStop
Function · 0.65
TestArpSpooferBanMode
Function · 0.65
Configure
Method · 0.65
Configure
Method · 0.65
TestHttpProxyStartStop
Function · 0.65
Configure
Method · 0.65
Configure
Method · 0.65
Configure
Method · 0.65
Configure
Method · 0.65
Configure
Method · 0.65
Implementers
5
MockFirewall
modules/arp_spoof/arp_spoof_test.go
MockFirewall
modules/http_proxy/http_proxy_test.go
WindowsFirewall
firewall/firewall_windows.go
LinuxFirewall
firewall/firewall_linux.go
PfFirewall
firewall/firewall_darwin.go
Calls
no outgoing calls
Tested by
no test coverage detected