fix
This commit is contained in:
parent
6b16af087e
commit
3e133c7c0d
@ -11,6 +11,7 @@ if [[ $SEARCH_SPAM -gt 30 ]]; then
|
||||
bash $FIREWALL ipBlockParser "$1"
|
||||
bash $FIREWALL message "$ATTACK-$1"
|
||||
redis-cli SADD tmp_block $1
|
||||
cp -f $3 /tmp/debug-$ATTACK-$1.txt
|
||||
echo "$ATTACK $1"
|
||||
else
|
||||
echo "$ATTACK Ignoring Duplicate IP: $1"
|
||||
|
@ -11,6 +11,7 @@ if [[ $SEARCH_SPAM -gt 10 ]]; then
|
||||
bash $FIREWALL ipBlockParser "$1"
|
||||
bash $FIREWALL message "$ATTACK-$1"
|
||||
redis-cli SADD tmp_block $1
|
||||
cp -f $3 /tmp/debug-$ATTACK-$1.txt
|
||||
else
|
||||
echo "$ATTACK Ignoring Duplicate IP: $1"
|
||||
fi
|
||||
|
@ -11,6 +11,7 @@ if [[ $SEARCH_SPAM -gt 30 ]]; then
|
||||
bash $FIREWALL ipBlockParser "$1"
|
||||
bash $FIREWALL message "$ATTACK-$1"
|
||||
redis-cli SADD tmp_block $1
|
||||
cp -f $3 /tmp/debug-$ATTACK-$1.txt
|
||||
echo "$ATTACK $1"
|
||||
else
|
||||
echo "$ATTACK Ignoring Duplicate IP: $1"
|
||||
|
@ -11,6 +11,7 @@ if [[ $SEARCH_SPAM -gt 30 ]]; then
|
||||
bash $FIREWALL ipBlockParser "$1"
|
||||
bash $FIREWALL message "$ATTACK-$1"
|
||||
redis-cli SADD tmp_block $1
|
||||
cp -f $3 /tmp/debug-$ATTACK-$1.txt
|
||||
echo "$ATTACK $1"
|
||||
else
|
||||
echo "$ATTACK Ignoring Duplicate IP: $1"
|
||||
|
@ -7,4 +7,5 @@ if [[ $SEARCH_SPAM -gt 20 ]]; then
|
||||
bash $FIREWALL ipBlockParser "$1"
|
||||
bash $FIREWALL message "$ATTACK-$1"
|
||||
redis-cli SADD tmp_block $1
|
||||
cp -f $3 /tmp/debug-$ATTACK-$1.txt
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user