Nmap Development mailing list archives
Re: 4.49RC7 NSE Loop?
From: komseh <komseh () gmail com>
Date: Wed, 12 Dec 2007 09:41:20 -0600
I just reinstalled with the 4.50 source. This issue still exists unless i use --max-parallelism 50. On Dec 12, 2007 8:05 AM, Stoiko Ivanov <stoiko () xover htu tuwien ac at> wrote:
Hi, On Wed, Dec 12, 2007 at 12:19:37AM +0100, Diman Todorov wrote:However, nmap completes the scan without a problem if each host is scanned individually.This is interesting since I was able to reproduce the infinite loop by just running bruteTelnet.nse against my localhost.nmap -T4 -v -sS -sV -O -n --script=all --script-trace -iL test.lisugh, i'll bet the problem is that bruteTelnet.nse never closes the ports it opens and the garbage collector never the socket because there is always a reference to it.I just commited a patch to nse_nsock.cc which should fix this issue: If a second connect() request is issued on an already open socket, the socket gets closed before the connect is processed. This solved the infinite loop with bruteTelnet.nse for me (although the script took 6 minutes to finish its execution). It would be great if you could test the patch, before the stable release gets announced.I think we'll need to reconsider the open port cap and garbage collection policy. cheers, Dimancheers stoiko _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- 4.49RC7 NSE Loop? komseh (Dec 11)
- Re: 4.49RC7 NSE Loop? komseh (Dec 11)
- RE: 4.49RC7 NSE Loop? Thomas Buchanan (Dec 11)
- Re: 4.49RC7 NSE Loop? Diman Todorov (Dec 11)
- Re: 4.49RC7 NSE Loop? Brandon Enright (Dec 11)
- Re: 4.49RC7 NSE Loop? Stoiko Ivanov (Dec 12)
- Re: 4.49RC7 NSE Loop? komseh (Dec 12)
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Re: 4.49RC7 NSE Loop? komseh (Dec 12)
- Message not available
- Re: 4.49RC7 NSE Loop? komseh (Dec 11)