fail2ban vs. logrotate

Mike Wohlgemuth mjw at woogie.net
Tue Oct 25 20:12:35 UTC 2011


On 10/25/2011 11:12 AM, Mikkel L. Ellertson wrote:
> It looks like you would have to modify the syslog logrotate script
> and add a second command in the postrotate section after it restarts
> syslogd. Does fail2ban accept a SIGHUP to close and reopen the log file?
>
>
That was my first thought, but I don't see any way to get fail2ban to 
reopen the log file without also forgetting the current ban list.

Thanks
Mike


More information about the users mailing list