mirror of
https://github.com/nmap/nmap.git
synced 2026-01-19 04:39:01 +00:00
a7b86fa0fa14b9d936808833123fb4f2744a000b
As reported by nnposter (http://seclists.org/nmap-dev/2014/q3/472) using the rtt-based timeouts for read timeouts is not a good idea, since host processing time can be considerably longer, especially for SSL connections. comm.lua already allowed for different connect_ and request_timeout values to reflect this truth, so this commit switches to using the rtt-based timeout for the connect timeout and adding 6 seconds to get the request timeout. This value is based on the totalwaitms value in nmap-service-probes, and is still well short of the default 30s nsock timeout.
Here is some documentation for Nmap, but these files are much less comprehensive than what you'll find at the actual Nmap documentation site ( http://nmap.org ).
Description
Languages
C
37.8%
Lua
28.1%
C++
16.7%
Shell
5.8%
Python
4.2%
Other
7.1%