Home page logo
/

nmap-dev logo Nmap Development mailing list archives

NPing running out of sockets
From: Patrik Karlsson <patrik () cqure net>
Date: Fri, 1 Oct 2010 17:20:38 +0200

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/


  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]