On Mon, Jan 01, 2007 at 04:01:53PM -0800, Robert Woodcock wrote:

Hello Robert,

> > Version 0.72 is out since Sep 29th and has this bug fixed, would be
> > great if someone could update the package.
> I can't update it for etch, unfortunately, as that's already frozen. I'm
> preparing an update for experimental.

Too bad, any way to get around this? The bug is a little bit annoying as
it breaks quite a number of reverse lookups and makes traces difficult
to read. As you correctly investigated

> It looks like the only DNS-related change is:
> 
> --- mtr-0.71/dns.c      2006-03-22 21:45:58.000000000 -0800
> +++ mtr-0.72/dns.c      2006-03-25 22:54:11.000000000 -0800
> @@ -1357,7 +1357,7 @@
>  #ifdef ENABLE_IPV6
>  /* Returns an ip6.arpa character string. */
>  void addr2ip6arpa( ip_t * ip, char * buf ) {
> -  char * p = (char *) ip;
> +  unsigned char * p = (unsigned char *) ip;

this patched line would be sufficient.

> Now, I don't have an IPv6 internetwork to really test this with, but mtr
> 0.71 does properly reverse lookup ::1 on my system. I'm guessing the move to
> an unsigned cast is to deal with hostnames with 8-bit characters. Is that
> what you're seeing break with 0.71?

It appears to break in cases where there is 0xf in the address.

svr01% traceroute6 deham01.sixxs.net
traceroute to deham01.sixxs.net (2001:6f8:800:1003::2) from 
2001:1b10:100:3::1:1, 30 hops max, 16 byte packets
 1  backbone2-gige-0-3-15.teleport-iabg.de (2001:1b10:100:3::12)  0.812 ms  
0.69 ms  0.73 ms
 2  mchn-s1-rou-1030.DE.eurorings.net (2001:680:0:800f::a)  1.725 ms  1.744 ms  
1.985 ms
 3  mchn-s2-rou-1030.DE.eurorings.net (2001:680::134:222:84:80)  2.468 ms  
1.717 ms  2.232 ms
 4  ge1-3-0-35.br1.cwmuc.de.easynet.net (2001:6f8:800:1200:5:0:1:14)  2.855 ms  
1.982 ms  2.232 ms
 5  so1-3-0-0.br1.ixfra.de.easynet.net (2001:6f8:800::51:1:1)  9.849 ms  10.107 
ms  10.476 ms
 6  ge0-1-0-0.br0.ixfra.de.easynet.net (2001:6f8:800::51:5:1)  140.393 ms  
159.004 ms  87.54 ms
 7  ge0-3-0-0.br1.isham.de.easynet.net (2001:6f8:800::51:6:2)  19.962 ms  
19.694 ms  19.595 ms
 8  fe0-0.6r0.isham.de.easynet.net (2001:6f8:892:6::10:122)  19.843 ms  19.848 
ms  19.845 ms
 9  * * *

svr01% mtr deham01.sixxs.net <-- mtr 0.71-2
[...]
 Host                                             Loss%   Snt   Last   Avg  
Best  Wrst StDev
 1. backbone2-gige-0-3-15.teleport-iabg.de         0.0%     2   70.6  35.7   
0.8  70.6  49.4
 2. 2001:680:0:800f::a                             0.0%     2    2.0   2.0   
1.9   2.0   0.1
 3. 2001:680::134:222:84:80                        0.0%     2    2.6   2.3   
2.1   2.6   0.4
 4. 2001:6f8:800:1200:5:0:1:14                     0.0%     2    2.9   2.7   
2.5   2.9   0.3
 5. 2001:6f8:800::51:1:1                           0.0%     2   10.7  10.7  
10.7  10.8   0.1
 6. 2001:6f8:800::51:5:1                           0.0%     2   10.4  10.4  
10.4  10.4   0.0
 7. 2001:6f8:800::51:6:2                           0.0%     1   19.6  19.6  
19.6  19.6   0.0
 8. 2001:6f8:892:6::10:122                         0.0%     1   19.9  19.9  
19.9  19.9   0.0
 9. 2001:6f8:800:1003::2                           0.0%     1   19.6  19.6  
19.6  19.6   0.0

I applied the patch you extracted from the diff to the debian package and 
recompiled it, fixes my issues

svr01% sudo ./mtr-tiny/mtr deham01.sixxs.net
 Host                                             Loss%   Snt   Last   Avg  
Best  Wrst StDev
 1. backbone2-gige-0-3-15.teleport-iabg.de         0.0%     3    0.8   0.8   
0.7   0.8   0.0
 2. mchn-s1-rou-1030.DE.eurorings.net              0.0%     3    2.1   2.0   
1.9   2.1   0.1
 3. mchn-s2-rou-1030.DE.eurorings.net              0.0%     2    2.1   2.3   
2.1   2.6   0.3
 4. ge1-3-0-35.br1.cwmuc.de.easynet.net            0.0%     2    2.5   2.5   
2.5   2.5   0.0
 5. so1-3-0-0.br1.ixfra.de.easynet.net             0.0%     2   10.6  10.4  
10.3  10.6   0.2
 6. ge0-1-0-0.br0.ixfra.de.easynet.net             0.0%     2   10.7  10.6  
10.5  10.7   0.1
 7. ge0-3-0-0.br1.isham.de.easynet.net             0.0%     2   19.9  19.6  
19.2  19.9   0.5
 8. fe0-0.6r0.isham.de.easynet.net                 0.0%     2   19.5  19.7  
19.5  19.9   0.3
 9. deham01.sixxs.net                              0.0%     2   19.7  20.2  
19.7  20.7   0.7

Regards,
Bernhard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to