feat(WIP): add pause and resume functionality for Portmaster/SPN

https://github.com/safing/portmaster/issues/2050
This commit is contained in:
Alexandr Stelnykovych
2025-10-24 18:15:27 +03:00
parent 287c498bf1
commit c063bda700
9 changed files with 404 additions and 10 deletions

View File

@@ -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()
}