Ncat fails with input/output error with --ssl #773

Closed
Varunram opened this Issue Mar 18, 2017 · 1 comment

Comments

Projects
None yet
2 participants
@Varunram

Varunram commented Mar 18, 2017

Ncat throws errors when used with --ssl

Reported on Bugzilla by Paulo Andrade. Related - http://seclists.org/nmap-dev/2015/q4/58

@dmiller-nmap

This comment has been minimized.

Show comment Hide comment
@dmiller-nmap

dmiller-nmap Mar 19, 2017

May be duplicate of #197

May be duplicate of #197

@nmap-bot nmap-bot closed this in ac8b866 Mar 19, 2017

nmap-bot pushed a commit that referenced this issue Mar 11, 2018

Do a 2nd SSL_read if necessary for renegotiation.
This fix was previously applied to ncat_listen's read_socket in r36652
(ac8b866) as a fix for #773. It didn't fully solve the problem, though,
since the fix should have been applied in ncat_core's fdinfo_recv, right
after the call to SSL_read. This commit moves the fix where it belongs,
which also simplifies the code.

Fixes #197 and #1049.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment