fix:为修复部分设备ip6tables报错,将ipv6dns的兜底行为由reject改为了return
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -4,5 +4,5 @@ clash_v=v1.7.1
|
|||||||
meta_v=v1.18.1
|
meta_v=v1.18.1
|
||||||
singboxp_v=1.9.0-beta.16-3140e7ac
|
singboxp_v=1.9.0-beta.16-3140e7ac
|
||||||
singbox_v=1.8.8
|
singbox_v=1.8.8
|
||||||
versionsh=1.9.1beta7
|
versionsh=1.9.1beta7fix
|
||||||
GeoIP_v=20240427
|
GeoIP_v=20240427
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# Copyright (C) Juewuy
|
# Copyright (C) Juewuy
|
||||||
|
|
||||||
version=1.9.1beta7
|
version=1.9.1beta7fix
|
||||||
|
|
||||||
setdir(){
|
setdir(){
|
||||||
dir_avail(){
|
dir_avail(){
|
||||||
|
|||||||
@@ -969,8 +969,8 @@ start_ipt_dns() { #iptables-dns通用工具
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
[ "$1" = 'ip6tables' ] && {
|
[ "$1" = 'ip6tables' ] && {
|
||||||
$1 -t nat -A $3 -p tcp -m comment --comment "ShellCrash-IPV6_DNS-REJECT" -j REJECT
|
$1 -t nat -A $3 -p tcp -j RETURN
|
||||||
$1 -t nat -A $3 -p udp -m comment --comment "ShellCrash-IPV6_DNS-REJECT" -j REJECT
|
$1 -t nat -A $3 -p udp -j RETURN
|
||||||
}
|
}
|
||||||
$1 -t nat -I $2 -p tcp --dport 53 -j $3
|
$1 -t nat -I $2 -p tcp --dport 53 -j $3
|
||||||
$1 -t nat -I $2 -p udp --dport 53 -j $3
|
$1 -t nat -I $2 -p udp --dport 53 -j $3
|
||||||
|
|||||||
Reference in New Issue
Block a user