diff --git a/firewall/interception/interception_default.go b/firewall/interception/interception_default.go index f6166c77..94f5c51f 100644 --- a/firewall/interception/interception_default.go +++ b/firewall/interception/interception_default.go @@ -4,6 +4,7 @@ package interception import ( "github.com/safing/portbase/log" + "github.com/safing/portmaster/network" "github.com/safing/portmaster/network/packet" ) @@ -22,3 +23,8 @@ func stop() error { func ResetVerdictOfAllConnections() error { return nil } + +// UpdateVerdictOfConnection updates the verdict of the given connection in the OS integration. +func UpdateVerdictOfConnection(conn *network.Connection) error { + return nil +} diff --git a/firewall/interception/interception_linux.go b/firewall/interception/interception_linux.go index be94e5b9..8cca7e93 100644 --- a/firewall/interception/interception_linux.go +++ b/firewall/interception/interception_linux.go @@ -21,7 +21,7 @@ func ResetVerdictOfAllConnections() error { return nfq.DeleteAllMarkedConnection() } -// UpdateVerdictOfConnection deletes the verdict of specific connection so in can be initialized again with the next packet. +// UpdateVerdictOfConnection deletes the verdict of the given connection so it can be initialized again with the next packet. func UpdateVerdictOfConnection(conn *network.Connection) error { return nfq.DeleteMarkedConnection(conn) } diff --git a/firewall/interception/interception_windows.go b/firewall/interception/interception_windows.go index 7a29affe..cc73988d 100644 --- a/firewall/interception/interception_windows.go +++ b/firewall/interception/interception_windows.go @@ -41,7 +41,7 @@ func ResetVerdictOfAllConnections() error { return windowskext.ClearCache() } -// UpdateVerdictOfConnection updates the verdict of specific connection in the kernel extension. +// UpdateVerdictOfConnection updates the verdict of the given connection in the kernel extension. func UpdateVerdictOfConnection(conn *network.Connection) error { return windowskext.UpdateVerdict(conn) }