2
0
Эх сурвалжийг харах

[Netfilter] Log matching string instead of regex

andryyy 5 жил өмнө
parent
commit
731f5cb354

+ 1 - 1
data/Dockerfiles/netfilter/server.py

@@ -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):

+ 1 - 1
docker-compose.yml

@@ -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