mirror of
https://github.com/safing/portmaster
synced 2025-09-10 23:14:35 +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
|
@ -2,6 +2,7 @@ package interception
|
|||
|
||||
import (
|
||||
"github.com/safing/portmaster/firewall/interception/nfq"
|
||||
"github.com/safing/portmaster/network"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
)
|
||||
|
||||
|
@ -19,3 +20,7 @@ func stop() error {
|
|||
func ResetVerdictOfAllConnections() error {
|
||||
return nfq.DeleteAllMarkedConnection()
|
||||
}
|
||||
|
||||
func UpdateVerdictOfConnection(conn *network.Connection) error {
|
||||
return nfq.DeleteMarkedConnection(conn)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue