feat(WIP): add pause and resume functionality for Portmaster/SPN
https://github.com/safing/portmaster/issues/2050
This commit is contained in:
@@ -34,6 +34,11 @@ func startInterception(packets chan packet.Packet) error {
|
||||
|
||||
// stop starts the interception.
|
||||
func stopInterception() error {
|
||||
// TODO: stop ebpf workers gracefully
|
||||
// E.g.:
|
||||
// module.mgr.Cancel()
|
||||
// <-m.Done()
|
||||
|
||||
return StopNfqueueInterception()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user