Corrupted fail2ban banip database..?

NethServer Version: 7.3
Module: fail2ban

My fail2ban banned-IP database seems to be corrupted… the recidive infor showed that I have 15 banned IPs… but the list showed more than 15 IPs… and when I tried to use the command fail2ban-unban IP … to unban an IP, the command line can’t find the banned IP, even as displayed by the command fail2ba-listban.
Where can I find the fail2ban-banips and fix the problem… is it possible to flush all the BANIPs…to clean up the database ? Thanks…

: Update ---- My Mistake — Problem is not from Fail2ban Module… seems like the ban-ips are in IPTables… therefore nothing to do with the fail2ban… I’d investigate further…

signal-event nethserver-fail2ban-update should restart fail2ban and erase the database

Thnx… it did work for the most of the JAILS except the Recidive JAIL…at any case, those IPs still listed are consistent spammers and hackers… maybe I’d just leave them on the database…
Thanks again…

See below the fail2ban report…

recidive Jail enabled
- Currently banned: 15 - Total banned: 15
- Banned IP: 103.27.239.20 113.121.251.206 141.105.65.0/16 173.224.121.57 187.5.141.179 199.180.115.113 205.147.98.0/16 209.126.126.233 45.58.134.35 45.58.135.0/16 45.58.135.181 45.58.135.185 58.51.133.0/16 58.51.133.122 62.109.10.0/16

Notice the recidive list showing 15 banIPs… but even all the other JAILS lists are empty I have this list displayed: More banIPs than the recidive list

List of all banned IP:
Shorewall 5.0.14.1 Chain dynamic at xxx.xxx.xxxx - Fri Oct 6 17:52:14 PDT 2017

Counters reset Thu Oct 5 13:40:46 PDT 2017

Chain dynamic (5 references)
pkts bytes target prot opt in out source destination
0 0 DROP all – * * 103.5.62.123 0.0.0.0/0
0 0 DROP all – * * 111.181.64.71 0.0.0.0/0
0 0 DROP all – * * 114.237.12.138 0.0.0.0/0
0 0 DROP all – * * 154.16.138.25 0.0.0.0/0
0 0 DROP all – * * 156.67.106.248 0.0.0.0/0
0 0 DROP all – * * 162.144.206.206 0.0.0.0/0
0 0 DROP all – * * 162.144.207.6 0.0.0.0/0
0 0 DROP all – * * 168.235.81.36 0.0.0.0/0
0 0 DROP all – * * 171.112.167.46 0.0.0.0/0
0 0 DROP all – * * 171.112.170.220 0.0.0.0/0
0 0 DROP all – * * 176.215.3.166 0.0.0.0/0
0 0 DROP all – * * 178.32.68.69 0.0.0.0/0
0 0 DROP all – * * 180.115.164.134 0.0.0.0/0
0 0 DROP all – * * 180.141.100.95 0.0.0.0/0
0 0 DROP all – * * 190.128.186.98 0.0.0.0/0
0 0 DROP all – * * 193.28.86.47 0.0.0.0/0
0 0 DROP all – * * 195.5.49.49 0.0.0.0/0
0 0 DROP all – * * 27.16.114.157 0.0.0.0/0
0 0 DROP all – * * 27.16.25.142 0.0.0.0/0
0 0 DROP all – * * 27.16.25.180 0.0.0.0/0
0 0 DROP all – * * 27.16.25.206 0.0.0.0/0
0 0 DROP all – * * 27.16.26.165 0.0.0.0/0
0 0 DROP all – * * 27.16.95.199 0.0.0.0/0
0 0 DROP all – * * 41.204.40.210 0.0.0.0/0
0 0 DROP all – * * 46.45.15.160 0.0.0.0/0
0 0 DROP all – * * 58.50.1.14 0.0.0.0/0
0 0 DROP all – * * 58.51.132.223 0.0.0.0/0
0 0 DROP all – * * 58.51.135.124 0.0.0.0/0
0 0 DROP all – * * 58.55.192.131 0.0.0.0/0
0 0 DROP all – * * 58.55.206.207 0.0.0.0/0
0 0 DROP all – * * 58.55.212.175 0.0.0.0/0
0 0 DROP all – * * 59.63.248.200 0.0.0.0/0
0 0 DROP all – * * 60.169.114.102 0.0.0.0/0
0 0 DROP all – * * 62.106.101.103 0.0.0.0/0
0 0 DROP all – * * 69.164.215.49 0.0.0.0/0
5 192 DROP all – * * 80.82.77.139 0.0.0.0/0
0 0 DROP all – * * 81.171.26.140 0.0.0.0/0
0 0 DROP all – * * 81.171.26.155 0.0.0.0/0
0 0 DROP all – * * 85.153.100.135 0.0.0.0/0
150 9000 DROP all – * * 85.153.100.144 0.0.0.0/0
0 0 DROP all – * * 85.153.100.146 0.0.0.0/0
0 0 DROP all – * * 89.163.243.155 0.0.0.0/0
0 0 DROP all – * * 89.163.247.47 0.0.0.0/0
0 0 DROP all – * * 89.163.249.137 0.0.0.0/0
0 0 DROP all – * * 91.192.173.234 0.0.0.0/0
0 0 DROP all – * * 111.176.30.232 0.0.0.0/0
0 0 DROP all – * * 157.0.9.77 0.0.0.0/0
0 0 DROP all – * * 171.43.13.157 0.0.0.0/0
0 0 DROP all – * * 27.16.94.238 0.0.0.0/0
0 0 DROP all – * * 27.218.94.2 0.0.0.0/0
4 152 DROP all – * * 80.82.77.33 0.0.0.0/0
0 0 DROP all – * * 103.27.239.20 0.0.0.0/0
0 0 DROP all – * * 113.121.251.206 0.0.0.0/0
0 0 DROP all – * * 141.105.0.0/16 0.0.0.0/0
0 0 DROP all – * * 173.224.121.57 0.0.0.0/0
0 0 DROP all – * * 187.5.141.179 0.0.0.0/0
0 0 DROP all – * * 199.180.115.113 0.0.0.0/0
0 0 DROP all – * * 205.147.0.0/16 0.0.0.0/0
0 0 DROP all – * * 209.126.126.233 0.0.0.0/0
0 0 DROP all – * * 45.58.134.35 0.0.0.0/0
0 0 DROP all – * * 45.58.0.0/16 0.0.0.0/0
0 0 DROP all – * * 45.58.135.181 0.0.0.0/0
0 0 DROP all – * * 45.58.135.185 0.0.0.0/0
0 0 DROP all – * * 58.51.0.0/16 0.0.0.0/0
0 0 DROP all – * * 58.51.133.122 0.0.0.0/0
0 0 DROP all – * * 62.109.0.0/16 0.0.0.0/0