On 12/21/10 3:13 PM, Tim Bruijnzeels wrote:
There seems to be bug in rsync when you try retrieve a single file that
start with a '-' (minus) character ('-' is part of the file system safe
base64 set). It seems this is related to the rsync daemon
implementation, but we have not yet followed up with the rsync
mailinglist (could not find anything in bugtracker):
We did some more testing and as it turns out this problem only occurs when a file starting with '-' is in the top of the repository:
/Users/tim $ rsync --list-only 'rsync://xxxx/repository/-fails' rsync: connection unexpectedly closed (0 bytes received so far) [receiver]rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-40/rsync/io.c(452) [receiver=2.6.9]
/Users/tim $ rsync --list-only 'rsync://xxxx/repository/rsync-bug/-works' -rw-r--r-- 218 2010/12/22 10:11:12 -worksI raised the issue on the rsync list. I can let this list know if it gets resolved..
In the meantime you may still want to avoid having '-' as a starting character, especially for your TA since everyone will try to download that direct. Other, probably better, work-around is to make sure that you don't publish to the actual top of the repository as configured in rsyncd.conf, but one directory below. This is better as discarding one in 64 keys essentially degrades security.. it's not really 2048 bit that way..
Cheers Tim _______________________________________________ sidr mailing list [email protected] https://www.ietf.org/mailman/listinfo/sidr
