Patching?

Wayne Davison wayned at samba.org
Mon Sep 8 05:43:01 EST 2003


On Sat, Sep 06, 2003 at 04:01:15PM -0700, jw schultz wrote:
> What you should not do is run a public rsync server on CVS having a
> protocol bump (current HEAD) unless you patch it to downgrade the
> protocol version.

That's a good idea, but keep in mind that the patch would involve more
than just tweaking PROTOCOL_VERSION from 27 to a 26 in rsync.h.  The
code assumes that it can handle P.V. 27, so if the remote side says that
it supports P.V. 27, the local side would interact using the new csum
code, even if it told the remote side that it was only P.V. 26 (which
would totally confuse the remote side).  Thus, all the "remote_version"
checks for 27 would have to be disabled as well in such a downgraded
version of rsync.

..wayne..



More information about the rsync mailing list