You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-08 23:06:49 +02:00
Fail2Ban block behaviour (#1914)
* new default: block IP on all ports * introduce FAIL2BAN_BLOCKTYPE * fix test * tests added * test added * test blocktype drop * merged two tests
This commit is contained in:
@ -9,3 +9,8 @@ findtime = 321
|
||||
|
||||
# "maxretry" is the number of failures before a host get banned.
|
||||
maxretry = 2
|
||||
|
||||
# Default ban action
|
||||
# iptables-multiport: block IP only on affected port
|
||||
# iptables-allports: block IP on all ports
|
||||
banaction = iptables-multiport
|
||||
|
Reference in New Issue
Block a user