fix
This commit is contained in:
parent
f014885ae6
commit
20f4b9a418
@ -300,8 +300,6 @@ watch() {
|
||||
CHECK=$(cat $NFT_CACHE | sort -u | grep $i)
|
||||
if [[ "$COUNT" -gt $ATTACK_THRESHOLD ]]; then
|
||||
if [ "$CHECK" = "" ]; then
|
||||
echo "Danger! Blocking IP: $i Count: $COUNT"
|
||||
logger "Blocking IP: $i with a count of: $COUNT"
|
||||
redis-cli SADD tmp_block $i
|
||||
ipBlockParser $i
|
||||
message "Blocking IP: $i with a count of: $COUNT"
|
||||
|
Loading…
Reference in New Issue
Block a user