-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[BUG] Secure client initiated renegotiation timing bug #2469
Comments
Yes portail.baiemahault.fr before/after is OK
Do you try to connect to the URL with a navigator ? You should get a redirect to https://intranet.routesdeguadeloupe.fr/auth/ curl --insecure -I https://intranet.routesdeguadeloupe.fr |
For intranet.routesdeguadeloupe.fr I always got Anyway, I'll merge it. Thanks! |
This is an old bug, more frequently triggered since the reduction of the sleep time of the renego loop.
OpenSSL will buffer only the first command till the establishment of the session.
In case of slow session establishment, we could:
In the first case, some HTTP server properly implement mitigation closing connection after 10 tries, but we loose the second try command during session establishment doing effectively 9 tries and not 10 without observing connection close.
Inserting a one second wait before looping seems to fix these two cases, but:
In the second case, we have pathologically slow session establishment (a few seconds). Most renego commands are lost during the session start. On a vulnerable host, as more than 2/3 of the command where losts we falsely identify an exponential back-off mitigation.
The proper fix for all this cases is to wait for the session to be established before looping.
The text was updated successfully, but these errors were encountered: