You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like this missing space affects systemd backend only (jails monitoring systemd journal).
I'll fix that soon, thanks for info.
FWIW, there is another similar issue with <matches> tag - #3275 (comment)
sebres
changed the title
[BR]: tag <matches>'s value not well formatted
[BR]: tag <matches>'s value not well formatted (systemd journal only)
Jun 2, 2022
Environment:
dnf
The issue:
The value of
<matches>
tag is not well formatted forsshd
service. The value looks like:There should be a space between timestamp and hostname, e.g.:
Steps to reproduce
Install fail2ban.
Create following three files.
Start fail2ban.
Wait until an IP is banned for
sshd
service.View fail2ban.log and we could find that the logs contain message with improper format.
Expected behavior
There should be a space between timestamp and hostname.
Observed behavior
A space is missing between timestamp and hostname.
Any additional information
I have examined that if we modify the
getMatches
function in ticket.py at line 155:then this issue can be fixed, but I am not sure if this edit may cause new problem.
The text was updated successfully, but these errors were encountered: