Nmap Development mailing list archives

Termination problem?


From: Hadmut Danisch <hadmut () danisch de>
Date: Mon, 19 Dec 2005 14:31:46 +0100

Hi,

I am having a problem with nmap, and maybe someone knows a solution.

I am calling nmap with these parameters:

nmap -P0 -sT -p0-65535 -oN somefile someaddress




This seems to work in a LAN, where the scanned host sends RESET to
ports that are not open, but it seems to go into an endless loop when
scanning machines behind a firewall, which drops most of the packets.


With nmap 3.93 I see plenty of traffic, but after some time nmap does
not sent anything out anymore. strace shows that nmap went into an
endless loop:

nanosleep({0, 0}, NULL)                 = 0
gettimeofday({1134995123, 217005}, NULL) = 0
gettimeofday({1134995123, 217968}, NULL) = 0
gettimeofday({1134995123, 218920}, NULL) = 0
gettimeofday({1134995123, 271543}, NULL) = 0
gettimeofday({1134995123, 272512}, NULL) = 0
gettimeofday({1134995123, 273433}, NULL) = 0
gettimeofday({1134995123, 274253}, NULL) = 0
gettimeofday({1134995123, 275048}, NULL) = 0
nanosleep({0, 0}, NULL)                 = 0
gettimeofday({1134995123, 277046}, NULL) = 0
gettimeofday({1134995123, 277864}, NULL) = 0
gettimeofday({1134995123, 278676}, NULL) = 0
gettimeofday({1134995123, 331318}, NULL) = 0
gettimeofday({1134995123, 332359}, NULL) = 0
gettimeofday({1134995123, 333163}, NULL) = 0
gettimeofday({1134995123, 333985}, NULL) = 0
gettimeofday({1134995123, 334799}, NULL) = 0
nanosleep({0, 0}, NULL)                 = 0
gettimeofday({1134995123, 337009}, NULL) = 0
gettimeofday({1134995123, 337955}, NULL) = 0
gettimeofday({1134995123, 338892}, NULL) = 0



I am now trying nmap 3.95, and it currently looks as if it would not
stop sending packets.


Is there any problem with program termination?


regards
Hadmut



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


Current thread: