Nmap Development mailing list archives
Re: NPing running out of sockets
From: "Luis MartinGarcia." <luis.mgarc () gmail com>
Date: Fri, 15 Oct 2010 16:20:46 +0200
Hi Patrick, I think I have a temporary work-around for the problem. Please try the attached patch and let me know if it works for you. Regards, Luis MartinGarcia. On 10/01/2010 05:20 PM, Patrik Karlsson wrote:
Hi, While testing the broadcast functionality per Davids instructions [1] I ran into some trouble with Nping. It seems as if sockets are not released properly and slowly increase with each packet being sent. After 252seconds I'm out of sockets on my OS X system. The error looks like this: SENT (246.2010s) UDP packet with 20 bytes to 255.255.255.255:67 SENT (247.2020s) UDP packet with 20 bytes to 255.255.255.255:67 SENT (248.2020s) UDP packet with 20 bytes to 255.255.255.255:67 SENT (249.2030s) UDP packet with 20 bytes to 255.255.255.255:67 SENT (250.2040s) UDP packet with 20 bytes to 255.255.255.255:67 SENT (251.2040s) UDP packet with 20 bytes to 255.255.255.255:67 SENT (252.2040s) UDP packet with 20 bytes to 255.255.255.255:67 Socket troubles: Too many open files Assertion failed: (nse->iod->sd >= 0), function nsp_add_event, file nsock_core.c, line 1239. Abort trap This is the command I'm running nping --udp -p 67 255.255.255.255 -c 0 --data-length 20 //Patrik [1] http://seclists.org/nmap-dev/2010/q4/1 -- Patrik Karlsson http://www.cqure.net http://www.twitter.com/nevdull77 _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Attachment:
nping_toomanyopenfiles.diff
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:
- NPing running out of sockets Patrik Karlsson (Oct 01)
- Re: NPing running out of sockets Luis MartinGarcia (Oct 02)
- Re: NPing running out of sockets David Fifield (Oct 04)
- Re: NPing running out of sockets Luis MartinGarcia. (Oct 15)
- Re: NPing running out of sockets Patrik Karlsson (Oct 15)
- Re: NPing running out of sockets David Fifield (Oct 15)
- Re: NPing running out of sockets Luis MartinGarcia. (Oct 16)
- Re: NPing running out of sockets David Fifield (Oct 16)
- Re: NPing running out of sockets Luis MartinGarcia. (Oct 19)
- Re: NPing running out of sockets David Fifield (Oct 20)
- Re: NPing running out of sockets Patrik Karlsson (Oct 15)
- Re: NPing running out of sockets Luis MartinGarcia (Oct 02)