Skip to content

Tolerate TLS peers that do not send close_notify - #3430

Closed
nnposter wants to merge 1 commit into
nmap:masterfrom
nnposter:nsock-openssl-ignoreeof
Closed

Tolerate TLS peers that do not send close_notify#3430
nnposter wants to merge 1 commit into
nmap:masterfrom
nnposter:nsock-openssl-ignoreeof

Conversation

@nnposter

@nnposter nnposter commented Aug 9, 2026

Copy link
Copy Markdown

TLS requires that each party sends a close_notify alert before closing the write side of the underlying transport. See RFC 8446, section 6.1 and/or RFC 5246, section 7.2.1 for details.

When using OpenSSL 3.x or higher, Nmap fails to communicate with many TLS targets that do not send this alert, which substantially limits its interoperability.

This PR rectifies the issue by tolerating this non-compliance.

@nnposter

nnposter commented Aug 9, 2026

Copy link
Copy Markdown
Author

Committed as r39658 (115af39)

@nnposter nnposter closed this Aug 9, 2026
@scxveryx scxveryx added this to Nmap Aug 16, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Nmap Aug 16, 2026
@github-project-automation github-project-automation Bot moved this from Todo to Done in Nmap Aug 16, 2026
@scxveryx scxveryx removed this from Nmap Aug 16, 2026
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.

2 participants