Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cqssrt log field for TLS resumption type #12404

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bneradt
Copy link
Contributor

@bneradt bneradt commented Jul 29, 2025

This adds the cqssrt log field that indicates the TLS resumption type:

0: no resumption
1: server session cache resumption
2: TLS ticket resumption


Draft

Starting this out as a draft until the dependand #12393 lands. Note this PR is only for the latest commit of the two in here.

@bneradt bneradt added this to the 10.2.0 milestone Jul 29, 2025
@bneradt bneradt requested a review from maskit July 29, 2025 17:29
@bneradt bneradt self-assigned this Jul 29, 2025
@bneradt bneradt force-pushed the cqssrt_log_field branch from d936c18 to 22e113e Compare July 29, 2025 21:08
bneradt added 2 commits July 29, 2025 23:25
This applies to the cqssu (curve) and cqssg (group name) TLS log fields.

This does two things:

* Updates server session caching logic to provide the TLS group name on
  resumption.
* Updates the logging of the curve and group name for ticket resumption
  logic so that the TLS curve and group names are properly retrieved
  from the SSL object. For ticket resumption, there is no curve/group
  name stored to retrieve. It is properly retrieved from the SSL object.

Before this change: (1) the SSL group was always retrieved from the SSL
object when it should have been retrieved from the server session cache
ex_data for session cache resumption and (2) the curve value for cqssu
was alway "-" for TLS ticket resumption because there was no cached
value to retrieve like there is with server session caching.

Fixes: apache#12398
This adds the cqssrt log field that indicates the TLS resumption type:

0: no resumption
1: server session cache resumption
2: TLS ticket resumption
@bneradt bneradt force-pushed the cqssrt_log_field branch from 22e113e to 6a2002a Compare July 29, 2025 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant