[smokeping-users] IPv6 address as target for EchoPingHttp not working

Niko Tyni ntyni+smokeping-users at mappi.helsinki.fi
Mon May 2 14:47:18 CEST 2011


On Mon, May 02, 2011 at 02:33:36PM +0200, Christian Hahn wrote:
 
> smokeping[8577]: EchoPingHttp: WARNING: "/usr/bin/echoping -p 6 -t 1 -w 1 -6 -h
> / -A -a -R -n 5 2001:db8:x:x:x:x:x:x:80" exited with status 1 - output follows
> smokeping[8577]: EchoPingHttp:          getaddrinfo error for host: 2001 Address
> family for hostname not supported
> 
> Problem is that the plugin automatically appends the port number to the IPv6
> address. The result is a not valid IPv6 literal "2001:db8:x:x:x:x:x:x:80".
> Embedding the IPv6 address in "[]" helps, as the resulting IPv6 literal with
> port appended "[2001:db8:x:x:x:x:x:x]:80" works well with echoping in the shell.

Yeah, I see. Thanks for the report. I'll look at fixing this.
-- 
Niko Tyni   ntyni at debian.org



More information about the smokeping-users mailing list