From 67544d1dd677667c394da6dfb53a120755081144 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Sun, 17 Mar 2013 10:52:49 +1100 Subject: [PATCH] DOC: tags are documented in the jail.conf(5) man page --- config/action.d/complain.conf | 9 ++------- config/action.d/dshield.conf | 9 ++------- config/action.d/dummy.conf | 8 ++------ config/action.d/hostsdeny.conf | 8 ++------ config/action.d/ipfilter.conf | 8 ++------ config/action.d/ipfw.conf | 8 ++------ config/action.d/iptables-allports.conf | 8 ++------ config/action.d/iptables-ipset-proto4.conf | 4 ++-- config/action.d/iptables-ipset-proto6.conf | 4 ++-- config/action.d/iptables-multiport-log.conf | 8 ++------ config/action.d/iptables-multiport.conf | 8 ++------ config/action.d/iptables-new.conf | 8 ++------ config/action.d/iptables-xt_recent-echo.conf | 8 ++------ config/action.d/iptables.conf | 8 ++------ config/action.d/mail-buffered.conf | 8 ++------ config/action.d/mail-whois-lines.conf | 9 ++------- config/action.d/mail-whois.conf | 8 ++------ config/action.d/mail.conf | 8 ++------ config/action.d/mynetwatchman.conf | 8 ++------ config/action.d/sendmail-buffered.conf | 8 ++------ config/action.d/sendmail-whois-lines.conf | 8 ++------ config/action.d/sendmail-whois.conf | 8 ++------ config/action.d/sendmail.conf | 8 ++------ config/action.d/shorewall.conf | 8 ++------ 24 files changed, 48 insertions(+), 139 deletions(-) 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 -#