fix: fix bug in hostname overlap detection#6332
Merged
arkodg merged 1 commit intoenvoyproxy:mainfrom Jun 18, 2025
rudrakhp:subdomain_overlap_bug
Merged
fix: fix bug in hostname overlap detection#6332arkodg merged 1 commit intoenvoyproxy:mainfrom rudrakhp:subdomain_overlap_bug
arkodg merged 1 commit intoenvoyproxy:mainfrom
rudrakhp:subdomain_overlap_bug
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6332 +/- ##
==========================================
- Coverage 70.67% 70.64% -0.03%
==========================================
Files 220 220
Lines 36954 36959 +5
==========================================
- Hits 26116 26110 -6
- Misses 9304 9312 +8
- Partials 1534 1537 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
zirain
previously approved these changes
Jun 17, 2025
Member
|
need a release note for backport? |
Signed-off-by: Rudrakh Panigrahi <[email protected]>
Member
Author
|
Added release note |
arkodg
approved these changes
Jun 18, 2025
Member
Author
|
/retest |
zirain
approved these changes
Jun 18, 2025
zhaohuabing
pushed a commit
to shawnh2/gateway
that referenced
this pull request
Jul 4, 2025
fix bug in hostname overlap detection Signed-off-by: Rudrakh Panigrahi <[email protected]> (cherry picked from commit e78e268) Signed-off-by: Huabing (Robin) Zhao <[email protected]>
zhaohuabing
added a commit
that referenced
this pull request
Jul 4, 2025
* fix(translator): ext-proc full duplex streamed trailers and validation (#6323) * fix ext proc validation and trailer management for full duplex streamed mode Signed-off-by: Guy Daich <[email protected]> Signed-off-by: shawnh2 <[email protected]> * feat: disable automountServiceAccountToken for proxy and ratelimit (#6364) Signed-off-by: Jeff Davis <[email protected]> * bugfix: make EnvoyPatchPolicy able to replace telemetry cluster (#6367) Signed-off-by: zirain <[email protected]> Signed-off-by: shawnh2 <[email protected]> * feat: add validation of section name for Gateway listener (#6343) * add validation of section name Signed-off-by: kkk777-7 <[email protected]> * update error status reason Signed-off-by: kkk777-7 <[email protected]> * refactor: define as function of validate section name for gateway listener Signed-off-by: kkk777-7 <[email protected]> Signed-off-by: shawnh2 <[email protected]> * fix: add configMap indexers for EEP reconciler (#6369) Signed-off-by: Rudrakh Panigrahi <[email protected]> * fix: use buildEndpointType for access and tracing (#6370) Signed-off-by: zirain <[email protected]> * fix: default accesslog not working (#6441) * fix default accesslog Signed-off-by: zirain <[email protected]> * release notes Signed-off-by: zirain <[email protected]> --------- Signed-off-by: zirain <[email protected]> Signed-off-by: shawnh2 <[email protected]> * chore: fix cve (#6446) * fix cve Signed-off-by: zirain <[email protected]> * lint Signed-off-by: zirain <[email protected]> --------- Signed-off-by: zirain <[email protected]> * fix: Do not set backendRequestTimeout when Retries are set (#6421) * fix: Do not set backendRequestTimeout when Retries are set Signed-off-by: sudipto baral <[email protected]> * fix: update comment Signed-off-by: sudipto baral <[email protected]> --------- Signed-off-by: sudipto baral <[email protected]> * gatewayapi: don't append gwcResource if there's invalid GatewayClass (#6379) * gatewayapi: don't process gloabal resources when acceptedGateways is 0 Signed-off-by: zirain <[email protected]> * update Signed-off-by: zirain <[email protected]> * fix test Signed-off-by: zirain <[email protected]> * don't skip gateways Signed-off-by: zirain <[email protected]> --------- Signed-off-by: zirain <[email protected]> Signed-off-by: shawnh2 <[email protected]> * fix testdata Signed-off-by: shawnh2 <[email protected]> * fix k8s provider controller Signed-off-by: shawnh2 <[email protected]> * fix: retry reconcile on transient errors during reconcile (#6299) * fix: add isTransientError helper to classify retryable errors Introduces isTransientError to detect transient Kubernetes errors and enable proper reconciliation retries. Signed-off-by: Patryk Rostkowski <[email protected]> handle errors from processing BackendRefs Signed-off-by: Huabing (Robin) Zhao <[email protected]> handle errors from processing ConfigMap Signed-off-by: Huabing (Robin) Zhao <[email protected]> * skip invalid GatewayClass Signed-off-by: Huabing (Robin) Zhao <[email protected]> * address comment Signed-off-by: Huabing (Robin) Zhao <[email protected]> * handle all transient errors Signed-off-by: Huabing (Robin) Zhao <[email protected]> * don't skip failed GCs Signed-off-by: Huabing (Robin) Zhao <[email protected]> --------- Signed-off-by: Patryk Rostkowski <[email protected]> Signed-off-by: Huabing (Robin) Zhao <[email protected]> Co-authored-by: Huabing (Robin) Zhao <[email protected]> (cherry picked from commit 71ce56f) Signed-off-by: Huabing (Robin) Zhao <[email protected]> * fix: fix bug in hostname overlap detection (#6332) fix bug in hostname overlap detection Signed-off-by: Rudrakh Panigrahi <[email protected]> (cherry picked from commit e78e268) Signed-off-by: Huabing (Robin) Zhao <[email protected]> * fix telemetry with host port not working (#6460) Signed-off-by: zirain <[email protected]> (cherry picked from commit c0a2ce7) Signed-off-by: Huabing (Robin) Zhao <[email protected]> * bugfix: BackendTlsPolicy should not reference across namespace (#6309) * bugfix: BackendTlsPolicy should not reference across namespace Signed-off-by: zirain <[email protected]> (cherry picked from commit 9925189) Signed-off-by: Huabing (Robin) Zhao <[email protected]> --------- Signed-off-by: Guy Daich <[email protected]> Signed-off-by: shawnh2 <[email protected]> Signed-off-by: Jeff Davis <[email protected]> Signed-off-by: zirain <[email protected]> Signed-off-by: kkk777-7 <[email protected]> Signed-off-by: Rudrakh Panigrahi <[email protected]> Signed-off-by: sudipto baral <[email protected]> Signed-off-by: Patryk Rostkowski <[email protected]> Signed-off-by: Huabing (Robin) Zhao <[email protected]> Co-authored-by: Guy Daich <[email protected]> Co-authored-by: Jeff Davis <[email protected]> Co-authored-by: zirain <[email protected]> Co-authored-by: Kota Kimura <[email protected]> Co-authored-by: Rudrakh Panigrahi <[email protected]> Co-authored-by: Sudipto Baral <[email protected]> Co-authored-by: Patryk Rostkowski <[email protected]> Co-authored-by: Huabing (Robin) Zhao <[email protected]>
shawnh2
added a commit
to shawnh2/gateway
that referenced
this pull request
Sep 15, 2025
* fix(translator): ext-proc full duplex streamed trailers and validation (envoyproxy#6323) * fix ext proc validation and trailer management for full duplex streamed mode Signed-off-by: Guy Daich <[email protected]> Signed-off-by: shawnh2 <[email protected]> * feat: disable automountServiceAccountToken for proxy and ratelimit (envoyproxy#6364) Signed-off-by: Jeff Davis <[email protected]> * bugfix: make EnvoyPatchPolicy able to replace telemetry cluster (envoyproxy#6367) Signed-off-by: zirain <[email protected]> Signed-off-by: shawnh2 <[email protected]> * feat: add validation of section name for Gateway listener (envoyproxy#6343) * add validation of section name Signed-off-by: kkk777-7 <[email protected]> * update error status reason Signed-off-by: kkk777-7 <[email protected]> * refactor: define as function of validate section name for gateway listener Signed-off-by: kkk777-7 <[email protected]> Signed-off-by: shawnh2 <[email protected]> * fix: add configMap indexers for EEP reconciler (envoyproxy#6369) Signed-off-by: Rudrakh Panigrahi <[email protected]> * fix: use buildEndpointType for access and tracing (envoyproxy#6370) Signed-off-by: zirain <[email protected]> * fix: default accesslog not working (envoyproxy#6441) * fix default accesslog Signed-off-by: zirain <[email protected]> * release notes Signed-off-by: zirain <[email protected]> --------- Signed-off-by: zirain <[email protected]> Signed-off-by: shawnh2 <[email protected]> * chore: fix cve (envoyproxy#6446) * fix cve Signed-off-by: zirain <[email protected]> * lint Signed-off-by: zirain <[email protected]> --------- Signed-off-by: zirain <[email protected]> * fix: Do not set backendRequestTimeout when Retries are set (envoyproxy#6421) * fix: Do not set backendRequestTimeout when Retries are set Signed-off-by: sudipto baral <[email protected]> * fix: update comment Signed-off-by: sudipto baral <[email protected]> --------- Signed-off-by: sudipto baral <[email protected]> * gatewayapi: don't append gwcResource if there's invalid GatewayClass (envoyproxy#6379) * gatewayapi: don't process gloabal resources when acceptedGateways is 0 Signed-off-by: zirain <[email protected]> * update Signed-off-by: zirain <[email protected]> * fix test Signed-off-by: zirain <[email protected]> * don't skip gateways Signed-off-by: zirain <[email protected]> --------- Signed-off-by: zirain <[email protected]> Signed-off-by: shawnh2 <[email protected]> * fix testdata Signed-off-by: shawnh2 <[email protected]> * fix k8s provider controller Signed-off-by: shawnh2 <[email protected]> * fix: retry reconcile on transient errors during reconcile (envoyproxy#6299) * fix: add isTransientError helper to classify retryable errors Introduces isTransientError to detect transient Kubernetes errors and enable proper reconciliation retries. Signed-off-by: Patryk Rostkowski <[email protected]> handle errors from processing BackendRefs Signed-off-by: Huabing (Robin) Zhao <[email protected]> handle errors from processing ConfigMap Signed-off-by: Huabing (Robin) Zhao <[email protected]> * skip invalid GatewayClass Signed-off-by: Huabing (Robin) Zhao <[email protected]> * address comment Signed-off-by: Huabing (Robin) Zhao <[email protected]> * handle all transient errors Signed-off-by: Huabing (Robin) Zhao <[email protected]> * don't skip failed GCs Signed-off-by: Huabing (Robin) Zhao <[email protected]> --------- Signed-off-by: Patryk Rostkowski <[email protected]> Signed-off-by: Huabing (Robin) Zhao <[email protected]> Co-authored-by: Huabing (Robin) Zhao <[email protected]> (cherry picked from commit 71ce56f) Signed-off-by: Huabing (Robin) Zhao <[email protected]> * fix: fix bug in hostname overlap detection (envoyproxy#6332) fix bug in hostname overlap detection Signed-off-by: Rudrakh Panigrahi <[email protected]> (cherry picked from commit e78e268) Signed-off-by: Huabing (Robin) Zhao <[email protected]> * fix telemetry with host port not working (envoyproxy#6460) Signed-off-by: zirain <[email protected]> (cherry picked from commit c0a2ce7) Signed-off-by: Huabing (Robin) Zhao <[email protected]> * bugfix: BackendTlsPolicy should not reference across namespace (envoyproxy#6309) * bugfix: BackendTlsPolicy should not reference across namespace Signed-off-by: zirain <[email protected]> (cherry picked from commit 9925189) Signed-off-by: Huabing (Robin) Zhao <[email protected]> --------- Signed-off-by: Guy Daich <[email protected]> Signed-off-by: shawnh2 <[email protected]> Signed-off-by: Jeff Davis <[email protected]> Signed-off-by: zirain <[email protected]> Signed-off-by: kkk777-7 <[email protected]> Signed-off-by: Rudrakh Panigrahi <[email protected]> Signed-off-by: sudipto baral <[email protected]> Signed-off-by: Patryk Rostkowski <[email protected]> Signed-off-by: Huabing (Robin) Zhao <[email protected]> Co-authored-by: Guy Daich <[email protected]> Co-authored-by: Jeff Davis <[email protected]> Co-authored-by: zirain <[email protected]> Co-authored-by: Kota Kimura <[email protected]> Co-authored-by: Rudrakh Panigrahi <[email protected]> Co-authored-by: Sudipto Baral <[email protected]> Co-authored-by: Patryk Rostkowski <[email protected]> Co-authored-by: Huabing (Robin) Zhao <[email protected]> Signed-off-by: shawnh2 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
fix: fix bug in hostname overlap detection
Which issue(s) this PR fixes:
Fixes #6321
Release Notes: Yes/No