2016-06-04 02:46:33 +02:00
|
|
|
[DEFAULT]
|
|
|
|
|
|
|
|
# "bantime" is the number of seconds that a host is banned.
|
|
|
|
bantime = 1234
|
|
|
|
|
|
|
|
# A host is banned if it has generated "maxretry" during the last "findtime"
|
|
|
|
# seconds.
|
|
|
|
findtime = 321
|
|
|
|
|
|
|
|
# "maxretry" is the number of failures before a host get banned.
|
|
|
|
maxretry = 2
|
2021-04-18 12:55:43 +02:00
|
|
|
|
|
|
|
# Default ban action
|
2022-04-05 15:13:59 +02:00
|
|
|
# nftables-multiport: block IP only on affected port
|
|
|
|
# nftables-allports: block IP on all ports
|
|
|
|
banaction = nftables-multiport
|