From 74ffd7b4c702914c19c78a6cd384b7b733ef7a60 Mon Sep 17 00:00:00 2001 From: ron Date: Tue, 31 Mar 2009 20:30:45 +0000 Subject: [PATCH] Raise timeout for SMB scans to 20 seconds -- I got several error reports due to timeouts --- nselib/smb.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/smb.lua b/nselib/smb.lua index 0c2ee4a76..5941e1650 100644 --- a/nselib/smb.lua +++ b/nselib/smb.lua @@ -134,7 +134,7 @@ status_names = {} local mutexes = setmetatable({}, {__mode = "k"}); --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 -- to use the name, first, then falls back to the IP if no name was returned.