From: Cedric J. <ssh...@te...> - 2011-10-11 10:03:12
|
Hello ! I'm wanting to switch from fail2ban to sshguard, but I see ONE thing missing: hooks. with fail2ban, I was able to record the ban in a postgresql database, and thus getting some stats (which IP was banned, where it comes from, ban per days and so on). Will it be possible to have an option like "--hook /path/to/script", and sshguard passing those kind of arguments to ARGV: IP, port, action (simple ban, unban, black list) This may really be cool, as this will allow anyone to log, or, why not, trigger some firewall stuff, or email, or.... Thanks in advance, and thank you for this nice tool :) Cheers, C. |