feat: support independent tcp4, tcp6, udp4, udp6 connectivity check

This commit is contained in:
mzz2017
2023-02-08 20:15:24 +08:00
committed by mzz
parent 551e79d9e5
commit 5e7b68822a
26 changed files with 738 additions and 222 deletions

View File

@ -6,7 +6,9 @@ global {
log_level: info
# Node connectivity check.
tcp_check_url: 'https://connectivitycheck.gstatic.com/generate_204'
# Url and dns should have both IPv4 and IPv6.
tcp_check_url: 'http://cp.cloudflare.com'
udp_check_dns: 'cloudflare-dns.com:53'
check_interval: 30s
# Now only support udp://IP:Port. Empty value '' indicates as-is.