From ffc5b607d989b82704062cf274990ea718c6c3b1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 23 Sep 2024 23:55:09 -0600 Subject: [PATCH] fix --- firewall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firewall.sh b/firewall.sh index 4f50d52..8675688 100755 --- a/firewall.sh +++ b/firewall.sh @@ -219,7 +219,7 @@ status() { NOT_FOUND=$(grep $DATE $NGINX_ACCESS | grep -vi $MY_IP | grep 404 | wc -l) GATEWAY=$(grep $DATE $NGINX_ACCESS | grep -vi $MY_IP | grep 502 | wc -l) SUCCESS=$(grep $DATE $NGINX_ACCESS | grep -vi $MY_IP | grep 200 | wc -l) - CRAWL=$(grep $DATE $NGINX_ACCESS | grep -vi $MY_IP | grep -Fivf <(printf '%s\n' "${CRAWLER_DB[@]}") | wc -l) + CRAWL=$(grep $DATE $NGINX_ACCESS | grep -vi $MY_IP | grep -Ff <(printf '%s\n' "${CRAWLER_DB[@]}") | wc -l) echo $MENU_TOP echo "Attack Threshold: $ATTACK_THRESHOLD" echo "Firewall Rules: $($NFT list table filter | wc -l)"