[PR #1690] [MERGED] sanitize all addresses received by the server before attempting any r… #2516

Closed
opened 2026-03-16 09:50:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/1690
Author: @bluejekyll
Created: 4/10/2022
Status: Merged
Merged: 4/10/2022
Merged by: @bluejekyll

Base: mainHead: sanitize-src-addresses


📝 Commits (2)

  • 4521626 sanitize all addresses received by the server before attempting any response
  • e42929c add sanitize tests for loopback and review cleanup

📊 Changes

1 file changed (+134 additions, -1 deletions)

View changed files

📝 crates/server/src/server/server_future.rs (+134 -1)

📄 Description

This verifies that an address is actually good to receive responses.

It will reject any source address on port 0, or any unspecified address, or broadcast if ipv4.


🔄 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/1690 **Author:** [@bluejekyll](https://github.com/bluejekyll) **Created:** 4/10/2022 **Status:** ✅ Merged **Merged:** 4/10/2022 **Merged by:** [@bluejekyll](https://github.com/bluejekyll) **Base:** `main` ← **Head:** `sanitize-src-addresses` --- ### 📝 Commits (2) - [`4521626`](https://github.com/hickory-dns/hickory-dns/commit/4521626e0eadbdea10a6bf4699c48c2ff6b3ad17) sanitize all addresses received by the server before attempting any response - [`e42929c`](https://github.com/hickory-dns/hickory-dns/commit/e42929c5529aaba29bc0ff9bc4ee6a4d500c069f) add sanitize tests for loopback and review cleanup ### 📊 Changes **1 file changed** (+134 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/server/src/server/server_future.rs` (+134 -1) </details> ### 📄 Description This verifies that an address is actually good to receive responses. It will reject any source address on port 0, or any unspecified address, or broadcast if ipv4. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 09:50:40 +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#2516
No description provided.