net/upnp: miniupnpd >= 2.3.10 exits if the STUN server lacks RFC 5780; help text names one that fails
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 82/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- php
- Área
- documentation
Línea de trabajo
Busca el texto de ayuda de la página de configuración de UPnP IGD y PCP, así como las notas de la versión de os-upnp mencionadas en la issue. Comprueba los servidores STUN enumerados frente a los resultados de compatibilidad proporcionados y aclara que el servidor configurado debe admitir RFC 5780. La tarea estará completada cuando el texto de ayuda enumere solo servidores compatibles y las notas de la versión adviertan que las configuraciones antiguas quizá requieran cambiar de servidor.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
- I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- The title contains the plugin to which this issue belongs
Describe the bug
Since miniupnpd 2.3.10 (miniupnp/miniupnp#825, dc4a131d), the daemon accepts only STUN servers that implement RFC 5780 (they must return OTHER-ADDRESS). With any other server it logs STUN server not supported … for every response, then Performing STUN failed. EXITING, and does not start.
os-upnp 1.10 on 26.7.9 ships 2.3.11. A configuration that worked on 2.3.9 with a common public STUN server stops miniupnpd on upgrade; the settings page gives no hint. Widely used public servers fail: stun.l.google.com:19302 and stun.cloudflare.com:3478. One of the two servers named in the page's own help text fails as well: stun.counterpath.com.
Last known working: os-upnp 1.9 / miniupnpd 2.3.9.
To Reproduce
- Services → UPnP IGD & PCP: set STUN server
stun.l.google.com, port19302; save. - Start the service on a 2.3.11 daemon.
- miniupnpd exits (log below).
Checked against each server with 2.3.11's own teststun (built from the port: 2.3.11 + 0f668f1, --disable-pppconn --firewall=pf --libpfctl --vendorcfg --portinuse --leasefile --igd2 --ipv6), on OPNsense 26.1.3 / FreeBSD 14.3:
| STUN server | 2.3.11 |
|---|---|
| stun.l.google.com:19302 | rejected: no OTHER-ADDRESS |
| stun.cloudflare.com:3478 | rejected: no OTHER-ADDRESS |
| stun.counterpath.com:3478 (in the help text) | fails: no usable response |
| stun.3cx.com:3478 (in the help text) | works |
| stun.nextcloud.com:3478 | works |
| stun.sipgate.net:3478 | works |
Expected behavior
- The help text names only servers that work with the shipped daemon (drop
stun.counterpath.com; upstream'sminiupnpd.conflists stun.nextcloud.com, stun.sipgate.net, stun.3cx.com). - The page says the server must support RFC 5780, and the release notes warn that a STUN host set before 1.10 may need changing.
Relevant log files
miniupnpd: STUN server not supported, not returning OTHER-ADDRESS / support CHANGE-REQUEST's required for endpoint-independent (1:1) CGNAT filtering tests per RFC 5780.
miniupnpd: STUN: Performing STUN failed: Device not configured
miniupnpd: Performing STUN failed. EXITING
Additional context
The check is intentional upstream (#825: "For unsupported servers, display an error indicating compatible ones, and then fail"), so the fix belongs in the plugin's guidance rather than the daemon.
Environment
OPNsense 26.1.3 (amd64), miniupnpd 2.3.11 built from opnsense/ports opnsense/miniupnpd at 87223be5; os-upnp 1.10 help text from opnsense/plugins master.
- Lenguaje dominante
- PHP
- Estrellas
- 1.2k
- Forks
- 917
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 20
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de opnsense/plugins
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
q-feeds-connector: "error in configd communication" every update when the Unbound DNSBL rebuild takes longer than 120sPosiblemente ocupada @mhatipog la tomó hace 2 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
mail/postfix: add options to disable VRFY and restrict ETRNPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
Todos los issues de opnsense/plugins
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
mailcow/mailcow-dockerized#7677 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
a11y
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
-
wpvc
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
10up/ElasticPressLabs#254 ·
Los mantenedores suelen responder en 1 día
-
🧑💻 tech-debt
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
guibranco/gstraccini-bot-service#1206 ·
Los mantenedores suelen responder en 1 día