Bug 6067 - IPv6 literal addresses broken if prefixed username supplied
IPv6 literal addresses broken if prefixed username supplied
Status: RESOLVED FIXED
Product: rsync
Classification: Unclassified
Component: core
3.0.5
Other Linux
: P3 normal
: ---
Assigned To: Wayne Davison
Rsync QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-27 06:51 UTC by Arkadiusz Miskiewicz
Modified: 2009-01-28 18:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arkadiusz Miskiewicz 2009-01-27 06:51:30 UTC
[arekm@tarm ~]$ rsync --version
rsync  version 3.0.5  protocol version 30
Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
    append, ACLs, xattrs, iconv, symtimes

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.


[arekm@tarm ~]$ rsync -avP "arekm@[2001:6a0:13f:1::1]:ble" .
ssh: Could not resolve hostname [2001: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(600) [receiver=3.0.5]


[arekm@tarm ~]$ rsync -avP -e ssh "arekm@[2001:6a0:13f:1::1]:ble" .
ssh: Could not resolve hostname [2001: Name or service not known
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(600)[receiver=3.0.5]


[arekm@tarm ~]$ rsync -avP rsync://arekm@[2001:6a0:13f:1::1]:ble .
rsync: getaddrinfo: [2001 6: Name or service not known
rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.5]


ps. version form in bugzilla doesn't contain released 3.0.5 version
Comment 1 Wayne Davison 2009-01-28 18:03:51 UTC
My new hostspec parsing code fixes this.  It's checked in to the master and b3.0.x branches in git.

http://git.samba.org/?p=rsync.git;a=summary