mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 07:51:45 +00:00
~重写Singbox内核dns填充逻辑,修复非标端口报错的问题
~为在线订阅转换添加URLencode编码功能,修复添加中文过滤时报错的问题 ~统一Mihomo和Singbox内核的Tun默认网段 ~将Singboxr内核providers功能默认更新配置文件的周期调整为同样的12h ~移除实际上限速的360dns ~移除了在线面板提示中由于强制https导致实际无法连接的地址 ~修复Mihomo内核开关防泄露和实际最终表现相反的bug ~修复nftables防火墙模式下常用端口过滤对udp流量未能正确生效的bug
This commit is contained in:
@@ -452,7 +452,7 @@ EOF
|
||||
"url": "${2}",
|
||||
"path": "./providers/${1}.yaml",
|
||||
"user_agent": "clash.meta;mihomo",
|
||||
"update_interval": "24h",
|
||||
"update_interval": "12h",
|
||||
EOF
|
||||
fi
|
||||
#通用部分生成
|
||||
@@ -2352,7 +2352,7 @@ userguide(){
|
||||
fi
|
||||
#设置加密DNS
|
||||
if [ -s $openssldir/certs/ca-certificates.crt ];then
|
||||
dns_nameserver='https://doh.360.cn/dns-query, https://dns.alidns.com/dns-query, https://doh.pub/dns-query'
|
||||
dns_nameserver='https://dns.alidns.com/dns-query, https://doh.pub/dns-query'
|
||||
dns_fallback='https://cloudflare-dns.com/dns-query, https://dns.google/dns-query, https://doh.opendns.com/dns-query'
|
||||
dns_resolver='https://223.5.5.5/dns-query, 2400:3200::1'
|
||||
setconfig dns_nameserver "'$dns_nameserver'"
|
||||
|
||||
Reference in New Issue
Block a user