summaryrefslogtreecommitdiff
path: root/config/action.d/shorewall.conf
diff options
context:
space:
mode:
authorDaniel Black <grooverdan@users.sourceforge.net>2013-05-05 15:43:18 +1000
committerDaniel Black <grooverdan@users.sourceforge.net>2013-05-05 15:43:18 +1000
commit3b4a7b7926234fce415372d3d5b1d5ba43e5c4a5 (patch)
tree6c756b4fbdce6c45101dc24f6f4028f0e4f971f7 /config/action.d/shorewall.conf
parent617fe6cb02d387c9eabe22267794c4eb7b3147f9 (diff)
downloadfail2ban-3b4a7b7926234fce415372d3d5b1d5ba43e5c4a5.tar.gz
ENH: add blocktype to all relevant actions. Also default the rejection to a ICMP reject rather than a drop
Diffstat (limited to 'config/action.d/shorewall.conf')
-rw-r--r--config/action.d/shorewall.conf8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/action.d/shorewall.conf b/config/action.d/shorewall.conf
index aca3a256..7e0cee25 100644
--- a/config/action.d/shorewall.conf
+++ b/config/action.d/shorewall.conf
@@ -39,7 +39,7 @@ actioncheck =
# Tags: See jail.conf(5) man page
# Values: CMD
#
-actionban = shorewall drop <ip>
+actionban = shorewall <blocktype> <ip>
# Option: actionunban
# Notes.: command executed when unbanning an IP. Take care that the
@@ -48,3 +48,9 @@ actionban = shorewall drop <ip>
# Values: CMD
#
actionunban = shorewall allow <ip>
+
+# Option: blocktype
+# Note: This is what the action does with rules.
+# See man page of shorewall for options that include drop, logdrop, reject, or logreject
+# Values: STRING
+blocktype = reject