Nmap Development mailing list archives

Re: Suspect that --host-timeout is not working in 4.50?


From: Fyodor <fyodor () insecure org>
Date: Fri, 21 Dec 2007 17:18:45 -0800

On Fri, Dec 21, 2007 at 02:04:00PM -0800, doug () hcsw org wrote:
On Thu, Dec 20, 2007 at 10:44:42PM -0800 or thereabouts, Fyodor wrote:

How about the attached patch? I think it should do what
we want. It starts the host clocks as soon as NSE puts them
into waiting_scripts and stops them as soon as it calls
process_finalize() on the last script associated with that
host. In nse_mainloop() it checks each script to see if its
target has timedOut() and, if so, terminates the script with
a LUA_ERRRUN (maybe there is a better error code that can be
used, I dunno??).

Looks promising!  Please check it in when you're comfortable that it
is well enough tested.

Cheers,
-F

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: