all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH firewall 1/1] firewall: set default value of NDP to 1 for nodes and guests
@ 2025-11-11 10:25 Michael Köppl
  2025-11-11 10:57 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Köppl @ 2025-11-11 10:25 UTC (permalink / raw)
  To: pve-devel

The default value of 0 is incorrect, as by default, NDP is enabled for
both iptables and nftables. Change the default value to 1 to reflect
that.

Signed-off-by: Michael Köppl <m.koeppl@proxmox.com>
---
 src/PVE/Firewall.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/Firewall.pm b/src/PVE/Firewall.pm
index ec9c9ae..93f8c34 100644
--- a/src/PVE/Firewall.pm
+++ b/src/PVE/Firewall.pm
@@ -1404,7 +1404,7 @@ our $host_option_properties = {
     ndp => {
         description => "Enable NDP (Neighbor Discovery Protocol).",
         type => 'boolean',
-        default => 0,
+        default => 1,
         optional => 1,
     },
     nf_conntrack_allow_invalid => {
@@ -1475,7 +1475,7 @@ our $vm_option_properties = {
     ndp => {
         description => "Enable NDP (Neighbor Discovery Protocol).",
         type => 'boolean',
-        default => 0,
+        default => 1,
         optional => 1,
     },
     radv => {
-- 
2.47.3



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-11 10:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-11 10:25 [pve-devel] [PATCH firewall 1/1] firewall: set default value of NDP to 1 for nodes and guests Michael Köppl
2025-11-11 10:57 ` [pve-devel] applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal