63 Commits

Author SHA1 Message Date
Franco Fichtner 187246adc4 net/upnp: default to IDGv1 when not yet set 2025-12-03 12:52:53 +01:00
Franco Fichtner 91ebb21622 net/upnp: fix escaping in the file for #5005
* remove pconfig escaping as it is already escaped globally
* change htmlspecialchars() to html_safe()
* protect some spots with html_safe() (being legacy code this is an uphill battle)
* some more style tweaks for readability
2025-12-03 12:33:26 +01:00
Franco Fichtner c9861c1933 net/upnp: status update via https://github.com/opnsense/plugins/pull/5005#issuecomment-3606197018 2025-12-03 12:10:21 +01:00
Franco Fichtner db0943a4a2 net/upnp: safe execution change
shell_safe() is better than raw exec() although we do not have any
dynamic shell arguments to handle.  This call requires a new explode
extension (true parameter) that will be available in 25.7.8
2025-11-17 21:39:54 -05:00
Self-Hosting-Group 458997d163 net/upnp: service improvements - additions (#5005) 2025-11-17 10:40:05 -05:00
Franco Fichtner c1b5dfe2a3 net/upnp: switch from shell_exec() to shell_safe() with automatic trim() 2025-11-16 17:15:50 -05:00
Franco Fichtner 20b507efeb net/upnp: minor transformation as mwexecf_bg() will be removed 2025-11-15 18:46:23 -05:00
Franco Fichtner 466c73a7b3 net/upnp: suggestion from #4629 2025-10-30 12:46:30 +01:00
Franco Fichtner f658f82aa4 net/upnp: suggestion from @Self-Hosting-Group 2025-10-29 16:40:48 +01:00
Franco Fichtner b6db17f7b0 net/miniupnpd: small updates as discussed 2025-10-29 15:02:58 +01:00
Self-Hosting-Group f69ae0ecd9 net/upnp: Service improvements (#4629) 2025-10-29 10:05:50 +01:00
Franco Fichtner 5962dc7c18 net/upnp: switch to mwexecf variants
PR: https://github.com/opnsense/core/issues/9325
2025-10-28 15:24:47 +01:00
Franco Fichtner a9e45bfaa2 net/upnp: unbreak and fix PHP warnings 2024-10-23 09:48:02 +02:00
Kreeblah 6fdf3aad25 net/upnp - Allow for setting arbitrary number of UPnP permissions (#4305) 2024-10-19 13:10:57 +02:00
Franco Fichtner a4cf1cd4f2 net/upnp: remove this note since we will be moving back 2024-09-30 20:26:07 +02:00
Franco Fichtner 57a68f9bba net/upnp: change this back for 25.1 2024-09-30 20:25:36 +02:00
Franco Fichtner c5727814b5 net/upnp: wrap up version 2024-08-26 11:30:31 +02:00
Franco Fichtner 54d5328c6e net/upnp: move to compatible newwanip_map event 2024-08-23 08:42:05 +02:00
Self-Hosting-Group ae04606fa5 net/upnp: Remove Interface column in status, as it shows the WAN 2024-08-20 14:20:43 +02:00
Self-Hosting-Group 19070de8d0 net/upnp: Fix port maps not listed without description (#4103) 2024-08-16 13:37:41 +02:00
Self-Hosting-Group c52839436a net/upnp: Update plugin wording to include PCP as supported (#3769)
and also mention `UPnP IGD` as `UPnP` is probably not specific enough.

Port Control Protocol (PCP) is the successor to NAT-PMP and has similar
protocol concepts and packet formats, but adds IPv6 support.
PCP standard:
https://datatracker.ietf.org/doc/html/rfc6887
https://en.wikipedia.org/wiki/Port_Control_Protocol
NAT-PMP std. (see 9.1 Simplicity - 9.3 for some diff. to UPnP IGD):
https://datatracker.ietf.org/doc/html/rfc6886
2024-01-24 17:20:36 +01:00
Franco Fichtner 8da84037c2 net/upnp: add newwanip hook
This could potentially disrupt operation for no apparent reason
since this wasn't included and asked for for a long time now.

PR: https://forum.opnsense.org/index.php?topic=36912.0
2023-11-24 11:00:20 +01:00
Franco Fichtner 3d4c6735ad net/upnp: fix a typo
PR: https://github.com/opnsense/lang/issues/64
2023-10-23 08:13:47 +02:00
Franco Fichtner f2413b5013 net/upnp: time to stop using get_interface_ip() in plugins
The function is opportunistic and has weird VIP glue which is not
needed in 98% of the code.
2023-09-18 10:00:02 +02:00
Franco Fichtner 289e0c44df net/upnp: back to FreeBSD package on version 2.3.3 2023-06-02 10:39:58 +02:00