Commit Graph

  • 2c51d5deec added a perl script to summarise the rsyncd log format Andrew Tridgell 1998-10-30 06:12:14 +00:00
  • 97cb8dc29b added %m, %P and %u options to logging Andrew Tridgell 1998-10-30 05:53:05 +00:00
  • cd957c70c4 need BIG_ENDIAN test for inet_ntoa replacement Andrew Tridgell 1998-10-30 02:52:42 +00:00
  • 7b3d425783 check for a broken inet_ntoa() on IRIX Andrew Tridgell 1998-10-30 02:50:02 +00:00
  • b24203b323 get null termination right in logging Andrew Tridgell 1998-10-30 02:43:10 +00:00
  • 3472009789 get null termination right in logging Andrew Tridgell 1998-10-30 02:36:05 +00:00
  • f27b53f5b5 hopefuly fix logging of "transfer interrupted" messages Andrew Tridgell 1998-10-30 02:32:29 +00:00
  • e08bfe1248 added "log format" option to allow admins to choose the format for rsyncd log file entries Andrew Tridgell 1998-10-30 02:24:47 +00:00
  • 74e708d85a hanle null strings in -vvv output Andrew Tridgell 1998-10-30 02:23:01 +00:00
  • 7597e1a96a fixed cacheing of some values (using code from Samba) Andrew Tridgell 1998-10-29 23:44:30 +00:00
  • 692da0b555 Fix for systems such as Unixware that have a cc that does not support -o with -c. David Dykstra 1998-10-29 22:28:56 +00:00
  • 67ea0d4844 put the pid on each line of the log file to facilitate auto-parsing. Requested by Jarkko Hietaniemi (jhi@iki.fi) Andrew Tridgell 1998-10-29 11:16:51 +00:00
  • 9b73d1c0e9 put the pid on each line of the log file to facilitate auto-parsing. Requested by Jarkko Hietaniemi (jhi@iki.fi) Andrew Tridgell 1998-10-29 11:11:38 +00:00
  • f3737e0648 some minor optimisations Andrew Tridgell 1998-10-29 06:39:43 +00:00
  • 19a013837e a change I made yesterday corrupted the displayed filename in some cases. cosmetic fix. Andrew Tridgell 1998-10-29 06:10:31 +00:00
  • d730b113f4 final change needed to get rsync working on a CRAY J90 Andrew Tridgell 1998-10-29 05:48:11 +00:00
  • 7ae359c331 kfixed char* casts Andrew Tridgell 1998-10-29 05:06:51 +00:00
  • 8de330a387 changes to get rsync working on a CRAY J90. This machine doesn't have a 4 byte integer type (short is 8 bytes). I needed to use a new md4 implementation (I used the portable one I wrote for Samba). Andrew Tridgell 1998-10-29 05:01:47 +00:00
  • 27d3cdbc94 syslog support in rsync daemon has been broken since I added the "log file" option. I wonder why noone reported it? Or did everyone just use "log file" ? Andrew Tridgell 1998-10-28 10:43:31 +00:00
  • 106005004e fixed handling of %.0f in replacement snprintf.c Andrew Tridgell 1998-10-28 04:06:43 +00:00
  • 92ad2c90c4 fixed a typo Andrew Tridgell 1998-10-28 03:37:53 +00:00
  • 11a5a3c704 and I thought I wasn't going to do any rsync coding for a while ... Andrew Tridgell 1998-10-28 03:28:30 +00:00
  • 8bb5aa8fe8 Document the fact that --numeric-ids is implied if the source system is a daemon using chroot. David Dykstra 1998-10-27 17:30:28 +00:00
  • 4040be4d60 - Define bindir and mandir as per gnu makefile standards - Add install-strip target as per gnu makefile standards Contributed by Fred Sanchez <wsanchez@apple.com> David Dykstra 1998-10-27 16:07:51 +00:00
  • a9685611e2 fixed a typecast Andrew Tridgell 1998-10-27 14:19:35 +00:00
  • b280a1f47e handle OSes (such as Unicos) which use a different value for S_IFLNK Andrew Tridgell 1998-10-27 14:09:28 +00:00
  • f8be5ef4cb added a vsnprintf() implementation from cvslock. See the notes on the license at the top of lib/snprintf.c Andrew Tridgell 1998-10-26 23:23:45 +00:00
  • 587cb08dc4 Fix bug in --include and --include-from which didn't work as advertised; could only include files before if "+ " was explicitly prefixed on files from any exclude or include option. Also simplified the code by removing the "orig" exclude_struct element, and reduced the number of bytes transferred from client to server by never including "- " prefixes in the transmitted exclude list because exclusion is the default. David Dykstra 1998-10-26 22:03:18 +00:00
  • 8638dd48f7 Add "use chroot" and "pid file" rsyncd.conf options. The former allows one to disable the use of chroot so rsync --daemon can be run as a non-root user (if a non-privileged --port is used). The latter allows one to specify a file in which to write the process id of the daemon, which is useful when rsync --daemon is not run from inetd. David Dykstra 1998-10-26 21:51:47 +00:00
  • 2bca43f627 Optimize server for special case of a long list of includes ("+") followed by a match-all exclude "- *". David Dykstra 1998-10-26 21:45:23 +00:00
  • 375a4556c7 Add --compare-dest option which enables specifying an additional destination for comparisons when syncing. Useful for syncing into a scratch area and doing a flash-cutover when it is completed. David Dykstra 1998-10-26 21:42:38 +00:00
  • b41c3f9273 preparing for release of 2.1.1 v2.1.1 rsync-bugs 1998-09-09 07:07:11 +00:00
  • 35bdd146e4 fixed timestring() bug Andrew Tridgell 1998-09-09 07:06:44 +00:00
  • 8d249b635c don't complain about not setting times on directories because some filesystems can't do it Andrew Tridgell 1998-09-09 06:37:13 +00:00
  • 932be9aa52 handle sstem (sco 3) with glob but not glob.h Andrew Tridgell 1998-09-09 06:31:13 +00:00
  • c6b81a9865 handle OSes where you can't rename a open file in the cleanup code. Andrew Tridgell 1998-09-09 06:23:27 +00:00
  • e0414f4202 put the time in when using log file. Andrew Tridgell 1998-09-09 06:06:08 +00:00
  • 6e4fb64e61 added finddead target, removed dead code and made some functions static Andrew Tridgell 1998-09-09 05:57:34 +00:00
  • 37863201ad doc updates Andrew Tridgell 1998-09-09 05:52:25 +00:00
  • 4f6325c362 added "log file" option for those systems with broken syslog (like AIX) Andrew Tridgell 1998-09-09 05:51:42 +00:00
  • f98df1d9b7 wanr people who use path names to rsync :: Andrew Tridgell 1998-09-09 05:51:08 +00:00
  • 3d913675a1 fixed a small memory leak when using -C Andrew Tridgell 1998-08-27 05:17:21 +00:00
  • 2f9af90118 removed the limit on the read buffer size until I fully understand the interactions with ssh. The old ssh freezes have shown up again and some debugging (with help from James Welborn) showed that the cause was the read buffer hitting maximum size. I think this means that ssh must be misbehaving about blocking IO. Andrew Tridgell 1998-08-27 05:07:52 +00:00
  • 3eb388185b a couple of changes to where the nonblocking settings are called. Andrew Tridgell 1998-08-27 05:05:14 +00:00
  • 858fb9ebad fix PATTERN/FILE in --help output Andrew Tridgell 1998-07-25 09:20:33 +00:00
  • 2f03f956f4 rsync.c was getting a bit unwieldy so I split the code into 3 modules, for the 3 logical stages of rsync; generator, sender and receiver. Andrew Tridgell 1998-07-25 02:25:22 +00:00
  • 0199b05f25 fixed the relative paths bug pointed out by Alberto Accomazzi Andrew Tridgell 1998-07-23 03:09:14 +00:00
  • e2d1033d5d preparing for release of 2.1.0 v2.1.0 rsync-bugs 1998-07-20 05:43:51 +00:00
  • c46ded4621 I think I might havefinally fixed the rsync hanging bug. It was caused by a read during an io_flush() triggered during a readfd(). A simple logic bug in the io code :( Andrew Tridgell 1998-07-20 05:36:25 +00:00
  • 8cd9fd4e8c always use a timeout to select, even if --timeout is not specified. This makes things easier to debug. Andrew Tridgell 1998-07-19 10:51:26 +00:00
  • 41979ff87c - defer the error message from the options parsing until after the socket is multiplexed. This allows clients sending new options which the remote server doesn't understand to get a sensible error message. Andrew Tridgell 1998-07-19 05:22:05 +00:00
  • b11ed3b150 - close stdout and stderr and reopen then as /dev/null when running as a daemon. This prevents library functions (such as getopt) stuffing up our protocol stream when errors are detected. Andrew Tridgell 1998-07-19 04:50:48 +00:00
  • 42245f1b56 preparing for release of 2.0.19 v2.0.19 rsync-bugs 1998-07-17 14:53:00 +00:00
  • c29ee43dbd handle hard links on systems with 16 bit ino_t Andrew Tridgell 1998-07-17 14:42:59 +00:00
  • d310a212f7 added a bit in the man page about the clean shell error Andrew Tridgell 1998-07-17 14:25:14 +00:00
  • ca6c93f817 check whether there is a / before a : in the rsync command line. If there is then assume that the : is from a filename, not a host:dir separator. This allows you to copy files with a : in them. (suggestion from pfeifer@wait.de) Andrew Tridgell 1998-07-17 14:05:57 +00:00
  • 72914a606e make rsync behave more like GNU cp with regard to file permissions when -p (preserve permissions) isn't set. Andrew Tridgell 1998-07-17 13:18:32 +00:00
  • 4b957c2238 added the --safe-links option to disallow symlinks outside the destination tree Andrew Tridgell 1998-07-17 10:00:48 +00:00
  • d853783f21 added the --safe-links option to disallow symlinks outside the destination tree Andrew Tridgell 1998-07-17 10:00:43 +00:00
  • 298c10d5bb some code reformatting Andrew Tridgell 1998-07-17 07:42:04 +00:00
  • 6608462cac removed old "make dist" target Andrew Tridgell 1998-07-17 07:26:08 +00:00
  • ca8e96946e changed wording of an error message Andrew Tridgell 1998-07-17 07:25:42 +00:00
  • 6ed67e6dd5 moved getopt.h above unistd.h to prevent problems with uwin on NT Andrew Tridgell 1998-07-17 07:17:11 +00:00
  • 1f658d4207 fixed a problem with rsync buffering the debug output when redirected to a file. Andrew Tridgell 1998-07-17 07:07:23 +00:00
  • d3bc0b68ab make a function static Andrew Tridgell 1998-07-17 05:38:51 +00:00
  • 1a0de6c68b remove a useless debug message Andrew Tridgell 1998-07-17 05:38:21 +00:00
  • eb601ffeb8 code style change Andrew Tridgell 1998-07-17 05:37:56 +00:00
  • 8d72ef6e52 use error to detect lockfile open failures vs. max connections reached and report an appropriate error message Andrew Tridgell 1998-07-17 05:37:18 +00:00
  • bcf5b1335d - use explicit flushes instead of setlinebuf. I've had reports of verbose info not being line buffered to files. Andrew Tridgell 1998-07-02 10:57:20 +00:00
  • bd7e05d799 remove a redundent continue statement Andrew Tridgell 1998-07-02 03:02:14 +00:00
  • c95f1aa9d3 prioritise reading over writing in the select loop. (this is another ssh-friendly attempt) Andrew Tridgell 1998-07-02 02:59:04 +00:00
  • 86ffe37f11 fix the problem of --timeout waiting for twice the specified time. Andrew Tridgell 1998-07-02 02:48:09 +00:00
  • b536f47e3c - don't show "created directory" message unless verbose is selected Andrew Tridgell 1998-07-02 02:08:55 +00:00
  • 43b06eeae9 output progress % every 1k instead of every 1%, this is better for large files. Andrew Tridgell 1998-07-02 01:28:39 +00:00
  • 067857e0ac the recv_generator can be static Andrew Tridgell 1998-07-02 01:27:51 +00:00
  • b3e10ed75b enable output buffering in the recv generator. This makes a significant difference when the transport is ssh as ssh will otherwise output a complete frame for each checksum record, which increases the checksum data in size by a factor of around 4. Andrew Tridgell 1998-07-02 01:27:14 +00:00
  • a353d56337 don't need to send --progress option to server as the server never prints progress info. Andrew Tridgell 1998-07-02 00:48:20 +00:00
  • eb86d661d7 added --progress option which shows the progress of transfers. This gives bored users something to watch. Andrew Tridgell 1998-07-02 00:47:13 +00:00
  • fe055c718a - only keep a partial file if some literal data has been transferred, this prevents a second interrupted transfer from reducing the size of the transferred file. Andrew Tridgell 1998-07-01 11:03:50 +00:00
  • 31f440e68b I've had reports of rsyncd leaving zombies under digital unix. This patch tries to address the problem in two ways: Andrew Tridgell 1998-07-01 05:10:42 +00:00
  • c95da96a0c added a --partial option which tells rsync to keep partially transferred files if the transfer is interrupted. Andrew Tridgell 1998-07-01 03:36:03 +00:00
  • bf9f01689f if we get EWOULDBLOCK on a write then reduce the amount of data we are trying to write. This guarantees that the maximum amount of data that can be written at any one time is written. Andrew Tridgell 1998-06-19 00:55:19 +00:00
  • da81e21536 use LDFLAGS in Makefile.in (fix from arndt@schoenewald.de) Andrew Tridgell 1998-06-18 14:15:16 +00:00
  • 46831d6fcf fixed chmod bug pointed out by Han Holl <jeholl@euronet.nl> Andrew Tridgell 1998-06-18 13:26:10 +00:00
  • b58ad6c569 preparing for release of 2.0.18 v2.0.18 rsync-bugs 1998-06-18 13:06:00 +00:00
  • 22b1933287 fixed a race condition in rsync that opened a security hole. The temporary files were being created with the same permissions as the original file. So if the file was setuid but not owned by the user doing the transfer then there was a window of opportunity for a malicious user to execute it with the wrong permissions while it was being transferred. Andrew Tridgell 1998-06-18 12:17:23 +00:00
  • 5a03f68a5a preparing for release of 2.0.17 v2.0.17 rsync-bugs 1998-06-18 10:30:48 +00:00
  • e81da93e86 if as non-root we failed to update the group of a file then don't print the file name. Andrew Tridgell 1998-06-18 10:03:44 +00:00
  • f578043391 for consistency use memcpy/memset everywhere instead of bcopy/bzero Andrew Tridgell 1998-06-18 09:51:44 +00:00
  • e8f5b936ad move include of compat.h after other includes. Andrew Tridgell 1998-06-18 09:37:21 +00:00
  • 667e72a195 change the order of chmod and chown calls so that setuid bits don't get removed by chown calls. Andrew Tridgell 1998-06-18 09:36:24 +00:00
  • e1b3d5c4be set network file descriptors non-blocking before starting main rsync algorithm. Andrew Tridgell 1998-06-18 09:34:56 +00:00
  • f7b9377863 handle non-blocking file descriptors for both read and write. Add a workaround for buggy systems that say there is space to write when there isn't. Andrew Tridgell 1998-06-18 09:33:46 +00:00
  • a5343e765b put set_nonblocking() code back in. Andrew Tridgell 1998-06-18 09:32:45 +00:00
  • 704f908eae --help changes suggested by Francois Andrew Tridgell 1998-06-18 09:31:42 +00:00
  • de2fd20eb7 manpage updates, mostly suggested by Francois Andrew Tridgell 1998-06-18 09:30:51 +00:00
  • 100e5241b0 the tag table should be of type int* not tag*. Andrew Tridgell 1998-06-03 02:47:52 +00:00
  • ddecf7060b if the user passes a block size on the command line then don't adapt the block size. Andrew Tridgell 1998-06-03 02:35:51 +00:00
  • 56cdbccb92 added note to docs saying that --stats doesn't work unless -v is used Andrew Tridgell 1998-06-02 12:50:23 +00:00
  • fc8a6b9705 added some fflush() calls to make sure the statistics lines are printed when redirecting output to a file. Andrew Tridgell 1998-06-02 12:46:46 +00:00