diff --git a/ShellCrash.tar.gz b/ShellCrash.tar.gz index 271b71c..703afff 100644 Binary files a/ShellCrash.tar.gz and b/ShellCrash.tar.gz differ diff --git a/bin/clashfm.tar.gz b/bin/clashfm.tar.gz index 271b71c..703afff 100644 Binary files a/bin/clashfm.tar.gz and b/bin/clashfm.tar.gz differ diff --git a/bin/version b/bin/version index 2008a82..93f11fe 100644 --- a/bin/version +++ b/bin/version @@ -1,4 +1,4 @@ meta_v=v1.19.17 singboxr_v=1.13.0-alpha.27 -versionsh=1.9.3beta4 +versionsh=1.9.3beta4fix GeoIP_v=20251205 diff --git a/scripts/init.sh b/scripts/init.sh index 4fc86c2..d6bf92d 100644 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -1,7 +1,7 @@ #!/bin/sh # Copyright (C) Juewuy -version=1.9.3beta4 +version=1.9.3beta4fix setdir() { dir_avail() { diff --git a/scripts/start.sh b/scripts/start.sh index f3e311a..9e62029 100644 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -1034,7 +1034,7 @@ start_ipt_route() { #iptables-route通用工具 [ "$3" = 'PREROUTING' ] && [ "$macfilter_type" != "白名单" ] && { [ -s "$CRASHDIR"/configs/mac ] && for mac in $(cat "$CRASHDIR"/configs/mac); do - $1 $w -t $2 -A $4 -m mac --mac-. $mac -j RETURN + $1 $w -t $2 -A $4 -m mac --mac-source $mac -j RETURN done [ -s "$CRASHDIR"/configs/ip_filter ] && [ "$1" = 'iptables' ] && for ip in $(cat "$CRASHDIR"/configs/ip_filter); do @@ -1046,7 +1046,7 @@ start_ipt_route() { #iptables-route通用工具 if [ "$3" = 'PREROUTING' ] && [ "$4" != 'shellcrash_vm' ] && [ "$macfilter_type" = "白名单" ] && [ -n "$(cat $CRASHDIR/configs/mac $CRASHDIR/configs/ip_filter 2>/dev/null)" ]; then [ -s "$CRASHDIR"/configs/mac ] && for mac in $(cat "$CRASHDIR"/configs/mac); do - $1 $w -t $2 -A $4 -p $5 -m mac --mac-. $mac -j $JUMP + $1 $w -t $2 -A $4 -p $5 -m mac --mac-source $mac -j $JUMP done [ -s "$CRASHDIR"/configs/ip_filter ] && [ "$1" = 'iptables' ] && for ip in $(cat "$CRASHDIR"/configs/ip_filter); do @@ -1092,7 +1092,7 @@ start_ipt_dns() { #iptables-dns通用工具 [ "$2" = 'PREROUTING' ] && [ "$macfilter_type" != "白名单" ] && { [ -s "$CRASHDIR"/configs/mac ] && for mac in $(cat "$CRASHDIR"/configs/mac); do - $1 $w -t nat -A $3 -m mac --mac-. $mac -j RETURN + $1 $w -t nat -A $3 -m mac --mac-source $mac -j RETURN done [ -s "$CRASHDIR"/configs/ip_filter ] && [ "$1" = 'iptables' ] && for ip in $(cat "$CRASHDIR"/configs/ip_filter); do @@ -1102,8 +1102,8 @@ start_ipt_dns() { #iptables-dns通用工具 if [ "$2" = 'PREROUTING' ] && [ "$3" != 'shellcrash_vm_dns' ] && [ "$macfilter_type" = "白名单" ] && [ -n "$(cat $CRASHDIR/configs/mac $CRASHDIR/configs/ip_filter 2>/dev/null)" ]; then [ -s "$CRASHDIR"/configs/mac ] && for mac in $(cat "$CRASHDIR"/configs/mac); do - $1 $w -t nat -A $3 -p tcp -m mac --mac-. $mac -j REDIRECT --to-ports $dns_port - $1 $w -t nat -A $3 -p udp -m mac --mac-. $mac -j REDIRECT --to-ports $dns_port + $1 $w -t nat -A $3 -p tcp -m mac --mac-source $mac -j REDIRECT --to-ports $dns_port + $1 $w -t nat -A $3 -p udp -m mac --mac-source $mac -j REDIRECT --to-ports $dns_port done [ -s "$CRASHDIR"/configs/ip_filter ] && [ "$1" = 'iptables' ] && for ip in $(cat "$CRASHDIR"/configs/ip_filter); do diff --git a/version b/version index 9f8bfa3..7224bef 100644 --- a/version +++ b/version @@ -1 +1 @@ -1.9.3beta4 +1.9.3beta4fix