Re: [Fail2ban-users] Script to dump ban database

2022-05-17 Thread Kenneth Porter
--On Tuesday, May 17, 2022 10:52 AM -0400 Robert Kudyba wrote: Nice script. Couple comments. Thanks. I created it mainly to avoid the per-message emails and get a summary once a day. The reported duration is a hack. Durations are stored per-ban so if you change the duration for a jail, the

[Fail2ban-users] Script to dump ban database

2022-05-16 Thread Kenneth Porter
I cooked this up this weekend to make it easier to review my bans. (I can also use "ipset list" to view the active ones.) For now I'm invoking this daily in /etc/cron.daily. It's clear from comparing the output to what's in