fix(appmarks): use nft socket cgroupv2 rules for per-app routing
This commit is contained in:
@@ -12,10 +12,11 @@ import "embed"
|
||||
// ---------------------------------------------------------------------
|
||||
|
||||
const (
|
||||
stateDir = "/var/lib/selective-vpn"
|
||||
statusFilePath = stateDir + "/status.json"
|
||||
dnsModePath = stateDir + "/dns-mode.json"
|
||||
trafficModePath = stateDir + "/traffic-mode.json"
|
||||
stateDir = "/var/lib/selective-vpn"
|
||||
statusFilePath = stateDir + "/status.json"
|
||||
dnsModePath = stateDir + "/dns-mode.json"
|
||||
trafficModePath = stateDir + "/traffic-mode.json"
|
||||
trafficAppMarksPath = stateDir + "/traffic-appmarks.json"
|
||||
|
||||
traceLogPath = stateDir + "/trace.log"
|
||||
smartdnsLogPath = stateDir + "/smartdns.log"
|
||||
@@ -80,6 +81,7 @@ const (
|
||||
defaultPollAutoloopMs = 2500
|
||||
defaultPollSystemdMs = 3000
|
||||
defaultPollTraceMs = 1500
|
||||
defaultPollAppMarksMs = 15000
|
||||
defaultHeartbeatSeconds = 15
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user