interception

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Packets channel for feeding the firewall.
	Packets = make(chan packet.Packet, 1000)
)

Functions

func DeactivateNfqueueFirewall added in v0.4.16

func DeactivateNfqueueFirewall() error

DeactivateNfqueueFirewall drops portmaster related IP tables rules. Any errors encountered accumulated into a *multierror.Error.

func Start

func Start() error

Start starts the interception.

func StartNfqueueInterception

func StartNfqueueInterception(packets chan<- packet.Packet) (err error)

StartNfqueueInterception starts the nfqueue interception.

func Stop

func Stop() error

Stop starts the interception.

func StopNfqueueInterception

func StopNfqueueInterception() error

StopNfqueueInterception stops the nfqueue interception.

Types

This section is empty.

Directories

Path Synopsis
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