Nmap Development mailing list archives

Re: [NSE] [Call for Testers] Nsock Library Binding Improvements


From: Kris Katterjohn <katterjohn () gmail com>
Date: Tue, 14 Sep 2010 15:19:17 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/14/2010 02:19 AM, Patrick Donnelly wrote:
Hello list,

I have a new branch for NSE's Nsock library binding. It is a
maintenance release focusing on correctness and preparation for Lua's
upcoming 5.2 release (it does not rely on Lua 5.2 right now). I would
greatly appreciate any script writers or Nmap users of NSE to quickly
test out the branch and report any problems they may encounter.
Ideally, you should notice no changes in how your scripts run. Please
report back if it works for you.


Normal connect scripts seem to work fine for me:

22/tcp  open   ssh     syn-ack
|_banner: SSH-1.99-OpenSSH_3.6.1p2
80/tcp  open   http    syn-ack
|_http-date: Tue, 14 Sep 2010 20:10:00 GMT; +2m05s from local time.


But raw socket scripts cause this with the new garbage collection:

Completed NSE at 15:13, 0.02s elapsed
NSE: Script Engine Scan Aborted.
An error was thrown by the engine: raw socket already closed
stack traceback:
        [C]: ?
        [C]: ?
        [C]: in function 'collectgarbage'
        ./nse_main.lua:1004: in function <./nse_main.lua:918>
        [C]: ?

Running ipidseq, qscan and path-mtu in your branch resulted in this, but the
scripts otherwise seem to run fine because they produced (at first glance)
good-looking output.

Cheers,
Kris Katterjohn

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMj9jFAAoJEEQxgFs5kUfuP5YQAKQsTOG3VaFUj8pkAz6FLdwt
puUC2FiXfmwAcAMCWtbZ512F6q53FHM9mkPUFwwLkexy5UN/7AOmGX+EIgHJXp1d
rdJvGMtudgb+DK3fEx91vXcWdrIluvjwIgWNA0zV8c5RtGFI0TDWmUwCOKbZaDyg
mfaOp2QI6PcGqPk6Ft7LZzUMBkj6/yAHbCqJos2JMpK29J5ejF0JIa3DwmNMLxXW
DJKkm4Jz/RDhZ6CRX2HiczqKyDGln3PROh7Dcba1JxHwBfaTHvVx0o4oH6EWfYAw
nJNrqOZv/ENOcgr+tKiNQADbqyX1r4SBuGTGPdp1LsYjjY8FMBqIpvPbHYqiSD9I
TkNt13M/1zMFkgGrJWj9DSJiru5lJdOgcToqYiv5PfW+l5hJ/US8NWDUInpRCba5
8by9Rd9QcY9gcy4efOlge4V5OlsYRPypHBdcFMOODavKx6XLp/RFi8h4yC7JNFhQ
oqIQSJj1pEK51RKy9yL8DWlebClJwDAWhEqPJ3yf2JVq8utk0TBKbbu9HRm0dq/U
gJP+gdyVng1od9n9+46cctTmx+zVROQEUEcJpjMbsuHzRkpSNObrHGQ11hCzT9X2
aqjmJEioSl6qQxr/4lE2Oa+H4DVG18AW2ALTduK2hPIj1+Ump7qi0kErlheinL9t
JoAwK4c7SODy69c68HaM
=8o9n
-----END PGP SIGNATURE-----
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: