This commit is contained in:
Your Name 2024-09-25 13:52:17 -06:00
parent 733f2aeaee
commit ed51b56bb9

View File

@ -34,7 +34,6 @@ I recommend keeping the ```NGINX_ACCESS``` log in /tmp mounted via TMPFS to redu
### Add Detection by the Minute via Cron
```
*/1 * * * * bash /opt/firewall/firewall.sh attacker-protection
*/5 * * * * bash /opt/firewall/firewall.sh forgive
00 00 * * * bash /opt/firewall/firewall.sh export-db
```
Per the above, new attacks are searched every minute and temp blocks are forgiven every 5 minutes. The Redis DB is exported at midnight.