Fix nfq-exp flag and nfq logging messages

This commit is contained in:
Daniel
2020-10-13 15:56:09 +02:00
parent eab2ab3413
commit 210059f1f2
3 changed files with 12 additions and 14 deletions

View File

@@ -14,8 +14,6 @@ import (
"github.com/safing/portmaster/network/packet"
)
// iptables -A OUTPUT -p icmp -j", "NFQUEUE", "--queue-num", "1", "--queue-bypass
var (
v4chains []string
v4rules []string
@@ -36,10 +34,10 @@ var (
)
func init() {
flag.BoolVar(&experimentalNfqueueBackend, "experimental-nfqueue", true, "(deprecated flag; always used)")
flag.BoolVar(&experimentalNfqueueBackend, "experimental-nfqueue", false, "(deprecated flag; always used)")
}
// nfQueue encapsulates nfQueue providers
// nfQueue encapsulates nfQueue providers.
type nfQueue interface {
PacketChannel() <-chan packet.Packet
Destroy()