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
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
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
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