fix
This commit is contained in:
parent
82ed9e524d
commit
a0cbf7c6f0
1
bots.txt
1
bots.txt
@ -3136,3 +3136,4 @@
|
||||
217.113.194.188
|
||||
85.208.96.199
|
||||
85.208.96.212
|
||||
2a01:4f9:c010:241b::1
|
||||
|
@ -53,7 +53,8 @@ nft list table filter >$NFT_CACHE
|
||||
|
||||
ipBlockParser(){
|
||||
if [[ "$1" == *":"* ]]; then
|
||||
$NFT add rule ip6 filter input position 0 ip6 saddr $1 $NFT_DROP
|
||||
echo "Skipping ip6"
|
||||
#$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
|
||||
@ -62,8 +63,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…
x
Reference in New Issue
Block a user