IPv6 literal addresses on command line

Paul Slootman paul at debian.org
Fri Nov 28 02:28:28 EST 2003


On Thu 27 Nov 2003, cam wrote:
> 
> [root at thing]# host -t AAAA doodah.ipv6.ournet.co.uk
> doodah.ipv6.ournet.co.uk has AAAA address 3ffe:501:420:120::2
> [root at thing]# rsync -Cav -6 doodah:home/cam/dev/pcapture .
> doodah: Unknown host

Of course, here you're doing two different things: with and without a
fully qualified name.

> AFAICT, on linux the rsync configure scripts look for the libinet6 library
> distributed with the USAGI IPv6 kernel patches - although frankly I am out of
> my depth here when it comes to analysing the Makefiles. Since I am developing
> against a vanilla 2.4.22 kernel, I suspect that this is what is breaking the
> name resolution - rsync is compiling with IPv6 support but is referencing the
> wrong name resolution calls. This probably isn't unreasonable since most people
> interested in IPv6 will be using USAGI - in our case we are developing against
> a mobile IPv6 implementation which is not currently patched with USAGI. 
> 
> I further assume that debian has the libinet6 library (at least in the case of
> the guy who wrote to me) and that a different mechanism is used on BSD to
> detect the presence of the KAME stack.

"That guy" would be me... I'm Debian's rsync maintainer, so all Debian
users (well, "testing" users at least) are also in the happy situation
that their rsync supports IPv6.

In the configure output, there's this line:

    checking ipv6 stack type... linux-glibc

This implies to me that the standard glibc supports IPv6. I have no
libinet6 or such on my system. rsync is linked with -lresolv, if that
helps any...


Paul Slootman



More information about the rsync mailing list