mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2026-11-29 15:35:51 +01:00
I think a week is excessive and it might catch the wrong people now and then which would be quite frustrating.
22 lines
729 B
YAML
22 lines
729 B
YAML
# by default only the sshd jail is enabled
|
|
# override this variable in a host/group file to enable additional jails
|
|
fail2ban_jails:
|
|
sshd: true
|
|
postfix: false
|
|
dovecot: false
|
|
nginx_limit_req: false
|
|
|
|
# use variables for these directives so they can be overridden at a host or
|
|
# group level as required. note that there cannot be a space between the
|
|
# integer and the unit (eg "15min" == good, "15 min" == bad).
|
|
# refer to `man jail.conf`
|
|
fail2ban_findtime: 15min
|
|
fail2ban_bantime: 1day
|
|
fail2ban_maxretry: 5
|
|
fail2ban_nginx_limit_req_findtime: 1sec
|
|
fail2ban_nginx_limit_req_bantime: 1day
|
|
fail2ban_nginx_limit_req_maxretry: 1
|
|
fail2ban_nginx_limit_req_bantime_increment: true
|
|
fail2ban_nginx_limit_req_ignore_zones:
|
|
- rsslimit
|