maxretry
The fail2ban setting for how many failures an address may make within the findtime window before it is banned.
In more detail
A lower number catches attackers sooner but also bans more real users who mistype a password. It works together with findtime: the failures must fall inside that window to count. Every threshold like this trades missed attacks against false alarms.
Example
maxretry = 5Related terms
- findtime — The fail2ban setting for the time window in which failures are counted; reaching maxretry failures inside it triggers a ban.
- bantime — The fail2ban setting for how long an address stays blocked after it is banned.
- false positive — A check result that claims something is true when it is not, such as a test passing on broken code or a tool flagging correct code.
- false negative — A result that wrongly says "no" when the true answer is "yes".
Taught in
- Defense-in-Depth & Security Control Categories — Cybersecurity Fundamentals, GRC & Cryptography