[PR #2403] [MERGED] Add method and test cases to randomize ASCII alpha case in Name labels #3016

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

📋 Pull Request Information

Original PR: https://github.com/hickory-dns/hickory-dns/pull/2403
Author: @marcus0x62
Created: 9/2/2024
Status: Merged
Merged: 9/3/2024
Merged by: @marcus0x62

Base: mainHead: randomize_name_labels


📝 Commits (1)

  • 2e3bc06 Add method and test cases to randomize ASCII alpha case in Name labels

📊 Changes

1 file changed (+143 additions, -0 deletions)

View changed files

📝 crates/proto/src/rr/domain/name.rs (+143 -0)

📄 Description

As mentioned in issue #2390, it would be useful to support randomizing the case of ASCII alpha characters in request names. This PR adds a method to the Name class to facilitate this, as well as tests to ensure a) proper behavior of the transformation process (i.e., that it doesn't manipulate non-alpha characters) and b) that the adjustments are and continue to be reasonably random.


🔄 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/2403 **Author:** [@marcus0x62](https://github.com/marcus0x62) **Created:** 9/2/2024 **Status:** ✅ Merged **Merged:** 9/3/2024 **Merged by:** [@marcus0x62](https://github.com/marcus0x62) **Base:** `main` ← **Head:** `randomize_name_labels` --- ### 📝 Commits (1) - [`2e3bc06`](https://github.com/hickory-dns/hickory-dns/commit/2e3bc06bd949f20ede44f3132a59e4a1b06384d2) Add method and test cases to randomize ASCII alpha case in Name labels ### 📊 Changes **1 file changed** (+143 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/proto/src/rr/domain/name.rs` (+143 -0) </details> ### 📄 Description As mentioned in issue #2390, it would be useful to support randomizing the case of ASCII alpha characters in request names. This PR adds a method to the Name class to facilitate this, as well as tests to ensure a) proper behavior of the transformation process (i.e., that it doesn't manipulate non-alpha characters) and b) that the adjustments are and continue to be reasonably random. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-16 11:20: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#3016
No description provided.