Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Complain if the destination arg is empty. | Wayne Davison | 2022-10-02 | 1 | -2/+13 |
| | |||||
* | Improve various things in the checksum code | Wayne Davison | 2022-09-10 | 1 | -0/+11 |
| | | | | | | | | | | - Size flist checksum data to hold the active size, not the max. - Add a negotiated hash method to the daemon auth code. - Use EVP for all openssl digests. This makes it easy to add more openssl digest methods and avoids deprecation warnings. - Support a way to re-enable deprecated digests via openssl conf file and allow a default file to be configured. - Supply a simple openssl-rsync.cnf file to enable legacy digests. | ||||
* | Add `--trust-sender` option. | Wayne Davison | 2022-08-09 | 1 | -2/+0 |
| | |||||
* | Fix handling of daemon module names in file-list verification; convert some ↵ | Wayne Davison | 2022-08-09 | 1 | -2/+2 |
| | | | | while loops to for loops. | ||||
* | More improvements to file-list checking | Wayne Davison | 2022-08-01 | 1 | -0/+1 |
| | | | | | | - Avoid implied rules on generator and (with extra certainty) on server - Add -R implied-directory path elements as directory includes - Log about extra file-list checking using a new --debug=FILTER3 level | ||||
* | Some extra file-list safety checks. | Wayne Davison | 2022-07-31 | 1 | -1/+6 |
| | |||||
* | Don't backslash-escape args for a local transfer. | Wayne Davison | 2022-01-18 | 1 | -0/+5 |
| | |||||
* | Fix `--old-args` interaction with a daemon | Wayne Davison | 2022-01-17 | 1 | -1/+1 |
| | | | | | Ensure that a remote rsync daemon will not split a filename arg unless the user asked for `--old-args`. | ||||
* | Preparing for release of 3.2.4pre2v3.2.4pre2 | Wayne Davison | 2022-01-15 | 1 | -1/+1 |
| | |||||
* | Add an arg-protection idiom using backslash-escapes | Wayne Davison | 2022-01-09 | 1 | -5/+1 |
| | | | | | | | | The new default is to protect args and options from unintended shell interpretation using backslash escapes. See the new `--old-args` option for a way to get the old-style splitting. This idiom was chosen over making `--protect-args` enabled by default because it is more backward compatible (e.g. it works with rrsync). Fixes #272. | ||||
* | Preparing for release of 3.2.4pre1v3.2.4pre1 | Wayne Davison | 2022-01-02 | 1 | -1/+1 |
| | |||||
* | Use mallinfo2, when available, and use %zd for size_t values on C99. | Wayne Davison | 2021-12-26 | 1 | -27/+22 |
| | | | | An exhanced version of pull request #265. | ||||
* | Fix the ability to read the user's numeric locale. | Wayne Davison | 2021-10-29 | 1 | -0/+1 |
| | |||||
* | Need to also check stdout_format_has_i in some INFO-NAME checks. | Wayne Davison | 2021-06-27 | 1 | -2/+3 |
| | |||||
* | Unset DISPLAY in environment. | Wayne Davison | 2021-05-01 | 1 | -2/+20 |
| | | | | | | Without a DISPLAY var, ssh won't try to forward X11 when making an ssh connection. This patch also makes use of setenv() and unsetenv() if they are available. | ||||
* | Handle a --mkpath failure | Wayne Davison | 2020-09-08 | 1 | -2/+5 |
| | | | | | Fixes bug #96 where --mkpath makes rsync complain when a dest path exists but the path contains an alt-dest name for the single file. | ||||
* | Don't allow a completely empty source arg. | Wayne Davison | 2020-07-27 | 1 | -0/+7 |
| | |||||
* | Complain about a missing/non-dir `--temp-dir`. | Wayne Davison | 2020-07-26 | 1 | -0/+18 |
| | |||||
* | Change daemon variable & simplify some option code | Wayne Davison | 2020-07-25 | 1 | -12/+16 |
| | | | | | | | | | - Rename daemon_over_rsh -> daemon_connection since it is also used to indicate if a non-rsh daemon connection is active. - Move the daemon-over-rsh exception out of server_options() to the one caller that needs that behavior. - Don't allow noop_io_until_death() to be short-circuited when talking to a daemon over a socket, because it can't send errors via stderr. | ||||
* | Change the --mkpath message. | Wayne Davison | 2020-07-24 | 1 | -1/+1 |
| | |||||
* | Add --mkpath option. Fixes bugzilla bug 4621. | Wayne Davison | 2020-07-23 | 1 | -8/+26 |
| | |||||
* | Improve error output for local & remote-shell xfers | Wayne Davison | 2020-07-23 | 1 | -1/+1 |
| | |||||
* | Warning fixes & impossible-failure improvements | Wayne Davison | 2020-07-08 | 1 | -0/+2 |
| | | | | | - Silence a couple warnings for less-common builds. - Use a better impossible-failure idiom than assert(0). | ||||
* | One more TANDEM include. | Wayne Davison | 2020-07-06 | 1 | -0/+3 |
| | |||||
* | More TANDEM changes | Wayne Davison | 2020-07-06 | 1 | -2/+2 |
| | | | | | | - Handle a non-0 root uid. - Handle alternate major/minor/MAKEDEV funcs. - Other misc compatibility tweaks. | ||||
* | Some memory allocation improvements | Wayne Davison | 2020-06-25 | 1 | -20/+5 |
| | | | | | | | | | | - All the memory-allocation macros now auto-check for failure and exit with a failure message that incudes the caller's file and lineno info. This includes strdup(). - Added the `--max-alloc=SIZE` option to be able to override the memory allocator's sanity-check limit. It defaults to 1G (as before). Fixes bugzilla bug 12769. | ||||
* | Make -4 & -6 also able to affect an ssh remote shell. | Wayne Davison | 2020-06-13 | 1 | -12/+19 |
| | |||||
* | Some indentation fixes. | Wayne Davison | 2020-06-13 | 1 | -21/+16 |
| | |||||
* | Change alt_dest_name() to alt_dest_opt(). | Wayne Davison | 2020-06-13 | 1 | -2/+2 |
| | |||||
* | Change 3 alt-dest vars to just one + some defines. | Wayne Davison | 2020-06-13 | 1 | -3/+2 |
| | |||||
* | Make use of poptDupArgv(). | Wayne Davison | 2020-06-12 | 1 | -7/+4 |
| | |||||
* | Fix a couple batchfile issues. | Wayne Davison | 2020-06-10 | 1 | -2/+7 |
| | |||||
* | A couple minor fixes. | Wayne Davison | 2020-06-04 | 1 | -1/+0 |
| | |||||
* | Improve how negotiated info affects batch files. | Wayne Davison | 2020-05-25 | 1 | -17/+9 |
| | |||||
* | Fix a bug in the writing of the batch.sh file | Wayne Davison | 2020-05-22 | 1 | -1/+1 |
| | | | | | | Fix the code that writes the options and the default destination path into the batch.sh file to be able to handle options being specified after source/dest args. | ||||
* | Need to flush early errors before we exit. | Wayne Davison | 2020-05-17 | 1 | -2/+0 |
| | |||||
* | Set Copyright years and make them easier to update | Wayne Davison | 2020-04-09 | 1 | -1/+1 |
| | | | | | | | | I replaced git-set-file-times with an improved version that I wrote recently (in python3). A new script uses it to figure out the last-modified year for each *.[ch] file and updates its copyright. It also puts the latest year into the latest-year.h file for the output of --version. | ||||
* | Fix the default skip-compress list. | Wayne Davison | 2020-04-07 | 1 | -0/+4 |
| | | | | | | | The default value of the skip-compress list actually comes from the daemon's default lp_dont_compress() value, but a while back the vars stopped getting default values in a non-daemon run. I added a call to reset_daemon_vars() so that the "Vars" values get set from "Defaults". | ||||
* | Set RSYNC_PORT in the env for a daemon-over-rsh connection. | Wayne Davison | 2020-04-05 | 1 | -1/+13 |
| | | | | Fixes bug #14163. | ||||
* | Add progress output via SIGINFO and SIGVTALRM | Wayne Davison | 2020-04-05 | 1 | -0/+13 |
| | | | | | | | On BSD-ish systems you can type Ctrl+T to see the current file and the progress output (in --info=progress2 format). On hosts w/o SIGINFO, use something like "killall -VTALRM rsync" or a more targetted "kill -VTALRM PID ..." call (as needed). | ||||
* | Make exit_cleanup() use _exit() if called from a signal handler. | Wayne Davison | 2020-04-05 | 1 | -0/+2 |
| | | | | Fixes bug #13982. | ||||
* | Add a --copy-as=USER[:GROUP] option | Wayne Davison | 2020-03-29 | 1 | -0/+78 |
| | | | | | | This can be used by a root-run rsync to try to make reading or writing files safer in a situation where you can't run the whole rsync command as a non-root user. | ||||
* | Tweak the copyright year. | Wayne Davison | 2019-03-16 | 1 | -1/+1 |
| | |||||
* | Allow some pre-/post-xfer exec shell restrictions. | Wayne Davison | 2018-03-25 | 1 | -4/+23 |
| | | | | Support both RSYNC_SHELL & RSYNC_NO_XFER_EXEC environment variables. | ||||
* | Tweak copyright date. | Wayne Davison | 2018-01-14 | 1 | -1/+1 |
| | |||||
* | Add an extra argc validation in do_server_sender(). | Wayne Davison | 2017-10-29 | 1 | -5/+8 |
| | | | | Fixes bug 13104. | ||||
* | Add --checksum-choice option to choose the checksum algorithms. | Wayne Davison | 2016-05-01 | 1 | -2/+0 |
| | |||||
* | Output "UNKNOWN" if starttime or endtime is -1. | Wayne Davison | 2016-04-17 | 1 | -1/+8 |
| | | | | Fixes bug 11382. | ||||
* | Only output about new backup dirs when requested. | Wayne Davison | 2016-04-17 | 1 | -1/+2 |
| | | | | Fixes bug 11812. | ||||
* | Avoid creating even the top-level backup dir until needed. | Wayne Davison | 2015-08-23 | 1 | -6/+19 |
| | | | | Fixes bug 11423. |