mirror of
https://github.com/nmap/nmap.git
synced 2026-01-30 10:09:03 +00:00
Do SSL_read in the same place as a normal socket read in ncat_broker.c
so that read errors for both can be handled in the same place. SSL_read errors were not being handled at all, which would cause the Ncat broker to use 100% CPU after a client disconnected. The problem was reported by Kris at http://seclists.org/nmap-dev/2009/q2/0840.html.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [Ncat] Fixed an error that would cause Ncat to use 100% CPU in
|
||||
broker mode after a client disconnected or a read error happened.
|
||||
[Kris, David]
|
||||
|
||||
o [Ncat] Ncat now prints a message like "Connection refused." by
|
||||
default when a socket error occurs. This used to require -v, but
|
||||
printing no message at all could make a failed connection look like
|
||||
|
||||
Reference in New Issue
Block a user