1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-08 05:31:31 +00:00

Raise timeout for SMB scans to 20 seconds -- I got several error reports due to timeouts

This commit is contained in:
ron
2009-03-31 20:30:45 +00:00
parent d1a77bb85e
commit 74ffd7b4c7

View File

@@ -134,7 +134,7 @@ status_names = {}
local mutexes = setmetatable({}, {__mode = "k"}); local mutexes = setmetatable({}, {__mode = "k"});
--local debug_mutex = nmap.mutex("SMB-DEBUG") --local debug_mutex = nmap.mutex("SMB-DEBUG")
local TIMEOUT = 5000 local TIMEOUT = 20000
---Returns the mutex that should be used by the current connection. This mutex attempts ---Returns the mutex that should be used by the current connection. This mutex attempts
-- to use the name, first, then falls back to the IP if no name was returned. -- to use the name, first, then falls back to the IP if no name was returned.