Nmap Development mailing list archives

Re: NPing running out of sockets


From: Luis MartinGarcia <luis.mgarc () gmail com>
Date: Sat, 2 Oct 2010 15:30:54 +0200

Hi Patrick,

Thank you for reporting this. I'm away on holidays, but I'll fix this
when I get back, in a couple of weeks.

Regards,

Luis MartinGarcia.

On Fri, Oct 1, 2010 at 5:20 PM, Patrik Karlsson <patrik () cqure net> 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/

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


Current thread: