firewall

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2019 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Index

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(comm *network.Communication, link *network.Link, pkt packet.Packet)

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

func PermittedAddr(network string) net.Addr

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

func PermittedTCPAddr() *net.TCPAddr

PermittedTCPAddr returns an already permitted local tcp address for reliable connectivity. Returns nil in case of error.

func PermittedUDPAddr added in v0.2.5

func PermittedUDPAddr() *net.UDPAddr

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
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL