Nmap Development mailing list archives
RE: Termination problem?
From: "Sina Bahram" <sbahram () nc rr com>
Date: Mon, 19 Dec 2005 15:31:36 -0500
Tcp port 0 is only valid/addressible on the local machine I believe; however, I look forward to being corrected on this. Try -p 1-65535 ... Or actually, simply do -p- for all ports. Take care, Sina -----Original Message----- From: nmap-dev-bounces () insecure org [mailto:nmap-dev-bounces () insecure org] On Behalf Of Hadmut Danisch Sent: Monday, December 19, 2005 8:32 AM To: nmap-dev () insecure org Subject: Termination problem? 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 _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev
Current thread:
- Termination problem? Hadmut Danisch (Dec 19)
- RE: Termination problem? Sina Bahram (Dec 19)