Nmap Development mailing list archives

Re: [NSE] (RFC) LLTD (Link Layer Topology Discovery)


From: Gorjan Petrovski <mogi57 () gmail com>
Date: Tue, 4 Oct 2011 02:08:30 +0200

Terribly sorry about that, I've fixed it in r26808. I was applying it
manually since there were little changes. Thanks again.

Cheers,
Gorjan

On Tue, Oct 4, 2011 at 1:20 AM, Daniel Miller <bonsaiviking () gmail com> wrote:
On 10/03/2011 04:08 PM, Gorjan Petrovski wrote:

Thanks for the patch and notices. I've committed it as r26801.

Gorjan,

The issue I brought up is still in the script, since l2 and l3 are accessed
before you check status. Here's the updated patch:
Index: lltd-discovery.nse
===================================================================
--- lltd-discovery.nse    (revision 26803)
+++ lltd-discovery.nse    (working copy)
@@ -186,7 +186,6 @@
    local start_s = os.time()
    while true do
        local status, plen, l2, l3, _ = pcap:pcap_receive()
-        local packet = l2..l3
        if status then
            local packet = l2..l3
            if stdnse.tohex(packet:sub(13,14)) == "88d9" then

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

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


Current thread: