Nmap Development mailing list archives

Re: NSE Pre-Scan igmp and eigrp discovery hangs


From: Patrik Karlsson <patrik () cqure net>
Date: Wed, 29 Aug 2012 01:53:19 +0200

On Wed, Aug 29, 2012 at 12:46 AM, Christopher Clements <
christopher.a.clements () gmail com> wrote:

I have a scan that I've attempted multiple times that hangs on the
following NSE pre-scan scripts (svn 29693):

Stats: 0:13:09 elapsed; 0 hosts completed (0 up), 0 undergoing Script
Pre-Scan
NSE: Active NSE Script Threads: 2 (2 waiting)

NSE Timing: About 96.72% done; ETC: 17:32 (0:00:27 remaining)
NSE: Waiting: 'broadcast-igmp-discovery' (thread: 0x3f33750)
stack traceback:
[C]: in function 'condvar'
...l/bin/../share/nmap/scripts/broadcast-igmp-discovery.nse:312: in
function <...l/bin/../share/nmap/scripts/broadcast-igmp-discovery.nse:266>
(...tail calls...)
NSE: Waiting: 'broadcast-eigrp-discovery' (thread: 0x400f0a0)
stack traceback:
[C]: in function 'condvar'
.../bin/../share/nmap/scripts/broadcast-eigrp-discovery.nse:254: in
function <.../bin/../share/nmap/scripts/broadcast-eigrp-discovery.nse:194>
(...tail calls...)

I'm assuming it has to do with the earlier message:

NSE: broadcast-eigrp-discovery: No A.S value provided, will sniff for one.

But should this really sniff / wait indefinitely by default?  This is more
of a philosophical question than an absolute question.


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


Hi Chris,

It shouldn't. Does the attached patch solve your problem?

Cheers,
Patrik
-- 
Patrik Karlsson
http://www.cqure.net
http://twitter.com/nevdull77

Attachment: igmp-disco.patch
Description:

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

Current thread: