-
Notifications
You must be signed in to change notification settings - Fork 844
TS-4706 Truncated SNI name during escalation #837
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
SSL hostname verification failing due to truncated SNI name.
|
👍 |
|
I'm generally ok with this for the immediate fixage. My only concern here is that there's now an invariant (it seems) between the client and server HttpHdr, where the caches should be invalidated together for both. That sort of feels like it then could be lifted up in the stack a bit maybe, or at least assertion that the invariant is never broken again. Alternatively, if there's improvements that can be done here (later) such that the invalidation can be disjoint again, safely, for better performance etc., that'd be cool too. Maybe file a separate lira for this cleanup for later? |
|
[approve ci] |
|
@zwoop thanks for reviewing! As far as can tell the escalate plugin was implemented later then the HttpHdr caching and the caching implementation does not support its use-case well. The reason we started noticing the truncated/garbage name problems is that SSL handshake changed (got stricter) This fix is meant to solve the immediate problem of having This code change would invalidate (only invalidate) client request and server request Filed Jira: TS-4712 to look into the |
|
FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/501/ for details. |
|
Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/398/ for details. |
…he#837) Properties percieved a performance degredation when cur_time was made thread_local. This was likely because each thread had its own cached version of cur_time and thus didn't get updated as frequently as the global one used to be. There are ideas about how to address this patch better, but in the meantime we plan to simply revert the patch. This reverts commit 371ff9a.
…" (apache#837)" This reverts commit 8d513d2.
* Defer deletion of reloadable remap plugins * Fix tests, since plugins now remains * Put the startup cleanup into a try-catch * Make autest happier during shutdown (cherry picked from commit 71293ea) Co-authored-by: Leif Hedstrom <zwoop@apache.org>
A fix for a problem with SSL hostname verification failing due to truncated SNI name.