mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
18 lines
355 B
Go
18 lines
355 B
Go
package interception
|
|
|
|
import "github.com/safing/portmaster/network/packet"
|
|
|
|
var (
|
|
// Packets channel for feeding the firewall.
|
|
Packets = make(chan packet.Packet, 1000)
|
|
)
|
|
|
|
// Start starts the interception.
|
|
func Start() error {
|
|
return StartNfqueueInterception()
|
|
}
|
|
|
|
// Stop starts the interception.
|
|
func Stop() error {
|
|
return StopNfqueueInterception()
|
|
}
|