Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add rrsync option to enforce `--ignore-existing` (#461) | dogvisor | 2023-03-30 | 1 | -0/+4 |
| | | | The `-no-overwrite` rrsync option disallows the updating of existing files for incoming rrsync copies. | ||||
* | Mention `copy-devices`. | Wayne Davison | 2022-08-19 | 1 | -0/+1 |
| | |||||
* | Add an arg-protection idiom using backslash-escapes | Wayne Davison | 2022-01-09 | 1 | -3/+3 |
| | | | | | | | | 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. | ||||
* | Improve rrsync usage and some more NEWS tweaks. | Wayne Davison | 2022-01-03 | 1 | -1/+1 |
| | |||||
* | Fix rrsync directory normalization (#268) | Marco Nenciarini | 2021-12-30 | 1 | -1/+1 |
| | | | Fix an off-by-one in the `args.dir_slash_len` variable that leads to base every absolute path on `/` | ||||
* | Add a default single-access lock. | Wayne Davison | 2021-12-27 | 1 | -5/+30 |
| | |||||
* | rrsync improvements | Wayne Davison | 2021-12-26 | 1 | -262/+333 |
| | | | | | | | | | | | | - Convert rrsync to python. - Enhance security of arg & option checking. - Reject `-L` (`--copy-links`) by default. - Add `-munge` and `-no-del` options. - Tweak the logfile line format. - Created an rrsync man page. - Use `configure --with-rrsync` if you want `make install` to install rrsync and its man page. - Give lsh more rrsync testing support. | ||||
* | Make rrsync default to munged symlinks. | Wayne Davison | 2021-12-20 | 1 | -14/+39 |
| | |||||
* | Add a couple more options to rrsync. | Wayne Davison | 2021-10-01 | 1 | -0/+2 |
| | |||||
* | Update the options in rrsync. | Wayne Davison | 2021-07-09 | 1 | -1/+4 |
| | |||||
* | Some misc cleanup | Wayne Davison | 2020-06-27 | 1 | -0/+1 |
| | | | | | Remove some extraneous vars, update some years, add an rrsync opt, & ensure some less options are set right when running release-rsync. | ||||
* | Use /usr/bin/env for increased portability. | Wayne Davison | 2020-06-16 | 1 | -1/+1 |
| | |||||
* | Tweak my email. | Wayne Davison | 2020-06-16 | 1 | -1/+1 |
| | |||||
* | Update rrsync & its opt-culling script. | Wayne Davison | 2020-06-13 | 1 | -1/+3 |
| | |||||
* | Add a few new opts to rrsync. | Wayne Davison | 2020-04-26 | 1 | -1/+3 |
| | |||||
* | Improve write-only --sender check & handle 2 new options. | Wayne Davison | 2019-01-15 | 1 | -2/+3 |
| | |||||
* | Reject --log-file when read-only. | Wayne Davison | 2019-01-09 | 1 | -1/+1 |
| | |||||
* | Improve check for ".." and guard against dash args. | Wayne Davison | 2019-01-09 | 1 | -2/+5 |
| | |||||
* | Add -wo option for write-only rrsync mode. | Wayne Davison | 2015-09-13 | 1 | -5/+16 |
| | |||||
* | Adding the long options that BackupPC likes to use. | Wayne Davison | 2014-09-04 | 1 | -0/+10 |
| | |||||
* | Fix a typo. | Wayne Davison | 2014-07-31 | 1 | -1/+1 |
| | |||||
* | Add new-compress option to rrsync. | Wayne Davison | 2014-05-26 | 1 | -0/+1 |
| | |||||
* | Don't forget about --debug and --info for rrsync. | Wayne Davison | 2013-10-04 | 1 | -0/+2 |
| | |||||
* | A few more new options that rsync 3.1.0 can pass. | Wayne Davison | 2013-10-04 | 1 | -1/+2 |
| | |||||
* | Update rrsync with the latest options. | Wayne Davison | 2010-05-26 | 1 | -1/+5 |
| | |||||
* | Avoid a server-side problem with -e is at the start of the short options. | Wayne Davison | 2009-01-07 | 1 | -1/+2 |
| | | | | (Bug #6020) | ||||
* | Tweaked s### and m## to avoid vim highlighting issues. | Wayne Davison | 2009-01-07 | 1 | -7/+7 |
| | |||||
* | A couple more support/rrsync tweaks: | Wayne Davison | 2008-03-19 | 1 | -1/+2 |
| | | | | | - Die if the --server option is not first on the command-line. - Don't allow the --daemon option by default. | ||||
* | Updated rrsync to deal with the latest 3.0.0's use of the -e option. | Wayne Davison | 2008-03-04 | 1 | -1/+4 |
| | | | | Added a couple more long options that might get passed. | ||||
* | Improved -s and support cvs's -e30.8 version idiom. | Wayne Davison | 2007-09-17 | 1 | -2/+2 |
| | |||||
* | Disable -s by default. | Wayne Davison | 2007-09-16 | 1 | -1/+1 |
| | |||||
* | Adding knowledge of some new options. | Wayne Davison | 2007-09-15 | 1 | -1/+5 |
| | |||||
* | Added parsing for all the latest options. | Wayne Davison | 2006-09-18 | 1 | -1/+9 |
| | |||||
* | Changed the arg-splitting code so that it can handle a literal | Wayne Davison | 2005-06-23 | 1 | -2/+3 |
| | | | | | | backslash prior to whitespace without treating it as escaped whitespace (e.g. if we receive "foo\\ bar", it is two args, while "foo\ bar" and "foo\\\ bar" are each just one). | ||||
* | Changed the code to use the single long-option hash from cull_options. | Wayne Davison | 2005-06-17 | 1 | -65/+57 |
| | |||||
* | - Improved some comments (some taken from the new cull-options output). | Wayne Davison | 2005-06-17 | 1 | -14/+23 |
| | | | | | | | | - Made the user-config sections easier to find. - Default to running a fully-specified rsync executable so that there are not PATH surprises. - A few minor tweaks to the arg-checking code to make it clearer without actually changing its logic. | ||||
* | - Make sure that the command contained the '.' arg at the end of the | Wayne Davison | 2005-06-17 | 1 | -21/+16 |
| | | | | | options. - Fixed the expanding of wildcards for a restriction of '/'. | ||||
* | - Be restrictive on matching the --sender option so that the user | Wayne Davison | 2005-06-17 | 1 | -10/+12 |
| | | | | | | | can't fool us into thinking we're the sender by using a filename of --sender (or similar ploy). - Make sure that our '..' check can't be fooled by sly backslashing. - Tweaked some comments. | ||||
* | If SUBDIR is specified as a non-absolute path, make it absolute. | Wayne Davison | 2005-06-17 | 1 | -1/+3 |
| | |||||
* | - Made it easy to configure the path of the rsync executable. | Wayne Davison | 2005-06-16 | 1 | -38/+160 |
| | | | | | | | | | | | | | | | | | | | - Fully parse all legal options that might come from a stock rsync and validate/restrict any option's args (previously we rejected options with args). - Made it easy to disable specific options. - Properly handle a multi-arg copy's multiple args. - Make sure that the restricted dir actually exists and we can chdir to it. - Just reject any dangerous args that have .. in them instead of trying to munge them. - We don't treat single-or double-quotes specially, just backslash- escaped characters. - Turn on strict mode. - Use the array-arg version of exec() so that we don't spawn a shell. - Use File::Glob to glob wildcards in args. - Tweaked the log-file format so that it logs the modified command without any "OK" suffix. | ||||
* | Reject any --remove-* options when read-only, just in case there | Wayne Davison | 2005-04-24 | 1 | -2/+2 |
| | | | | are new ones added in the future. | ||||
* | Disallow --remove-sent-files with a read-only server. | Wayne Davison | 2005-02-20 | 1 | -0/+2 |
| | |||||
* | - Allow multiple source paths to be specified (and checked). | Wayne Davison | 2005-01-12 | 1 | -17/+35 |
| | | | | | | | | | | | - 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. | ||||
* | This is Joe Smith's rrsync (restricted rsync) perl script. | Wayne Davison | 2005-01-12 | 1 | -0/+54 |