net/upnp: miniupnpd >= 2.3.10 exits if the STUN server lacks RFC 5780; help text names one that fails
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 82/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- php
- Ambito
- documentation
Direzione di ricerca
Trova il testo della guida della pagina delle impostazioni UPnP IGD e PCP e le note di rilascio di os-upnp menzionate nell’issue. Confronta i server STUN elencati con i risultati di compatibilità forniti e chiarisci che il server configurato deve supportare RFC 5780. Il lavoro è completato quando il testo della guida elenca solo server compatibili e le note di rilascio avvertono che le configurazioni meno recenti potrebbero richiedere un cambio di server.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- PHP
- Stelle
- 1.2k
- Fork
- 917
- Merge medio
- 1g 15h
- PR unite (30g)
- 20
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di opnsense/plugins
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
q-feeds-connector: "error in configd communication" every update when the Unbound DNSBL rebuild takes longer than 120sForse già presa @mhatipog l’ha presa 2 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
mail/postfix: add options to disable VRFY and restrict ETRNForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di opnsense/plugins
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
mailcow/mailcow-dockerized#7677 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
a11y
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
-
wpvc
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
10up/ElasticPressLabs#254 ·
I maintainer di solito rispondono entro 1 giorno
-
🧑💻 tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
guibranco/gstraccini-bot-service#1206 ·
I maintainer di solito rispondono entro 1 giorno