Windows client tries to connect to Pangolin client tunnel port over IPv6 on an IPv4-only network
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 56/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go, networking
- Lĩnh vực
- desktop, networking
Hướng nghiên cứu
Start by tracing the Windows client’s DNS resolution and UDP hole-punch setup, using the log’s udp4 write failure to locate the relevant code and tests. Check how resolved A and AAAA records are selected for the active network family. Done means the IPv4-only client uses an IPv4 address for the tunnel connection; add or update coverage for dual-stack DNS results.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Describe the Bug
The clients fails to connect to the self-hosted pangolin server on an IPv4 only network, likely because the first record returned is the AAAA record. The Pangolin server is running dual-stack. The connection works from other dual-stack networks (IPv6 only untested, but does not seem relevant here as that is the resolved address). both A and AAAA records exist and resolve:
The client does seem to be aware that it is running IPv4 only (udp4) but should only adhere to the A record in that case.
The relevant lines from the client log:
2026-11-12 12:15:09.000 [INFO] Starting hole punch for 1 exit nodes
2026-11-12 12:15:09.000 [WARN] Failed to send initial hole punch to pangolin.my.domain: failed to write to UDP: write udp4 0.0.0.0:49388->[<PangolinIPv6IP>]:21820: address <PangolinIPv6IP>: non-IPv4 address
Full client log file from a connection attempt:
pangolin-log-2026-11-12T121549-redacted.txt
Environment
- OS Type & Version: Windows 11
- Pangolin Version: 1.26.0
- Edition (Community or Enterprise): Enterprise
- Gerbil Version: 1.6.0
- Traefik Version: 3.7.18
- Newt Version: 1.19.1
- Client Version: 0.16.0
To Reproduce
Install client on a Windows 11 machine on an IPv4-only network (no v6 NAT solutions in place).
Connect to a dual stack server where the first resolved record is the AAAA record.
AI Disclosure
No AI used in writing this bug report.
Expected Behavior
Client identifies the type of network it is on (IPv4, IPv6 or dual-stack) and resolves the correct DNS record type for it's network type.
- Ngôn ngữ chính
- Go
- Star
- 26
- Fork
- 10
- Merge trung bình
- 5 giờ 49 phút
- Pull request đã merge (30 ngày)
- 12
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 fosrl/windows-linux
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
fosrl/windows-linux#91 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs investigating
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 40/100
fosrl/windows-linux#90 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Identical PCs may be merged into one device when using the same loginCó thể đã có người làm @oschwartz10612 đã nhận 3 ngày trước. Đang mởbug needs investigating
fosrl/windows-linux#89 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
fosrl/windows-linux#84 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Windows creates a new network connection/interface on every connectCó thể làm lại được @oschwartz10612 đã nhận 201 ngày trước và không có pull request nào đang mở. Đang mởbug
fosrl/windows-linux#37 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của fosrl/windows-linux
Issue tương tự
-
bug Web API
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/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 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
kubevela/terraform-controller#423 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/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 64/100
kubernetes-sigs/kubebuilder#6187 ·
Maintainer thường phản hồi trong vòng 1 ngày