Moved the previous release's NEWS here.
[rsync/rsync.git] / OLDNEWS
1 NEWS for rsync 2.6.0 (1 Jan 2004)
2 Protocol: 27 (changed)
3 Changes since 2.5.7:
4
5   ENHANCEMENTS:
6
7     * "ssh" is now the default remote shell for rsync.  If you want to
8       change this, configure like this:  "./configure --with-rsh=rsh".
9
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)
13
14     * Length of csum2 is now per-file starting with protocol version
15       27. (J.W. Schultz)
16
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)
22
23     * The --stats option no longer includes the (debug) malloc summary
24       unless the verbose option was specified at least twice.
25
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.
29
30     * Various trailing-info sections are now preceded by a newline.
31
32   BUG FIXES:
33
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)
39
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
44         versions.]
45
46       - "**/foo" now matches at the base of the transfer (like /foo
47         does).  [Use "/**/foo" to get the old behavior in all versions.]
48
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.]
53
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.]
60
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)
64
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.
68       (Craig Barratt)
69
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)
74
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.
77       (Wayne Davison)
78
79     * Keep tmp names from overflowing MAXPATHLEN.
80
81     * Make --link-dest honor the absence of -p, -o, and -g.
82
83     * Made rsync treat a trailing slash in the destination in a more
84       consistent manner.
85
86     * Fixed file I/O error detection.  (John Van Essen)
87
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.
91
92     * Print heap statistics when verbose >= 2 instead of when >= 1.
93
94     * Fixed a compression (-z) bug when syncing a mostly-matching file
95       that contains already-compressed data.  (Yasuoka Masahiko and
96       Wayne Davison)
97
98     * Fixed a bug in the --backup code that could cause deleted files
99       to not get backed up.
100
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).
104
105     * Call setgroups() in a more portable manner.
106
107     * Improved file-related error messages to better indicate exactly
108       what pathname failed. (Wayne Davison)
109
110     * Fixed some bugs in the handling of --delete and --exclude when
111       using the --relative (-R) option. (Wayne Davison)
112
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)
118
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)
122
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.
125
126   INTERNAL:
127
128     * Eliminated vestigial support for old versions that we stopped
129       supporting. (J.W. Schultz)
130
131     * Simplified some of the option-parsing code. (Wayne Davison)
132
133     * Some cleanup made to the exclude code, as well as some new
134       defines added to enhance readability. (Wayne Davison)
135
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).
140       (Wayne Davison)
141
142 \f
143 NEWS for rsync 2.5.7 (4 Dec 2003)
144 Protocol: 26 (unchanged)
145 Changes since 2.5.6:
146
147   SECURITY FIXES:
148
149     * Fix buffer handling bugs.  (Andrew Tridgell, Martin Pool, Paul
150       Russell, Andrea Barisani)
151
152 \f
153 NEWS for rsync 2.5.6, aka "the dwd-between-jobs release" (26 Jan 2003)
154 Protocol: 26 (unchanged)
155 Changes since 2.5.5:
156
157   ENHANCEMENTS:
158
159     * The --delete-after option now implies --delete.  (Wayne Davison)
160
161     * The --suffix option can now be used with --backup-dir.  (Michael
162       Zimmerman)
163
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)
168
169     * The rsync:// syntax for daemon connections is now accepted in the
170       destination field.
171
172     * If the file name given to --include-from or --exclude-from is "-",
173       rsync will read from standard input.  (J.W. Schultz)
174
175     * New option --link-dest which is like --compare-dest except that
176       unchanged files are hard-linked in to the destination directory.
177       (J.W. Schultz)
178
179     * Don't report an error if an excluded file disappears during an
180       rsync run.  (Eugene Chupriyanov and Bo Kersey)
181
182     * Added .svn to --cvs-exclude list to support subversion.  (Jon
183       Middleton)
184
185     * Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
186       and "hosts deny" fields.  (Hideaki Yoshifuji)
187
188     * Changed exclude file handling to permit DOS or MAC style line
189       terminations.  (J.W. Schultz)
190
191     * Ignore errors from chmod when -p/-a/--preserve-perms is not set.
192       (Dave Dykstra)
193
194   BUG FIXES:
195
196     * Fix "forward name lookup failed" errors on AIX 4.3.3.  (John
197       L. Allen, Martin Pool)
198
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)
202
203     * Fix compilation on Tru64.  (Albert Chin, Zoong Pham)
204
205     * Better handling of some client-server errors.  (Martin Pool)
206
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)
210
211     * Fixed the file-name duplicate-removal code when dealing with multiple
212       dups in a row. (Wayne Davison)
213
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)
217
218     * Fixed bug in --copy-unsafe-links that caused it to be completely
219       broken.  (Dave Dykstra)
220
221     * Prevent infinite recursion in cleanup code under certain circumstances.
222       (Sviatoslav Sviridov and Marc Espie)
223
224     * Fixed a bug that prevented rsync from creating intervening directories
225       when --relative-paths/-R is set.  (Craig Barratt)
226
227     * Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
228
229   INTERNAL:
230
231     * Many code cleanups and improved internal documentation.  (Martin
232       Pool, Nelson Beebe)
233
234     * Portability fixes. (Dave Dykstra and Wayne Davison)
235
236     * More test cases.  (Martin Pool)
237
238     * Some test-case fixes.  (Brian Poole, Wayne Davison)
239
240     * Updated included popt to the latest vendor drop, version 1.6.4.
241       (Jos Backus)
242
243     * Updated config.guess and config.sub to latest versions; this
244       means rsync should build on more platforms.  (Paul Green)
245
246 \f
247 NEWS for rsync 2.5.5, aka Snowy River (2 Apr 2002)
248 Protocol: 26 (unchanged)
249 Changes since 2.5.4:
250
251   ENHANCEMENTS:
252
253     * With --progress, when a transfer is complete show the time taken;
254       otherwise show expected time to complete. (Cameron Simpson)
255
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)
259
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.
263       (Martin Pool)
264
265
266   BUG FIXES:
267
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)
271
272     * Fix test suite on Solaris.  (Jos Backus, Martin Pool)
273
274     * Fix minor memory leak in socket code.  (Dave Dykstra, Martin
275       Pool.)
276
277     * Fix --whole-file problem that caused it to be the default even
278       for remote connections.  (Martin Pool, Frank Schulz)
279
280     * Work around bug in Mac OS X mkdir(2), which cannot handle
281       trailing slashes.
282       <http://www.opensource.apple.com/bugs/X/BSD%20Kernel/2734739.html>
283       (Martin Pool)
284
285     * Improved network error handling.  (Greg A. Woods)
286
287 \f
288 NEWS for rsync 2.5.4, aka "Imitation lizard skin" (13 Mar 2002)
289 Protocol: 26 (unchanged)
290 Changes since 2.5.3:
291
292   BUG FIXES:
293
294     * Additional fix for zlib double-free bug.  (Martin Pool, Andrew
295       Tridgell) (CVE CAN-2002-0059)
296
297   ENHANCEMENTS:
298
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)
302
303     * Additional test cases for --compress.  (Martin Pool)
304
305 \f
306 NEWS for rsync 2.5.3, aka "Happy 26" (11 Mar 2002)
307 Protocol: 26 (unchanged)
308 Changes since 2.5.2:
309
310   SECURITY FIXES:
311
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)
315
316   BUG FIXES:
317
318     * Fix zlib double-free bug.  (Owen Taylor, Mark J Cox) (CVE
319       CAN-2002-0059)
320
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.
324
325     * Fixed compilation errors on some systems caused by the use of
326       "unsigned int64" in rsync.h.
327
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".
330
331     * Fix for rsync server processes hanging around after the client
332       unexpectedly disconnects.  (Colin Walters) (Debian bug #128632)
333
334     * Cope with BSD systems on which mkdir() will not accept a trailing
335       slash.
336
337   ENHANCEMENTS:
338
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)
342
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
346       to parse the output.
347
348     * Added --no-whole-file and --no-blocking-io options (Dave Dykstra)
349
350     * Made the --write-batch and --read-batch options actually work
351       and added documentation in the man page (Jos Backus)
352
353     * If the daemon is unable to fork a child to accept a connection,
354       print an error message.  (Colin Walters)
355
356 \f
357 NEWS for rsync 2.5.2 (26 Jan 2002)
358 Protocol: 26 (changed)
359 Changes since 2.5.1:
360
361   SECURITY FIXES:
362
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.
366
367   BUG FIXES:
368
369     * Fix possible string mangling in log files.
370
371     * Fix for setting local address of outgoing sockets.
372
373     * Better handling of hardlinks and devices on platforms with
374       64-bit dev_t or ino_t.
375
376     * Name resolution on machines supporting IPv6 is improved.
377
378     * Fix for device nodes.  (dann frazier)   (Debian #129135)
379
380   ENHANCEMENTS:
381
382     * With -v, rsync now shows the command used to initiate an ssh/rsh
383       connection.
384
385     * --statistics now shows memory heap usage on platforms that
386       support mallinfo().
387
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.)
392
393     * Improvements to batch mode support.  This is still experimental
394       but testing would be welcome.   (Jos Backus)
395
396     * New --ignore-existing option, patch previously distributed with
397       Vipul's Razor.  (Debian #124286)
398
399 \f
400 NEWS for rsync 2.5.1 (3 Jan 2002)
401 Protocol: 25 (unchanged)
402 Changes since 2.5.0:
403
404   BUG FIXES:
405
406     * Fix for segfault in --daemon mode configuration parser.  (Paul
407       Mackerras)
408
409     * Correct string<->address parsing for both IPv4 and 6.
410       (YOSHIFUJI Hideaki, SUMIKAWA Munechika and Jun-ichiro "itojun"
411       Hagino)
412
413     * Various fixes for IPv6 support.  (Dave Dykstra)
414
415     * rsync.1 typo fix.  (Matt Kraai)
416
417     * Test suite typo fixes.  (Tom Schmidt)
418
419     * rsync.1 grammar and clarity improvements.  (Edward
420       Welbourne)
421
422     * Correction to ./configure tests for inet_ntop.  (Jeff Garzik)
423
424   ENHANCEMENTS:
425
426     * --progress and -P now show estimated data transfer rate (in a
427       multiple of bytes/s) and estimated time to completion.  (Rik
428       Faith)
429
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)
433
434     * Clearer error messages for some conditions.
435
436 \f
437 NEWS for rsync 2.5.0 (30 Nov 2001)
438 Protocol: 25 (changed)
439 Changes since 2.4.6:
440
441   ANNOUNCEMENTS
442
443     * Martin Pool <mbp@samba.org> is now a co-maintainer.
444
445   NEW FEATURES
446
447     * Support for LSB-compliant packaging <http://www.linuxbase.org/>
448
449     * Shell wildcards are allowed in "auth users" lines.
450
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>
454
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.
460
461   ENHANCEMENTS
462
463     * Include/exclude cluestick: with -vv, print out whether files are
464       included or excluded and why.
465
466     * Many error messages have more friendly explanations and more
467       details.
468
469     * Manual page improvements plus scanty protocol documentation.
470
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.
475
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.
480
481     * More details in --version, including note about whether 64-bit
482       files, symlinks and hardlinks are supported.
483
484     * MD4 code may use less CPU cycles.
485
486     * Use mkstemp on systems where it is secure.  If we use mktemp,
487       explain that we do it in a secure way.
488
489     * --whole-file is the default when source and target are on the
490         local machine.
491
492   BUG FIXES:
493
494     * Fix for various bugs causing rsync to hang.
495
496     * Attempt to fix Large File Summit support on AIX.
497
498     * Attempt to fix error handling lockup bug.
499
500     * Give a non-0 exit code if *any* of the files we have been asked
501       to transfer fail to transfer.
502
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.)
506
507   PLATFORMS:
508
509     * Improved support for UNICOS (tested on Cray T3E and Cray SV1)
510
511     * autoconf2.52 (or later) is now required to rebuild the autoconf
512       scripts.  It is not required to simply build rsync.
513
514     * Platforms thought to work in this release:
515
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
524                 IRIX 6.5 MIPS cc
525                 IRIX 6.5 MIPS gcc
526                 Mac OS X PPC (--disable-ipv6) cc
527                 NetBSD 1.5 i386 gcc
528                 NetBSD Current i386 cc
529                 OpenBSD 2.5 Sparc gcc
530                 OpenBSD 2.9 i386 cc
531                 OpenBSD Current i386 cc
532                 RedHat 6.2 i386 gcc
533                 RedHat 6.2 i386 insure++
534                 RedHat 7.0 i386 gcc
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
539                 Solaris 8 i386 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
547
548   TESTING:
549
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
552       build farm.
553 \f
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)
557         04 Dec 2003     2.5.7                   26
558         26 Jan 2003     2.5.6                   26
559         02 Apr 2002     2.5.5                   26
560         13 Mar 2002     2.5.4                   26
561         11 Mar 2002     2.5.3                   26
562         26 Jan 2002     2.5.2   11 Jan 2002     26
563         03 Jan 2002     2.5.1                   25
564         30 Nov 2001     2.5.0   23 Aug 2001     25
565         06 Sep 2000     2.4.6                   24
566         19 Aug 2000     2.4.5                   24
567         29 Jul 2000     2.4.4                   24
568         09 Apr 2000     2.4.3                   24
569         30 Mar 2000     2.4.2                   24
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
574         06 Apr 1999     2.3.1                   20
575         15 Mar 1999     2.3.0   15 Mar 1999     20
576         25 Nov 1998     2.2.1                   19
577         03 Nov 1998     2.2.0                   19
578         09 Sep 1998     2.1.1                   19
579         20 Jul 1998     2.1.0                   19
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
587         17 May 1998     2.0.8                   17
588         15 May 1998     2.0.1                   17
589         14 May 1998     2.0.0                   17
590         17 Apr 1998     1.7.4                   17
591         13 Apr 1998     1.7.3                   17
592         05 Apr 1998     1.7.2                   17
593         26 Mar 1998     1.7.1                   17
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)
596
597 * DATE OF COMMIT is the date the protocol change was committed to CVS.