Skip to content

Commit 47a5185

Browse files
committed
feat(net): 重构 iptables 框架并增强网络匹配能力
- 参考 CHIZI-0618/AndroidTProxyShell 重构 iptables 实现 - 支持基于 WiFi BSSID 的网络环境匹配 - 支持热点模式下的 MAC 黑名单与白名单控制
1 parent a53b38c commit 47a5185

10 files changed

Lines changed: 975 additions & 371 deletions

File tree

box/mihomo/config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ unified-delay: false
3737
tcp-concurrent: true
3838
log-level: error
3939
find-process-mode: always
40-
global-client-fingerprint: random
40+
# global-client-fingerprint: random
4141
external-controller: 0.0.0.0:9090
4242
external-ui: ./dashboard
4343

box/scripts/box.inotify

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ service_control() {
2424
fi
2525
}
2626

27-
mkdir -p "${run_path}"
27+
mkdir -p "${run_path}" >/dev/null 2>&1 || true
2828
if [ -f "${file_settings}" ] && [ -r "${file_settings}" ] && [ -s "${file_settings}" ]; then
2929
service_control
3030
else

0 commit comments

Comments
 (0)