[smokeping-users] Slave to Master connection over IPv6

Gert Doering gert at space.net
Sun Mar 31 13:58:56 CEST 2013


On Sat, Mar 30, 2013 at 04:21:45PM -0400, Jester 2.0 wrote:
> WARNING Master said 500 Can't connect to gold.example.net:80 (Bad hostname)
> I then configured Slave to connect to a master that has both v4 and v6
> address and the connection worked.  Watching the connection, I see that it
> connected over v4, not v6 as it should prefer to.

Perl itself isn't really dual-stack friendly (built-in modules only
do IPv4, you need to install "Socket6" and explicitely use IO::Socket::INET6
to get dual-stack sockets).

The DNS probe in smokeping suffers from the same thing, you can't test
IPv6 servers with it either.

It *should* be fairly easy to fix, though (for AnotherDNS, it's just 
replacing one "INET" with "INET6" in the .pm)...

Gert Doering
        -- NetMaster
have you enabled IPv6 on something today...?

SpaceNet AG                        Vorstand: Sebastian v. Bomhard
Joseph-Dollinger-Bogen 14          Aufsichtsratsvors.: A. Grundner-Culemann
D-80807 Muenchen                   HRB: 136055 (AG Muenchen)
Tel: +49 (89) 32356-444            USt-IdNr.: DE813185279

More information about the smokeping-users mailing list