[smokeping-users] IPv6/traceroute6 patch for SmokeTrace/smokeping-2.4.2

David Tomic young_einstein at internode.on.net
Mon Dec 8 11:55:43 CET 2008


Thanks a lot Steven.

Seems to be working like a charm for me so far!

On 08/12/08 02:59, Steven Bytnar wrote:
> Hi,
>
> Attached is a patch that adds IPv6 (traceroute6) support to SmokeTrace.
>
> Release notes:
> * If Socket6 is not installed, don't attempt to do IPv6 lookups.
> * When the host is a FQDN and the info from getaddrinfo resolves
> to an IPv6 address, traceroute6 is used on that FQDN. Therefore,
> the code prefers IPv6 addresses. It may be that some people may
> prefer an IPv4 traceroute instead of IPv6 traceroute6 when a host
> returns both an IPv4 and IPv6 address.
> * When an IPv6 address is specified, an IPv6 traceroute6 is provided.
> * When an IPv4 address or IPv4 only FQDN is used, an IPv4 traceroute
> is provided.
> * I'm not a perl master (yet), so there might be a better way to
> write this line of code to remove the variable declarations before it:
> ($family, $socktype, $proto, $saddr, $canonname, @res) = @res;
>
> Tested on Mac OS X 10.5.5.
>
> Enjoy!
> --Steve
>
>    
> ------------------------------------------------------------------------
>
> _______________________________________________
> smokeping-users mailing list
> smokeping-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>    



More information about the smokeping-users mailing list