Hi,
I've been working with Casey Marshall's SSL patch, and couldn't get
it to work reliably - the transfer would abort pretty quickly. So I rewrote the
main data pump loop of the patch to use non-blocking IO, and am attaching the
new patch.
An rsync program using this patch is interoperable with the old patch.
Along with the modified message pump I added the following improvements:
- Buffering data to produce large SSL records (16K) to increase the
encryption/decryption efficiency.
- Control of the SSL cipher list on the client via the RSYNC_SSL_CIPHERS
environment variable
- Graceful termination in order to better pass last error messages from the
server to the client
To use the patch (against 3.0.7):
??? patch -p1 < rsync-openssl.diff
??? ./prepare-source
??? ./configure
??? make
Enjoy,
Uri.
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rsync-openssl.diff
Type: application/octet-stream
Size: 32375 bytes
Desc: not available
URL:
<http://lists.samba.org/pipermail/rsync/attachments/20100214/9d27c528/attachment.obj>