[rsync-announce] Rsync 2.6.1 released (includes security note)

2004-04-27 Thread rsync-announce
Rsync version 2.6.1 has been released.  It is primarily a performance
release that requires less memory to run, makes fewer write calls to
the socket (lowering the system CPU time), does less string copying
(lowering the user CPU time), and also reduces the amount of data
that is transmitted over the wire.  There have also been quite a few
bug fixes.  See the release NEWS for the full details:

http://rsync.samba.org/ftp/rsync/rsync-2.6.1-NEWS

*Security Note*

There is a security fix included in 2.6.1 that affects only people
running a read/write daemon WITHOUT using chroot.  If the user privs
that such an rsync daemon is using is anything above nobody, you are
at risk of someone crafting an attack that could write a file outside
of the module's path.  Please either enable chroot or upgrade to
2.6.1.  People not running a daemon, running a read-only daemon, or
running a chrooted daemon are totally unaffected.

Go to the download page to grab the new version:

http://rsync.samba.org/download.html

..wayne..


signature.asc
Description: Digital signature
___
rsync-announce mailing list
[EMAIL PROTECTED]
http://lists.samba.org/mailman/listinfo/rsync-announce


Re: [rsync-announce] Rsync 2.6.1 released (includes security note)

2004-04-27 Thread Eric Whiting
[EMAIL PROTECTED] wrote:
 
 Rsync version 2.6.1 has been released.  It is primarily a performance
 release that requires less memory to run, makes fewer write calls to
 the socket (lowering the system CPU time), does less string copying
 (lowering the user CPU time), and also reduces the amount of data
 that is transmitted over the wire.  There have also been quite a few
 bug fixes.  See the release NEWS for the full details:

I just tried a simple test of 2.6.1.  I still need to do more testing, but here
is some data that shows a decrease in  cpu time. The test results varied
depending on other external loading, but here is some representative data:

rsync 2.5.6 both ends -- 200,000 files (source files read via nfs, dest is over
ssh to local disk)

real27m48.939s
user0m14.910s
sys 0m19.490s
approx memory both sides 30M -- receiver had a 18M jump at the end to 48M


rsync 2.6.1 both ends-- same tree, same setup

real15m30.547s
user0m9.840s
sys 0m16.910s
approx memory both sides 22M -- receiver had a 18M jump at the end from 20G to
38G


real time shows a good speed up. (not 100% meaningful unless you have a very
controlled test environment)

user time shows a good speed up. 

sys time also shows a speed up. 

memory use appears to be less. 

These performance fixes look like they could be helpful. My current bottlenecks
are probably still the link speeds to remote locations and the nfs source read,
but this new rsync might help some too. 

eric
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html