diff --git a/config/action.d/complain.conf b/config/action.d/complain.conf index 6677ec49..4c2de92b 100644 --- a/config/action.d/complain.conf +++ b/config/action.d/complain.conf @@ -52,10 +52,7 @@ actioncheck = # Option: actionban # Notes.: command executed when banning an IP. Take care that the # command is executed with Fail2Ban user rights. -# Tags: IP address -# number of failures -# unix timestamp of the last failure -# unix timestamp of the ban time +# Tags: See jail.conf(5) man page # Values: CMD # actionban = ADDRESSES=`whois | perl -e 'while () { next if /^changed|@(ripe|apnic)\.net/io; $m += (/abuse|trouble:|report|spam|security/io?3:0); if (/([a-z0-9_\-\.+]+@[a-z0-9\-]+(\.[[a-z0-9\-]+)+)/io) { while (s/([a-z0-9_\-\.+]+@[a-z0-9\-]+(\.[[a-z0-9\-]+)+)//io) { if ($m) { $a{lc($1)}=$m } else { $b{lc($1)}=$m } } $m=0 } else { $m && --$m } } if (%%a) {print join(",",keys(%%a))} else {print join(",",keys(%%b))}'` @@ -67,9 +64,7 @@ actionban = ADDRESSES=`whois | perl -e 'while () { next if /^changed # Option: actionunban # Notes.: command executed when unbanning an IP. Take care that the # command is executed with Fail2Ban user rights. -# Tags: IP address -# unix timestamp of the ban time -# unix timestamp of the unban time +# Tags: See jail.conf(5) man page # Values: CMD # actionunban = diff --git a/config/action.d/dshield.conf b/config/action.d/dshield.conf index c581af1c..151db28f 100644 --- a/config/action.d/dshield.conf +++ b/config/action.d/dshield.conf @@ -54,9 +54,7 @@ actioncheck = # Option: actionban # Notes.: command executed when banning an IP. Take care that the # command is executed with Fail2Ban user rights. -# Tags: IP address -# number of failures -#