mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
MRG: resolve conficts in action.d/osx-ipfw design
This commit is contained in:
commit
4face1f3e7
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ actionban = ipfw add <rulenum> set <setnum> <blocktype> log <block> from <ip> to
|
|||
# Tags: <ip> IP address
|
||||
# Values: CMD
|
||||
#
|
||||
actionunban = ipfw delete `ipfw list | sed -n '/^\([0-9]*\) set <setnum> <blocktype> log <block> from <ip> to <dst> ?<port>$/s//\1/p'`
|
||||
actionunban = ipfw delete `ipfw -S list | grep -i 'set <setnum> <blocktype> log <block> from <ip> to <dst>' | awk '{print $1;}'`
|
||||
|
||||
[Init]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue