firewall

package
v0.0.0-...-2b49871 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const DropMark = 0x18BA5

Variables

This section is empty.

Functions

func DropMarked

func DropMarked(enable bool) (err error)

Reject packets marked by OpenSnitch OUTPUT -m mark --mark 101285 -j DROP

func QueueConnections

func QueueConnections(enable bool, queueNum int) (err error)

OUTPUT -t mangle -m conntrack --ctstate NEW -j NFQUEUE --queue-num 0 --queue-bypass

func QueueDNSResponses

func QueueDNSResponses(enable bool, queueNum int) (err error)

INPUT --protocol udp --sport 53 -j NFQUEUE --queue-num 0 --queue-bypass

func RunRule

func RunRule(enable bool, rule []string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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