Re: [Fail2ban-users] Virtual hosts rotatelogs & Fail2ban

2023-04-10 Thread James Moe via Fail2ban-users
On 2023-04-09 10:22, Endre Paller wrote: > My question is how can I configure fail2ban to always notice the current log > files? > I use a symbolic link as the log file name for the jail. A Cron job is run whenever the new file is due to change. In my case that is once per day; for you that wo

Re: [Fail2ban-users] Virtual hosts rotatelogs & Fail2ban

2023-04-10 Thread maillist . fail2ban
Am 10.04.2023 um 10:06 schrieb Endre Paller: I didn't fully understand the role of error.log.1 in your answer, could you please explain in more detail? Hi, sorry first. I'm native german, my english tongue is limited. the difference is only small. Usualy fail2ban use a findtime of 600s and

Re: [Fail2ban-users] Virtual hosts rotatelogs & Fail2ban

2023-04-09 Thread maillist . fail2ban
Am 09.04.2023 um 19:22 schrieb Endre Paller: Hello, On my Debian/Apache server, the access and error logs of the virtual hosts rotate. New log files are started every half hour. The setting is as follows: ErrorLog "|/bin/rotatelogs /var/../_log/_apache_log/error-%Y-%m-%d-%H-%M-%S.log 1800

[Fail2ban-users] Virtual hosts rotatelogs & Fail2ban

2023-04-09 Thread Endre Paller
Hello, On my Debian/Apache server, the access and error logs of the virtual hosts rotate. New log files are started every half hour. The setting is as follows: ErrorLog "|/bin/rotatelogs /var/../_log/_apache_log/error-%Y-%m-%d-%H-%M-%S.log 1800" CustomLog "|/bin/rotatelogs /var/.../_log/_apache_l