mirror of https://github.com/fail2ban/fail2ban
BF: blocktype must be defined within [Init] -- adding [Init] section. Close #232
parent
725d666ee6
commit
89e06bba15
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue