Skip to content
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

Include the SNI for SSL client #754

Merged
merged 1 commit into from
Sep 11, 2024
Merged

Conversation

grondinjc
Copy link
Contributor

@grondinjc grondinjc commented Sep 11, 2024

Add SNI for SSL client only.
As SSL related function applies any input into the SNI extension, a minimal validation was added to ignore IP endpoint.

From wireshark, the TLS handshake has visible differences
image

  • The 1st clientHello is the result of the command sipp -t l1 -sn uac <server_as_hostname>:5061
  • The 2nd clientHello is the result of the command sipp -t l1 -sn uac <server_as_direct_ip>:5061

fixes #753

src/sslsocket.cpp Outdated Show resolved Hide resolved
@orgads
Copy link
Contributor

orgads commented Sep 11, 2024

Thank you!

src/sslsocket.cpp Outdated Show resolved Hide resolved
@orgads
Copy link
Contributor

orgads commented Sep 11, 2024

Please squash the commits.

@orgads orgads merged commit d677f54 into SIPp:master Sep 11, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing TLS extension support for Server name indication (SNI) in client mode
2 participants