Fixed some misspellings.
[rsync/rsync.git] / OLDNEWS
... / ...
CommitLineData
1NEWS for rsync 2.6.4 (30 March 2005)
2Protocol: 29 (changed)
3Changes since 2.6.3:
4
5 OUTPUT CHANGES:
6
7 - When rsync deletes a directory and outputs a verbose message about
8 it, it now appends a trailing slash to the name instead of (only
9 sometimes) outputting a preceding "directory " string.
10
11 - The --stats output will contain file-list time-statistics if both
12 sides are 2.6.4, or if the local side is 2.6.4 and the files are
13 being pushed (since the stats come from the sending side).
14 (Requires protocol 29 for a pull.)
15
16 - The "%o" (operation) log-format escape now has a third value (besides
17 "send" and "recv"): "del." (with trailing dot to make it 4 chars).
18 This changes the way deletions are logged in the daemon's log file.
19
20 - When the --log-format option is combined with --verbose, rsync now
21 avoids outputting the name of the file twice in most circumstances.
22 As long as the --log-format item does not refer to any post-transfer
23 items (such as %b or %c), the --log-format message is output prior to
24 the transfer, so --verbose is now the equivalent of a --log-format of
25 '%n%L' (which outputs the name and any link info). If the log output
26 must occur after the transfer to be complete, the only time the name
27 is also output prior to the transfer is when --progress was specified
28 (so that the name will precede the progress stats, and the full
29 --log-format output will come after).
30
31 BUG FIXES:
32
33 - Restore the list-clearing behavior of "!" in a .cvsignore file (2.6.3
34 was only treating it as a special token in an rsync include/exclude
35 file).
36
37 - The combination of --verbose and --dry-run now mentions the full list
38 of changes that would be output without --dry-run.
39
40 - Avoid a mkdir warning when removing a directory in the destination
41 that already exists in the --backup-dir.
42
43 - An OS that has a binary mode for its files (such as cygwin) needed
44 setmode(fd, O_BINARY) called on the temp-file we opened with
45 mkstemp(). (Fix derived from the cygwin's 2.6.3 rsync package.)
46
47 - Fixed a potential hang when verbosity is high, the client side is
48 the sender, and the file-list is large.
49
50 - Fixed a potential protocol-corrupting bug where the generator could
51 merge a message from the receiver into the middle of a multiplexed
52 packet of data if only part of that data had been written out to the
53 socket when the message from the generator arrived.
54
55 - We now check if the OS doesn't support using mknod() for creating
56 FIFOs and sockets, and compile-in some compatibility code using
57 mkfifo() and socket() when necessary.
58
59 - Fixed an off-by-one error in the handling of --max-delete=N. Also,
60 if the --max-delete limit is exceeded during a run, we now output a
61 warning about this at the end of the run and exit with a new error
62 code (25).
63
64 - One place in the code wasn't checking if fork() failed.
65
66 - The "ignore nonreadable" daemon parameter used to erroneously affect
67 readable symlinks that pointed to a non-existent file.
68
69 - If the OS does not have lchown() and a chown() of a symlink will
70 affect the referent of a symlink (as it should), we no longer try
71 to set the user and group of a symlink.
72
73 - The generator now properly runs the hard-link loop and the dir-time
74 rewriting loop after we're sure that the redo phase is complete.
75
76 - When --backup was specified with --partial-dir=DIR, where DIR is a
77 relative path, the backup code was erroneously trying to backup a
78 file that was put into the partial-dir.
79
80 - If a file gets resent in a single transfer and the --backup option is
81 enabled along with --inplace, rsync no longer performs a duplicate
82 backup (it used to overwrite the first backup with the failed file).
83
84 - One call to flush_write_file() was not being checked for an error.
85
86 - The --no-relative option was not being sent from the client to a
87 server sender.
88
89 - If an rsync daemon specified "dont compress = ..." for a file and the
90 client tried to specify --compress, the libz code was not handling a
91 compression level of 0 properly. This could cause a transfer failure
92 if the block-size for a file was large enough (e.g. rsync might have
93 exited with an error for large files).
94
95 - Fixed a bug that would sometimes surface when using --compress and
96 sending a file with a block-size larger than 64K (either manually
97 specified, or computed due to the file being really large). Prior
98 versions of rsync would sometimes fail to decompress the data
99 properly, and thus the transferred file would fail its verification.
100
101 - If a daemon can't open the specified log file (i.e. syslog is not
102 being used), die without crashing. We also output an error about
103 the failure on stderr (which will only be seen if --no-detach was
104 specified) and exit with a new error code (6).
105
106 - A local transfer no longer duplicates all its include/exclude options
107 (since the forked process already has a copy of the exclude list,
108 there's no need to send them a set of duplicates).
109
110 - When --progress is specified, the output of items that the generator
111 is creating (e.g. dirs, symlinks) is now integrated into the progress
112 output without overlapping it. (Requires protocol 29.)
113
114 - When --timeout is specified, lulls that occur in the transfer while
115 the generator is doing work that does not generate socket traffic
116 (looking for changed files, deleting files, doing directory-time
117 touch-ups, etc.) will cause a new keep-alive packet to be sent that
118 should keep the transfer going as long as the generator continues to
119 make progress. (Requires protocol 29.)
120
121 - The stat size of a device is not added to the total file size of the
122 items in the transfer (the size might be undefined on some OSes).
123
124 - Fixed a problem with refused-option messages sometimes not making it
125 back to the client side when a remote --files-from was in effect and
126 the daemon was the receiver.
127
128 - The --compare-dest option was not updating a file that differred in
129 (the preserved) attributes from the version in the compare-dest DIR.
130
131 - When rsync is copying files into a write-protected directory, fixed
132 the change-report output for the directory so that we don't report
133 an identical directory as changed.
134
135 ENHANCEMENTS:
136
137 - Rsync now supports popt's option aliases, which means that you can
138 use /etc/popt and/or ~/.popt to create your own option aliases.
139
140 - Added the --delete-during (--del) option which will delete files
141 from the receiving side incrementally as each directory in the
142 transfer is being processed. This makes it more efficient than the
143 default, before-the-transfer behavior, which is now also available as
144 --delete-before (and is still the default --delete-WHEN option that
145 will be chosen if --delete or --delete-excluded is specified without
146 a --delete-WHEN choice). All the --del* options infer --delete, so
147 an rsync daemon that refuses "delete" will still refuse to allow any
148 file-deleting options (including the new --remove-sent-files option).
149
150 - All the --delete-WHEN options are now more memory efficient:
151 Previously an duplicate set of file-list objects was created on the
152 receiving side for the entire destination hierarchy. The new
153 algorithm only creates one directory of objects at a time (for files
154 inside the transfer).
155
156 - Added the --copy-dest option, which works like --link-dest except
157 that it locally copies identical files instead of hard-linking them.
158
159 - Added support for specifying multiple --compare-dest, --copy-dest, or
160 --link-dest options, but only of a single type. (Promoted from the
161 patches dir and enhanced.) (Requires protocol 29.)
162
163 - Added the --max-size option. (Promoted from the patches dir.)
164
165 - The daemon-mode options are now separated from the normal rsync
166 options so that they can't be mixed together. This makes it
167 impossible to start a daemon that has improper default option values
168 (which could cause problems when a client connects, such as hanging
169 or crashing).
170
171 - The --bwlimit option may now be used in combination with --daemon
172 to specify both a default value for the daemon side and a value
173 that cannot be exceeded by a user-specified --bwlimit option.
174
175 - Added the "port" parameter to the rsyncd.conf file. (Promoted from
176 the patches dir.) Also added "address". The command-line options
177 take precedence over a config-file option, as expected.
178
179 - In _exit_cleanup(): when we are exiting with a partially-received
180 file, we now flush any data in the write-cache before closing the
181 partial file.
182
183 - The --inplace support was enhanced to work with --compare-dest,
184 --link-dest, and (the new) --copy-dest options. (Requires protocol
185 29.)
186
187 - Added the --dirs (-d) option for an easier way to copy directories
188 without recursion.
189
190 - Added the --list-only option, which is mainly a way for the client to
191 put the server into listing mode without needing to resort to any
192 internal option kluges (e.g. the age-old use of "-r --exclude="/*/*"
193 for a non-recursive listing). This option is used automatically
194 (behind the scenes) when a modern rsync speaks to a modern daemon,
195 but may also be specified manually if you want to force the use of
196 the --list-only option over a remote-shell connection.
197
198 - Added the --omit-dir-times (-O) option, which will avoid updating
199 the modified time for directories when --times was specified. This
200 option will avoid an extra pass through the file-list at the end of
201 the transfer (to tweak all the directory times), which may provide
202 an appreciable speedup for a really large transfer. (Promoted from
203 the patches dir.)
204
205 - Added the --filter (-f) option and its helper option, -F. Filter
206 rules are an extension to the existing include/exclude handling
207 that also supports nested filter files as well as per-directory
208 filter files (like .cvsignore, but with full filter-rule parsing).
209 This new option was chosen in order to ensure that all existing
210 include/exclude processing remained 100% compatible with older
211 versions. Protocol 29 is needed for full filter-rule support, but
212 backward-compatible rules work with earlier protocol versions.
213 (Promoted from the patches dir and enhanced.)
214
215 - Added the --delay-updates option that puts all updated files into
216 a temporary directory (by default ".~tmp~", but settable via the
217 --partial-dir=DIR option) until the end of the transfer. This
218 makes the updates a little more atomic for a large transfer.
219
220 - If rsync is put into the background, any output from --progress is
221 reduced.
222
223 - Documented the "max verbosity" setting for rsyncd.conf. (This
224 setting was added a couple releases ago, but left undocumented.)
225
226 - The sender and the generator now double-check the file-list index
227 they are given, and refuse to try to do a file transfer on a
228 non-file index (since that would indicate that something had gone
229 very wrong).
230
231 - Added the --itemize-changes (-i) option, which is a way to output a
232 more detailed list of what files changed and in what way. The effect
233 is the same as specifying a --log-format of "%i %n%L" (see both the
234 rsync and rsyncd.conf manpages). Works with --dry-run too.
235
236 - Added the --fuzzy (-y) option, which attempts to find a basis file
237 for a file that is being created from scratch. The current algorithm
238 only looks in the destination directory for the created file, but it
239 does attempt to find a match based on size/mod-time (in case the file
240 was renamed with no other changes) as well as based on a fuzzy
241 name-matching algorithm. This option requires protocol 29 because it
242 needs the new file-sorting order. (Promoted from patches dir and
243 enhanced.) (Requires protocol 29.)
244
245 - Added the --remove-sent-files option, which lets you move files
246 between systems.
247
248 - The hostname in HOST:PATH or HOST::PATH may now be an IPv6 literal
249 enclosed in '[' and ']' (e.g. "[::1]"). (We already allowed IPv6
250 literals in the rsync://HOST:PORT/PATH format.)
251
252 - When rsync recurses to build the file list, it no longer keeps open
253 one or more directory handles from the dir's parent dirs.
254
255 - When building under windows, the default for --daemon is now to
256 avoid detaching, requiring the new --detach option to force rsync
257 to detach.
258
259 - The --dry-run option can now be combined with either --write-batch or
260 --read-batch, allowing you to run a do-nothing test command to see
261 what would happen without --dry-run.
262
263 - The daemon's "read only" config item now sets an internal read_only
264 variable that makes extra sure that no write/delete calls on the
265 read-only side can succeed.
266
267 - The log-format % escapes can now have a numeric field width in
268 between the % and the escape letter (e.g. "%-40n %08p").
269
270 - Improved the option descriptions in the --help text.
271
272 SUPPORT FILES:
273
274 - Added atomic-rsync to the support dir: a perl script that will
275 transfer some files using rsync, and then move the updated files into
276 place all at once at the end of the transfer. Only works when
277 pulling, and uses --link-dest and a parallel hierarchy of files to
278 effect its update.
279
280 - Added mnt-excl to the support dir: a perl script that takes the
281 /proc/mounts file and translates it into a set of excludes that will
282 exclude all mount points (even mapped mounts to the same disk). The
283 excludes are made relative to the specified source dir and properly
284 anchored.
285
286 - Added savetransfer.c to the support dir: a C program that can make
287 a copy of all the data that flows over the wire. This lets you test
288 for data corruption (by saving the data on both the sending side and
289 the receiving side) and provides one way to debug a protocol error.
290
291 - Added rrsync to the support dir: this is an updated version of Joe
292 Smith's restricted rsync perl script. This helps to ensure that only
293 certain rsync commands can be run by an ssh invocation.
294
295 INTERNAL:
296
297 - Added better checking of the checksum-header values that come over
298 the socket.
299
300 - Merged a variety of file-deleting functions into a single function so
301 that it is easier to maintain.
302
303 - Improved the type of some variables (particularly blocksize vars) for
304 consistency and proper size.
305
306 - Got rid of the uint64 type (which we didn't need).
307
308 - Use a slightly more compatible set of core #include directives.
309
310 - Defined int32 in a way that ensures that the build dies if we can't
311 find a variable with at least 32 bits.
312
313 PROTOCOL DIFFERENCES FOR VERSION 29:
314
315 - A 16-bit flag-word is transmitted after every file-list index. This
316 indicates what is changing between the sender and the receiver. The
317 generator now transmits an index and a flag-word to indicate when
318 dirs and symlinks have changed (instead of producing a message),
319 which makes the outputting of the information more consistent and
320 less prone to screen corruption (because the local receiver/sender is
321 now outputting all the file-change info messages).
322
323 - If a file is being hard-linked, the ITEM_XNAME_FOLLOWS bit is enabled
324 in the flag-word and the name of the file that was linked immediately
325 follows in vstring format (see below).
326
327 - If a file is being transferred with an alternate-basis file, the
328 ITEM_BASIS_TYPE_FOLLOWS bit is enabled in the flag-word and a single
329 byte follows, indicating what type of basis file was chosen. If that
330 indicates that a fuzzy-match was selected, the ITEM_XNAME_FOLLOWS bit
331 is set in the flag-word and the name of the match in vstring format
332 follows the basis byte. A vstring is a variable length string that
333 has its size written prior to the string, and no terminating null.
334 If the string is from 1-127 bytes, the length is a single byte. If
335 it is from 128-32767 bytes, the length is written as ((len >> 8) |
336 0x80) followed by (len % 0x100).
337
338 - The sending of exclude names is done using filter-rule syntax. This
339 means that all names have a prefixed rule indicator, even excludes
340 (which used to be sent as a bare pattern, when possible). The -C
341 option will include the per-dir .cvsignore merge file in the list of
342 filter rules so it is positioned correctly (unlike in some older
343 transfer scenarios).
344
345 - Rsync sorts the filename list in a different way: it sorts the subdir
346 names after the non-subdir names for each dir's contents, and it
347 always puts a dir's contents immediately after the dir's name in the
348 list. (Previously an item named "foo.txt" would sort in between
349 directory "foo/" and "foo/bar".)
350
351 - When talking to a protocol 29 rsync daemon, a list-only request
352 is able to note this before the options are sent over the wire and
353 the new --list-only option is included in the options.
354
355 - When the --stats bytes are sent over the wire (or stored in a batch),
356 they now include two elapsed-time values: one for how long it took to
357 build the file-list, and one for how long it took to send it over the
358 wire (each expressed in thousandths of a second).
359
360 - When --delete-excluded is specified with some filter rules (AKA
361 excludes), a client sender will now initiate a send of the rules to
362 the receiver (older protocols used to omit the sending of excludes in
363 this situation since there were no receiver-specific rules that
364 survived --delete-excluded back then). Note that, as with all the
365 filter-list sending, only items that are significant to the other
366 side will actually be sent over the wire, so the filter-rule list
367 that is sent in this scenario is often empty.
368
369 - An index equal to the file-list count is sent as a keep-alive packet
370 from the generator to the sender, which then forwards it on to the
371 receiver. This normally invalid index is only a valid keep-alive
372 packet if the 16-bit flag-word that follows it contains a single bit
373 (ITEM_IS_NEW, which is normally an illegal flag to appear alone).
374
375 - A protocol-29 batch file includes a bit for the setting of the --dirs
376 option and for the setting of the --compress option. Also, the shell
377 script created by --write-batch will use the --filter option instead
378 of --exclude-from to capture any filter rules.
379
380 BUILD CHANGES:
381
382 - Handle an operating system that use mkdev() in place of makedev().
383
384 - Improved configure to better handle cross-compiling.
385NEWS for rsync 2.6.3 (30 Sep 2004)
386Protocol: 28 (unchanged)
387Changes since 2.6.2:
388
389 SECURITY FIXES:
390
391 - A bug in the sanitize_path routine (which affects a non-chrooted
392 rsync daemon) could allow a user to craft a pathname that would get
393 transformed into an absolute path for certain options (but not for
394 file-transfer names). If you're running an rsync daemon with chroot
395 disabled, *please upgrade*, ESPECIALLY if the user privs you run
396 rsync under is anything above "nobody".
397
398 OUTPUT CHANGES (ATTN: those using a script to parse the verbose output):
399
400 - Please note that the 2-line footer (output when verbose) now uses the
401 term "sent" instead of "wrote" and "received" instead of "read". If
402 you are not parsing the numeric values out of this footer, a script
403 would be better off using the empty line prior to the footer as the
404 indicator that the verbose output is over.
405
406 - The output from the --stats option was similarly affected to change
407 "written" to "sent" and "read" to "received".
408
409 - Rsync ensures that a filename that contains a newline gets mentioned
410 with each newline transformed into a question mark (which prevents a
411 filename from causing an empty line to be output).
412
413 - The "backed up ..." message that is output when at least 2 --verbose
414 options are specified is now the same both with and without the
415 --backup-dir option.
416
417 BUG FIXES:
418
419 - Fixed a crash bug that might appear when --delete was used and
420 multiple source directories were specified.
421
422 - Fixed a 32-bit truncation of the file length when generating the
423 checksums.
424
425 - The --backup code no longer attempts to create some directories
426 over and over again (generating warnings along the way).
427
428 - Fixed a bug in the reading of the secrets file (by the daemon) and
429 the password file (by the client): the files no longer need to be
430 terminated by a newline for their content to be read in.
431
432 - If a file has a read error on the sending side or the reconstructed
433 data doesn't match the expected checksum (perhaps due to the basis
434 file changing during the transfer), the receiver will no longer
435 retain the resulting file unless the --partial option was specified.
436 (Note: for the read-error detection to work, neither side can be
437 older than 2.6.3 -- older receivers will always retain the file, and
438 older senders don't tell the receiver that the file had a read
439 error.)
440
441 - If a file gets resent in a single transfer and the --backup option
442 is enabled, rsync no longer performs a duplicate backup (it used to
443 overwrite the original file in the backup area).
444
445 - Files specified in the daemon's "exclude" or "exclude from" config
446 items are now excluded from being uploaded (assuming that the module
447 allows uploading at all) in addition to the old download exclusion.
448
449 - Got rid of a potential hang in the receiver when near the end of a
450 phase.
451
452 - When using --backup without a --backup-dir, rsync no longer preserves
453 the modify time on directories. This avoids confusing NFS.
454
455 - When --copy-links (-L) is specified, we now output a separate error
456 for a symlink that has no referent instead of claiming that a file
457 "vanished".
458
459 - The --copy-links (-L) option no longer has the side-effect of telling
460 the receiving side to follow symlinks. See the --keep-dirlinks
461 option (mentioned below) for a way to specify that behavior.
462
463 - Error messages from the daemon server's option-parsing (such as
464 refused options) are now successfully transferred back to the client
465 (the server used to fail to send the message because the socket
466 wasn't in the right state for the message to get through).
467
468 - Most transfer errors that occur during a daemon transfer are now
469 returned to the user in addition to being logged (some messages are
470 intended to be daemon-only and are not affected by this).
471
472 - Fixed a bug in the daemon authentication code when using one of the
473 batch-processing options.
474
475 - We try to work around some buggy IPv6 implementations that fail to
476 implement IPV6_V6ONLY. This should fix the "address in use" error
477 that some daemons get when running on an OS with a buggy IPv6
478 implementation. Also, if the new code gets this error, we might
479 suggest that the user specify --ipv4 or --ipv6 (if we think it will
480 help).
481
482 - When the remote rsync dies, make a better effort to recover any error
483 messages it may have sent before dying (the local rsync used to just
484 die with a socket-write error).
485
486 - When using --delete and a --backup-dir that contains files that are
487 hard-linked to their destination equivalents, rsync now makes sure
488 that removed files really get removed (avoids a really weird rename()
489 behavior).
490
491 - Avoid a bogus run-time complaint about a lack of 64-bit integers when
492 the int64 type is defined as an off_t and it actually has 64-bits.
493
494 - Added a configure check for open64() without mkstemp64() so that we
495 can avoid using mkstemp() when such a combination is encountered.
496 This bypasses a problem writing out large temp files on OSes such as
497 AIX and HP-UX.
498
499 - Fixed an age-old crash problem with --read-batch on a local copy
500 (rsync was improperly assuming --whole-file for the local copy).
501
502 - When --dry-run (-n) is used and the destination directory does not
503 exist, rsync now produces a correct report of files that would be
504 sent instead of dying with a chdir() error.
505
506 - Fixed a bug that could cause a slow-to-connect rsync daemon to die
507 with an error instead of waiting for the connection to finish.
508
509 - Fixed an ssh interaction that could cause output to be lost when the
510 user chose to combine the output of rsync's stdout and stderr (e.g.
511 using the "2>&1").
512
513 ENHANCEMENTS:
514
515 - Added the --partial-dir=DIR option that lets you specify where to
516 (temporarily) put a partially transferred file (instead of over-
517 writing the destination file). E.g. --partial-dir=.rsync-partial
518 Also added support for the RSYNC_PARTIAL_DIR environment variable
519 that, when found, transforms a regular --partial option (such as
520 the convenient -P option) into one that also specifies a directory.
521
522 - Added --keep-dirlinks (-K), which allows you to symlink a directory
523 onto another partition on the receiving side and have rsync treat it
524 as matching a normal directory from the sender.
525
526 - Added the --inplace option that tells rsync to write each destination
527 file without using a temporary file. The matching of existing data
528 in the destination file can be severely limited by this, but there
529 are also cases where this is more efficient (such as appending data).
530 Use only when needed (see the man page for more details).
531
532 - Added the "write only" option for the daemon's config file.
533
534 - Added long-option names for -4 and -6 (namely --ipv4 and --ipv6)
535 and documented all these options in the man page.
536
537 - Improved the handling of the --bwlimit option so that it's less
538 bursty, more accurate, and works properly over a larger range of
539 values.
540
541 - The rsync daemon-over-ssh code now looks for SSH_CONNECTION and
542 SSH2_CLIENT in addition to SSH_CLIENT to figure out the IP address.
543
544 - Added the --checksum-seed=N option for advanced users.
545
546 - Batch writing/reading has a brand-new implementation that is simpler,
547 fixes a few weird problems with the old code (such as no longer
548 sprinkling the batch files into different dirs or even onto different
549 systems), and is much less intrusive into the code (making it easier
550 to maintain for the future). The new code generates just one data
551 file instead of three, which makes it possible to read the batch on
552 stdin via a remote shell. Also, the old requirement of forcing the
553 same fixed checksum-seed for all batch processing has been removed.
554
555 - If an rsync daemon has a module set with "list = no" (which hides its
556 presence in the list of available modules), a user that fails to
557 authenticate gets the same "unknown module" error that they would get
558 if the module were actually unknown (while still logging the real
559 error to the daemon's log file). This prevents fishing for module
560 names.
561
562 - The daemon's "refuse options" config item now allows you to match
563 option names using wildcards and/or the single-letter option names.
564
565 - Each transferred file now gets its permissions and modified-time
566 updated before the temp-file gets moved into place. Previously, the
567 finished file would have a very brief window where its permissions
568 disallowed all group and world access.
569
570 - Added the ability to parse a literal IPv6 address in an "rsync:" URL
571 (e.g. rsync://[2001:638:500:101::21]:873/module/dir).
572
573 - The daemon's wildcard expanding code can now handle more than 1000
574 filenames (it's now limited by memory instead of having a hard-wired
575 limit).
576
577 INTERNAL:
578
579 - Some cleanup in the exclude code has saved some per-exclude memory
580 and made the code easier to maintain.
581
582 - Improved the argv-overflow checking for a remote command that has a
583 lot of args.
584
585 - Use rsyserr() in the various places that were still calling rprintf()
586 with strerror() as an arg.
587
588 - If an rsync daemon is listening on multiple sockets (to handle both
589 IPv4 and IPv6 to a single port), we now close all the unneeded file
590 handles after we accept a connection (we used to close just one of
591 them).
592
593 - Optimized the handling of larger block sizes (rsync used to slow to a
594 crawl if the block size got too large).
595
596 - Optimized away a loop in hash_search().
597
598 - Some improvements to the sanitize_path() and clean_fname() functions
599 makes them more efficient and produce better results (while still
600 being compatible with the file-name cleaning that gets done on both
601 sides when sending the file-list).
602
603 - Got rid of alloc_sanitize_path() after adding a destination-buffer
604 arg to sanitize_path() made it possible to put all the former's
605 functionality into the latter.
606
607 - The file-list that is output when at least 4 verbose options are
608 specified reports the uid value on the sender even when rsync is
609 not running as root (since we might be sending to a root receiver).
610
611 BUILD CHANGES:
612
613 - Added a "gen" target to rebuild most of the generated files,
614 including configure, config.h.in, the man pages, and proto.h.
615
616 - If "make proto" doesn't find some changes in the prototypes, the
617 proto.h file is left untouched (its time-stamp used to always be
618 updated).
619
620 - The variable $STRIP (that is optionally set by the install-strip
621 target's rule) was changed to $INSTALL_STRIP because some systems
622 have $STRIP already set in the environment.
623
624 - Fixed a build problem when SUPPORT_HARD_LINKS isn't defined.
625
626 - When cross-compiling, the gettimeofday() function is now assumed to
627 be a modern version that takes two-args (since we can't test it).
628
629 DEVELOPER RELATED:
630
631 - The scripts in the testsuite dir were cleaned up a bit and a few
632 new tests added.
633
634 - Some new diffs were added to the patches dir, and some accepted
635 ones were removed.
636
637\f
638NEWS for rsync 2.6.2 (30 Apr 2004)
639Protocol: 28 (unchanged)
640Changes since 2.6.1:
641
642 BUG FIXES:
643
644 - Fixed a major bug in the sorting of the filenames when --relative
645 is used for some sources (just sources such as "/" and "/*" were
646 affected). This fix ensures that we ask for the right file-list
647 item when requesting changes from the sender.
648
649 - Rsync now checks the return value of the close() function to
650 better report disk-full problems on an NFS file system.
651
652 - Restored the old daemon-server behavior of logging error messages
653 rather than returning them to the user. (A better long-term fix
654 will be sought in the future.)
655
656 - An obscure uninitialized-variable bug was fixed in the uid/gid
657 code. (This bug probably had no ill effects.)
658
659 BUILD CHANGES:
660
661 - Got rid of the configure check for sys/sysctl.h (it wasn't used
662 and was causing a problem on some systems). Also improved the
663 broken-largefile-locking test to try to avoid failure due to an
664 NFS build-dir.
665
666 - Fixed a compile problem on systems that don't define
667 AI_NUMERICHOST.
668
669 - Fixed a compile problem in the popt source for compilers that
670 don't support __attribute__.
671
672 DEVELOPER RELATED:
673
674 - Improved the testsuite's "merge" test to work on OSF1.
675
676 - Two new diffs were added to the patches dir.
677
678\f
679NEWS for rsync 2.6.1 (26 Apr 2004)
680Protocol: 28 (changed)
681Changes since 2.6.0:
682
683 SECURITY FIXES:
684
685 - Paths sent to an rsync daemon are more thoroughly sanitized when
686 chroot is not used. If you're running a non-read-only rsync
687 daemon with chroot disabled, *please upgrade*, ESPECIALLY if the
688 user privs you run rsync under is anything above "nobody".
689
690 ENHANCEMENTS:
691
692 - Lower memory use, more optimal transfer of data over the socket,
693 and lower CPU usage (see the INTERNAL section for details).
694
695 - The RSYNC_PROXY environment variable can now contain a
696 "USER:PASS@" prefix before the "HOST:PORT" information.
697 (Bardur Arantsson)
698
699 - The --progress output now mentions how far along in the transfer
700 we are, including both a count of files transferred and a
701 percentage of the total file-count that we've processed. It also
702 shows better current-rate-of-transfer and remaining-transfer-time
703 values.
704
705 - Documentation changes now attempt to describe some often mis-
706 understood features more clearly.
707
708 BUG FIXES:
709
710 - When -x (--one-file-system) is combined with -L (--copy-links) or
711 --copy-unsafe-links, no symlinked files are skipped, even if the
712 referent file is on a different filesystem.
713
714 - The --link-dest code now works properly for a non-root user when
715 (1) the UIDs of the source and destination differ and -o was
716 specified, or (2) when the group of the source can't be used on
717 the destination and -g was specified.
718
719 - Fixed a bug in the handling of -H (hard-links) that might cause
720 the expanded PATH/NAME value of the current item to get
721 overwritten (due to an expanded-name caching bug).
722
723 - We now reset the "new data has been sent" flag at the start of
724 each file we send. This makes sure that an interrupted transfer
725 with the --partial option set doesn't keep a shorter temp file
726 than the current basis file when no new data has been transfered
727 over the wire for that file.
728
729 - Fixed a byte-order problem in --batch-mode on big-endian machines.
730 (Jay Fenlason)
731
732 - When using --cvs-exclude, the exclude items we get from a
733 per-directory's .cvsignore file once again only affect that one
734 directory (not all following directories too). The items are also
735 now properly word-split and parsed without any +/- prefix parsing.
736
737 - When specifying the USER@HOST: prefix for a file, the USER part
738 can now contain an '@', if needed (i.e. the last '@' is used to
739 find the HOST, not the first).
740
741 - Fixed some bugs in the handling of group IDs for non-root users:
742 (1) It properly handles a group that the sender didn't have a name
743 for (it would previously skip changing the group on any files in
744 that group). (2) If --numeric-ids is used, rsync no longer
745 attempts to set groups that the user doesn't have the permission
746 to set.
747
748 - Fixed the "refuse options" setting in the rsyncd.conf file.
749
750 - Improved the -x (--one-file-system) flag's handling of any mount-
751 point directories we encounter. It is both more optimal (in that
752 it no longer does a useless scan of the contents of the mount-
753 point dirs) and also fixes a bug where a remapped mount of the
754 original filesystem could get discovered in a subdir we should be
755 ignoring.
756
757 - Rsync no longer discards a double-slash at the start of a filename
758 when trying to open the file. It also no longer constructs names
759 that start with a double slash (unless the user supplied them).
760
761 - Path-specifying options to a daemon should now work the same with
762 or without chroot turned on. Previously, such a option (such as
763 --link-dest) would get its absolute path munged into a relative
764 one if chroot was not on, making that setting fairly useless.
765 Rsync now transforms the path into one that is based on the
766 module's base dir when chroot is not enabled.
767
768 - Fixed a compatibility problem interacting with older rsync
769 versions that might send us an empty --suffix value without
770 telling us that --backup-dir was specified.
771
772 - The "hosts allow" option for a daemon-over-remote-shell process
773 now has improved support for IPv6 addresses and a fix for systems
774 that have a length field in their socket structs.
775
776 - Fixed the ability to request an empty backup --suffix when sending
777 files to an rsync daemon.
778
779 INTERNAL:
780
781 - Most of the I/O is now buffered, which results in a pretty large
782 speedup when running under MS Windows. (Craig Barratt)
783
784 - Optimizations to the name-handling/comparing code have made some
785 significant reductions in user-CPU time for large file sets.
786
787 - Some cleanup of the variable types make the code more consistent.
788
789 - Reduced memory requirements of hard link preservation.
790 (J.W. Schultz)
791
792 - Implemented a new algorithm for hard-link handling that speeds up
793 the code significantly. (J.W. Schultz and Wayne Davison)
794
795 - The --hard-link option now uses the first existing file in the
796 group of linked files as the basis for the transfer. This
797 prevents the sub-optimal transfer of a file's data when a new
798 hardlink is added on the sending side and it sorts alphabetically
799 earlier in the list than the files that are already present on the
800 receiving side.
801
802 - Dropped support for protocol versions less than 20 (2.3.0 released
803 15 Mar 1999) and activated warnings for protocols less than 25
804 (2.5.0 released 23 Aug 2001). (Wayne Davison and J.W. Schultz,
805 severally)
806
807 - More optimal data transmission for --hard-links (protocol 28).
808
809 - More optimal data transmission for --checksum (protocol 28).
810
811 - Less memory is used when --checksum is specified.
812
813 - Less memory is used in the file list (a per-file savings).
814
815 - The generator is now better about not modifying the file list
816 during the transfer in order to avoid a copy-on-write memory
817 bifurcation (on systems where fork() uses shared memory).
818 Previously, rsync's shared memory would slowly become unshared,
819 resulting in real memory usage nearly doubling on the receiving
820 side by the end of the transfer. Now, as long as permissions
821 are being preserved, the shared memory should remain that way
822 for the entire transfer.
823
824 - Changed hardlink info and file_struct + strings to use allocation
825 pools. This reduces memory use for large file-sets and permits
826 freeing memory to the OS. (J.W. Schultz)
827
828 - The 2 pipes used between the receiver and generator processes
829 (which are forked on the same machine) were reduced to 1 pipe and
830 the protocol improved so that (1) it is now impossible to have the
831 "redo" pipe fill up and hang rsync, and (2) trailing messages from
832 the receiver don't get lost on their way through the generator
833 over to the sender (which mainly affected hard-link messages and
834 verbose --stats output).
835
836 - Improved the internal uid/gid code to be more portable and a
837 little more optimized.
838
839 - The device numbers sent when using --devices are now sent as
840 separate major/minor values with 32-bit accuracy (protocol 28).
841 Previously, the copied devices were sent as a single 32-bit
842 number. This will make inter-operation of 64-bit binaries more
843 compatible with their 32-bit brethren (with both ends of the
844 connection are using protocol 28). Note that optimizations in the
845 binary protocol for sending the device numbers often results in
846 fewer bytes being used than before, even though more precision is
847 now available.
848
849 - Some cleanup of the exclude/include structures and its code made
850 things clearer (internally), simpler, and more efficient.
851
852 - The reading & writing of the file-list in batch-mode is now
853 handled by the same code that sends & receives the list over the
854 wire. This makes it much easier to maintain. (Note that the
855 batch code is still considered to be experimental.)
856
857 BUILD CHANGES:
858
859 - The configure script now accepts --with-rsyncd-conf=PATH to
860 override the default value of the /etc/rsyncd.conf file.
861
862 - Fixed configure bug when running "./configure --disable-ipv6".
863
864 - Fixed compilation problem on Tru64 Unix (having to do with
865 sockaddr.sa_len and sockaddr.sin_len).
866
867 DEVELOPER RELATED:
868
869 - Fixed "make test" bug when build dir is not the source dir.
870
871 - Added a couple extra diffs in the "patches" dir, removed the ones
872 that got applied, and rebuilt the rest.
873
874\f
875NEWS for rsync 2.6.0 (1 Jan 2004)
876Protocol: 27 (changed)
877Changes since 2.5.7:
878
879 ENHANCEMENTS:
880
881 * "ssh" is now the default remote shell for rsync. If you want to
882 change this, configure like this: "./configure --with-rsh=rsh".
883
884 * Added --files-from, --no-relative, --no-implied-dirs, and --from0.
885 Note that --from0 affects the line-ending character for all the
886 files read by the --*-from options. (Wayne Davison)
887
888 * Length of csum2 is now per-file starting with protocol version
889 27. (J.W. Schultz)
890
891 * Per-file dynamic block size is now sqrt(file length). The
892 per-file checksum size is determined according to an algorithm
893 provided by Donovan Baarda which reduces the probability of rsync
894 algorithm corrupting data and falling back using the whole md4
895 checksums. (J.W. Schultz, Donovan Baarda)
896
897 * The --stats option no longer includes the (debug) malloc summary
898 unless the verbose option was specified at least twice.
899
900 * Added a new error/warning code for when files vanish from the
901 sending side. Made vanished source files not interfere with the
902 file-deletion pass when --delete-after was specified.
903
904 * Various trailing-info sections are now preceded by a newline.
905
906 BUG FIXES:
907
908 * Fixed several exclude/include matching bugs when using wild-cards.
909 This has a several user-visible effects, all of which make the
910 matching more consistent and intuitive. This should hopefully not
911 cause anyone problems since it makes the matching work more like
912 what people are expecting. (Wayne Davison)
913
914 - A pattern with a "**" no longer causes a "*" to match slashes.
915 For example, with "/*/foo/**", "foo" must be 2 levels deep.
916 [If your string has BOTH "*" and "**" wildcards, changing the
917 "*" wildcards to "**" will provide the old behavior in all
918 versions.]
919
920 - "**/foo" now matches at the base of the transfer (like /foo
921 does). [Use "/**/foo" to get the old behavior in all versions.]
922
923 - A non-anchored wildcard term floats to match beyond the base of
924 the transfer. E.g. "CVS/R*" matches at the end of the path,
925 just like the non-wildcard term "CVS/Root" does. [Use "/CVS/R*"
926 to get the old behavior in all versions.]
927
928 - Including a "**" in the match term causes it to be matched
929 against the entire path, not just the name portion, even if
930 there aren't any interior slashes in the term. E.g. "foo**bar"
931 would exclude "/path/foo-bar" (just like before) as well as
932 "/foo-path/baz-bar" (unlike before). [Use "foo*bar" to get the
933 old behavior in all versions.]
934
935 * The exclude list specified in the daemon's config file is now
936 properly applied to the pulled items no matter how deep the
937 user's file-args are in the source tree. (Wayne Davison)
938
939 * For protocol version >= 27, mdfour_tail() is called when the
940 block size (including checksum_seed) is a multiple of 64.
941 Previously it was not called, giving the wrong MD4 checksum.
942 (Craig Barratt)
943
944 * For protocol version >= 27, a 64 bit bit counter is used in
945 mdfour.c as required by the RFC. Previously only a 32 bit bit
946 counter was used, causing incorrect MD4 file checksums for
947 file sizes >= 512MB - 4. (Craig Barratt)
948
949 * Fixed a crash bug when interacting with older rsync versions and
950 multiple files of the same name are destined for the same dir.
951 (Wayne Davison)
952
953 * Keep tmp names from overflowing MAXPATHLEN.
954
955 * Make --link-dest honor the absence of -p, -o, and -g.
956
957 * Made rsync treat a trailing slash in the destination in a more
958 consistent manner.
959
960 * Fixed file I/O error detection. (John Van Essen)
961
962 * Fixed bogus "malformed address {hostname}" message in rsyncd log
963 when checking IP address against hostnames from "hosts allow"
964 and "hosts deny" parameters in config file.
965
966 * Print heap statistics when verbose >= 2 instead of when >= 1.
967
968 * Fixed a compression (-z) bug when syncing a mostly-matching file
969 that contains already-compressed data. (Yasuoka Masahiko and
970 Wayne Davison)
971
972 * Fixed a bug in the --backup code that could cause deleted files
973 to not get backed up.
974
975 * When the backup code makes new directories, create them with mode
976 0700 instead of 0755 (since the directory permissions in the
977 backup tree are not yet copied from the main tree).
978
979 * Call setgroups() in a more portable manner.
980
981 * Improved file-related error messages to better indicate exactly
982 what pathname failed. (Wayne Davison)
983
984 * Fixed some bugs in the handling of --delete and --exclude when
985 using the --relative (-R) option. (Wayne Davison)
986
987 * Fixed bug that prevented regular files from replacing
988 special files and caused a directory in --link-dest or
989 --compare-dest to block the creation of a file with the
990 same path. A directory still cannot be replaced by a
991 regular file unless --delete specified. (J.W. Schultz)
992
993 * Detect and report when open or opendir succeed but read and
994 readdir fail caused by network filesystem issues and truncated
995 files. (David Norwood, Michael Brown, J.W. Schultz)
996
997 * Added a fix that should give ssh time to restore the tty settings
998 if the user presses Ctrl-C at an ssh password prompt.
999
1000 INTERNAL:
1001
1002 * Eliminated vestigial support for old versions that we stopped
1003 supporting. (J.W. Schultz)
1004
1005 * Simplified some of the option-parsing code. (Wayne Davison)
1006
1007 * Some cleanup made to the exclude code, as well as some new
1008 defines added to enhance readability. (Wayne Davison)
1009
1010 * Changed the protocol-version code so that it can interact at a
1011 lower protocol level than the maximum supported by both sides.
1012 Added an undocumented option, --protocol=N, to force the value
1013 we advertise to the other side (primarily for testing purposes).
1014 (Wayne Davison)
1015
1016\f
1017NEWS for rsync 2.5.7 (4 Dec 2003)
1018Protocol: 26 (unchanged)
1019Changes since 2.5.6:
1020
1021 SECURITY FIXES:
1022
1023 * Fix buffer handling bugs. (Andrew Tridgell, Martin Pool, Paul
1024 Russell, Andrea Barisani)
1025
1026\f
1027NEWS for rsync 2.5.6, aka "the dwd-between-jobs release" (26 Jan 2003)
1028Protocol: 26 (unchanged)
1029Changes since 2.5.5:
1030
1031 ENHANCEMENTS:
1032
1033 * The --delete-after option now implies --delete. (Wayne Davison)
1034
1035 * The --suffix option can now be used with --backup-dir. (Michael
1036 Zimmerman)
1037
1038 * Combining "::" syntax with the -rsh/-e option now uses the
1039 specified remote-shell as a transport to talk to a (newly-spawned)
1040 server-daemon. This allows someone to use daemon features, such
1041 as modules, over a secure protocol, such as ssh. (JD Paul)
1042
1043 * The rsync:// syntax for daemon connections is now accepted in the
1044 destination field.
1045
1046 * If the file name given to --include-from or --exclude-from is "-",
1047 rsync will read from standard input. (J.W. Schultz)
1048
1049 * New option --link-dest which is like --compare-dest except that
1050 unchanged files are hard-linked in to the destination directory.
1051 (J.W. Schultz)
1052
1053 * Don't report an error if an excluded file disappears during an
1054 rsync run. (Eugene Chupriyanov and Bo Kersey)
1055
1056 * Added .svn to --cvs-exclude list to support subversion. (Jon
1057 Middleton)
1058
1059 * Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
1060 and "hosts deny" fields. (Hideaki Yoshifuji)
1061
1062 * Changed exclude file handling to permit DOS or MAC style line
1063 terminations. (J.W. Schultz)
1064
1065 * Ignore errors from chmod when -p/-a/--preserve-perms is not set.
1066 (Dave Dykstra)
1067
1068 BUG FIXES:
1069
1070 * Fix "forward name lookup failed" errors on AIX 4.3.3. (John
1071 L. Allen, Martin Pool)
1072
1073 * Generate each file's rolling-checksum data as we send it, not
1074 in a separate (memory-eating) pass before hand. This prevents
1075 timeout errors on really large files. (Stefan Nehlsen)
1076
1077 * Fix compilation on Tru64. (Albert Chin, Zoong Pham)
1078
1079 * Better handling of some client-server errors. (Martin Pool)
1080
1081 * Fixed a crash that would occur when sending a list of files that
1082 contains a duplicate name (if it sorts to the end of the file
1083 list) and using --delete. (Wayne Davison)
1084
1085 * Fixed the file-name duplicate-removal code when dealing with multiple
1086 dups in a row. (Wayne Davison)
1087
1088 * Fixed a bug that caused rsync to lose the exit status of its child
1089 processes and sometimes return an exit code of 0 instead of showing
1090 an error. (David R. Staples, Dave Dykstra)
1091
1092 * Fixed bug in --copy-unsafe-links that caused it to be completely
1093 broken. (Dave Dykstra)
1094
1095 * Prevent infinite recursion in cleanup code under certain circumstances.
1096 (Sviatoslav Sviridov and Marc Espie)
1097
1098 * Fixed a bug that prevented rsync from creating intervening directories
1099 when --relative-paths/-R is set. (Craig Barratt)
1100
1101 * Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
1102
1103 INTERNAL:
1104
1105 * Many code cleanups and improved internal documentation. (Martin
1106 Pool, Nelson Beebe)
1107
1108 * Portability fixes. (Dave Dykstra and Wayne Davison)
1109
1110 * More test cases. (Martin Pool)
1111
1112 * Some test-case fixes. (Brian Poole, Wayne Davison)
1113
1114 * Updated included popt to the latest vendor drop, version 1.6.4.
1115 (Jos Backus)
1116
1117 * Updated config.guess and config.sub to latest versions; this
1118 means rsync should build on more platforms. (Paul Green)
1119
1120\f
1121NEWS for rsync 2.5.5, aka Snowy River (2 Apr 2002)
1122Protocol: 26 (unchanged)
1123Changes since 2.5.4:
1124
1125 ENHANCEMENTS:
1126
1127 * With --progress, when a transfer is complete show the time taken;
1128 otherwise show expected time to complete. (Cameron Simpson)
1129
1130 * Make "make install-strip" works properly, and "make install"
1131 accepts a DESTDIR variable for help in building binary packages.
1132 (Peter Breitenlohner, Greg Louis)
1133
1134 * If configured with --enable-maintainer-mode, then on receipt of
1135 a fatal signal rsync will try to open an xterm running gdb,
1136 similarly to Samba's "panic action" or GNOME's bug-buddy.
1137 (Martin Pool)
1138
1139
1140 BUG FIXES:
1141
1142 * Fix situation where failure to fork (e.g. because out of process
1143 slots) would cause rsync to kill all processes owned by the
1144 current user. Yes, really! (Paul Haas, Martin Pool)
1145
1146 * Fix test suite on Solaris. (Jos Backus, Martin Pool)
1147
1148 * Fix minor memory leak in socket code. (Dave Dykstra, Martin
1149 Pool.)
1150
1151 * Fix --whole-file problem that caused it to be the default even
1152 for remote connections. (Martin Pool, Frank Schulz)
1153
1154 * Work around bug in Mac OS X mkdir(2), which cannot handle
1155 trailing slashes.
1156 <http://www.opensource.apple.com/bugs/X/BSD%20Kernel/2734739.html>
1157 (Martin Pool)
1158
1159 * Improved network error handling. (Greg A. Woods)
1160
1161\f
1162NEWS for rsync 2.5.4, aka "Imitation lizard skin" (13 Mar 2002)
1163Protocol: 26 (unchanged)
1164Changes since 2.5.3:
1165
1166 BUG FIXES:
1167
1168 * Additional fix for zlib double-free bug. (Martin Pool, Andrew
1169 Tridgell) (CVE CAN-2002-0059)
1170
1171 ENHANCEMENTS:
1172
1173 * Merge in changes from zlib 1.1.3 to zlib 1.1.4. (Jos Backus)
1174 (Note that rsync still uses a custom version of zlib; you can
1175 not just link against a system library. See zlib/README.rsync)
1176
1177 * Additional test cases for --compress. (Martin Pool)
1178
1179\f
1180NEWS for rsync 2.5.3, aka "Happy 26" (11 Mar 2002)
1181Protocol: 26 (unchanged)
1182Changes since 2.5.2:
1183
1184 SECURITY FIXES:
1185
1186 * Make sure that supplementary groups are removed from a server
1187 process after changing uid and gid. (Ethan Benson) (Debian bug
1188 #132272, CVE CAN-2002-0080)
1189
1190 BUG FIXES:
1191
1192 * Fix zlib double-free bug. (Owen Taylor, Mark J Cox) (CVE
1193 CAN-2002-0059)
1194
1195 * Fixed problem that in many cases caused the error message
1196 unexpected read size of 0 in map_ptr
1197 and resulted in the wrong data being copied.
1198
1199 * Fixed compilation errors on some systems caused by the use of
1200 "unsigned int64" in rsync.h.
1201
1202 * Fixed problem on systems such as Sunos4 that do not support realloc
1203 on a NULL pointer; error was "out of memory in flist_expand".
1204
1205 * Fix for rsync server processes hanging around after the client
1206 unexpectedly disconnects. (Colin Walters) (Debian bug #128632)
1207
1208 * Cope with BSD systems on which mkdir() will not accept a trailing
1209 slash.
1210
1211 ENHANCEMENTS:
1212
1213 * Merge in changes from zlib 1.1.2 to zlib 1.1.3. (Note that
1214 rsync still uses a custom version of zlib; you can not just link
1215 against a system library. See zlib/README.rsync)
1216
1217 * Command to initiate connections is only shown with -vv, rather
1218 than -v as in 2.5.2. Output from plain -v is more similar to
1219 what was historically used so as not to break scripts that try
1220 to parse the output.
1221
1222 * Added --no-whole-file and --no-blocking-io options (Dave Dykstra)
1223
1224 * Made the --write-batch and --read-batch options actually work
1225 and added documentation in the man page (Jos Backus)
1226
1227 * If the daemon is unable to fork a child to accept a connection,
1228 print an error message. (Colin Walters)
1229
1230\f
1231NEWS for rsync 2.5.2 (26 Jan 2002)
1232Protocol: 26 (changed)
1233Changes since 2.5.1:
1234
1235 SECURITY FIXES:
1236
1237 * Signedness security patch from Sebastian Krahmer
1238 <krahmer@suse.de> -- in some cases we were not sufficiently
1239 careful about reading integers from the network.
1240
1241 BUG FIXES:
1242
1243 * Fix possible string mangling in log files.
1244
1245 * Fix for setting local address of outgoing sockets.
1246
1247 * Better handling of hardlinks and devices on platforms with
1248 64-bit dev_t or ino_t.
1249
1250 * Name resolution on machines supporting IPv6 is improved.
1251
1252 * Fix for device nodes. (dann frazier) (Debian #129135)
1253
1254 ENHANCEMENTS:
1255
1256 * With -v, rsync now shows the command used to initiate an ssh/rsh
1257 connection.
1258
1259 * --statistics now shows memory heap usage on platforms that
1260 support mallinfo().
1261
1262 * "The Ted T'so school of program optimization": make progress
1263 visible and people will think it's faster. (With --progress,
1264 rsync will show you how many files it has seen as it builds the
1265 file_list, giving some indication that it has not hung.)
1266
1267 * Improvements to batch mode support. This is still experimental
1268 but testing would be welcome. (Jos Backus)
1269
1270 * New --ignore-existing option, patch previously distributed with
1271 Vipul's Razor. (Debian #124286)
1272
1273\f
1274NEWS for rsync 2.5.1 (3 Jan 2002)
1275Protocol: 25 (unchanged)
1276Changes since 2.5.0:
1277
1278 BUG FIXES:
1279
1280 * Fix for segfault in --daemon mode configuration parser. (Paul
1281 Mackerras)
1282
1283 * Correct string<->address parsing for both IPv4 and 6.
1284 (YOSHIFUJI Hideaki, SUMIKAWA Munechika and Jun-ichiro "itojun"
1285 Hagino)
1286
1287 * Various fixes for IPv6 support. (Dave Dykstra)
1288
1289 * rsync.1 typo fix. (Matt Kraai)
1290
1291 * Test suite typo fixes. (Tom Schmidt)
1292
1293 * rsync.1 grammar and clarity improvements. (Edward
1294 Welbourne)
1295
1296 * Correction to ./configure tests for inet_ntop. (Jeff Garzik)
1297
1298 ENHANCEMENTS:
1299
1300 * --progress and -P now show estimated data transfer rate (in a
1301 multiple of bytes/s) and estimated time to completion. (Rik
1302 Faith)
1303
1304 * --no-detach option, required to run as a W32 service and also
1305 useful when running on Unix under daemontools, AIX's SRC, or a
1306 debugger. (Max Bowsher, Jos Backus)
1307
1308 * Clearer error messages for some conditions.
1309
1310\f
1311NEWS for rsync 2.5.0 (30 Nov 2001)
1312Protocol: 25 (changed)
1313Changes since 2.4.6:
1314
1315 ANNOUNCEMENTS
1316
1317 * Martin Pool <mbp@samba.org> is now a co-maintainer.
1318
1319 NEW FEATURES
1320
1321 * Support for LSB-compliant packaging <http://www.linuxbase.org/>
1322
1323 * Shell wildcards are allowed in "auth users" lines.
1324
1325 * Merged UNC rsync+ patch to support creation of standalone patch
1326 sets. By Bert J. Dempsey and Debra Weiss, updated by Jos
1327 Backus. <http://www.ils.unc.edu/i2dsi/unc_rsync+.html>
1328
1329 * IPv6 support based on a patch from KAME.net, on systems
1330 including modern versions of Linux, Solaris, and HP-UX. Also
1331 includes IPv6 compatibility functions for old OSs by the
1332 Internet Software Consortium, Paul Vixie, the OpenSSH
1333 portability project, and OpenBSD.
1334
1335 ENHANCEMENTS
1336
1337 * Include/exclude cluestick: with -vv, print out whether files are
1338 included or excluded and why.
1339
1340 * Many error messages have more friendly explanations and more
1341 details.
1342
1343 * Manual page improvements plus scanty protocol documentation.
1344
1345 * When running as --daemon in the background and using a "log
1346 file" rsyncd.conf directive, close the log file every time it is
1347 open when going to sleep on the socket. This allows the log
1348 file to get cleaned out by another process.
1349
1350 * Change to using libpopt rather than getopt for processing
1351 options. This makes the code cleaner and the behaviour more
1352 consistent across platforms. popt is included and built if not
1353 installed on the platform.
1354
1355 * More details in --version, including note about whether 64-bit
1356 files, symlinks and hardlinks are supported.
1357
1358 * MD4 code may use less CPU cycles.
1359
1360 * Use mkstemp on systems where it is secure. If we use mktemp,
1361 explain that we do it in a secure way.
1362
1363 * --whole-file is the default when source and target are on the
1364 local machine.
1365
1366 BUG FIXES:
1367
1368 * Fix for various bugs causing rsync to hang.
1369
1370 * Attempt to fix Large File Summit support on AIX.
1371
1372 * Attempt to fix error handling lockup bug.
1373
1374 * Give a non-0 exit code if *any* of the files we have been asked
1375 to transfer fail to transfer.
1376
1377 * For log messages containing ridiculously long strings that might
1378 overflow a buffer rsync no longer aborts, but rather prints an
1379 ellipsis at the end of the string. (Patch from Ed Santiago.)
1380
1381 PLATFORMS:
1382
1383 * Improved support for UNICOS (tested on Cray T3E and Cray SV1)
1384
1385 * autoconf2.52 (or later) is now required to rebuild the autoconf
1386 scripts. It is not required to simply build rsync.
1387
1388 * Platforms thought to work in this release:
1389
1390 Cray SV1 UNICOS 10.0.0.8 cc
1391 Debian Linux 2.2 UltraSparc gcc
1392 Debian Linux testing/unstable ARM gcc
1393 FreeBSD 3.3-RELEASE i386 cc
1394 FreeBSD 4.1.1-RELEASE i386 cc
1395 FreeBSD 4.3-STABLE i386 cc
1396 HP PA-RISC HP-UX 10.20 gcc
1397 HP PA-RISC HP-UX 11.11 cc
1398 IRIX 6.5 MIPS cc
1399 IRIX 6.5 MIPS gcc
1400 Mac OS X PPC (--disable-ipv6) cc
1401 NetBSD 1.5 i386 gcc
1402 NetBSD Current i386 cc
1403 OpenBSD 2.5 Sparc gcc
1404 OpenBSD 2.9 i386 cc
1405 OpenBSD Current i386 cc
1406 RedHat 6.2 i386 gcc
1407 RedHat 6.2 i386 insure++
1408 RedHat 7.0 i386 gcc
1409 RedHat 7.1 i386 (Kernel 2.4.10) gcc
1410 Slackware 8.0 i686 (Kernel 2.4.10)
1411 Solaris 8 UltraSparc cc
1412 Solaris 8 UltraSparc gcc
1413 Solaris 8 i386 gcc
1414 SuSE 7.1 i386 gcc2.95.2
1415 SuSE 7.1 ppc gcc2.95.2
1416 i386-pc-sco3.2v5.0.5 cc
1417 i386-pc-sco3.2v5.0.5 gcc
1418 powerpc-ibm-aix4.3.3.0 cc
1419 i686-unknown-sysv5UnixWare7.1.0 gcc
1420 i686-unknown-sysv5UnixWare7.1.0 cc
1421
1422 TESTING:
1423
1424 * The existing test.sh script by Phil Hands has been merged into a
1425 test framework that works from both "make check" and the Samba
1426 build farm.
1427\f
1428Partial Protocol History
1429 RELEASE DATE VER. DATE OF COMMIT* PROTOCOL
1430 30 Mar 2005 2.6.4 17 Jan 2005 29
1431 30 Sep 2004 2.6.3 28
1432 30 Apr 2004 2.6.2 28
1433 26 Apr 2004 2.6.1 08 Jan 2004 28
1434 01 Jan 2004 2.6.0 10 Apr 2003 27 (MAX=40)
1435 04 Dec 2003 2.5.7 26
1436 26 Jan 2003 2.5.6 26
1437 02 Apr 2002 2.5.5 26
1438 13 Mar 2002 2.5.4 26
1439 11 Mar 2002 2.5.3 26
1440 26 Jan 2002 2.5.2 11 Jan 2002 26
1441 03 Jan 2002 2.5.1 25
1442 30 Nov 2001 2.5.0 23 Aug 2001 25
1443 06 Sep 2000 2.4.6 24
1444 19 Aug 2000 2.4.5 24
1445 29 Jul 2000 2.4.4 24
1446 09 Apr 2000 2.4.3 24
1447 30 Mar 2000 2.4.2 24
1448 30 Jan 2000 2.4.1 29 Jan 2000 24
1449 29 Jan 2000 2.4.0 28 Jan 2000 23
1450 25 Jan 2000 2.3.3 23 Jan 2000 22
1451 08 Nov 1999 2.3.2 26 Jun 1999 21
1452 06 Apr 1999 2.3.1 20
1453 15 Mar 1999 2.3.0 15 Mar 1999 20
1454 25 Nov 1998 2.2.1 19
1455 03 Nov 1998 2.2.0 19
1456 09 Sep 1998 2.1.1 19
1457 20 Jul 1998 2.1.0 19
1458 17 Jul 1998 2.0.19 19
1459 18 Jun 1998 2.0.17 19
1460 01 Jun 1998 2.0.16 19
1461 27 May 1998 2.0.13 27 May 1998 19
1462 26 May 1998 2.0.12 18
1463 22 May 1998 2.0.11 18
1464 18 May 1998 2.0.9 18 May 1998 18
1465 17 May 1998 2.0.8 17
1466 15 May 1998 2.0.1 17
1467 14 May 1998 2.0.0 17
1468 17 Apr 1998 1.7.4 17
1469 13 Apr 1998 1.7.3 17
1470 05 Apr 1998 1.7.2 17
1471 26 Mar 1998 1.7.1 17
1472 26 Mar 1998 1.7.0 26 Mar 1998 17 (MAX=30)
1473 13 Jan 1998 1.6.9 13 Jan 1998 15 (MAX=20)
1474
1475* DATE OF COMMIT is the date the protocol change was committed to CVS.