Commit Graph

  • bd9fca4708 For the "unexpected tag" or "multiplexing overflow" messages, we now output who_am_i() so we know who had the problem. Wayne Davison 2005-01-14 18:17:32 +00:00
  • 14d496cc8b Aid forward-compatibility in the include/exclude syntax by putting a "- " in front of any name that starts with a '+' or a '-' and would otherwise be unprefixed (the old code only did this if the '+' or '-' was followed by a space). Wayne Davison 2005-01-13 22:01:56 +00:00
  • 106a8ad918 - Allow multiple source paths to be specified (and checked). - Allow spaces and a few other extra chars in file names. - For safety, disallow any option that takes an arg. This should be improved in the future because it blocks options such as --block-size=N, but without this rule the user could specify something like --files-from=FILE or --backup-dir=DIR and have it affect files outside the desired SUBDIR restriction. - Switched to SSH_CONNECTION from the deprecated SSH_CLIENT. - Strip "::ffff:" from the start of an IP from SSH_CONNECTION. Wayne Davison 2005-01-12 19:20:07 +00:00
  • 44a82a175d This is Joe Smith's rrsync (restricted rsync) perl script. Wayne Davison 2005-01-12 18:48:26 +00:00
  • 99248631aa A simple Makefile. Wayne Davison 2005-01-11 18:37:37 +00:00
  • 2836ee9b02 A debug program to help diagnose data-transfer corruption problems. Wayne Davison 2005-01-11 18:36:31 +00:00
  • d82773ffe9 Fixed the file_checksum1() function that is compiled only when TEST_MDFOUR is defined: it did not have the fix that the main rsync code got back in protocol 27 to properly handle files that are a multiple of 64-bytes long. Wayne Davison 2005-01-10 20:52:08 +00:00
  • ec626b3f0e Two more fixes. Wayne Davison 2005-01-10 10:08:59 +00:00
  • 997d9ea67f Added a "overwriting_basis" arg to finish_transfer(). Wayne Davison 2005-01-10 10:03:12 +00:00
  • aec6b9f86f - Call finish_transfer() with its new arg. This ensures that we only create a backup file if we're about to overwrite the basis file. - Only clear make_backups for the redo phase if partial_dir isn't set. Wayne Davison 2005-01-10 10:03:10 +00:00
  • d45898df80 Call finish_transfer() with its new arg. Wayne Davison 2005-01-10 10:03:06 +00:00
  • b0da4b23a0 Moved the reading of the final MSG_DONE message here from main.c (this message comes from the receiver). This ensures that any redo-pass files and delete-after processing are known to be done prior to the start of our hard-link and dir-time-munging loops. Wayne Davison 2005-01-10 00:31:55 +00:00
  • bf18b7ca67 Moved the reading of the final MSG_DONE message from here to generator.c (the message comes from the receiver). This ensures that any redo-pass files and delete-after processing are known to be done prior to the start of the hard-link and dir-time-munging loops. Wayne Davison 2005-01-10 00:31:55 +00:00
  • cc17fbfe7d Mention new atomic-rsync script. Wayne Davison 2005-01-06 17:15:36 +00:00
  • fa170b2e5a A perl script to effect an atomic transfer of a set of files. Wayne Davison 2005-01-06 17:13:31 +00:00
  • c61ba345f2 Decided that a cross-compling configure should default the chown-follows-symlinks check to "yes". Wayne Davison 2005-01-03 23:01:19 +00:00
  • ae09fb1f91 Improved the last addition. Wayne Davison 2005-01-03 22:49:14 +00:00
  • 70a2c84cd2 If lchown() is not available, we only skip the call to chown() for a symlink if it will try to follow the symlink (as a normal OS should). Wayne Davison 2005-01-03 22:47:55 +00:00
  • 21524e3083 - Added a test to see if chown() follows symlinks. - Check for getpgrp() and tcgetpgrp(). Wayne Davison 2005-01-03 22:42:55 +00:00
  • fbe2aba2e7 Mention lchown() fix. Wayne Davison 2005-01-03 21:07:02 +00:00
  • a41a1e8718 If there is no lchown(), don't try to set the user & group of a symlink. Wayne Davison 2005-01-03 21:05:39 +00:00
  • 051547603a Moved kluged (conditional) define of lchown from rsync.h to syscall.c. Wayne Davison 2005-01-03 21:03:33 +00:00
  • 80a25bb880 Backed out changes to send_deflated_token() that surrounded the call to deflate(..., Z_INSERT_ONLY) -- the underlying bug was caused by the zlib code not handling Z_INSERT_ONLY in the case where the server has disabled compression. Wayne Davison 2005-01-02 09:08:59 +00:00
  • 0301b334c7 Fixed Z_INSERT_ONLY support in deflate_stored(). Wayne Davison 2005-01-02 09:03:44 +00:00
  • 1492b4b2b2 The deflate_stored() function needed to support Z_INSERT_ONLY. Wayne Davison 2005-01-02 08:49:47 +00:00
  • 5b7bcac260 In send_deflated_token(), the section that handles "token != -2" now breaks up the calls to deflate() into CHUNK_SIZE chunks, just like the other sections of the code. Wayne Davison 2005-01-02 00:55:55 +00:00
  • 7fcbf9e43e - Use an int32 for the each block-size variable. - Fixed a problem in send_deflated_token() where the data we are compressing might not finish processing in one call. Wayne Davison 2005-01-01 21:08:20 +00:00
  • 6c495e0da4 - Use an int32 for the each block-size variable. - Fixed a potential overflow in the map_size calculation. Wayne Davison 2005-01-01 21:08:17 +00:00
  • a06b419d42 Use an int32 for the each block-size variable. Wayne Davison 2005-01-01 21:08:14 +00:00
  • a255c592e8 - Use an int32 for the each block-size variable. - Improved the layout and error-checking of the code that calculates the block-size and the number of checksum bits. Wayne Davison 2005-01-01 21:08:11 +00:00
  • 7aac6604c4 - Use an int32 for the each block-size variable. - Renamed the local block_size arg to blk_size (to avoid confusion with the global block_size variable). Wayne Davison 2005-01-01 21:08:07 +00:00
  • deb5bf1dff - Use an int32 for each checksum length variable. - Simplified some of the code, removing a useless memcpy(). Wayne Davison 2005-01-01 21:08:05 +00:00
  • 3dfe6e97a7 Since lp_bind_address() can't return NULL, we need to check if it is an empty string and ignore it when it is. Wayne Davison 2004-12-31 09:41:04 +00:00
  • 43bab4035b A minor improvement to the just-committed code. Wayne Davison 2004-12-31 00:41:32 +00:00
  • ef0c03ff70 The code that tries to read an error from the socket in an abnormal- exit situation was properly forcing the io_timeout value down to 30 seconds, but failing to set the select_timeout value. Wayne Davison 2004-12-31 00:39:59 +00:00
  • ad54dcc827 Set select_timeout if the per-module timeout value was lower than the default select_timeout value. Wayne Davison 2004-12-31 00:35:03 +00:00
  • c0ab28d1d9 If we send --files-from to the remote server and relative-paths are not enabled, we need to also send --no-relative. Wayne Davison 2004-12-22 09:10:08 +00:00
  • 5b2f48da27 Mention latest fix. Wayne Davison 2004-12-16 22:48:31 +00:00
  • 132fcf36b2 The "ignore nonreadable" daemon parameter no longer affects symlinks that are being copied, even if they point nowhere. Wayne Davison 2004-12-16 22:47:36 +00:00
  • 4571df58c6 Got rid of the rare failure caused by a directory-time mismatch. Wayne Davison 2004-12-14 19:41:19 +00:00
  • f6b384d41f Don't call do_lstat() unless SUPPORT_LINKS is defined. Wayne Davison 2004-12-13 17:22:32 +00:00
  • c259892c3a Document the client version of the --port option. Wayne Davison 2004-12-08 17:30:40 +00:00
  • b471329591 Allow --port to be used in client mode (as well as daemon mode). Wayne Davison 2004-12-08 17:29:54 +00:00
  • 3add5835db If rsync_port is 0, set it to RSYNC_PORT. Wayne Davison 2004-12-08 17:11:15 +00:00
  • cf510ad2c5 Switching to a better rsync_port fix. Wayne Davison 2004-12-08 17:09:59 +00:00
  • 696a8d6191 Document the new "address" global option. Wayne Davison 2004-12-06 22:45:10 +00:00
  • 01f8a1155f Made --port and --address point the user at the relevant global options in the rsyncd.conf manpage. Wayne Davison 2004-12-06 22:45:07 +00:00
  • 986aaaaa4b Check the global option "address" if the user didn't specify an --address option when starting the daemon. Wayne Davison 2004-12-06 22:45:03 +00:00
  • c96ee2310d Added support for the "address" option. Wayne Davison 2004-12-06 22:45:00 +00:00
  • 76cb2a3a4f Set default port value for a :: file-spec without a port number. Wayne Davison 2004-12-06 17:57:06 +00:00
  • 9bef934c76 Improved the examples for the --relative option. Wayne Davison 2004-12-03 01:31:24 +00:00
  • 85f14172dc Check the return value of flush_write_file() and report an error if it reports failure. Wayne Davison 2004-12-02 17:16:19 +00:00
  • 4539c0d79f Improved the description of the --update option. Wayne Davison 2004-11-30 20:43:06 +00:00
  • c3131af90a Improved some of the descriptions. Wayne Davison 2004-11-30 06:07:50 +00:00
  • c2c14fa26e Removed some redundant words in a sentence. Wayne Davison 2004-11-29 17:09:31 +00:00
  • e49f61f5fc Make some of the --*-dest comments clearer and more complete. Wayne Davison 2004-11-27 22:09:33 +00:00
  • 22f5bd5e35 Improved some of the items. Wayne Davison 2004-11-27 21:55:05 +00:00
  • 7a1b73b983 Mentioned the latest enhancements. Wayne Davison 2004-11-27 18:26:30 +00:00
  • 0c56b1add7 Allow "port" to be specified in the rsyncd.conf file. Wayne Davison 2004-11-27 18:24:12 +00:00
  • 1e60969646 Added tests for multiple --compare-dest options and --copy-dest. Wayne Davison 2004-11-27 17:59:48 +00:00
  • ee29752217 Added support for multiple --*-dest options. Wayne Davison 2004-11-27 17:56:58 +00:00
  • e012f858d6 - Added parsing for --copy-dest. - Added support for multiple --*-dest options. Wayne Davison 2004-11-27 17:52:51 +00:00
  • c3fad2e227 The compare_dest variable changed. Wayne Davison 2004-11-27 17:52:49 +00:00
  • b7e8628c4b - Added support for --copy-dest, which behaves like --link-dest, but it copies the identical files instead of hard-linking them. - Added support for multiple --*-dest options. Wayne Davison 2004-11-27 17:52:47 +00:00
  • e4977b0b9f - Define MAX_BASIS_DIRS. - Renamed FNAMECMP_CMPDEST to FNAMECMP_BASIS_DIR. Wayne Davison 2004-11-27 17:52:45 +00:00
  • b127c1dc58 Document --copy-dest and the support for multiple --*-dest options. Wayne Davison 2004-11-27 17:52:42 +00:00
  • 07bff66fb5 Fixed a socket-data conflict when verbosity is >= 2 and the files-from list is coming from a remote receiver. Wayne Davison 2004-11-20 17:10:54 +00:00
  • 4a888ae6d4 Mention latest fix. Wayne Davison 2004-11-20 07:23:20 +00:00
  • a0a33ee506 Call set_msg_fd_in() during the early phase of being a client sender so that we monitor the socket for any messages that it might send to us (and thus avoid a potential hang when verbosity is high). Wayne Davison 2004-11-20 07:08:44 +00:00
  • 98f8c9a5e5 Some minor improvements to read_msg_fd() made it safe to use both set_msg_fd_in() and read_msg_fd() during the early phase of being a client sender (up through the sending of the file list). This makes sure that the sender monitors the socket from the receiver for any messages that it might send to us, and thus avoids a hang when verbosity is high. Wayne Davison 2004-11-20 07:07:37 +00:00
  • 1f69bec480 Mention that the --bwlimit may now be combined with --daemon. Wayne Davison 2004-11-17 19:41:09 +00:00
  • 8f1b4f3642 - Mention the latest enhancements. - Aged the 2.6.3 news into OLDNEWS. Wayne Davison 2004-11-17 19:35:11 +00:00
  • ca39ebf9fb Aged the 2.6.3 release news. Wayne Davison 2004-11-17 19:34:31 +00:00
  • 9fb0844100 - Added the --bwlimit option to the options that are handled in combination with --daemon. This value is both a default bwlimit value and a maximum limit if the client asks for something larger. - Enabled popt support for option aliases. Wayne Davison 2004-11-17 19:29:20 +00:00
  • bdf278f7a5 Separate the daemon options from the normal client options. Wayne Davison 2004-11-17 19:11:53 +00:00
  • c8f2f8572f Tweaked the error code for a pipe() failure. Wayne Davison 2004-11-13 22:32:34 +00:00
  • 5d54f33962 Mentioned the new fork() check. Wayne Davison 2004-11-13 21:50:56 +00:00
  • ba449e444b Die with an appropriate error if do_fork() fails. Wayne Davison 2004-11-13 21:49:26 +00:00
  • 87ba7282f6 Mention the new --max-size option. Wayne Davison 2004-11-11 01:45:31 +00:00
  • 7d1bfaf7be Obey the max_size setting. Wayne Davison 2004-11-11 01:45:28 +00:00
  • 7d5acf1d44 Added the --max-size option. Wayne Davison 2004-11-11 01:45:25 +00:00
  • 3610c4583a Document --max-size. Wayne Davison 2004-11-11 01:45:22 +00:00
  • 41cfde6be3 Checking in the g2r-basis-filename patch that ensures that the receiver uses the same basis file that the generator used (avoiding a duplicate check that could cause a hang if a compare-dest file was a named pipe). Wayne Davison 2004-11-03 20:30:31 +00:00
  • 34bde8d54a Always include lib/snprintf.o when we include lib/compat.o. Wayne Davison 2004-11-02 16:47:15 +00:00
  • 1ed55e3e3e Mention latest fix. Wayne Davison 2004-10-27 06:35:50 +00:00
  • f80a8520e8 Don't ever call make_backup() if we're removing a destination directory (just remove it). Wayne Davison 2004-10-27 06:34:13 +00:00
  • 740bab942d Mention the latest bug-fix. Wayne Davison 2004-10-18 20:44:09 +00:00
  • 08b1b4860f Fixed an off-by-one error in the handling of --max-delete=N. Wayne Davison 2004-10-18 20:41:57 +00:00
  • 18ea5dc0d7 Mention new option parsing. Wayne Davison 2004-10-14 17:11:28 +00:00
  • 3ac7f5d4c1 Separate the daemon options so that the user can't mix client options with daemon options and visa versa. Wayne Davison 2004-10-14 17:08:15 +00:00
  • ad71500818 It seems that some popt releases don't define POPT_TABLEEND, so don't use it. Wayne Davison 2004-10-14 09:11:12 +00:00
  • b2ad840a6b Decided we don't need the build_gen target after all. Wayne Davison 2004-10-12 20:08:51 +00:00
  • 8db7cc2cff - Got rid of some awkward spacing in the long_options table. - Use the POPT_TABLEEND macro to end the long_options table. - Improved the count_args() function to accept a NULL pointer. - Simplified the code that sets *argc using count_args(). Wayne Davison 2004-10-11 10:43:25 +00:00
  • ac1541f4b7 Mention the latest changes. Wayne Davison 2004-10-10 20:33:07 +00:00
  • 09e2bbce8a Call flush_write_file() in _exit_cleanup() if we are keeping a partially-received file. Wayne Davison 2004-10-10 20:31:54 +00:00
  • 73496a36a1 Handle systems where the makedev() macro is named mkdev(). Wayne Davison 2004-10-08 21:27:22 +00:00
  • 8303cc1021 A new target, build_gen, works like gen w/o man-page generation. Wayne Davison 2004-10-08 19:52:38 +00:00
  • ab759cd27b Improved an error message by using rsyserr(). Wayne Davison 2004-10-07 17:02:39 +00:00
  • 64444de582 Mention in -a's usage message that -H isn't implied. Wayne Davison 2004-10-07 17:00:36 +00:00
  • e425fbe85d Re-enable the "!" token-handling in a .cvsignore file. Wayne Davison 2004-10-06 00:10:08 +00:00