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:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user