On 12 April 2017 at 13:24, Karsten Fischer <m...@karsten-f.de> wrote:
> Thanks to all who helped me. After I installed rsyslogd, fail2ban works
> fine!
>
Off topic, but apropos rsyslog I have found this setting (in
/etc/rsyslog.conf) very helpful, it changes log datetime stamping to
yyyy-mm-dd hh:mm:ss, and it works fine with fail2ban:
# comment out the standard format line
#$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
$template
CustomFormat,"%timegenerated:::date-year%-%timegenerated:::date-month%-%timegenerated:::date-day%
%timegenerated:
::date-hour%:%timegenerated:::date-minute%:%timegenerated:::date-second%
%HOSTNAME% %syslogtag%%msg%\n"
$ActionFileDefaultTemplate CustomFormat
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users