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