net/ndproxy: Disable promiscuous mode forced by port (#4676)

* net/ndproxy: Disable promiscuous mode forced by port

* net/ndproxy: Bump version, add release notes, put variable inside conditional.

* Update net/ndproxy/pkg-descr

Co-authored-by: Franco Fichtner <franco@opnsense.org>

---------

Co-authored-by: Franco Fichtner <franco@opnsense.org>
This commit is contained in:
Monviech
2025-05-06 15:33:47 +02:00
committed by GitHub
co-authored by Franco Fichtner
parent 820bb85d6d
commit d70df18c9d
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
PLUGIN_NAME= ndproxy
PLUGIN_VERSION= 1.0
PLUGIN_VERSION= 1.1
PLUGIN_DEPENDS= ndproxy
PLUGIN_COMMENT= Neighbor Discovery Proxy
PLUGIN_MAINTAINER= cedrik@pischem.com
+4
View File
@@ -3,6 +3,10 @@ Ndproxy is a kernel module that implements IPv6 Neighbor Discovery proxying over
Plugin Changelog
================
1.1
* Promiscuous mode for the Uplink Interface is no longer enabled
1.0
* Initial Release
@@ -2,6 +2,8 @@
{% set generalSettings = helpers.getNodeByTag('OPNsense.ndproxy.general') %}
{% if generalSettings.enabled|default("0") == "1" %}
ndproxy_enable="YES"
{# Always disable promiscuous mode forced by port since it should be controlled via interface settings if needed. #}
ndproxy_promisc_enable="NO"
{% if generalSettings.ndproxy_uplink_interface %}
ndproxy_uplink_interface="{{ helpers.physical_interface(generalSettings.ndproxy_uplink_interface) }}"
{% endif %}