Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableResolvedStub ¶
func DisableResolvedStub() error
DisableResolvedStub disables systemd-resolved's DNS stub listener on port 53 so that slipgate's DNS router can bind to it.
func FreePort ¶ added in v1.3.1
FreePort kills any process listening on the given port/protocol. Uses fuser if available, falls back to lsof + kill.
func HostFirewallActive ¶ added in v1.6.3
func HostFirewallActive() bool
HostFirewallActive reports whether the host is actually filtering inbound traffic. Used to decide whether to hint about external/cloud firewalls — merely having an iptables binary installed (e.g., pulled in by Docker or fail2ban) does not count if the INPUT chain still defaults to ACCEPT.
func RemovePort ¶
RemovePort removes a firewall rule for a port.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.