1 NEWS for rsync 2.6.0 (1 Jan 2004)
7 * "ssh" is now the default remote shell for rsync. If you want to
8 change this, configure like this: "./configure --with-rsh=rsh".
10 * Added --files-from, --no-relative, --no-implied-dirs, and --from0.
11 Note that --from0 affects the line-ending character for all the
12 files read by the --*-from options. (Wayne Davison)
14 * Length of csum2 is now per-file starting with protocol version
17 * Per-file dynamic block size is now sqrt(file length). The
18 per-file checksum size is determined according to an algorithm
19 provided by Donovan Baarda which reduces the probability of rsync
20 algorithm corrupting data and falling back using the whole md4
21 checksums. (J.W. Schultz, Donovan Baarda)
23 * The --stats option no longer includes the (debug) malloc summary
24 unless the verbose option was specified at least twice.
26 * Added a new error/warning code for when files vanish from the
27 sending side. Made vanished source files not interfere with the
28 file-deletion pass when --delete-after was specified.
30 * Various trailing-info sections are now preceded by a newline.
34 * Fixed several exclude/include matching bugs when using wild-cards.
35 This has a several user-visible effects, all of which make the
36 matching more consistent and intuitive. This should hopefully not
37 cause anyone problems since it makes the matching work more like
38 what people are expecting. (Wayne Davison)
40 - A pattern with a "**" no longer causes a "*" to match slashes.
41 For example, with "/*/foo/**", "foo" must be 2 levels deep.
42 [If your string has BOTH "*" and "**" wildcards, changing the
43 "*" wildcards to "**" will provide the old behavior in all
46 - "**/foo" now matches at the base of the transfer (like /foo
47 does). [Use "/**/foo" to get the old behavior in all versions.]
49 - A non-anchored wildcard term floats to match beyond the base of
50 the transfer. E.g. "CVS/R*" matches at the end of the path,
51 just like the non-wildcard term "CVS/Root" does. [Use "/CVS/R*"
52 to get the old behavior in all versions.]
54 - Including a "**" in the match term causes it to be matched
55 against the entire path, not just the name portion, even if
56 there aren't any interior slashes in the term. E.g. "foo**bar"
57 would exclude "/path/foo-bar" (just like before) as well as
58 "/foo-path/baz-bar" (unlike before). [Use "foo*bar" to get the
59 old behavior in all versions.]
61 * The exclude list specified in the daemon's config file is now
62 properly applied to the pulled items no matter how deep the
63 user's file-args are in the source tree. (Wayne Davison)
65 * For protocol version >= 27, mdfour_tail() is called when the
66 block size (including checksum_seed) is a multiple of 64.
67 Previously it was not called, giving the wrong MD4 checksum.
70 * For protocol version >= 27, a 64 bit bit counter is used in
71 mdfour.c as required by the RFC. Previously only a 32 bit bit
72 counter was used, causing incorrect MD4 file checksums for
73 file sizes >= 512MB - 4. (Craig Barratt)
75 * Fixed a crash bug when interacting with older rsync versions and
76 multiple files of the same name are destined for the same dir.
79 * Keep tmp names from overflowing MAXPATHLEN.
81 * Make --link-dest honor the absence of -p, -o, and -g.
83 * Made rsync treat a trailing slash in the destination in a more
86 * Fixed file I/O error detection. (John Van Essen)
88 * Fixed bogus "malformed address {hostname}" message in rsyncd log
89 when checking IP address against hostnames from "hosts allow"
90 and "hosts deny" parameters in config file.
92 * Print heap statistics when verbose >= 2 instead of when >= 1.
94 * Fixed a compression (-z) bug when syncing a mostly-matching file
95 that contains already-compressed data. (Yasuoka Masahiko and
98 * Fixed a bug in the --backup code that could cause deleted files
101 * When the backup code makes new directories, create them with mode
102 0700 instead of 0755 (since the directory permissions in the
103 backup tree are not yet copied from the main tree).
105 * Call setgroups() in a more portable manner.
107 * Improved file-related error messages to better indicate exactly
108 what pathname failed. (Wayne Davison)
110 * Fixed some bugs in the handling of --delete and --exclude when
111 using the --relative (-R) option. (Wayne Davison)
113 * Fixed bug that prevented regular files from replacing
114 special files and caused a directory in --link-dest or
115 --compare-dest to block the creation of a file with the
116 same path. A directory still cannot be replaced by a
117 regular file unless --delete specified. (J.W. Schultz)
119 * Detect and report when open or opendir succeed but read and
120 readdir fail caused by network filesystem issues and truncated
121 files. (David Norwood, Michael Brown, J.W. Schultz)
123 * Added a fix that should give ssh time to restore the tty settings
124 if the user presses Ctrl-C at an ssh password prompt.
128 * Eliminated vestigial support for old versions that we stopped
129 supporting. (J.W. Schultz)
131 * Simplified some of the option-parsing code. (Wayne Davison)
133 * Some cleanup made to the exclude code, as well as some new
134 defines added to enhance readability. (Wayne Davison)
136 * Changed the protocol-version code so that it can interact at a
137 lower protocol level than the maximum supported by both sides.
138 Added an undocumented option, --protocol=N, to force the value
139 we advertise to the other side (primarily for testing purposes).
143 NEWS for rsync 2.5.7 (4 Dec 2003)
144 Protocol: 26 (unchanged)
149 * Fix buffer handling bugs. (Andrew Tridgell, Martin Pool, Paul
150 Russell, Andrea Barisani)
153 NEWS for rsync 2.5.6, aka "the dwd-between-jobs release" (26 Jan 2003)
154 Protocol: 26 (unchanged)
159 * The --delete-after option now implies --delete. (Wayne Davison)
161 * The --suffix option can now be used with --backup-dir. (Michael
164 * Combining "::" syntax with the -rsh/-e option now uses the
165 specified remote-shell as a transport to talk to a (newly-spawned)
166 server-daemon. This allows someone to use daemon features, such
167 as modules, over a secure protocol, such as ssh. (JD Paul)
169 * The rsync:// syntax for daemon connections is now accepted in the
172 * If the file name given to --include-from or --exclude-from is "-",
173 rsync will read from standard input. (J.W. Schultz)
175 * New option --link-dest which is like --compare-dest except that
176 unchanged files are hard-linked in to the destination directory.
179 * Don't report an error if an excluded file disappears during an
180 rsync run. (Eugene Chupriyanov and Bo Kersey)
182 * Added .svn to --cvs-exclude list to support subversion. (Jon
185 * Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
186 and "hosts deny" fields. (Hideaki Yoshifuji)
188 * Changed exclude file handling to permit DOS or MAC style line
189 terminations. (J.W. Schultz)
191 * Ignore errors from chmod when -p/-a/--preserve-perms is not set.
196 * Fix "forward name lookup failed" errors on AIX 4.3.3. (John
197 L. Allen, Martin Pool)
199 * Generate each file's rolling-checksum data as we send it, not
200 in a separate (memory-eating) pass before hand. This prevents
201 timeout errors on really large files. (Stefan Nehlsen)
203 * Fix compilation on Tru64. (Albert Chin, Zoong Pham)
205 * Better handling of some client-server errors. (Martin Pool)
207 * Fixed a crash that would occur when sending a list of files that
208 contains a duplicate name (if it sorts to the end of the file
209 list) and using --delete. (Wayne Davison)
211 * Fixed the file-name duplicate-removal code when dealing with multiple
212 dups in a row. (Wayne Davison)
214 * Fixed a bug that caused rsync to lose the exit status of its child
215 processes and sometimes return an exit code of 0 instead of showing
216 an error. (David R. Staples, Dave Dykstra)
218 * Fixed bug in --copy-unsafe-links that caused it to be completely
219 broken. (Dave Dykstra)
221 * Prevent infinite recursion in cleanup code under certain circumstances.
222 (Sviatoslav Sviridov and Marc Espie)
224 * Fixed a bug that prevented rsync from creating intervening directories
225 when --relative-paths/-R is set. (Craig Barratt)
227 * Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
231 * Many code cleanups and improved internal documentation. (Martin
234 * Portability fixes. (Dave Dykstra and Wayne Davison)
236 * More test cases. (Martin Pool)
238 * Some test-case fixes. (Brian Poole, Wayne Davison)
240 * Updated included popt to the latest vendor drop, version 1.6.4.
243 * Updated config.guess and config.sub to latest versions; this
244 means rsync should build on more platforms. (Paul Green)
247 NEWS for rsync 2.5.5, aka Snowy River (2 Apr 2002)
248 Protocol: 26 (unchanged)
253 * With --progress, when a transfer is complete show the time taken;
254 otherwise show expected time to complete. (Cameron Simpson)
256 * Make "make install-strip" works properly, and "make install"
257 accepts a DESTDIR variable for help in building binary packages.
258 (Peter Breitenlohner, Greg Louis)
260 * If configured with --enable-maintainer-mode, then on receipt of
261 a fatal signal rsync will try to open an xterm running gdb,
262 similarly to Samba's "panic action" or GNOME's bug-buddy.
268 * Fix situation where failure to fork (e.g. because out of process
269 slots) would cause rsync to kill all processes owned by the
270 current user. Yes, really! (Paul Haas, Martin Pool)
272 * Fix test suite on Solaris. (Jos Backus, Martin Pool)
274 * Fix minor memory leak in socket code. (Dave Dykstra, Martin
277 * Fix --whole-file problem that caused it to be the default even
278 for remote connections. (Martin Pool, Frank Schulz)
280 * Work around bug in Mac OS X mkdir(2), which cannot handle
282 <http://www.opensource.apple.com/bugs/X/BSD%20Kernel/2734739.html>
285 * Improved network error handling. (Greg A. Woods)
288 NEWS for rsync 2.5.4, aka "Imitation lizard skin" (13 Mar 2002)
289 Protocol: 26 (unchanged)
294 * Additional fix for zlib double-free bug. (Martin Pool, Andrew
295 Tridgell) (CVE CAN-2002-0059)
299 * Merge in changes from zlib 1.1.3 to zlib 1.1.4. (Jos Backus)
300 (Note that rsync still uses a custom version of zlib; you can
301 not just link against a system library. See zlib/README.rsync)
303 * Additional test cases for --compress. (Martin Pool)
306 NEWS for rsync 2.5.3, aka "Happy 26" (11 Mar 2002)
307 Protocol: 26 (unchanged)
312 * Make sure that supplementary groups are removed from a server
313 process after changing uid and gid. (Ethan Benson) (Debian bug
314 #132272, CVE CAN-2002-0080)
318 * Fix zlib double-free bug. (Owen Taylor, Mark J Cox) (CVE
321 * Fixed problem that in many cases caused the error message
322 unexpected read size of 0 in map_ptr
323 and resulted in the wrong data being copied.
325 * Fixed compilation errors on some systems caused by the use of
326 "unsigned int64" in rsync.h.
328 * Fixed problem on systems such as Sunos4 that do not support realloc
329 on a NULL pointer; error was "out of memory in flist_expand".
331 * Fix for rsync server processes hanging around after the client
332 unexpectedly disconnects. (Colin Walters) (Debian bug #128632)
334 * Cope with BSD systems on which mkdir() will not accept a trailing
339 * Merge in changes from zlib 1.1.2 to zlib 1.1.3. (Note that
340 rsync still uses a custom version of zlib; you can not just link
341 against a system library. See zlib/README.rsync)
343 * Command to initiate connections is only shown with -vv, rather
344 than -v as in 2.5.2. Output from plain -v is more similar to
345 what was historically used so as not to break scripts that try
348 * Added --no-whole-file and --no-blocking-io options (Dave Dykstra)
350 * Made the --write-batch and --read-batch options actually work
351 and added documentation in the man page (Jos Backus)
353 * If the daemon is unable to fork a child to accept a connection,
354 print an error message. (Colin Walters)
357 NEWS for rsync 2.5.2 (26 Jan 2002)
358 Protocol: 26 (changed)
363 * Signedness security patch from Sebastian Krahmer
364 <krahmer@suse.de> -- in some cases we were not sufficiently
365 careful about reading integers from the network.
369 * Fix possible string mangling in log files.
371 * Fix for setting local address of outgoing sockets.
373 * Better handling of hardlinks and devices on platforms with
374 64-bit dev_t or ino_t.
376 * Name resolution on machines supporting IPv6 is improved.
378 * Fix for device nodes. (dann frazier) (Debian #129135)
382 * With -v, rsync now shows the command used to initiate an ssh/rsh
385 * --statistics now shows memory heap usage on platforms that
388 * "The Ted T'so school of program optimization": make progress
389 visible and people will think it's faster. (With --progress,
390 rsync will show you how many files it has seen as it builds the
391 file_list, giving some indication that it has not hung.)
393 * Improvements to batch mode support. This is still experimental
394 but testing would be welcome. (Jos Backus)
396 * New --ignore-existing option, patch previously distributed with
397 Vipul's Razor. (Debian #124286)
400 NEWS for rsync 2.5.1 (3 Jan 2002)
401 Protocol: 25 (unchanged)
406 * Fix for segfault in --daemon mode configuration parser. (Paul
409 * Correct string<->address parsing for both IPv4 and 6.
410 (YOSHIFUJI Hideaki, SUMIKAWA Munechika and Jun-ichiro "itojun"
413 * Various fixes for IPv6 support. (Dave Dykstra)
415 * rsync.1 typo fix. (Matt Kraai)
417 * Test suite typo fixes. (Tom Schmidt)
419 * rsync.1 grammar and clarity improvements. (Edward
422 * Correction to ./configure tests for inet_ntop. (Jeff Garzik)
426 * --progress and -P now show estimated data transfer rate (in a
427 multiple of bytes/s) and estimated time to completion. (Rik
430 * --no-detach option, required to run as a W32 service and also
431 useful when running on Unix under daemontools, AIX's SRC, or a
432 debugger. (Max Bowsher, Jos Backus)
434 * Clearer error messages for some conditions.
437 NEWS for rsync 2.5.0 (30 Nov 2001)
438 Protocol: 25 (changed)
443 * Martin Pool <mbp@samba.org> is now a co-maintainer.
447 * Support for LSB-compliant packaging <http://www.linuxbase.org/>
449 * Shell wildcards are allowed in "auth users" lines.
451 * Merged UNC rsync+ patch to support creation of standalone patch
452 sets. By Bert J. Dempsey and Debra Weiss, updated by Jos
453 Backus. <http://www.ils.unc.edu/i2dsi/unc_rsync+.html>
455 * IPv6 support based on a patch from KAME.net, on systems
456 including modern versions of Linux, Solaris, and HP-UX. Also
457 includes IPv6 compatibility functions for old OSs by the
458 Internet Software Consortium, Paul Vixie, the OpenSSH
459 portability project, and OpenBSD.
463 * Include/exclude cluestick: with -vv, print out whether files are
464 included or excluded and why.
466 * Many error messages have more friendly explanations and more
469 * Manual page improvements plus scanty protocol documentation.
471 * When running as --daemon in the background and using a "log
472 file" rsyncd.conf directive, close the log file every time it is
473 open when going to sleep on the socket. This allows the log
474 file to get cleaned out by another process.
476 * Change to using libpopt rather than getopt for processing
477 options. This makes the code cleaner and the behaviour more
478 consistent across platforms. popt is included and built if not
479 installed on the platform.
481 * More details in --version, including note about whether 64-bit
482 files, symlinks and hardlinks are supported.
484 * MD4 code may use less CPU cycles.
486 * Use mkstemp on systems where it is secure. If we use mktemp,
487 explain that we do it in a secure way.
489 * --whole-file is the default when source and target are on the
494 * Fix for various bugs causing rsync to hang.
496 * Attempt to fix Large File Summit support on AIX.
498 * Attempt to fix error handling lockup bug.
500 * Give a non-0 exit code if *any* of the files we have been asked
501 to transfer fail to transfer.
503 * For log messages containing ridiculously long strings that might
504 overflow a buffer rsync no longer aborts, but rather prints an
505 ellipsis at the end of the string. (Patch from Ed Santiago.)
509 * Improved support for UNICOS (tested on Cray T3E and Cray SV1)
511 * autoconf2.52 (or later) is now required to rebuild the autoconf
512 scripts. It is not required to simply build rsync.
514 * Platforms thought to work in this release:
516 Cray SV1 UNICOS 10.0.0.8 cc
517 Debian Linux 2.2 UltraSparc gcc
518 Debian Linux testing/unstable ARM gcc
519 FreeBSD 3.3-RELEASE i386 cc
520 FreeBSD 4.1.1-RELEASE i386 cc
521 FreeBSD 4.3-STABLE i386 cc
522 HP PA-RISC HP-UX 10.20 gcc
523 HP PA-RISC HP-UX 11.11 cc
526 Mac OS X PPC (--disable-ipv6) cc
528 NetBSD Current i386 cc
529 OpenBSD 2.5 Sparc gcc
531 OpenBSD Current i386 cc
533 RedHat 6.2 i386 insure++
535 RedHat 7.1 i386 (Kernel 2.4.10) gcc
536 Slackware 8.0 i686 (Kernel 2.4.10)
537 Solaris 8 UltraSparc cc
538 Solaris 8 UltraSparc gcc
540 SuSE 7.1 i386 gcc2.95.2
541 SuSE 7.1 ppc gcc2.95.2
542 i386-pc-sco3.2v5.0.5 cc
543 i386-pc-sco3.2v5.0.5 gcc
544 powerpc-ibm-aix4.3.3.0 cc
545 i686-unknown-sysv5UnixWare7.1.0 gcc
546 i686-unknown-sysv5UnixWare7.1.0 cc
550 * The existing test.sh script by Phil Hands has been merged into a
551 test framework that works from both "make check" and the Samba
554 Partial Protocol History
555 RELEASE DATE VER. DATE OF COMMIT PROTOCOL
556 01 Jan 2004 2.6.0 10 Apr 2003 27 (MAX=40)
562 26 Jan 2002 2.5.2 11 Jan 2002 26
564 30 Nov 2001 2.5.0 23 Aug 2001 25
570 30 Jan 2000 2.4.1 29 Jan 2000 24
571 29 Jan 2000 2.4.0 28 Jan 2000 23
572 25 Jan 2000 2.3.3 23 Jan 2000 22
573 08 Nov 1999 2.3.2 26 Jun 1999 21
575 15 Mar 1999 2.3.0 15 Mar 1999 20
580 17 Jul 1998 2.0.19 19
581 18 Jun 1998 2.0.17 19
582 01 Jun 1998 2.0.16 19
583 27 May 1998 2.0.13 27 May 1998 19
584 26 May 1998 2.0.12 18
585 22 May 1998 2.0.11 18
586 18 May 1998 2.0.9 18 May 1998 18
594 26 Mar 1998 1.7.0 26 Mar 1998 17 (MAX=30)
595 13 Jan 1998 1.6.9 13 Jan 1998 15 (MAX=20)
597 * DATE OF COMMIT is the date the protocol change was committed to CVS.