This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
computing:fail2ban [2022/12/21 03:27] – oemb1905 | computing:fail2ban [2024/12/13 16:22] (current) – oemb1905 | ||
---|---|---|---|
Line 63: | Line 63: | ||
fail2ban-client unban --all | fail2ban-client unban --all | ||
- | --- //[[jonathan@haacksnetworking.org|oemb1905]] | + | Another method that does more than individual services, and instead zaps all records: |
+ | |||
+ | sudo systemctl stop fail2ban | ||
+ | sudo truncate -s 0 / | ||
+ | sudo rm / | ||
+ | sudo systemctl restart fail2ban | ||
+ | |||
+ | Systemd log issues. Change the sshd jail as follows | ||
+ | |||
+ | sudo nano / | ||
+ | backend = systemd | ||
+ | #backend = %(sshd_backend)s | ||
+ | |||
+ | Some recommend adding backend = systemd into jail.conf, but I've found that does nothing. The error over ipv6 not being set and using auto can be removed as follows: | ||
+ | |||
+ | sudo nano / | ||
+ | ' | ||
+ | |||
+ | --- //[[alerts@haacksnetworking.org|oemb1905]] |