This commit is contained in:
Your Name 2024-09-25 22:33:17 -06:00
parent 6b16af087e
commit 3e133c7c0d
5 changed files with 5 additions and 0 deletions

View File

@ -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"

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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