[Netfilter] Log matching string instead of regex
This commit is contained in:
parent
15bf470b5c
commit
731f5cb354
@ -298,7 +298,7 @@ def watch():
|
||||
ip = ipaddress.ip_address(addr)
|
||||
if ip.is_private or ip.is_loopback:
|
||||
continue
|
||||
logWarn('%s matched rule id %d (regex: %s)' % (addr, rule_id, rule_regex))
|
||||
logWarn('%s matched rule id %d (%s)' % (addr, rule_id, item['data']))
|
||||
ban(addr)
|
||||
|
||||
def snat4(snat_target):
|
||||
|
@ -371,7 +371,7 @@ services:
|
||||
- acme
|
||||
|
||||
netfilter-mailcow:
|
||||
image: mailcow/netfilter:1.33
|
||||
image: mailcow/netfilter:1.34
|
||||
stop_grace_period: 30s
|
||||
depends_on:
|
||||
- dovecot-mailcow
|
||||
|
Loading…
Reference in New Issue
Block a user