mirror of
https://github.com/safing/portmaster
synced 2025-09-16 09:49:39 +00:00
Linux reset verdict of individual connections
This commit is contained in:
parent
019042d621
commit
f226473d9a
4 changed files with 70 additions and 9 deletions
|
@ -147,6 +147,11 @@ func activateNfqueueFirewall() error {
|
|||
}
|
||||
}
|
||||
|
||||
if err := nfq.InitNFCT(); err != nil {
|
||||
return err
|
||||
}
|
||||
nfq.DeleteAllMarkedConnection()
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
@ -166,6 +171,9 @@ func DeactivateNfqueueFirewall() error {
|
|||
}
|
||||
}
|
||||
|
||||
nfq.DeleteAllMarkedConnection()
|
||||
nfq.DeinitNFCT()
|
||||
|
||||
return result.ErrorOrNil()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue