Documentation ¶
Index ¶
- func DecideOnCommunication(comm *network.Communication, pkt packet.Packet)
- func DecideOnCommunicationAfterIntel(comm *network.Communication, fqdn string, rrCache *intel.RRCache)
- func DecideOnCommunicationBeforeIntel(comm *network.Communication, fqdn string)
- func DecideOnLink(comm *network.Communication, link *network.Link, pkt packet.Packet)
- func FilterDNSResponse(comm *network.Communication, fqdn string, rrCache *intel.RRCache) *intel.RRCache
- func GetPermittedPort() uint16
- func PermittedAddr(network string) net.Addr
- func PermittedTCPAddr() *net.TCPAddr
- func PermittedUDPAddr() *net.UDPAddr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecideOnCommunication ¶ added in v0.2.2
func DecideOnCommunication(comm *network.Communication, pkt packet.Packet)
DecideOnCommunication makes a decision about a communication with its first packet.
func DecideOnCommunicationAfterIntel ¶ added in v0.2.2
func DecideOnCommunicationAfterIntel(comm *network.Communication, fqdn string, rrCache *intel.RRCache)
DecideOnCommunicationAfterIntel makes a decision about a communication after the dns query is resolved and intel is gathered.
func DecideOnCommunicationBeforeIntel ¶ added in v0.2.2
func DecideOnCommunicationBeforeIntel(comm *network.Communication, fqdn string)
DecideOnCommunicationBeforeIntel makes a decision about a communication before the dns query is resolved and intel is gathered.
func DecideOnLink ¶
DecideOnLink makes a decision about a link with the first packet.
func FilterDNSResponse ¶ added in v0.2.2
func FilterDNSResponse(comm *network.Communication, fqdn string, rrCache *intel.RRCache) *intel.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.
Directories ¶
Path | Synopsis |
---|---|
tls/tlslib
Package tls partially implements TLS 1.2, as specified in RFC 5246.
|
Package tls partially implements TLS 1.2, as specified in RFC 5246. |