]> git.proxmox.com Git - pve-firewall.git/commit - src/PVE/Firewall.pm
fix iptables-restore failing if icmp-type value > 255
authorMira Limbeck <m.limbeck@proxmox.com>
Wed, 29 Apr 2020 13:45:23 +0000 (15:45 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 4 May 2020 10:08:59 +0000 (12:08 +0200)
commitbe99c6a0e95108bd9fe84b3c238e216ed2b31e64
treed9242f5710a7b512ffb125d07c13b4ae2972efcc
parent1c49d333d7fb0a4e64dd904015aaf6fbf3b08d08
fix iptables-restore failing if icmp-type value > 255

This has to be done in both icmp and icmpv6 cases. Currently if
'ipv6-icmp' is set via the GUI ('icmpv6' is not available there) there
is no icmp-type handling. As this is meant to fix the iptables-restore
failure if an icmp-type > 255 is specified, no ipv6-icmp handling is
introduced.

These error messages are not logged as warnings are ignored. To get
these messages you have to run pve-firewall compile and look at the
output.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
src/PVE/Firewall.pm