Hello all, Can anyone give me a hint on how to specify an IPv6 address in an rsync address literal - the colon character is already used to seperate the host name from the remote directory AFAICT... I get, e.g. rsync -Cavb 3ffe:502:420:120::2:/home/cam/dev/proj 3ffe: Unknown host rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(150) Found some discussion of patches regarding IPv6 address-matching from about July so I went for the most recent CVS snapshot I could find (although to be honest and with only a superficial reading of the posts, the patches seemed to be related to matching addresses in some of the config files): rsync version 2.5.6cvs protocol version 26 Copyright (C) 1996-2002 by Andrew Tridgell and others <http://rsync.samba.org/> Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, IPv6, 64-bit system inums, 64-bit internal inums Sorry if I'm missing something screamingly obvious and very grateful for any pointers... BTW, I find that setting up name lookups for our small IPv6 test network in /etc/hosts works fine in FreeBSD but not linux... a seperate problem I suppose. cheers, cam __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
On Thu, Nov 13, 2003 at 04:44:18AM -0800, cam wrote:> Hello all, > > Can anyone give me a hint on how to specify an IPv6 address in an > rsync address literal - the colon character is already used to > seperate the host name from the remote directory AFAICT... I get, e.g. > > rsync -Cavb 3ffe:502:420:120::2:/home/cam/dev/proj > 3ffe: Unknown host > rsync: connection unexpectedly closed (0 bytes read so far) > rsync error: error in rsync protocol data stream (code 12) at > io.c(150) > > Found some discussion of patches regarding IPv6 address-matching from about > July so I went for the most recent CVS snapshot I could find (although to be > honest and with only a superficial reading of the posts, the patches seemed to > be related to matching addresses in some of the config files): > > rsync version 2.5.6cvs protocol version 26 > Copyright (C) 1996-2002 by Andrew Tridgell and others > <http://rsync.samba.org/> > Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, > IPv6, 64-bit system inums, 64-bit internal inumsIf you want current source you can either get it directly from cvs per the instructions or with rsync rsync://rsync.samba.org/ftp/unpacked/rsync !!!!!!!!!!!! Martin, can we either get the nightly snapshots working again (http://ftp.samba.org/ftp/rsync/nightly/) or get rid of them. Those are more than a year out of date predating the latest annointed release by about six months. This is worse than no CVS snapshots. ftp://rsync.samba.org/pub/rsync/cvsroot.tar.gz is even more out of date. -- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt
Hello all, Just to get some er, 'closure' on this, if you will (spot the thinly disguised, desperate repost)... To summarise: no-one is currently using rsync over IPv6 on linux. I superficially applied a patch suggested by a list member and while this fixed the problem of correctly parsing the IPv6 literal address, linux was still unable to find the host and appeared, unlike BSD, to ignore the /etc/hosts file. Several items are mentioned in the TODO file with regard to these issues so I suppose that, short of myself or someone else finding the time to engross themselves in the rsync code, this is the way it shall remain. Cheers, cam __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree