Commit Graph

  • b882b49747 Document the fact that the %t log format option includes the date, and that the "log file" option always prepends "%t [%p] ". David Dykstra 1999-01-20 21:32:46 +00:00
  • 1f0610ef82 Fix segmentation fault when using -vvv. Suggested by assar@sics.se. David Dykstra 1999-01-11 17:07:27 +00:00
  • 379e689dac fixed bug where strtok() could return NULL in getpassf(). Andrew Tridgell 1999-01-08 10:42:29 +00:00
  • 65575e9670 added --password-file patch from Alex Schlessinger <alex@inconnect.com> Andrew Tridgell 1999-01-08 10:32:56 +00:00
  • 5e71c4446e made the "max connections" and "lock file" local rather than global options so you can set them on a per-module basis (requested by kernel.org mirror maintiner) Andrew Tridgell 1999-01-08 07:51:25 +00:00
  • 94a7fce217 Ran yodl2man on rsync.yo, and updated modification date. David Dykstra 1999-01-07 16:27:38 +00:00
  • 3bc67f0c4f add warning about using RSYNC_PASSWORD on systems where env varibables are visible to all users. Andrew Tridgell 1999-01-07 07:19:03 +00:00
  • 117af10225 Change the receive log message from "send" to "recv". Fix from Rick Smith <rick@rbsmith.com>. David Dykstra 1999-01-05 20:08:45 +00:00
  • 536541d52b moved the block length mismatch code to another part of the loop. Andrew Tridgell 1999-01-05 06:43:59 +00:00
  • 496d9272c1 don't try to match checksums of two blocks which are of unequal size. This explains the high false_alarms rate that I saw for one of the sample data files used in my thesis. Andrew Tridgell 1999-01-05 06:31:58 +00:00
  • 34d3eed462 fixed a bug in the adjacent target optimisation Andrew Tridgell 1999-01-05 01:57:13 +00:00
  • 923fa97808 an optimization that tries to make rsync choose adjacent matches if multiple matching blocks are available. This make the run-length coding of the output more efficient. Andrew Tridgell 1999-01-05 01:15:32 +00:00
  • 4440b8aa3f no longer use mmap() in rsync because of the risk of a SIGBUS when another program (such as a mailer) truncates a file. Andrew Tridgell 1998-12-30 14:48:45 +00:00
  • 5a554d5b14 steve.ingram@icl-gis.com noticed several mistakes in rsync.1. Some of them had already been fixed but yodl2man hadn't been run, and a couple others were new. David Dykstra 1998-12-07 18:48:46 +00:00
  • 2cfeab21ce Fix minor man page typo, suggested by jbm@jbm.org. David Dykstra 1998-12-07 14:51:32 +00:00
  • 2b086e033c paranoia change - treat list_only like read_only and refuse all syscalls that might change the filesystem. This shouldn't be needed, but I like paranoid coding :) Andrew Tridgell 1998-12-05 01:56:45 +00:00
  • 241fc706a9 - slprintf() takes sizeof(buf) not sizeof(buf)-1 - fixed incorrect format string in rename error Andrew Tridgell 1998-12-05 01:55:37 +00:00
  • 7fadb4bc58 Support newer rpm's which define $RPM_OPT_FLAGS as a set of options separated by spaces. Suggested by pavel_roskin@geocities.com. David Dykstra 1998-12-01 16:13:25 +00:00
  • 6c7c2ef372 Minor documentation change suggested by pavel_roskin@geocities.com. David Dykstra 1998-12-01 16:11:40 +00:00
  • 86a2dd0a0a preparing for release of 2.2.1 v2.2.1 rsync-bugs 1998-11-25 16:24:56 +00:00
  • 63f0774f75 Back out change that treated "refuse options = compress" the same as "dont compress = *", by request of Tridge. Instead, mention the difference in the man page. Also, put in a shortcut in set_compression() to recognize "*" earlier instead of going through malloc/strtok/fnmatch/free cycle. David Dykstra 1998-11-25 15:37:50 +00:00
  • d47741cac6 When "refuse options = compress" is set in rsyncd.conf, silently send files at compression level 0 instead of printing an error and exitting. This is the same effect as "dont compress = *". David Dykstra 1998-11-24 22:03:16 +00:00
  • 5d5811f7d9 Always include "." when processing exclude lists. This avoids confusion when people do --exclude "*". Also, add an example to the man page that shows explicitly including parent directories when itemizing specific paths to include followed by --exclude "*". David Dykstra 1998-11-24 21:26:38 +00:00
  • dcc3a131d1 Update the README file to reflect current usage options. David Dykstra 1998-11-24 20:54:56 +00:00
  • 7212be9237 Don't list cleaned-out duplicate file names as "<NULL>" when doing list_only mode; skip them instead. David Dykstra 1998-11-24 20:51:45 +00:00
  • 44e2e57837 Change sanitize_path() function to not malloc a copy since it only shrinks paths and it is only used in places that have already just done a copy. David Dykstra 1998-11-24 20:18:11 +00:00
  • d1be231290 Make sure secrets file is not other-accessible, and owned by root if the daemon is running as root. Suggested by Mike Richardson <mike@quaking.demon.co.uk> David Dykstra 1998-11-24 19:52:35 +00:00
  • a926daecbf Always add the O_BINARY flag in do_open if it is defined, for Windows. Suggestion from Mart.Laak@hansa.ee David Dykstra 1998-11-24 19:10:21 +00:00
  • 53dd3135f1 Backup deleted files when using --delete and --backup. Based on a suggested patch from Kanai Makoto (kanai@hallab.co.jp). David Dykstra 1998-11-24 19:01:24 +00:00
  • cd64343a7a Add "include" and "include from" rsyncd.conf options. Contributed by Dennis Gilbert <dennis@oit.pdx.edu>. David Dykstra 1998-11-23 21:54:01 +00:00
  • 9e3c856a39 updates to reflect new samba.org domain the main web site is now http://rsync.samba.org/ Andrew Tridgell 1998-11-23 00:30:27 +00:00
  • 1e8ae5ede6 changed an example slightly Andrew Tridgell 1998-11-20 22:46:42 +00:00
  • 83fff1aa60 added "dont compress" option with the default setting of *.gz *.tgz *.zip *.z *.rpm *.deb Andrew Tridgell 1998-11-20 22:26:29 +00:00
  • 055af77666 improved the "refuse options" code a bit Andrew Tridgell 1998-11-19 06:45:21 +00:00
  • cd8185f2bd added "refuse options" option Andrew Tridgell 1998-11-19 06:35:49 +00:00
  • 6bd98f0617 Look for strcasecmp in -lresolv for Unixware. David Dykstra 1998-11-18 17:53:22 +00:00
  • 14d43f1fcf Minor documentation patches, due mostly to Jason Henry Parker <henry@freezer.humbug.org.au> David Dykstra 1998-11-18 17:36:36 +00:00
  • 3a64ad1fd0 Change --log-format documentation to make it clear that it is for the client logging to stdout. David Dykstra 1998-11-18 16:20:22 +00:00
  • 5557c8e3e0 Remove a debugging statement I accidentally included in the last commit. David Dykstra 1998-11-18 16:02:23 +00:00
  • baf3e5049e Change documentation to explain that a lack of -t in effect causes -I to be assumed on the next transfer. David Dykstra 1998-11-18 15:54:50 +00:00
  • b389939f87 Apply sanitize_paths() to glob expansions when use chroot = no. David Dykstra 1998-11-17 21:56:18 +00:00
  • af77cc6b57 don't interpret %h and %a when using --log-format locally Andrew Tridgell 1998-11-16 23:50:28 +00:00
  • 1309d90dde fixed a bug handling files larger than 2GB Andrew Tridgell 1998-11-16 03:53:43 +00:00
  • a9766ef147 log filename(line) in exit_cleanup() to make tracking down problems easier in rsync daemons. Andrew Tridgell 1998-11-15 01:21:42 +00:00
  • 5a788adec1 use native strlcat() and strlcpy() if available Andrew Tridgell 1998-11-15 01:04:16 +00:00
  • 50abd20bb3 compile with optimisation by default on all compilers (the mdfour code really needs it) Andrew Tridgell 1998-11-14 23:49:08 +00:00
  • 37f9805dab changed strlcat() and strlcpy() to have the same semantics as the OpenBSD functions of the same name. Andrew Tridgell 1998-11-14 23:31:58 +00:00
  • b5f9e67d57 Change sanitize_path() to not use clean_fname() because it removes the trailing slash. This caused a problem when using "use chroot" and sources that contained a trailing slash (which prevents the last filename component of the source from being included in the destination). Instead, have sanitize_path() remove "." components and duplicated slashes ("//") itself. David Dykstra 1998-11-06 17:07:07 +00:00
  • ed06894a01 fixed typo Andrew Tridgell 1998-11-06 10:37:10 +00:00
  • d532c0f569 Add comment before call to mktemp saying it is deliberately chosen over mkstemp. David Dykstra 1998-11-05 14:33:38 +00:00
  • ec9df38086 Fix confusion between RERR_NOSUPPORT and RERR_UNSUPPORTED for exit codes that indicate a feature is not supported. Two places that are normally ifdefed out used RERR_UNSUPPORTED whereas one other place and errcode.h used RERR_NOSUPPORT. Changed them all to consistently use RERR_UNSUPPORTED. The two things that had the bad values were #ifndef SUPPORT_LINKS and #ifdef NO_INT64. The former is probably for non-Unix operating systems and the latter was at least on the default Unixware compiler. David Dykstra 1998-11-04 16:47:33 +00:00
  • 81791cfccb added timeout option in rsyncd.conf Andrew Tridgell 1998-11-04 03:14:22 +00:00
  • 2fb27e9146 use macros to make mdfour faster on systems that don't do inlining well. Also helps when optimisation level is low. Andrew Tridgell 1998-11-04 02:35:18 +00:00
  • 946347b8ff Remove statement in rsync.1 that a rsync:// URL can only be used if a username is not needed. David Dykstra 1998-11-03 22:30:52 +00:00
  • c239825783 preparing for release of 2.2.0 v2.2.0 rsync-bugs 1998-11-03 22:00:59 +00:00
  • 33e817e37e Document the fact that you can use [USER@] in an rsync URL. Note: the same thing works for ftp and http URLs in netscape. David Dykstra 1998-11-03 21:58:08 +00:00
  • 1b8e662a24 Call clean_fname() in sanitize_path() to catch some more strange but legal file name syntaxes. David Dykstra 1998-11-03 21:49:38 +00:00
  • 2acf81eb00 Add support for optional ":PORT" in rsync URL. David Dykstra 1998-11-03 21:17:40 +00:00
  • 654175798b patch from Alberto Accomazzi <aaccomazzi@cfa.harvard.edu> to add different exit codes for different conditions. Andrew Tridgell 1998-11-03 07:08:27 +00:00
  • 3e578a1909 documented --delete disabling on IO errors Andrew Tridgell 1998-11-03 05:14:41 +00:00
  • b606265491 added the --log-format option to allow users to request arbitrary per-file logging of interactive rsync sessions. Andrew Tridgell 1998-11-03 03:48:47 +00:00
  • 263cf2ed55 remove double / from filenames in display Andrew Tridgell 1998-11-02 07:26:36 +00:00
  • ab7104da8f the logging wasn't showing the full prefix for filenames Andrew Tridgell 1998-11-02 06:40:11 +00:00
  • 1b7c47cb55 Jason told me that's its very important for his site to log exactly how many bytes were needed to be transferred for each file. I added %b and %c log format options to cover this. See the man page for details. Andrew Tridgell 1998-11-02 04:17:56 +00:00
  • 039faa8660 - document the rsync:// URL format Andrew Tridgell 1998-11-02 00:55:21 +00:00
  • f7632fc60d if no local destination is provided for the transfer then provide a "ls -l" style listing of the files that would be transferred Andrew Tridgell 1998-11-02 00:52:01 +00:00
  • 2f098547ea added copyright notice from Patrick Powell Andrew Tridgell 1998-10-31 04:35:44 +00:00
  • c7c056410c get the date comparison the right way around Andrew Tridgell 1998-10-31 00:12:59 +00:00
  • e803090538 use the orig_umask when choosing perms for the log file. Andrew Tridgell 1998-10-30 23:50:12 +00:00
  • 6265551a5a fixed perms on rsyncd log file Andrew Tridgell 1998-10-30 23:03:08 +00:00
  • 958f373550 move the time init before the logfile opening. Andrew Tridgell 1998-10-30 11:18:38 +00:00
  • 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