mailcow/data/Dockerfiles/netfilter
Bruno Léon f77c65411d Fix SNAT never being added because of exception
Some firewall rule object (iptc) do not have a parameter
attribute, which results in an exception being triggered,
and the mailcow SNAT rule to never be created.

Firewall rules that trigger such exception are:
- -A POSTROUTING -s 192.168.122.0/24 -d 224.0.0.0/24 -j RETURN

This commit just verify attribute presence, and skip the rule
properly instead of triggering an exception.
2023-02-27 12:04:32 +01:00
..
Dockerfile Update Base Images to Alpine 3.17 2022-12-01 23:02:03 +01:00
server.py Fix SNAT never being added because of exception 2023-02-27 12:04:32 +01:00