fix
This commit is contained in:
parent
a0cbf7c6f0
commit
43267d5353
1
bots.txt
1
bots.txt
@ -2272,7 +2272,6 @@
|
||||
74.235.135.245
|
||||
44.214.187.82
|
||||
172.190.111.150
|
||||
47.5.115.173
|
||||
40.67.142.64
|
||||
167.94.146.60
|
||||
2a01:4f8:242:3ce9::2
|
||||
|
@ -53,8 +53,7 @@ nft list table filter >$NFT_CACHE
|
||||
|
||||
ipBlockParser(){
|
||||
if [[ "$1" == *":"* ]]; then
|
||||
echo "Skipping ip6"
|
||||
#$NFT add rule ip6 filter input position 0 ip6 saddr $1 $NFT_DROP
|
||||
$NFT add rule ip6 filter input position 0 ip6 saddr $1 $NFT_DROP
|
||||
else
|
||||
$NFT add rule ip filter input position 0 ip saddr "$1" $NFT_DROP
|
||||
fi
|
||||
@ -63,8 +62,8 @@ ipBlockParser(){
|
||||
portOpenParser(){
|
||||
$NFT_TCP $i $NFT_ACCEPT
|
||||
$NFT_UDP $i $NFT_ACCEPT
|
||||
#$NFT6_TCP $i $NFT_ACCEPT
|
||||
#$NFT6_UDP $i $NFT_ACCEPT
|
||||
$NFT6_TCP $i $NFT_ACCEPT
|
||||
$NFT6_UDP $i $NFT_ACCEPT
|
||||
}
|
||||
|
||||
ipDeleteParser(){
|
||||
|
Loading…
Reference in New Issue
Block a user