1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/flyspray/templates/fail2ban.jail.j2
Jelle van der Waa f0012773bb
Deploy a fail2ban to ban register bots
As flyspray has no captcha for registering, we deploy this stop gap
measure to stop bots registering spam accounts.
2020-05-22 22:15:26 +02:00

10 lines
226 B
Django/Jinja

[nginx-flyspray-register]
# bots regsiter 1 account per 10 minutes.
enabled = true
filter = nginx-flyspray-register
logpath = /var/log/nginx/bugs.archlinux.org/access.log
findtime = 14400 # 4 hours
bantime = 1d
maxretry = 20