Am 01.07.2020 um 16:53 schrieb Yassine Chaouche:
>
> From: Peter Heirich <maillist.fail2ban@ma...> - 2020-07-01 14:22:19
>
>> try command
>>
>> sqlite3 /var/lib/fail2ban/fail2ban.sqlite3 "SELECT * FROM bans WHERE
>> jail='recidive';"
>
> I don't have that file in /var/lib/. Also, I can't find any reference
> to sqlite or database in the config file.
>
> root@messagerie[10.10.10.19] /var # egrep -i '(sqlite|database)'
> /etc/fail2ban/fail2ban.conf
>
> Maybe my version of f2b is too old.
>

my oldest one is 0.9.6 ( comes with plesk onyx ), newest one 0.11.2-dev.

Since 0.10.x IPv6 is possible, so i've upgraded, except a single machine
running plesk. because plesk fails during upgrade of plesk itself

However the correct way to find database is the command:

fail2ban-client get dbfile

it is usualy configured via a dbfile= option in fail2ban.conf


However, whats about ipset list  or iptables -vn -L ?


regards
Peter
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to