#! /bin/sh /usr/share/dpatch/dpatch-run ## 00_mail-whois-lines.dpatch by Yaroslav Halchenko ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: New action which mails not only whois but the result of grep using the ## DP: abuser IP over the log files @DPATCH@ diff -urNad trunk~/config/action.d/mail-whois-lines.conf trunk/config/action.d/mail-whois-lines.conf --- trunk~/config/action.d/mail-whois-lines.conf 2007-08-14 19:12:48.000000000 -0400 +++ trunk/config/action.d/mail-whois-lines.conf 2007-08-14 19:24:17.000000000 -0400 @@ -7,7 +7,7 @@ [Definition] -# Option: fwstart +# Option: actionstart # Notes.: command executed once at the start of Fail2Ban. # Values: CMD # @@ -16,7 +16,7 @@ Regards,\n Fail2Ban"|mail -s "[Fail2Ban] : started" -# Option: fwend +# Option: actionstop # Notes.: command executed once at the end of Fail2Ban # Values: CMD # @@ -25,13 +25,13 @@ Regards,\n Fail2Ban"|mail -s "[Fail2Ban] : stopped" -# Option: fwcheck -# Notes.: command executed once before each fwban command +# Option: actioncheck +# Notes.: command executed once before each actionban command # Values: CMD # actioncheck = -# Option: fwban +# Option: actionban # Notes.: command executed when banning an IP. Take care that the # command is executed with Fail2Ban user rights. # Tags: IP address @@ -50,7 +50,7 @@ Regards,\n Fail2Ban"|mail -s "[Fail2Ban] : banned " -# Option: fwunban +# Option: actionunban # Notes.: command executed when unbanning an IP. Take care that the # command is executed with Fail2Ban user rights. # Tags: IP address