Skip to content

Commit

Permalink
Set most node_pref settings to indeterminate by default (tindy2013#728)
Browse files Browse the repository at this point in the history
Settings within node_pref should be established with a thorough understanding of the subscription sources' configurations.
Additionally, defaulting skip_cert_verify_flag to true exposes security risks.

Since pref.example.toml serves as the default configuration file, it is suggested to reset these settings. Also moving us toward Secure-by-Default.

Signed-off-by: moexiami <[email protected]>
  • Loading branch information
Xiami2012 authored Apr 2, 2024
1 parent be2de49 commit 623ffbb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions base/pref.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ match = '^Smart Access expire: (\d+)/(\d+)/(\d+)$'
replace = '$1:$2:$3:0:0:0'

[node_pref]
udp_flag = true
tcp_fast_open_flag = false
skip_cert_verify_flag = true
tls13_flag = false
#udp_flag = false
#tcp_fast_open_flag = false
#skip_cert_verify_flag = false
#tls13_flag = false

sort_flag = false
# Script used for sorting nodes. A "compare" function with 2 arguments which are the 2 nodes to be compared should be defined in the script. Supports inline script and script path.
Expand Down

0 comments on commit 623ffbb

Please sign in to comment.