Nmap Development mailing list archives

UDP traceroute does not work to google.com


From: sriram.r () vit in
Date: Tue, 06 Jan 2015 16:53:51 +0530

Hi All,
I need to replicate traceroute functionality using nmap. However, I
find that nmap fails when used with UDP protocol.
Here is the command output for a trace to google.com.
Despite root escalation, I get the warning: Traceroute has to be run
as root, disabling...
Please advice.
Thanks,
Sriram R-------
# ping -c 1 google.comPING google.com (74.125.130.101) 56(84) bytes of
data.64 bytes from 74.125.130101: icmp_req=1 ttl=47 time=59.8 ms
--- google.com ping statistics ---1 packets transmitted, 1 received,
0% packet loss, time 0msrtt min/avg/max/mdev =
59.886/59.886/59.886/0.000 ms# traceroute googlecomtraceroute to
google.com (74.125.130.101), 30 hops max, 60 byte packets 1
 180.179.168.99 (180.179.168.99)  9.174 ms  9.160 ms  9.106 ms 2
 180.179.165.9 (180.179.165.9)  5.288 ms  5.213 ms  5.207 ms 3
 180.179.1675 (180.179.167.5)  1.801 ms 180.179.167.1
(180.179.167.1)  1.752 ms  1.679 ms 4  124.153.67.22
(124.153.67.22)  1.677 ms^C# nmap --traceroute -sP 74.125.130.101
Starting Nmap 5.21 ( http://nmap.org ) at 2015-01-06 10:41 UTCNmap
scan report for 74.125.130.101Host is up (0.057s latency).
TRACEROUTE (using port 443/tcp)HOP RTT      ADDRESS1   4.08 ms
 180.179.168.992   ...3   10.50 ms 180.179.167.54   12.33 ms
124.153.67.225   10.59 ms 180.179.126.2336   10.63 ms
180.179.126.2337   ... 1011  26.86 ms
115.114.142.137.static-chennai.vsnl.net.in (115.114.142.137)12  29.78
ms 72.14.233.20413  26.17 ms 72.14.232.11014  58.43 ms
209.85.244.2515  58.14 ms 209.85.244.2516  60.19 ms 74.125.130.101
Nmap done: 1 IP address (1 host up) scanned in 3.60 seconds# nmap -u
--traceroute -sP 74.125.130.101
Starting Nmap 5.21 ( http://nmap.org ) at 2015-01-06 10:41 UTCWarning:
Traceroute has to be run as root, disabling...Nmap scan report for
74.125.130.101Host is up (0.062s latency).Nmap done: 1 IP address (1
host up) scanned in 1.38 seconds#

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

Current thread: