Skip to content

Commit 342c07b

Browse files
committed
update sing-box to 1.11.1
1 parent ed87c24 commit 342c07b

3 files changed

Lines changed: 5 additions & 9 deletions

File tree

module.prop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
id=box_for_magisk
22
name=SingBox for Magisk
3-
version=v1.2.2
3+
version=v1.2.3
44
versionCode=20250121
55
author=gitduk
66
description=use sing-box for tunnel proxy on android device

singbox/bin/sing-box

3.88 KB
Binary file not shown.

singbox/scripts/iptables.sh

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,16 @@ init_chains() {
1414

1515
for chain in "${chains[@]}"; do
1616
${iptables} -t ${table} -N ${chain} 2>/dev/null
17-
${iptables} -t ${table} -F ${chain}
17+
${iptables} -t ${table} -F ${chain} 2>/dev/null
1818
done
1919
}
2020

2121
cleanup_limit() {
2222
local iptables="iptables -w 64"
2323

2424
# 红魔9Pro
25-
${iptables} -F zte_fw_data_align_out &>/dev/null
26-
${iptables} -F zte_fw_gms &>/dev/null
27-
${iptables} -R tetherctrl_FORWARD 1 -j ACCEPT &>/dev/null
28-
${iptables} -F zte_fw_net_limit &>/dev/null
29-
${iptables} -F bw_penalty_box &>/dev/null
30-
${iptables} -F st_penalty_reject &>/dev/null
25+
${iptables} -D oem_out -j zte_fw_data_align_out 2>/dev/null
26+
${iptables} -D OUTPUT -j zte_fw_gms 2>/dev/null
3127
}
3228

3329
# 统一的清理函数
@@ -254,7 +250,7 @@ tun() {
254250
}
255251

256252
# 清理手机产商的网络限制
257-
(sleep 10 && cleanup_limit) &
253+
(sleep 3 && cleanup_limit) &
258254

259255
# 主程序入口
260256
case "$1" in

0 commit comments

Comments
 (0)