1 NEWS for rsync 2.6.3 (30 Sep 2004)
2 Protocol: 28 (unchanged)
7 - A bug in the sanitize_path routine (which affects a non-chrooted
8 rsync daemon) could allow a user to craft a pathname that would get
9 transformed into an absolute path for certain options (but not for
10 file-transfer names). If you're running an rsync daemon with chroot
11 disabled, *please upgrade*, ESPECIALLY if the user privs you run
12 rsync under is anything above "nobody".
14 OUTPUT CHANGES (ATTN: those using a script to parse the verbose output):
16 - Please note that the 2-line footer (output when verbose) now uses the
17 term "sent" instead of "wrote" and "received" instead of "read". If
18 you are not parsing the numeric values out of this footer, a script
19 would be better off using the empty line prior to the footer as the
20 indicator that the verbose output is over.
22 - The output from the --stats option was similarly affected to change
23 "written" to "sent" and "read" to "received".
25 - Rsync ensures that a filename that contains a newline gets mentioned
26 with each newline transformed into a question mark (which prevents a
27 filename from causing an empty line to be output).
29 - The "backed up ..." message that is output when at least 2 --verbose
30 options are specified is now the same both with and without the
35 - Fixed a crash bug that might appear when --delete was used and
36 multiple source directories were specified.
38 - Fixed a 32-bit truncation of the file length when generating the
41 - The --backup code no longer attempts to create some directories
42 over and over again (generating warnings along the way).
44 - Fixed a bug in the reading of the secrets file (by the daemon) and
45 the password file (by the client): the files no longer need to be
46 terminated by a newline for their content to be read in.
48 - If a file has a read error on the sending side or the reconstructed
49 data doesn't match the expected checksum (perhaps due to the basis
50 file changing during the transfer), the receiver will no longer
51 retain the resulting file unless the --partial option was specified.
52 (Note: for the read-error detection to work, neither side can be
53 older than 2.6.3 -- older receivers will always retain the file, and
54 older senders don't tell the receiver that the file had a read
57 - If a file gets resent in a single transfer and the --backup option
58 is enabled, rsync no longer performs a duplicate backup (it used to
59 overwrite the original file in the backup area).
61 - Files specified in the daemon's "exclude" or "exclude from" config
62 items are now excluded from being uploaded (assuming that the module
63 allows uploading at all) in addition to the old download exclusion.
65 - Got rid of a potential hang in the receiver when near the end of a
68 - When using --backup without a --backup-dir, rsync no longer preserves
69 the modify time on directories. This avoids confusing NFS.
71 - When --copy-links (-L) is specified, we now output a separate error
72 for a symlink that has no referent instead of claiming that a file
75 - The --copy-links (-L) option no longer has the side-effect of telling
76 the receiving side to follow symlinks. See the --keep-dirlinks
77 option (mentioned below) for a way to specify that behavior.
79 - Error messages from the daemon server's option-parsing (such as
80 refused options) are now successfully transferred back to the client
81 (the server used to fail to send the message because the socket
82 wasn't in the right state for the message to get through).
84 - Most transfer errors that occur during a daemon transfer are now
85 returned to the user in addition to being logged (some messages are
86 intended to be daemon-only and are not affected by this).
88 - Fixed a bug in the daemon authentication code when using one of the
89 batch-processing options.
91 - We try to work around some buggy IPv6 implementations that fail to
92 implement IPV6_V6ONLY. This should fix the "address in use" error
93 that some daemons get when running on an OS with a buggy IPv6
94 implementation. Also, if the new code gets this error, we might
95 suggest that the user specify --ipv4 or --ipv6 (if we think it will
98 - When the remote rsync dies, make a better effort to recover any error
99 messages it may have sent before dying (the local rsync used to just
100 die with a socket-write error).
102 - When using --delete and a --backup-dir that contains files that are
103 hard-linked to their destination equivalents, rsync now makes sure
104 that removed files really get removed (avoids a really weird rename()
107 - Avoid a bogus run-time complaint about a lack of 64-bit integers when
108 the int64 type is defined as an off_t and it actually has 64-bits.
110 - Added a configure check for open64() without mkstemp64() so that we
111 can avoid using mkstemp() when such a combination is encountered.
112 This bypasses a problem writing out large temp files on OSes such as
115 - Fixed an age-old crash problem with --read-batch on a local copy
116 (rsync was improperly assuming --whole-file for the local copy).
118 - When --dry-run (-n) is used and the destination directory does not
119 exist, rsync now produces a correct report of files that would be
120 sent instead of dying with a chdir() error.
122 - Fixed a bug that could cause a slow-to-connect rsync daemon to die
123 with an error instead of waiting for the connection to finish.
125 - Fixed an ssh interaction that could cause output to be lost when the
126 user chose to combine the output of rsync's stdout and stderr (e.g.
131 - Added the --partial-dir=DIR option that lets you specify where to
132 (temporarily) put a partially transferred file (instead of over-
133 writing the destination file). E.g. --partial-dir=.rsync-partial
134 Also added support for the RSYNC_PARTIAL_DIR environment variable
135 that, when found, transforms a regular --partial option (such as
136 the convenient -P option) into one that also specifies a directory.
138 - Added --keep-dirlinks (-K), which allows you to symlink a directory
139 onto another partition on the receiving side and have rsync treat it
140 as matching a normal directory from the sender.
142 - Added the --inplace option that tells rsync to write each destination
143 file without using a temporary file. The matching of existing data
144 in the destination file can be severely limited by this, but there
145 are also cases where this is more efficient (such as appending data).
146 Use only when needed (see the man page for more details).
148 - Added the "write only" option for the daemon's config file.
150 - Added long-option names for -4 and -6 (namely --ipv4 and --ipv6)
151 and documented all these options in the man page.
153 - Improved the handling of the --bwlimit option so that it's less
154 bursty, more accurate, and works properly over a larger range of
157 - The rsync daemon-over-ssh code now looks for SSH_CONNECTION and
158 SSH2_CLIENT in addition to SSH_CLIENT to figure out the IP address.
160 - Added the --checksum-seed=N option for advanced users.
162 - Batch writing/reading has a brand-new implementation that is simpler,
163 fixes a few weird problems with the old code (such as no longer
164 sprinkling the batch files into different dirs or even onto different
165 systems), and is much less intrusive into the code (making it easier
166 to maintain for the future). The new code generates just one data
167 file instead of three, which makes it possible to read the batch on
168 stdin via a remote shell. Also, the old requirement of forcing the
169 same fixed checksum-seed for all batch processing has been removed.
171 - If an rsync daemon has a module set with "list = no" (which hides its
172 presence in the list of available modules), a user that fails to
173 authenticate gets the same "unknown module" error that they would get
174 if the module were actually unknown (while still logging the real
175 error to the daemon's log file). This prevents fishing for module
178 - The daemon's "refuse options" config item now allows you to match
179 option names using wildcards and/or the single-letter option names.
181 - Each transferred file now gets its permissions and modified-time
182 updated before the temp-file gets moved into place. Previously, the
183 finished file would have a very brief window where its permissions
184 disallowed all group and world access.
186 - Added the ability to parse a literal IPv6 address in an "rsync:" URL
187 (e.g. rsync://[2001:638:500:101::21]:873/module/dir).
189 - The daemon's wildcard expanding code can now handle more than 1000
190 filenames (it's now limited by memory instead of having a hard-wired
195 - Some cleanup in the exclude code has saved some per-exclude memory
196 and made the code easier to maintain.
198 - Improved the argv-overflow checking for a remote command that has a
201 - Use rsyserr() in the various places that were still calling rprintf()
202 with strerror() as an arg.
204 - If an rsync daemon is listening on multiple sockets (to handle both
205 IPv4 and IPv6 to a single port), we now close all the unneeded file
206 handles after we accept a connection (we used to close just one of
209 - Optimized the handling of larger block sizes (rsync used to slow to a
210 crawl if the block size got too large).
212 - Optimized away a loop in hash_search().
214 - Some improvements to the sanitize_path() and clean_fname() functions
215 makes them more efficient and produce better results (while still
216 being compatible with the file-name cleaning that gets done on both
217 sides when sending the file-list).
219 - Got rid of alloc_sanitize_path() after adding a destination-buffer
220 arg to sanitize_path() made it possible to put all the former's
221 functionality into the latter.
223 - The file-list that is output when at least 4 verbose options are
224 specified reports the uid value on the sender even when rsync is
225 not running as root (since we might be sending to a root receiver).
229 - Added a "gen" target to rebuild most of the generated files,
230 including configure, config.h.in, the man pages, and proto.h.
232 - If "make proto" doesn't find some changes in the prototypes, the
233 proto.h file is left untouched (its time-stamp used to always be
236 - The variable $STRIP (that is optionally set by the install-strip
237 target's rule) was changed to $INSTALL_STRIP because some systems
238 have $STRIP already set in the environment.
240 - Fixed a build problem when SUPPORT_HARD_LINKS isn't defined.
242 - When cross-compiling, the gettimeofday() function is now assumed to
243 be a modern version that takes two-args (since we can't test it).
247 - The scripts in the testsuite dir were cleaned up a bit and a few
250 - Some new diffs were added to the patches dir, and some accepted
254 NEWS for rsync 2.6.2 (30 Apr 2004)
255 Protocol: 28 (unchanged)
260 - Fixed a major bug in the sorting of the filenames when --relative
261 is used for some sources (just sources such as "/" and "/*" were
262 affected). This fix ensures that we ask for the right file-list
263 item when requesting changes from the sender.
265 - Rsync now checks the return value of the close() function to
266 better report disk-full problems on an NFS file system.
268 - Restored the old daemon-server behavior of logging error messages
269 rather than returning them to the user. (A better long-term fix
270 will be sought in the future.)
272 - An obscure uninitialized-variable bug was fixed in the uid/gid
273 code. (This bug probably had no ill effects.)
277 - Got rid of the configure check for sys/sysctl.h (it wasn't used
278 and was causing a problem on some systems). Also improved the
279 broken-largefile-locking test to try to avoid failure due to an
282 - Fixed a compile problem on systems that don't define
285 - Fixed a compile problem in the popt source for compilers that
286 don't support __attribute__.
290 - Improved the testsuite's "merge" test to work on OSF1.
292 - Two new diffs were added to the patches dir.
295 NEWS for rsync 2.6.1 (26 Apr 2004)
296 Protocol: 28 (changed)
301 - Paths sent to an rsync daemon are more thoroughly sanitized when
302 chroot is not used. If you're running a non-read-only rsync
303 daemon with chroot disabled, *please upgrade*, ESPECIALLY if the
304 user privs you run rsync under is anything above "nobody".
308 - Lower memory use, more optimal transfer of data over the socket,
309 and lower CPU usage (see the INTERNAL section for details).
311 - The RSYNC_PROXY environment variable can now contain a
312 "USER:PASS@" prefix before the "HOST:PORT" information.
315 - The --progress output now mentions how far along in the transfer
316 we are, including both a count of files transferred and a
317 percentage of the total file-count that we've processed. It also
318 shows better current-rate-of-transfer and remaining-transfer-time
321 - Documentation changes now attempt to describe some often mis-
322 understood features more clearly.
326 - When -x (--one-file-system) is combined with -L (--copy-links) or
327 --copy-unsafe-links, no symlinked files are skipped, even if the
328 referent file is on a different filesystem.
330 - The --link-dest code now works properly for a non-root user when
331 (1) the UIDs of the source and destination differ and -o was
332 specified, or (2) when the group of the source can't be used on
333 the destination and -g was specified.
335 - Fixed a bug in the handling of -H (hard-links) that might cause
336 the expanded PATH/NAME value of the current item to get
337 overwritten (due to an expanded-name caching bug).
339 - We now reset the "new data has been sent" flag at the start of
340 each file we send. This makes sure that an interrupted transfer
341 with the --partial option set doesn't keep a shorter temp file
342 than the current basis file when no new data has been transfered
343 over the wire for that file.
345 - Fixed a byte-order problem in --batch-mode on big-endian machines.
348 - When using --cvs-exclude, the exclude items we get from a
349 per-directory's .cvsignore file once again only affect that one
350 directory (not all following directories too). The items are also
351 now properly word-split and parsed without any +/- prefix parsing.
353 - When specifying the USER@HOST: prefix for a file, the USER part
354 can now contain an '@', if needed (i.e. the last '@' is used to
355 find the HOST, not the first).
357 - Fixed some bugs in the handling of group IDs for non-root users:
358 (1) It properly handles a group that the sender didn't have a name
359 for (it would previously skip changing the group on any files in
360 that group). (2) If --numeric-ids is used, rsync no longer
361 attempts to set groups that the user doesn't have the permission
364 - Fixed the "refuse options" setting in the rsyncd.conf file.
366 - Improved the -x (--one-file-system) flag's handling of any mount-
367 point directories we encounter. It is both more optimal (in that
368 it no longer does a useless scan of the contents of the mount-
369 point dirs) and also fixes a bug where a remapped mount of the
370 original filesystem could get discovered in a subdir we should be
373 - Rsync no longer discards a double-slash at the start of a filename
374 when trying to open the file. It also no longer constructs names
375 that start with a double slash (unless the user supplied them).
377 - Path-specifying options to a daemon should now work the same with
378 or without chroot turned on. Previously, such a option (such as
379 --link-dest) would get its absolute path munged into a relative
380 one if chroot was not on, making that setting fairly useless.
381 Rsync now transforms the path into one that is based on the
382 module's base dir when chroot is not enabled.
384 - Fixed a compatibility problem interacting with older rsync
385 versions that might send us an empty --suffix value without
386 telling us that --backup-dir was specified.
388 - The "hosts allow" option for a daemon-over-remote-shell process
389 now has improved support for IPv6 addresses and a fix for systems
390 that have a length field in their socket structs.
392 - Fixed the ability to request an empty backup --suffix when sending
393 files to an rsync daemon.
397 - Most of the I/O is now buffered, which results in a pretty large
398 speedup when running under MS Windows. (Craig Barratt)
400 - Optimizations to the name-handling/comparing code have made some
401 significant reductions in user-CPU time for large file sets.
403 - Some cleanup of the variable types make the code more consistent.
405 - Reduced memory requirements of hard link preservation.
408 - Implemented a new algorithm for hard-link handling that speeds up
409 the code significantly. (J.W. Schultz and Wayne Davison)
411 - The --hard-link option now uses the first existing file in the
412 group of linked files as the basis for the transfer. This
413 prevents the sub-optimal transfer of a file's data when a new
414 hardlink is added on the sending side and it sorts alphabetically
415 earlier in the list than the files that are already present on the
418 - Dropped support for protocol versions less than 20 (2.3.0 released
419 15 Mar 1999) and activated warnings for protocols less than 25
420 (2.5.0 released 23 Aug 2001). (Wayne Davison and J.W. Schultz,
423 - More optimal data transmission for --hard-links (protocol 28).
425 - More optimal data transmission for --checksum (protocol 28).
427 - Less memory is used when --checksum is specified.
429 - Less memory is used in the file list (a per-file savings).
431 - The generator is now better about not modifying the file list
432 during the transfer in order to avoid a copy-on-write memory
433 bifurcation (on systems where fork() uses shared memory).
434 Previously, rsync's shared memory would slowly become unshared,
435 resulting in real memory usage nearly doubling on the receiving
436 side by the end of the transfer. Now, as long as permissions
437 are being preserved, the shared memory should remain that way
438 for the entire transfer.
440 - Changed hardlink info and file_struct + strings to use allocation
441 pools. This reduces memory use for large file-sets and permits
442 freeing memory to the OS. (J.W. Schultz)
444 - The 2 pipes used between the receiver and generator processes
445 (which are forked on the same machine) were reduced to 1 pipe and
446 the protocol improved so that (1) it is now impossible to have the
447 "redo" pipe fill up and hang rsync, and (2) trailing messages from
448 the receiver don't get lost on their way through the generator
449 over to the sender (which mainly affected hard-link messages and
450 verbose --stats output).
452 - Improved the internal uid/gid code to be more portable and a
453 little more optimized.
455 - The device numbers sent when using --devices are now sent as
456 separate major/minor values with 32-bit accuracy (protocol 28).
457 Previously, the copied devices were sent as a single 32-bit
458 number. This will make inter-operation of 64-bit binaries more
459 compatible with their 32-bit brethren (with both ends of the
460 connection are using protocol 28). Note that optimizations in the
461 binary protocol for sending the device numbers often results in
462 fewer bytes being used than before, even though more precision is
465 - Some cleanup of the exclude/include structures and its code made
466 things clearer (internally), simpler, and more efficient.
468 - The reading & writing of the file-list in batch-mode is now
469 handled by the same code that sends & receives the list over the
470 wire. This makes it much easier to maintain. (Note that the
471 batch code is still considered to be experimental.)
475 - The configure script now accepts --with-rsyncd-conf=PATH to
476 override the default value of the /etc/rsyncd.conf file.
478 - Fixed configure bug when running "./configure --disable-ipv6".
480 - Fixed compilation problem on Tru64 Unix (having to do with
481 sockaddr.sa_len and sockaddr.sin_len).
485 - Fixed "make test" bug when build dir is not the source dir.
487 - Added a couple extra diffs in the "patches" dir, removed the ones
488 that got applied, and rebuilt the rest.
491 NEWS for rsync 2.6.0 (1 Jan 2004)
492 Protocol: 27 (changed)
497 * "ssh" is now the default remote shell for rsync. If you want to
498 change this, configure like this: "./configure --with-rsh=rsh".
500 * Added --files-from, --no-relative, --no-implied-dirs, and --from0.
501 Note that --from0 affects the line-ending character for all the
502 files read by the --*-from options. (Wayne Davison)
504 * Length of csum2 is now per-file starting with protocol version
507 * Per-file dynamic block size is now sqrt(file length). The
508 per-file checksum size is determined according to an algorithm
509 provided by Donovan Baarda which reduces the probability of rsync
510 algorithm corrupting data and falling back using the whole md4
511 checksums. (J.W. Schultz, Donovan Baarda)
513 * The --stats option no longer includes the (debug) malloc summary
514 unless the verbose option was specified at least twice.
516 * Added a new error/warning code for when files vanish from the
517 sending side. Made vanished source files not interfere with the
518 file-deletion pass when --delete-after was specified.
520 * Various trailing-info sections are now preceded by a newline.
524 * Fixed several exclude/include matching bugs when using wild-cards.
525 This has a several user-visible effects, all of which make the
526 matching more consistent and intuitive. This should hopefully not
527 cause anyone problems since it makes the matching work more like
528 what people are expecting. (Wayne Davison)
530 - A pattern with a "**" no longer causes a "*" to match slashes.
531 For example, with "/*/foo/**", "foo" must be 2 levels deep.
532 [If your string has BOTH "*" and "**" wildcards, changing the
533 "*" wildcards to "**" will provide the old behavior in all
536 - "**/foo" now matches at the base of the transfer (like /foo
537 does). [Use "/**/foo" to get the old behavior in all versions.]
539 - A non-anchored wildcard term floats to match beyond the base of
540 the transfer. E.g. "CVS/R*" matches at the end of the path,
541 just like the non-wildcard term "CVS/Root" does. [Use "/CVS/R*"
542 to get the old behavior in all versions.]
544 - Including a "**" in the match term causes it to be matched
545 against the entire path, not just the name portion, even if
546 there aren't any interior slashes in the term. E.g. "foo**bar"
547 would exclude "/path/foo-bar" (just like before) as well as
548 "/foo-path/baz-bar" (unlike before). [Use "foo*bar" to get the
549 old behavior in all versions.]
551 * The exclude list specified in the daemon's config file is now
552 properly applied to the pulled items no matter how deep the
553 user's file-args are in the source tree. (Wayne Davison)
555 * For protocol version >= 27, mdfour_tail() is called when the
556 block size (including checksum_seed) is a multiple of 64.
557 Previously it was not called, giving the wrong MD4 checksum.
560 * For protocol version >= 27, a 64 bit bit counter is used in
561 mdfour.c as required by the RFC. Previously only a 32 bit bit
562 counter was used, causing incorrect MD4 file checksums for
563 file sizes >= 512MB - 4. (Craig Barratt)
565 * Fixed a crash bug when interacting with older rsync versions and
566 multiple files of the same name are destined for the same dir.
569 * Keep tmp names from overflowing MAXPATHLEN.
571 * Make --link-dest honor the absence of -p, -o, and -g.
573 * Made rsync treat a trailing slash in the destination in a more
576 * Fixed file I/O error detection. (John Van Essen)
578 * Fixed bogus "malformed address {hostname}" message in rsyncd log
579 when checking IP address against hostnames from "hosts allow"
580 and "hosts deny" parameters in config file.
582 * Print heap statistics when verbose >= 2 instead of when >= 1.
584 * Fixed a compression (-z) bug when syncing a mostly-matching file
585 that contains already-compressed data. (Yasuoka Masahiko and
588 * Fixed a bug in the --backup code that could cause deleted files
589 to not get backed up.
591 * When the backup code makes new directories, create them with mode
592 0700 instead of 0755 (since the directory permissions in the
593 backup tree are not yet copied from the main tree).
595 * Call setgroups() in a more portable manner.
597 * Improved file-related error messages to better indicate exactly
598 what pathname failed. (Wayne Davison)
600 * Fixed some bugs in the handling of --delete and --exclude when
601 using the --relative (-R) option. (Wayne Davison)
603 * Fixed bug that prevented regular files from replacing
604 special files and caused a directory in --link-dest or
605 --compare-dest to block the creation of a file with the
606 same path. A directory still cannot be replaced by a
607 regular file unless --delete specified. (J.W. Schultz)
609 * Detect and report when open or opendir succeed but read and
610 readdir fail caused by network filesystem issues and truncated
611 files. (David Norwood, Michael Brown, J.W. Schultz)
613 * Added a fix that should give ssh time to restore the tty settings
614 if the user presses Ctrl-C at an ssh password prompt.
618 * Eliminated vestigial support for old versions that we stopped
619 supporting. (J.W. Schultz)
621 * Simplified some of the option-parsing code. (Wayne Davison)
623 * Some cleanup made to the exclude code, as well as some new
624 defines added to enhance readability. (Wayne Davison)
626 * Changed the protocol-version code so that it can interact at a
627 lower protocol level than the maximum supported by both sides.
628 Added an undocumented option, --protocol=N, to force the value
629 we advertise to the other side (primarily for testing purposes).
633 NEWS for rsync 2.5.7 (4 Dec 2003)
634 Protocol: 26 (unchanged)
639 * Fix buffer handling bugs. (Andrew Tridgell, Martin Pool, Paul
640 Russell, Andrea Barisani)
643 NEWS for rsync 2.5.6, aka "the dwd-between-jobs release" (26 Jan 2003)
644 Protocol: 26 (unchanged)
649 * The --delete-after option now implies --delete. (Wayne Davison)
651 * The --suffix option can now be used with --backup-dir. (Michael
654 * Combining "::" syntax with the -rsh/-e option now uses the
655 specified remote-shell as a transport to talk to a (newly-spawned)
656 server-daemon. This allows someone to use daemon features, such
657 as modules, over a secure protocol, such as ssh. (JD Paul)
659 * The rsync:// syntax for daemon connections is now accepted in the
662 * If the file name given to --include-from or --exclude-from is "-",
663 rsync will read from standard input. (J.W. Schultz)
665 * New option --link-dest which is like --compare-dest except that
666 unchanged files are hard-linked in to the destination directory.
669 * Don't report an error if an excluded file disappears during an
670 rsync run. (Eugene Chupriyanov and Bo Kersey)
672 * Added .svn to --cvs-exclude list to support subversion. (Jon
675 * Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
676 and "hosts deny" fields. (Hideaki Yoshifuji)
678 * Changed exclude file handling to permit DOS or MAC style line
679 terminations. (J.W. Schultz)
681 * Ignore errors from chmod when -p/-a/--preserve-perms is not set.
686 * Fix "forward name lookup failed" errors on AIX 4.3.3. (John
687 L. Allen, Martin Pool)
689 * Generate each file's rolling-checksum data as we send it, not
690 in a separate (memory-eating) pass before hand. This prevents
691 timeout errors on really large files. (Stefan Nehlsen)
693 * Fix compilation on Tru64. (Albert Chin, Zoong Pham)
695 * Better handling of some client-server errors. (Martin Pool)
697 * Fixed a crash that would occur when sending a list of files that
698 contains a duplicate name (if it sorts to the end of the file
699 list) and using --delete. (Wayne Davison)
701 * Fixed the file-name duplicate-removal code when dealing with multiple
702 dups in a row. (Wayne Davison)
704 * Fixed a bug that caused rsync to lose the exit status of its child
705 processes and sometimes return an exit code of 0 instead of showing
706 an error. (David R. Staples, Dave Dykstra)
708 * Fixed bug in --copy-unsafe-links that caused it to be completely
709 broken. (Dave Dykstra)
711 * Prevent infinite recursion in cleanup code under certain circumstances.
712 (Sviatoslav Sviridov and Marc Espie)
714 * Fixed a bug that prevented rsync from creating intervening directories
715 when --relative-paths/-R is set. (Craig Barratt)
717 * Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
721 * Many code cleanups and improved internal documentation. (Martin
724 * Portability fixes. (Dave Dykstra and Wayne Davison)
726 * More test cases. (Martin Pool)
728 * Some test-case fixes. (Brian Poole, Wayne Davison)
730 * Updated included popt to the latest vendor drop, version 1.6.4.
733 * Updated config.guess and config.sub to latest versions; this
734 means rsync should build on more platforms. (Paul Green)
737 NEWS for rsync 2.5.5, aka Snowy River (2 Apr 2002)
738 Protocol: 26 (unchanged)
743 * With --progress, when a transfer is complete show the time taken;
744 otherwise show expected time to complete. (Cameron Simpson)
746 * Make "make install-strip" works properly, and "make install"
747 accepts a DESTDIR variable for help in building binary packages.
748 (Peter Breitenlohner, Greg Louis)
750 * If configured with --enable-maintainer-mode, then on receipt of
751 a fatal signal rsync will try to open an xterm running gdb,
752 similarly to Samba's "panic action" or GNOME's bug-buddy.
758 * Fix situation where failure to fork (e.g. because out of process
759 slots) would cause rsync to kill all processes owned by the
760 current user. Yes, really! (Paul Haas, Martin Pool)
762 * Fix test suite on Solaris. (Jos Backus, Martin Pool)
764 * Fix minor memory leak in socket code. (Dave Dykstra, Martin
767 * Fix --whole-file problem that caused it to be the default even
768 for remote connections. (Martin Pool, Frank Schulz)
770 * Work around bug in Mac OS X mkdir(2), which cannot handle
772 <http://www.opensource.apple.com/bugs/X/BSD%20Kernel/2734739.html>
775 * Improved network error handling. (Greg A. Woods)
778 NEWS for rsync 2.5.4, aka "Imitation lizard skin" (13 Mar 2002)
779 Protocol: 26 (unchanged)
784 * Additional fix for zlib double-free bug. (Martin Pool, Andrew
785 Tridgell) (CVE CAN-2002-0059)
789 * Merge in changes from zlib 1.1.3 to zlib 1.1.4. (Jos Backus)
790 (Note that rsync still uses a custom version of zlib; you can
791 not just link against a system library. See zlib/README.rsync)
793 * Additional test cases for --compress. (Martin Pool)
796 NEWS for rsync 2.5.3, aka "Happy 26" (11 Mar 2002)
797 Protocol: 26 (unchanged)
802 * Make sure that supplementary groups are removed from a server
803 process after changing uid and gid. (Ethan Benson) (Debian bug
804 #132272, CVE CAN-2002-0080)
808 * Fix zlib double-free bug. (Owen Taylor, Mark J Cox) (CVE
811 * Fixed problem that in many cases caused the error message
812 unexpected read size of 0 in map_ptr
813 and resulted in the wrong data being copied.
815 * Fixed compilation errors on some systems caused by the use of
816 "unsigned int64" in rsync.h.
818 * Fixed problem on systems such as Sunos4 that do not support realloc
819 on a NULL pointer; error was "out of memory in flist_expand".
821 * Fix for rsync server processes hanging around after the client
822 unexpectedly disconnects. (Colin Walters) (Debian bug #128632)
824 * Cope with BSD systems on which mkdir() will not accept a trailing
829 * Merge in changes from zlib 1.1.2 to zlib 1.1.3. (Note that
830 rsync still uses a custom version of zlib; you can not just link
831 against a system library. See zlib/README.rsync)
833 * Command to initiate connections is only shown with -vv, rather
834 than -v as in 2.5.2. Output from plain -v is more similar to
835 what was historically used so as not to break scripts that try
838 * Added --no-whole-file and --no-blocking-io options (Dave Dykstra)
840 * Made the --write-batch and --read-batch options actually work
841 and added documentation in the man page (Jos Backus)
843 * If the daemon is unable to fork a child to accept a connection,
844 print an error message. (Colin Walters)
847 NEWS for rsync 2.5.2 (26 Jan 2002)
848 Protocol: 26 (changed)
853 * Signedness security patch from Sebastian Krahmer
854 <krahmer@suse.de> -- in some cases we were not sufficiently
855 careful about reading integers from the network.
859 * Fix possible string mangling in log files.
861 * Fix for setting local address of outgoing sockets.
863 * Better handling of hardlinks and devices on platforms with
864 64-bit dev_t or ino_t.
866 * Name resolution on machines supporting IPv6 is improved.
868 * Fix for device nodes. (dann frazier) (Debian #129135)
872 * With -v, rsync now shows the command used to initiate an ssh/rsh
875 * --statistics now shows memory heap usage on platforms that
878 * "The Ted T'so school of program optimization": make progress
879 visible and people will think it's faster. (With --progress,
880 rsync will show you how many files it has seen as it builds the
881 file_list, giving some indication that it has not hung.)
883 * Improvements to batch mode support. This is still experimental
884 but testing would be welcome. (Jos Backus)
886 * New --ignore-existing option, patch previously distributed with
887 Vipul's Razor. (Debian #124286)
890 NEWS for rsync 2.5.1 (3 Jan 2002)
891 Protocol: 25 (unchanged)
896 * Fix for segfault in --daemon mode configuration parser. (Paul
899 * Correct string<->address parsing for both IPv4 and 6.
900 (YOSHIFUJI Hideaki, SUMIKAWA Munechika and Jun-ichiro "itojun"
903 * Various fixes for IPv6 support. (Dave Dykstra)
905 * rsync.1 typo fix. (Matt Kraai)
907 * Test suite typo fixes. (Tom Schmidt)
909 * rsync.1 grammar and clarity improvements. (Edward
912 * Correction to ./configure tests for inet_ntop. (Jeff Garzik)
916 * --progress and -P now show estimated data transfer rate (in a
917 multiple of bytes/s) and estimated time to completion. (Rik
920 * --no-detach option, required to run as a W32 service and also
921 useful when running on Unix under daemontools, AIX's SRC, or a
922 debugger. (Max Bowsher, Jos Backus)
924 * Clearer error messages for some conditions.
927 NEWS for rsync 2.5.0 (30 Nov 2001)
928 Protocol: 25 (changed)
933 * Martin Pool <mbp@samba.org> is now a co-maintainer.
937 * Support for LSB-compliant packaging <http://www.linuxbase.org/>
939 * Shell wildcards are allowed in "auth users" lines.
941 * Merged UNC rsync+ patch to support creation of standalone patch
942 sets. By Bert J. Dempsey and Debra Weiss, updated by Jos
943 Backus. <http://www.ils.unc.edu/i2dsi/unc_rsync+.html>
945 * IPv6 support based on a patch from KAME.net, on systems
946 including modern versions of Linux, Solaris, and HP-UX. Also
947 includes IPv6 compatibility functions for old OSs by the
948 Internet Software Consortium, Paul Vixie, the OpenSSH
949 portability project, and OpenBSD.
953 * Include/exclude cluestick: with -vv, print out whether files are
954 included or excluded and why.
956 * Many error messages have more friendly explanations and more
959 * Manual page improvements plus scanty protocol documentation.
961 * When running as --daemon in the background and using a "log
962 file" rsyncd.conf directive, close the log file every time it is
963 open when going to sleep on the socket. This allows the log
964 file to get cleaned out by another process.
966 * Change to using libpopt rather than getopt for processing
967 options. This makes the code cleaner and the behaviour more
968 consistent across platforms. popt is included and built if not
969 installed on the platform.
971 * More details in --version, including note about whether 64-bit
972 files, symlinks and hardlinks are supported.
974 * MD4 code may use less CPU cycles.
976 * Use mkstemp on systems where it is secure. If we use mktemp,
977 explain that we do it in a secure way.
979 * --whole-file is the default when source and target are on the
984 * Fix for various bugs causing rsync to hang.
986 * Attempt to fix Large File Summit support on AIX.
988 * Attempt to fix error handling lockup bug.
990 * Give a non-0 exit code if *any* of the files we have been asked
991 to transfer fail to transfer.
993 * For log messages containing ridiculously long strings that might
994 overflow a buffer rsync no longer aborts, but rather prints an
995 ellipsis at the end of the string. (Patch from Ed Santiago.)
999 * Improved support for UNICOS (tested on Cray T3E and Cray SV1)
1001 * autoconf2.52 (or later) is now required to rebuild the autoconf
1002 scripts. It is not required to simply build rsync.
1004 * Platforms thought to work in this release:
1006 Cray SV1 UNICOS 10.0.0.8 cc
1007 Debian Linux 2.2 UltraSparc gcc
1008 Debian Linux testing/unstable ARM gcc
1009 FreeBSD 3.3-RELEASE i386 cc
1010 FreeBSD 4.1.1-RELEASE i386 cc
1011 FreeBSD 4.3-STABLE i386 cc
1012 HP PA-RISC HP-UX 10.20 gcc
1013 HP PA-RISC HP-UX 11.11 cc
1016 Mac OS X PPC (--disable-ipv6) cc
1018 NetBSD Current i386 cc
1019 OpenBSD 2.5 Sparc gcc
1021 OpenBSD Current i386 cc
1023 RedHat 6.2 i386 insure++
1025 RedHat 7.1 i386 (Kernel 2.4.10) gcc
1026 Slackware 8.0 i686 (Kernel 2.4.10)
1027 Solaris 8 UltraSparc cc
1028 Solaris 8 UltraSparc gcc
1030 SuSE 7.1 i386 gcc2.95.2
1031 SuSE 7.1 ppc gcc2.95.2
1032 i386-pc-sco3.2v5.0.5 cc
1033 i386-pc-sco3.2v5.0.5 gcc
1034 powerpc-ibm-aix4.3.3.0 cc
1035 i686-unknown-sysv5UnixWare7.1.0 gcc
1036 i686-unknown-sysv5UnixWare7.1.0 cc
1040 * The existing test.sh script by Phil Hands has been merged into a
1041 test framework that works from both "make check" and the Samba
1044 Partial Protocol History
1045 RELEASE DATE VER. DATE OF COMMIT PROTOCOL
1046 30 Sep 2004 2.6.3 28
1047 30 Apr 2004 2.6.2 28
1048 26 Apr 2004 2.6.1 08 Jan 2004 28
1049 01 Jan 2004 2.6.0 10 Apr 2003 27 (MAX=40)
1050 04 Dec 2003 2.5.7 26
1051 26 Jan 2003 2.5.6 26
1052 02 Apr 2002 2.5.5 26
1053 13 Mar 2002 2.5.4 26
1054 11 Mar 2002 2.5.3 26
1055 26 Jan 2002 2.5.2 11 Jan 2002 26
1056 03 Jan 2002 2.5.1 25
1057 30 Nov 2001 2.5.0 23 Aug 2001 25
1058 06 Sep 2000 2.4.6 24
1059 19 Aug 2000 2.4.5 24
1060 29 Jul 2000 2.4.4 24
1061 09 Apr 2000 2.4.3 24
1062 30 Mar 2000 2.4.2 24
1063 30 Jan 2000 2.4.1 29 Jan 2000 24
1064 29 Jan 2000 2.4.0 28 Jan 2000 23
1065 25 Jan 2000 2.3.3 23 Jan 2000 22
1066 08 Nov 1999 2.3.2 26 Jun 1999 21
1067 06 Apr 1999 2.3.1 20
1068 15 Mar 1999 2.3.0 15 Mar 1999 20
1069 25 Nov 1998 2.2.1 19
1070 03 Nov 1998 2.2.0 19
1071 09 Sep 1998 2.1.1 19
1072 20 Jul 1998 2.1.0 19
1073 17 Jul 1998 2.0.19 19
1074 18 Jun 1998 2.0.17 19
1075 01 Jun 1998 2.0.16 19
1076 27 May 1998 2.0.13 27 May 1998 19
1077 26 May 1998 2.0.12 18
1078 22 May 1998 2.0.11 18
1079 18 May 1998 2.0.9 18 May 1998 18
1080 17 May 1998 2.0.8 17
1081 15 May 1998 2.0.1 17
1082 14 May 1998 2.0.0 17
1083 17 Apr 1998 1.7.4 17
1084 13 Apr 1998 1.7.3 17
1085 05 Apr 1998 1.7.2 17
1086 26 Mar 1998 1.7.1 17
1087 26 Mar 1998 1.7.0 26 Mar 1998 17 (MAX=30)
1088 13 Jan 1998 1.6.9 13 Jan 1998 15 (MAX=20)
1090 * DATE OF COMMIT is the date the protocol change was committed to CVS.