On Wed, 30 May 2007 13:40:18 -0700 plus or minus some time doug_at_hcsw.org
wrote:
<snip>
> This creates a few technical problems however, the biggest of which is
> that you will only be able to run one of these scripts at a time (not
> in parallel) because the source port will be in use. Also, what does the
> script do if some other application is using that port?
>
> Best,
>
> Doug
>
>
Excuse my ignorance but does Lua/NSE offer any sort of atomic test-and-set
or semaphores/mutexes? I know NSE was designed to be as parallel as
possible but there are bound to be shared-resource usage scenarios (like
this one) where IPC or locking/critical sections would be very useful.
Reading http://lua-users.org/wiki/ThreadsTutorial has left me slightly
confused as to what options are available inside of Lua, not what the
interpreter itself uses.
Brandon
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org
Received on May 30 2007