Public bug reported:

Binary package hint: traceroute

Hello-

traceroute seems to fail to display hops when using the ICMP method
after one of the hops does not have a reverse DNS entry. This works
correctly when using the default UDP method, and when using ICMP method
with "-n" to turn off lookups.

This makes it difficult to use traceroute because you often have to use
ICMP to get around filtering.

This may be the same bug as Bug #269749 from Hardy, but I am seeing it
in the latest Karmic.  I have verified this also fails with the newest
traceroute 2.0.13 compiled from source.

Thanks,
John

jo...@ghidorah:~$ lsb_release -rd
Description:    Ubuntu 9.10
Release:        9.10
jo...@ghidorah:~$ apt-cache policy traceroute
traceroute:
  Installed: 2.0.12-2
  Candidate: 2.0.12-2
  Version table:
 *** 2.0.12-2 0
        500 http://us.archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

# traceroute fails to report hops 2-5 using ICMP with reverse DNS
lookups

jo...@ghidorah:~/traceroute-modern/traceroute-2.0.13$ sudo traceroute -I 
4.2.2.2   
traceroute to 4.2.2.2 (4.2.2.2), 30 hops max, 60 byte packets                   
   
 1  192.168.1.1 (192.168.1.1)  2.221 ms  2.239 ms *                             
   
 2  * * *                                                                       
   
 3  * * *                                                                       
   
 4  * * *                                                                       
   
 5  * * *                                                                       
   
 6  * asn3356-level3.eqsjca.sbcglobal.net (151.164.251.246)  19.108 ms  20.984 
ms  
 7  vlan69.csw1.SanJose1.Level3.net (4.68.18.62)  24.152 ms  40.095 ms  40.434 
ms  
 8  ge-10-0.core1.SanJose1.Level3.net (4.68.123.6)  32.442 ms  34.574 ms  
37.089 ms
 9  vnsc-bak.sys.gtei.net (4.2.2.2)  39.194 ms  41.871 ms  45.252 ms         

# traceroute works properly using ICMP without reverse DNS lookups
      
jo...@ghidorah:~/traceroute-modern/traceroute-2.0.13$ sudo traceroute -In 
4.2.2.2  
traceroute to 4.2.2.2 (4.2.2.2), 30 hops max, 60 byte packets                   
   
 1  192.168.1.1  1.298 ms  1.978 ms  2.375 ms                                   
   
 2  151.164.184.117  21.038 ms  23.446 ms  25.356 ms                            
   
 3  76.246.22.1  26.515 ms  28.838 ms  31.758 ms                                
   
 4  151.164.93.229  34.303 ms  36.386 ms  39.063 ms                             
   
 5  151.164.171.196  42.262 ms  44.472 ms  47.266 ms                            
   
 6  151.164.251.246  49.642 ms  51.204 ms  53.569 ms                            
   
 7  4.68.18.62  66.261 ms  43.156 ms  43.463 ms                                 
   
 8  4.68.123.6  39.454 ms  34.446 ms  37.031 ms                                 
   
 9  4.2.2.2  39.461 ms  35.520 ms  38.248 ms    

# traceroute works properly using default UDP with reverse DNS lookups
                                   
jo...@ghidorah:~/traceroute-modern/traceroute-2.0.13$ sudo traceroute  4.2.2.2  
traceroute to 4.2.2.2 (4.2.2.2), 30 hops max, 60 byte packets                   
 1  192.168.1.1 (192.168.1.1)  1.686 ms  1.706 ms  2.304 ms                     
 2  bras36-l0.pltnca.sbcglobal.net (151.164.184.117)  21.225 ms  23.227 ms  
26.398 ms
 3  76.246.22.1 (76.246.22.1)  27.080 ms  29.918 ms  32.980 ms                  
     
 4  151.164.93.229 (151.164.93.229)  34.144 ms  36.584 ms  39.277 ms            
     
 5  151.164.171.196 (151.164.171.196)  42.691 ms  45.238 ms  48.004 ms          
     
 6  asn3356-level3.eqsjca.sbcglobal.net (151.164.251.246)  49.761 ms  20.078 ms 
 19.711 ms
 7  vlan69.csw1.SanJose1.Level3.net (4.68.18.62)  34.625 ms  34.937 ms 
vlan79.csw2.SanJose1.Level3.net (4.68.18.126)  39.587 ms                        
                                       
 8  ge-11-0.core1.SanJose1.Level3.net (4.68.123.38)  30.093 ms 
ge-10-0.core1.SanJose1.Level3.net (4.68.123.6)  32.805 ms  35.107 ms            
                                               
 9  vnsc-bak.sys.gtei.net (4.2.2.2)  37.811 ms  40.482 ms  42.961 ms  

                         
jo...@ghidorah:~/traceroute-modern/traceroute-2.0.13$ sudo traceroute -V
Modern traceroute for Linux, version 2.0.12, Apr 29 2009                
Copyright (c) 2008  Dmitry Butskoy,   License: GPL v2 or any later

** Affects: traceroute (Ubuntu)
     Importance: Undecided
         Status: New

-- 
traceroute doesnt display some hops using ICMP method
https://bugs.launchpad.net/bugs/493376
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to