How to configure fail2ban with systemd journal?
20
votes
4
answers
43871
views
I've install
fail2ban
on Debian Jessie LXC container, currently it's failing due to:
Starting authentication failure monitor: fail2ban
ERROR No file(s) found for glob /var/log/auth.log
ERROR Failed during configuration: Have not found any log file for ssh jail
There's no syslog
or rsyslog
on the system and thus /var/log/auth.log
is not generated. Is there a way how to tell fail2ban
to use output of journalctl _COMM=sshd
?
Asked by Tombart
(3179 rep)
Mar 8, 2016, 10:40 AM
Last activity: Dec 26, 2023, 01:00 PM
Last activity: Dec 26, 2023, 01:00 PM