mirror of
https://github.com/nmap/nmap.git
synced 2026-06-27 03:33:07 +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:
parent
df2611a5be
commit
3b18401d5d
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue