BF: blocktype must be defined within [Init] -- adding [Init] section. Close #232

pull/234/head
Yaroslav Halchenko 2013-05-24 11:15:46 -04:00
parent 725d666ee6
commit 89e06bba15
3 changed files with 8 additions and 1 deletions

View File

@ -10,7 +10,10 @@ Fail2Ban (version 0.8.9.dev) 2013/??/??
ver. 0.8.10 (2013/XX/XXX) - NOT-YET-RELEASED
-----------
- Fixes
- Fixes:
Yaroslav Halchenko
* action.d/{route,shorewall}.conf - blocktype must be defined
within [Init]. Closes gh-232
- New Features
- Enhancements

View File

@ -18,6 +18,8 @@
actionban = ip route add <blocktype> <ip>
actionunban = ip route del <blocktype> <ip>
[Init]
# Option: blocktype
# Note: Type can be blackhole, unreachable and prohibit. Unreachable and prohibit correspond to the ICMP reject messages.
# Values: STRING

View File

@ -48,6 +48,8 @@ actionban = shorewall <blocktype> <ip>
#
actionunban = shorewall allow <ip>
[Init]
# 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