interception

package
v1.6.6 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Packets is a stream of interception network packest.
	Packets = make(chan packet.Packet, 1000)

	// BandwidthUpdates is a stream of bandwidth usage update for connections.
	BandwidthUpdates = make(chan *packet.BandwidthUpdate, 1000)
)

Functions

func GetKextVersion

func GetKextVersion() (string, error)

GetKextVersion returns the version of the kernel extension.

func ResetVerdictOfAllConnections

func ResetVerdictOfAllConnections() error

ResetVerdictOfAllConnections resets all connections so they are forced to go thought the firewall again.

func UpdateVerdictOfConnection

func UpdateVerdictOfConnection(conn *network.Connection) error

UpdateVerdictOfConnection updates the verdict of the given connection in the kernel extension.

Types

This section is empty.

Directories

Path Synopsis
ebpf
Package nfq contains a nfqueue library experiment.
Package nfq contains a nfqueue library experiment.
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.

Jump to

Keyboard shortcuts

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