[Netfilter] Log matching string instead of regex
parent
15bf470b5c
commit
731f5cb354
|
@ -298,7 +298,7 @@ def watch():
|
||||||
ip = ipaddress.ip_address(addr)
|
ip = ipaddress.ip_address(addr)
|
||||||
if ip.is_private or ip.is_loopback:
|
if ip.is_private or ip.is_loopback:
|
||||||
continue
|
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)
|
ban(addr)
|
||||||
|
|
||||||
def snat4(snat_target):
|
def snat4(snat_target):
|
||||||
|
|
|
@ -371,7 +371,7 @@ services:
|
||||||
- acme
|
- acme
|
||||||
|
|
||||||
netfilter-mailcow:
|
netfilter-mailcow:
|
||||||
image: mailcow/netfilter:1.33
|
image: mailcow/netfilter:1.34
|
||||||
stop_grace_period: 30s
|
stop_grace_period: 30s
|
||||||
depends_on:
|
depends_on:
|
||||||
- dovecot-mailcow
|
- dovecot-mailcow
|
||||||
|
|
Loading…
Reference in New Issue