~修复tun或混合模式下,屏蔽quic功能未能实际生效的bug

~优化了一下初始化脚本中对nftables和iptables的使用判断
~默认的常用端口过滤列表中,移除了对53和123端口的支持
~修复部分情况下因ipv6dns未能正确劫持或拦截导致的dns劫持失败的问题
This commit is contained in:
juewuy
2024-09-15 15:33:10 +08:00
parent a698c923c2
commit 5ec0b9c238
3 changed files with 28 additions and 13 deletions

View File

@@ -38,7 +38,7 @@ ckstatus(){
[ -z "$fwmark" ] && fwmark=$redir_port
[ -z "$db_port" ] && db_port=9999
[ -z "$dns_port" ] && dns_port=1053
[ -z "$multiport" ] && multiport='22,53,80,123,143,194,443,465,587,853,993,995,5222,8080,8443'
[ -z "$multiport" ] && multiport='22,80,143,194,443,465,587,853,993,995,5222,8080,8443'
[ -z "$redir_mod" ] && redir_mod=纯净模式
#检查mac地址记录
[ ! -f ${CRASHDIR}/configs/mac ] && touch ${CRASHDIR}/configs/mac