Skip to content

Commit

Permalink
v1.9.1alpha7
Browse files Browse the repository at this point in the history
~修复mac黑名单失效的bug
  • Loading branch information
juewuy committed Mar 15, 2024
1 parent 8f0442d commit 6748da0
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
Binary file modified bin/ShellCrash.tar.gz
Binary file not shown.
Binary file modified bin/clashfm.tar.gz
Binary file not shown.
Binary file modified bin/public.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion bin/version
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion scripts/init.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
# Copyright (C) Juewuy

version=1.9.1alpha6
version=1.9.1alpha7

setdir(){
dir_avail(){
Expand Down
2 changes: 1 addition & 1 deletion scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6748da0

Please sign in to comment.