[pve-devel] [PATCH proxmox-ve-rs 2/3] fix #6108: firewall macros: Add missing ICMPv6 statements

Stefan Hanreich s.hanreich at proxmox.com
Tue Feb 4 10:57:32 CET 2025


Some macros only contained rules for ICMP echo requests, but not their
ICMPv6 counterparts. Add them, so they work properly with IPv6 setups.

Signed-off-by: Stefan Hanreich <s.hanreich at proxmox.com>
---
 proxmox-ve-config/resources/macros.json | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/proxmox-ve-config/resources/macros.json b/proxmox-ve-config/resources/macros.json
index 37032c0..f90fb38 100644
--- a/proxmox-ve-config/resources/macros.json
+++ b/proxmox-ve-config/resources/macros.json
@@ -579,6 +579,10 @@
       {
         "icmp-type": "echo-request",
         "proto": "icmp"
+      },
+      {
+        "icmp-type": "echo-request",
+        "proto": "icmpv6"
       }
     ],
     "desc": "ICMP echo request"
@@ -858,6 +862,10 @@
       {
         "icmp-type": "echo-request",
         "proto": "icmp"
+      },
+      {
+        "icmp-type": "echo-request",
+        "proto": "icmpv6"
       }
     ],
     "desc": "Traceroute (for up to 30 hops) traffic"
-- 
2.39.5




More information about the pve-devel mailing list