feat(SniHandler): Add session cache support and tab reactivation detection to improve SNI extraction in TLS handshakes

This commit is contained in:
2025-03-11 18:05:20 +00:00
parent 8196de4fa3
commit 29d28fba93
3 changed files with 313 additions and 25 deletions

View File

@ -1,5 +1,13 @@
# Changelog
## 2025-03-11 - 3.40.0 - feat(SniHandler)
Add session cache support and tab reactivation detection to improve SNI extraction in TLS handshakes
- Introduce a session cache mechanism to store and retrieve cached SNI values based on client IP (and optionally client random) to better handle tab reactivation scenarios.
- Implement functions to initialize, update, and clean up the session cache for TLS ClientHello messages.
- Enhance SNI extraction logic to check for tab reactivation handshakes and to return cached SNI for resumed connections or 0-RTT scenarios.
- Update PSK extension handling to safely skip over obfuscated ticket age bytes.
## 2025-03-11 - 3.39.0 - feat(PortProxy)
Add domain-specific NetworkProxy integration support to PortProxy