Added features:
commit2a4be16408eb8e9aad33192ceba8e96b3c4e2725
authorAbel `00z' Camarillo <00z@the00z.org>
Mon, 30 Jun 2008 06:43:14 +0000 (30 01:43 -0500)
committerAbel `00z' Camarillo <00z@the00z.org>
Mon, 30 Jun 2008 06:58:59 +0000 (30 01:58 -0500)
tree628960dc555a8ce087e7df17977a6dbff50c0dfe
parentdd8363b8ef229051afa6c56bf18aa5c327fe062d
Added features:

* Repeated ssh errors parsing:
    Sometimes when the same message appears a lot of times syslog
    simply replace the line next to the first message with a :

    /var/log/messages:

    <month> <day> <hour> <host> sshd[<pid>] Failed password for <USER> from <ip>
    <month> <day> <hour> <host> last message repeated 2 times.

    this fixes stores a hash ref to the previous line that contain the line
    content, a array ref to the IPs to block and its badness, and use it to
    repeat the blocking action

* Fixed typo.
blocksshd