From: Arthur D. <mis...@bl...> - 2009-08-16 16:54:28
|
On Sun, 2009-08-16 at 10:59 -0300, Arturo 'Buanzo' Busleiman wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Arthur Dent wrote: > > If I have to hack the init script can someone give me some pointers > > please? > > analyze along the lines of iptables-save and iptables-restore scripts... of course, don't use them > as is, cause they'd save the status of the whole firewall... just some pointers/ideas. > > If I had write access to the repository maybe I could check in those ideas (plus the > fail2ban-cluster I mentioned a couple of times). > Well thanks for the idea. I've looked into iptables-save and I guess I could - with a bit of an effort - write a script perhaps with grep and sed that extracts the relevant IP information, but what I'm missing is the timeframe information. If an IP is due to be unbanned in, say, three days time how can I see that from the output of iptables-save? Where does fail2ban save its information? Thanks... Mark |