error receiving files from protocol 29 server

Paul Slootman paul+rsync at wurtel.net
Tue Sep 23 10:58:00 GMT 2008


In debian bug #493559 (http://bugs.debian.org/493559) the problem is
that when requesting a file from an older version rsync, the remote
server gives an error:

$ rsync rsync://rsync.blackholes.us/zones/countries/countries.rbl /tmp
rsync: on remote machine: -: unknown option
rsync error: requested action not supported (code 4) at clientserver.c(517)
rsync: connection unexpectedly closed (4 bytes received so far) [receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(632) [receiver=3.0.4]

Adding any option, e.g. -v or -t makes it work.
>From using tcpdump I can see that it sends:

--sender\n-\n.\nzones/countries/countries.rbl\n\n

If you add -v, it sends: 

--sender\n-t\n.\nzones/countries/countries.rbl\n\n

With 2.6.9 and no options, it sends:

--sender\n.\nzones/countries/countries.rbl\n\n

i.e. no extra -\n added.

Shouldn't 3.0.3 (and 3.0.4) not duplicate the 2.6.9 behaviour when
talking to a protocol 29 server?


Paul


More information about the rsync mailing list