[PR #3673] [MERGED] [client] set TLS ServerName for hostname-based QUIC connections #23342

Open
opened 2026-08-05 06:07:06 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3673
Author: @alindt
Created: 4/14/2025
Status: Merged
Merged: 5/5/2025
Merged by: @pappz

Base: mainHead: quic-tls-hostname-fix


📝 Commits (2)

  • 93ca626 fix: set TLS ServerName for hostname-based QUIC connections
  • 93ce649 use default port if port is missing in URL string

📊 Changes

1 file changed (+32 additions, -5 deletions)

View changed files

📝 relay/client/dialer/quic/quic.go (+32 -5)

📄 Description

This sets ServerName in the TLS config when using hostnames to fix the validation.

Potentially fixes #3672

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/netbirdio/netbird/pull/3673 **Author:** [@alindt](https://github.com/alindt) **Created:** 4/14/2025 **Status:** ✅ Merged **Merged:** 5/5/2025 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `main` ← **Head:** `quic-tls-hostname-fix` --- ### 📝 Commits (2) - [`93ca626`](https://github.com/netbirdio/netbird/commit/93ca62616e1ea8d71a78de5e04b4bc3a77dd146f) fix: set TLS ServerName for hostname-based QUIC connections - [`93ce649`](https://github.com/netbirdio/netbird/commit/93ce6495caf6e0fd0ed434d24cb4500673cff719) use default port if port is missing in URL string ### 📊 Changes **1 file changed** (+32 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `relay/client/dialer/quic/quic.go` (+32 -5) </details> ### 📄 Description This sets ServerName in the TLS config when using hostnames to fix the validation. ## Issue ticket number and link Potentially fixes #3672 ## Stack <!-- branch-stack --> ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 06:07:06 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#23342