diff --git a/bin/ShellCrash.tar.gz b/bin/ShellCrash.tar.gz index 25f4a5d..661b63f 100644 Binary files a/bin/ShellCrash.tar.gz and b/bin/ShellCrash.tar.gz differ diff --git a/bin/clashfm.tar.gz b/bin/clashfm.tar.gz index 20556c8..da17b06 100644 Binary files a/bin/clashfm.tar.gz and b/bin/clashfm.tar.gz differ diff --git a/bin/public.tar.gz b/bin/public.tar.gz index f10532d..82bcb7f 100644 Binary files a/bin/public.tar.gz and b/bin/public.tar.gz differ diff --git a/bin/version b/bin/version index 1b3e064..5e3fc5e 100644 --- a/bin/version +++ b/bin/version @@ -4,5 +4,5 @@ clash_v=v1.7.1 meta_v=v1.18.1 singboxp_v=1.8.5-73d97226 singbox_v=1.8.8 -versionsh=1.9.1alpha6 +versionsh=1.9.1alpha7 GeoIP_v=20240302 diff --git a/scripts/init.sh b/scripts/init.sh index 72ab7ed..0ccedd0 100644 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -1,7 +1,7 @@ #!/bin/sh # Copyright (C) Juewuy -version=1.9.1alpha6 +version=1.9.1alpha7 setdir(){ dir_avail(){ diff --git a/scripts/start.sh b/scripts/start.sh index bb43eaa..9c95dde 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -893,7 +893,7 @@ start_ipt_route(){ #iptables-route通用工具 [ "$1" = iptables ] && [ "$dns_mod" != "fake-ip" ] && [ "$cn_ip_route" = "已开启" ] && [ -f ${BINDIR}/cn_ip.txt ] && $1 -t $2 -A $4 -m set --match-set cn_ip dst -j RETURN 2>/dev/null [ "$1" = ip6tables ] && [ "$dns_mod" != "fake-ip" ] && [ "$cn_ipv6_route" = "已开启" ] && [ -f ${BINDIR}/cn_ipv6.txt ] && $1 -t $2 -A $4 -m set --match-set cn_ip6 dst -j RETURN 2>/dev/null #局域网mac地址黑名单过滤 - [ "$3" = 'PREROUTING' ] && [ -s "$(cat ${CRASHDIR}/configs/mac)" ] && [ "$macfilter_type" != "白名单" ] && { + [ "$3" = 'PREROUTING' ] && [ -n "$(cat ${CRASHDIR}/configs/mac)" ] && [ "$macfilter_type" != "白名单" ] && { for mac in $(cat ${CRASHDIR}/configs/mac); do $1 -t $2 -A $4 -m mac --mac-source $mac -j RETURN done