fix
This commit is contained in:
parent
ffc5b607d9
commit
02e5d984b3
@ -1,4 +1,5 @@
|
||||
#!/bin/bash
|
||||
DATE="$(date +%d/%b/%Y:%H:%M -d '1 minute ago')"
|
||||
MY_IP=($(redis-cli --raw SMEMBERS my_ip))
|
||||
ATTACK_THRESHOLD="50"
|
||||
NGINX_ACCESS="/tmp/access.log"
|
||||
@ -54,8 +55,6 @@ RULE_SET='/opt/firewall/nft.rules'
|
||||
MENU_TOP="=============================FireWall================================="
|
||||
MENU_BOTTOM="====================================================================="
|
||||
|
||||
#Cache the Date and Current Firewall Rules at every launch
|
||||
DATE="$(date +%d/%b/%Y:%H:%M -d '1 minute ago')"
|
||||
nft list table filter >$NFT_CACHE
|
||||
|
||||
ipBlockParser() {
|
||||
|
Loading…
Reference in New Issue
Block a user