1
0
mirror of https://github.com/tomav/docker-mailserver.git synced 2024-06-26 00:59:32 +02:00
docker-mailserver/config/fail2ban-jail.cf

22 lines
659 B
CFEngine3
Raw Normal View History

2016-06-03 01:22:03 +02:00
[DEFAULT]
# "bantime" is the number of seconds that a host is banned.
2021-04-11 17:33:39 +02:00
#bantime = 10m
2016-06-03 01:22:03 +02:00
# A host is banned if it has generated "maxretry" during the last "findtime"
# seconds.
2021-04-11 17:33:39 +02:00
#findtime = 10m
2016-06-03 01:22:03 +02:00
# "maxretry" is the number of failures before a host get banned.
2021-04-11 17:33:39 +02:00
#maxretry = 5
2021-04-20 08:50:24 +02:00
# "ignoreip" can be a list of IP addresses, CIDR masks or DNS hosts. Fail2ban
# will not ban a host which matches an address in this list. Several addresses
# can be defined using space (and/or comma) separator.
#ignoreip = 127.0.0.1/8
# Default ban action
# iptables-multiport: block IP only on affected port
# iptables-allports: block IP on all ports
#banaction = iptables-allports