Documentation ¶
Index ¶
- Variables
- func DecideOnConnection(conn *network.Connection, pkt packet.Packet)
- func FilterDNSResponse(conn *network.Connection, q *resolver.Query, rrCache *resolver.RRCache) *resolver.RRCache
- func GetPermittedPort() uint16
- func PermittedAddr(network string) net.Addr
- func PermittedTCPAddr() *net.TCPAddr
- func PermittedUDPAddr() *net.UDPAddr
Constants ¶
This section is empty.
Variables ¶
var ( CfgOptionEnableFilterKey = "filter/enable" CfgOptionPermanentVerdictsKey = "filter/permanentVerdicts" CfgOptionPromptTimeoutKey = "filter/promptTimeout" )
Configuration Keys
Functions ¶
func DecideOnConnection ¶
func DecideOnConnection(conn *network.Connection, pkt packet.Packet)
DecideOnConnection makes a decision about a connection. When called, the connection and profile is already locked.
func FilterDNSResponse ¶ added in v0.2.2
func FilterDNSResponse(conn *network.Connection, q *resolver.Query, rrCache *resolver.RRCache) *resolver.RRCache
FilterDNSResponse filters a dns response according to the application profile and settings.
func GetPermittedPort ¶ added in v0.2.5
func GetPermittedPort() uint16
GetPermittedPort returns a local port number that is already permitted for communication. This bypasses the process attribution step to guarantee connectivity. Communication on the returned port is attributed to the Portmaster.
func PermittedAddr ¶ added in v0.2.5
PermittedAddr returns an already permitted local address for the given network for reliable connectivity. Returns nil in case of error.
func PermittedTCPAddr ¶ added in v0.2.5
PermittedTCPAddr returns an already permitted local tcp address for reliable connectivity. Returns nil in case of error.
func PermittedUDPAddr ¶ added in v0.2.5
PermittedUDPAddr returns an already permitted local udp address for reliable connectivity. Returns nil in case of error.
Types ¶
This section is empty.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
nfqueue
Package nfqueue provides network interception capabilities on linux via iptables nfqueue.
|
Package nfqueue provides network interception capabilities on linux via iptables nfqueue. |
windowskext
Package windowskext provides network interception capabilities on windows via the Portmaster Kernel Extension.
|
Package windowskext provides network interception capabilities on windows via the Portmaster Kernel Extension. |