net/upnp: miniupnpd >= 2.3.10 exits if the STUN server lacks RFC 5780; help text names one that fails
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 82/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- php
- Lĩnh vực
- documentation
Hướng nghiên cứu
Tìm phần trợ giúp trên trang cài đặt UPnP IGD và PCP cùng ghi chú phát hành os-upnp được đề cập trong issue. Đối chiếu các máy chủ STUN được liệt kê với kết quả tương thích đã cung cấp và làm rõ rằng máy chủ được cấu hình phải hỗ trợ RFC 5780. Hoàn tất khi phần trợ giúp chỉ liệt kê các máy chủ tương thích và ghi chú phát hành cảnh báo rằng cấu hình cũ có thể cần đổi máy chủ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- PHP
- Star
- 1.2k
- Fork
- 917
- Merge trung bình
- 1 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 20
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của opnsense/plugins
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
q-feeds-connector: "error in configd communication" every update when the Unbound DNSBL rebuild takes longer than 120sCó thể đã có người làm @mhatipog đã nhận 2 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
-
mail/postfix: add options to disable VRFY and restrict ETRNCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của opnsense/plugins
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
mailcow/mailcow-dockerized#7677 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
a11y
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
-
wpvc
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
10up/ElasticPressLabs#254 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🧑💻 tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
guibranco/gstraccini-bot-service#1206 ·
Maintainer thường phản hồi trong vòng 1 ngày