ops/etc/fail2ban/jail.d/envs.conf

40 lines
856 B
Plaintext

#
# Fail2ban config
#
[DEFAULT]
# "ignoreip" can be an IP address, a CIDR mask or a DNS host. Fail2ban will not
# ban a host which matches an address in this list. Several addresses can be
# defined using space separator.
ignoreip = 127.0.0.1/8
# External command that will take an tagged arguments to ignore, e.g. <ip>,
# and return true if the IP is to be ignored. False otherwise.
#
# ignorecommand = /path/to/command <ip>
ignorecommand =
# "bantime" is the number of seconds that a host is banned. (1day)
bantime = 3600
# A host is banned if it has generated "maxretry" during the last "findtime"
# seconds.
findtime = 600
# "maxretry" is the number of failures before a host get banned.
maxretry = 5
#
# enabled modules
#
# ssh enabled by default config
#[sshd]
#enabled = true
[pam-generic]
enabled = true
[nginx-http-auth]
enabled = true