openssl icon indicating copy to clipboard operation
openssl copied to clipboard

Correctly handle a retransmitted ClientHello

Open mattcaswell opened this issue 2 years ago • 8 comments

If we receive a ClientHello and send back a HelloVerifyRequest, we need to be able to handle the scenario where the HelloVerifyRequest gets lost and we receive another ClientHello with the message sequence number set to 0.

Fixes https://github.com/openssl/openssl/issues/18635

mattcaswell avatar Jun 24 '22 11:06 mattcaswell

Note there is a trivial conflict when cherry-picking back to 1.1.1 which I will fix during merge.

mattcaswell avatar Jun 24 '22 11:06 mattcaswell

Ping for second review

mattcaswell avatar Jul 19 '22 14:07 mattcaswell

I rebased this to resolve a conflict with master.

Still looking for a second reviewer. Ping @openssl/committers.

mattcaswell avatar Aug 18 '22 15:08 mattcaswell

This PR is in a state where it requires action by @openssl/committers but the last update was 30 days ago

openssl-machine avatar Sep 18 '22 00:09 openssl-machine

@hlandau Typo fixed. Please take another look.

mattcaswell avatar Sep 20 '22 13:09 mattcaswell

Meanwhile the 1.1.1 got to the state when only security fixes are supposed to be done there.

t8m avatar Sep 20 '22 16:09 t8m

Does this go to 1.1.1?

hlandau avatar Sep 20 '22 19:09 hlandau

Does this go to 1.1.1?

No - its not a security fix. Removing the 1.1.1 branch label.

mattcaswell avatar Sep 21 '22 09:09 mattcaswell

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set. Please review the updates and set the label manually.

openssl-machine avatar Sep 21 '22 20:09 openssl-machine

It's now been more than 24 hours. Merging.

hlandau avatar Sep 22 '22 11:09 hlandau

Merged to master and 3.0. Thank you.

A merge conflict while cherry picking to 3.0 was deemed trivial enough to fix during merging. (Adjacent line to a changed line had changed so the diff algorithm wasn't happy, but no actual diff changes.)

hlandau avatar Sep 22 '22 11:09 hlandau