summaryrefslogtreecommitdiff
path: root/support/rrsync
Commit message (Collapse)AuthorAgeFilesLines
* add rrsync option to enforce `--ignore-existing` (#461)dogvisor2023-03-301-0/+4
| | | The `-no-overwrite` rrsync option disallows the updating of existing files for incoming rrsync copies.
* Mention `copy-devices`.Wayne Davison2022-08-191-0/+1
|
* Add an arg-protection idiom using backslash-escapesWayne Davison2022-01-091-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 Davison2022-01-031-1/+1
|
* Fix rrsync directory normalization (#268)Marco Nenciarini2021-12-301-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 Davison2021-12-271-5/+30
|
* rrsync improvementsWayne Davison2021-12-261-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 Davison2021-12-201-14/+39
|
* Add a couple more options to rrsync.Wayne Davison2021-10-011-0/+2
|
* Update the options in rrsync.Wayne Davison2021-07-091-1/+4
|
* Some misc cleanupWayne Davison2020-06-271-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 Davison2020-06-161-1/+1
|
* Tweak my email.Wayne Davison2020-06-161-1/+1
|
* Update rrsync & its opt-culling script.Wayne Davison2020-06-131-1/+3
|
* Add a few new opts to rrsync.Wayne Davison2020-04-261-1/+3
|
* Improve write-only --sender check & handle 2 new options.Wayne Davison2019-01-151-2/+3
|
* Reject --log-file when read-only.Wayne Davison2019-01-091-1/+1
|
* Improve check for ".." and guard against dash args.Wayne Davison2019-01-091-2/+5
|
* Add -wo option for write-only rrsync mode.Wayne Davison2015-09-131-5/+16
|
* Adding the long options that BackupPC likes to use.Wayne Davison2014-09-041-0/+10
|
* Fix a typo.Wayne Davison2014-07-311-1/+1
|
* Add new-compress option to rrsync.Wayne Davison2014-05-261-0/+1
|
* Don't forget about --debug and --info for rrsync.Wayne Davison2013-10-041-0/+2
|
* A few more new options that rsync 3.1.0 can pass.Wayne Davison2013-10-041-1/+2
|
* Update rrsync with the latest options.Wayne Davison2010-05-261-1/+5
|
* Avoid a server-side problem with -e is at the start of the short options.Wayne Davison2009-01-071-1/+2
| | | | (Bug #6020)
* Tweaked s### and m## to avoid vim highlighting issues.Wayne Davison2009-01-071-7/+7
|
* A couple more support/rrsync tweaks:Wayne Davison2008-03-191-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 Davison2008-03-041-1/+4
| | | | Added a couple more long options that might get passed.
* Improved -s and support cvs's -e30.8 version idiom.Wayne Davison2007-09-171-2/+2
|
* Disable -s by default.Wayne Davison2007-09-161-1/+1
|
* Adding knowledge of some new options.Wayne Davison2007-09-151-1/+5
|
* Added parsing for all the latest options.Wayne Davison2006-09-181-1/+9
|
* Changed the arg-splitting code so that it can handle a literalWayne Davison2005-06-231-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 Davison2005-06-171-65/+57
|
* - Improved some comments (some taken from the new cull-options output).Wayne Davison2005-06-171-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 theWayne Davison2005-06-171-21/+16
| | | | | options. - Fixed the expanding of wildcards for a restriction of '/'.
* - Be restrictive on matching the --sender option so that the userWayne Davison2005-06-171-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 Davison2005-06-171-1/+3
|
* - Made it easy to configure the path of the rsync executable.Wayne Davison2005-06-161-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 thereWayne Davison2005-04-241-2/+2
| | | | are new ones added in the future.
* Disallow --remove-sent-files with a read-only server.Wayne Davison2005-02-201-0/+2
|
* - Allow multiple source paths to be specified (and checked).Wayne Davison2005-01-121-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 Davison2005-01-121-0/+54