The main entry point notified a restart. A restart stops every jail, which flushes its bans out of the firewall until they are restored from Fail2Ban's database when the jail starts again, and forgets failures counted toward maxretry. A reload applies the new settings to the running jails. service_jail already reloads. The Restart Fail2Ban handler is removed: nothing notifies it any more, and a handler name is not part of the role's interface (#257). A new side_effect.yml bans an address, records the daemon's PID and rewrites jail.local; verify asserts the new maxretry is active, the ban is in force and the PID is unchanged (the PID is what separates a reload from a restart, since bans are restored from the database). Assisted-by: Claude Code
8 lines
496 B
YAML
8 lines
496 B
YAML
---
|
|
minor_changes:
|
|
- >-
|
|
fail2ban - the main entry point now reloads Fail2Ban when ``jail.local`` changes instead of restarting it, as ``service_jail``
|
|
already did. A restart stops every jail, which flushes its bans out of the firewall until they are restored from Fail2Ban's
|
|
database, and forgets failures counted toward ``maxretry``; a reload applies the new settings to the running jails. The
|
|
``Restart Fail2Ban`` handler is removed: nothing in the role notifies it any more.
|