Skip to content

Commit

Permalink
Improve network history setting
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Jul 21, 2023
1 parent 07f4253 commit daa33c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions firewall/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ var (
askTimeout config.IntOption

CfgOptionPermanentVerdictsKey = "filter/permanentVerdicts"
cfgOptionPermanentVerdictsOrder = 96
cfgOptionPermanentVerdictsOrder = 80
permanentVerdicts config.BoolOption

CfgOptionDNSQueryInterceptionKey = "filter/dnsQueryInterception"
cfgOptionDNSQueryInterceptionOrder = 97
cfgOptionDNSQueryInterceptionOrder = 81
dnsQueryInterception config.BoolOption
)

Expand Down
8 changes: 5 additions & 3 deletions profile/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,13 @@ var (
cfgOptionDisableAutoPermit config.IntOption // security level option
cfgOptionDisableAutoPermitOrder = 65

// Setting "Permanent Verdicts" at order 96.
// Setting "Permanent Verdicts" at order 80.

CfgOptionEnableHistoryKey = "history/enabled"
// Network History.

CfgOptionEnableHistoryKey = "history/enable"
cfgOptionEnableHistory config.BoolOption
cfgOptionEnableHistoryOrder = 66
cfgOptionEnableHistoryOrder = 96

// Setting "Enable SPN" at order 128.

Expand Down

0 comments on commit daa33c1

Please sign in to comment.