Windows implementation
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package interception
|
||||
|
||||
import (
|
||||
"github.com/safing/portmaster/firewall/interception/nfq"
|
||||
"github.com/safing/portmaster/network/packet"
|
||||
)
|
||||
|
||||
@@ -13,3 +14,8 @@ func start(ch chan packet.Packet) error {
|
||||
func stop() error {
|
||||
return StopNfqueueInterception()
|
||||
}
|
||||
|
||||
// ResetAllConnections resets all connections so they are forced to go thought the firewall again
|
||||
func ResetAllConnections() error {
|
||||
return nfq.DeleteAllMarkedConnection()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user