[PR #2565] [CLOSED] fix: modify UDP port assignment to be handled by the OS #3142

Closed
opened 2026-03-16 11:27:38 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/2565
Author: @wosienko
Created: 11/10/2024
Status: Closed

Base: mainHead: patch-1


📝 Commits (4)

  • 5ebeba5 fix: modify UDP port assignment to be handled by the OS
  • c6dc0bc Update udp_stream.rs
  • 277933b feat: added new feature to enable OS-level port assignment
  • ba1a7f9 feat: moved logic from feature to resolver opts

📊 Changes

5 files changed (+60 additions, -27 deletions)

View changed files

📝 crates/proto/src/tests/udp.rs (+1 -0)
📝 crates/proto/src/udp/udp_client_stream.rs (+16 -1)
📝 crates/proto/src/udp/udp_stream.rs (+39 -26)
📝 crates/resolver/src/config.rs (+3 -0)
📝 crates/resolver/src/name_server/connection_provider.rs (+1 -0)

📄 Description

Hi,
In the current implementation of the UDP port assignment, the compiled binary triggers Windows Firewall whenever it requests a particular port directly.
However, should the ephemeral port request be relayed to the OS directly, everything still works, is handled automatically and no firewall is triggered.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hickory-dns/hickory-dns/pull/2565 **Author:** [@wosienko](https://github.com/wosienko) **Created:** 11/10/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `patch-1` --- ### 📝 Commits (4) - [`5ebeba5`](https://github.com/hickory-dns/hickory-dns/commit/5ebeba5f0cb283991d48777849969aaa3f3ad83a) fix: modify UDP port assignment to be handled by the OS - [`c6dc0bc`](https://github.com/hickory-dns/hickory-dns/commit/c6dc0bcaf465e3f22b4635ec65763d25760c682e) Update udp_stream.rs - [`277933b`](https://github.com/hickory-dns/hickory-dns/commit/277933b560e9430908169261d7b7261258645156) feat: added new feature to enable OS-level port assignment - [`ba1a7f9`](https://github.com/hickory-dns/hickory-dns/commit/ba1a7f92cced882d0dcfa66da3c5c3888470d464) feat: moved logic from feature to resolver opts ### 📊 Changes **5 files changed** (+60 additions, -27 deletions) <details> <summary>View changed files</summary> 📝 `crates/proto/src/tests/udp.rs` (+1 -0) 📝 `crates/proto/src/udp/udp_client_stream.rs` (+16 -1) 📝 `crates/proto/src/udp/udp_stream.rs` (+39 -26) 📝 `crates/resolver/src/config.rs` (+3 -0) 📝 `crates/resolver/src/name_server/connection_provider.rs` (+1 -0) </details> ### 📄 Description Hi, In the current implementation of the UDP port assignment, the compiled binary triggers Windows Firewall whenever it requests a particular port directly. However, should the ephemeral port request be relayed to the OS directly, everything still works, is handled automatically and no firewall is triggered. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:27:38 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#3142
No description provided.