diff options
author | Sergey G. Brester <serg.brester@sebres.de> | 2020-12-29 15:30:32 +0100 |
---|---|---|
committer | Duncan Bellamy <dunk@denkimushi.com> | 2023-03-08 09:17:13 +0000 |
commit | d46ec3a5550daabcf040cac65ff71b5721d51333 (patch) | |
tree | 9d5765ae29e25b2cd30054ae539f2a9e989bc9ac | |
parent | 5781675a7d8a8b9c48074d68ab9acd5964fc2368 (diff) | |
download | fail2ban-d46ec3a5550daabcf040cac65ff71b5721d51333.tar.gz |
add jail boundary to flush command for more precise targeting of jail (if some name may be equal to prefix of other name)
-rw-r--r-- | config/action.d/mikrotik.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/action.d/mikrotik.conf b/config/action.d/mikrotik.conf index 300fde20..96262587 100644 --- a/config/action.d/mikrotik.conf +++ b/config/action.d/mikrotik.conf @@ -48,7 +48,7 @@ actionstart = actionstop = %(actionflush)s -actionflush = %(mtikcommand)s "/ip firewall address-list remove [find list=\"%(mtiklistname)s\" comment~\"%(startcomment)s*\"]" +actionflush = %(mtikcommand)s "/ip firewall address-list remove [find list=\"%(mtiklistname)s\" comment~\"%(startcomment)s-*\"]" actioncheck = |