[Fail2ban-users] custom filter and action variables

2021-04-14 Thread maillist . fail2ban
na...@otenet.gr wrote: > but I want on action beside the ban ip, to send also corresponding log line i've made something looks alike. However, all bans are recorded in /var/lib/fail2ban/fail2ban.sqlite3 try sqlite3 /var/lib/fail2ban/fail2ban.sqlite3 "SELECT * FROM bans;" timestamp is in field

Re: [Fail2ban-users] "Already banned" makes no sense

2021-07-13 Thread maillist . fail2ban
Hi, You are thinking to close by ban people out. I, for myself runing a jail named "info-apache" which triggers on access to the file "robots.txt". action isn't to ban out these ip's, there f2b only sending a mail using some greped infos from the log. So i can see which bots, how often take a

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

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