Nmap Development mailing list archives
Re: [NSE] nmap timing info for scripts
From: "Eddie Bell" <ejlbell () gmail com>
Date: Sun, 13 Jan 2008 01:29:34 +0000
On 13/01/2008, Brandon Enright <bmenrigh () ucsd edu> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 13 Jan 2008 01:13:24 +0000 or thereabouts "Eddie Bell" <ejlbell () gmail com> wrote:My only concern is that usleep will block so will waste time when other scripts could be running . Perhaps there is a more efficient non-blocking way to achieve the same thing (continuation 'yield' style). I don't really know enough about nse internals though.Most people achieve short non-blocking sleeps via calls to select(). I suspect there is some Lua interface to select() accomplish this. Brandon
I was thinking NSE uses co-routines so there may be some internal mechanism to yield (pause execution) and put it in a sleep state until a certain time period has elapsed, but again I don't really know enough about how nse works at the lower levels. _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [NSE] nmap timing info for scripts Thomas Buchanan (Jan 10)
- Re: [NSE] nmap timing info for scripts Eddie Bell (Jan 10)
- RE: [NSE] nmap timing info for scripts Matthew Boyle (Jan 10)
- Re: [NSE] nmap timing info for scripts Kris Katterjohn (Jan 10)
- Re: [NSE] nmap timing info for scripts Eddie Bell (Jan 10)
- RE: [NSE] nmap timing info for scripts Thomas Buchanan (Jan 10)
- Re: [NSE] nmap timing info for scripts Eddie Bell (Jan 12)
- Re: [NSE] nmap timing info for scripts Brandon Enright (Jan 12)
- Re: [NSE] nmap timing info for scripts Eddie Bell (Jan 12)
- Re: [NSE] nmap timing info for scripts Eddie Bell (Jan 10)
- Re: [NSE] nmap timing info for scripts Eddie Bell (Jan 10)