diff --git a/documents/sing-box.json b/documents/sing-box.json index 3de6947..b020d5a 100644 --- a/documents/sing-box.json +++ b/documents/sing-box.json @@ -205,26 +205,9 @@ ], "default": "direct" }, - { - "type": "selector", - "tag": "reject", - "outbounds": [ - "block", - "direct" - ], - "default": "block" - }, { "tag": "direct", "type": "direct" - }, - { - "tag": "block", - "type": "block" - }, - { - "tag": "dns", - "type": "dns" } ], "route": { @@ -357,6 +340,13 @@ } ], "rules": [ + { + "action": "sniff" + }, + { + "protocol": "dns", + "action": "hijack-dns" + }, { "clash_mode": "global", "outbound": "手动切换" @@ -365,10 +355,6 @@ "clash_mode": "direct", "outbound": "本地直连" }, - { - "protocol": "dns", - "outbound": "dns" - }, { "type": "logical", "mode": "or", @@ -389,7 +375,9 @@ "protocol": "stun" } ], - "outbound": "block" + "action": "reject", + "method": "default", + "no_drop": false }, { "rule_set": [ @@ -411,7 +399,9 @@ }, { "rule_set": "geosite-openai@ads", - "outbound": "block" + "action": "reject", + "method": "default", + "no_drop": false }, { "rule_set": "geosite-openai", diff --git a/install.sh b/install.sh index 1fa9f24..513352c 100644 --- a/install.sh +++ b/install.sh @@ -9748,7 +9748,7 @@ menu() { cd "$HOME" || exit echoContent red "\n==============================================================" echoContent green "作者:mack-a" - echoContent green "当前版本:v3.4.1" + echoContent green "当前版本:v3.4.2" echoContent green "Github:https://github.com/mack-a/v2ray-agent" echoContent green "描述:八合一共存脚本\c" showInstallStatus