Mixed-case SNI forwarded to an older peer during a rolling upgrade can reach its wildcard route

Đang mở
#93 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
49/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend, networking

Hướng nghiên cứu

Start by tracing the SNI route lookup, failoverIngress forwarding, spilled connection handling, and load query code; the issue does not name files or tests. Reproduce the rolling-upgrade cases with an older peer and mixed-case SNI, then check the reload case with a respelled key in the same metrics group. Done when the issue is either resolved or explicitly accepted for the upgrade window, and the rollout behavior is documented.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

During a rolling upgrade to the release with case-insensitive SNI matching, an upgraded node can forward a client's raw ClientHello to a peer's failoverIngress that still runs an older release. The older peer matches the SNI byte for byte, so a mixed-case name (API.example.com) can miss its exact route there and reach a wildcard route instead. The same applies to a spilled connection. The upgraded node chose the peer because of its own lookup of the exact route.

A second effect, in the same window: if both peers serve api.example.com and a reload respells it API.example.com in the same metrics group, the upgraded node keeps the installed spelling and keeps asking for api.example.com in its load query. The older peer now holds the raw key API.example.com, answers -, and spill to it stops. Nothing misroutes.

Both last only until every peer runs the new release. The first needs a client that sends uppercase SNI (browsers never do). Track it so a rollout can either accept it or upgrade failover peers together; close once the fleet is on the release.

Review-Deferral: f7682bdfe0600c53 severity=minor category=correctness
Review-Deferral: 7ce6fa47d6346898 severity=minor category=reliability

🤖 Generated by Claude Code (Claude Opus 5.5); posted via @dawsontoth.

Ngôn ngữ chính
TypeScript
Star
1
Fork
0
Merge trung bình
11 giờ 49 phút
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của HarperFast/symphony

Tất cả issue của HarperFast/symphony

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.