Commit Graph

31 Commits

Author SHA1 Message Date
Axel Kittenberger
d72a59e70f do not append a '/' to targets when there it ends with a ':' 2018-02-27 10:09:28 +01:00
Axel Kittenberger
ea068b4014 reverting to rsync filter useage, until rysnc bug is fixed 2017-02-16 12:17:37 +01:00
Axel Kittenberger
0c5e2c707e new rsync control is no longer recursive, fixing excludes 2017-01-05 11:31:29 +01:00
Axel Kittenberger
467a69eba2 typo 2017-01-05 10:23:12 +01:00
Axel Kittenberger
d1ef5f3d51 use missing-args for rsyncssh too 2017-01-05 10:22:00 +01:00
Axel Kittenberger
ff891441c8 removing xargs 2017-01-04 11:00:14 +01:00
Axel Kittenberger
4909dd3b2c fixing racecondition in default.rsyncssh 2017-01-03 15:30:13 +01:00
Axel Kittenberger
7bae036f03 lifting some inline funcs 2017-01-03 13:08:48 +01:00
Axel Kittenberger
20edbe5f6e cleanups 2016-12-14 08:45:33 +01:00
Axel Kittenberger
40a46b6048 code cleanups, improved delay debug logging 2016-12-12 19:53:44 +01:00
Axel Kittenberger
c58658e642 adding rsync chmod parameter 2016-12-01 14:12:56 +01:00
Axel Kittenberger
4d2c793b01 code beautify 2016-11-25 14:55:59 +01:00
Axel Kittenberger
545eb341cf add rsync.chown 2016-08-29 13:12:09 +02:00
Ángel González
e6016b3748 Properly sanitize mv parameters (CVE-2014-8990)
When using -rsyncssh option, some filenames
could -in addition of not syncing correctly-
crash the service and execute arbitrary commands
under the credentials of the remote user.

These issues have been assigned CVE-2014-8990

This commit fixes the incomplete and lua5.2-incompatible
sanitization performed by 18f02ad0

Signed-off-by: Sven Schwedas <sven.schwedas@tao.at>
2014-11-26 09:01:25 +01:00
Sven Schwedas
18f02ad013 Sanitize mv arguments:
1. Fixes crashes on file names containing `, $ or "
2. Also prevents shell execution of ``, $() … in file names, which can be
   used to gain remote shell access as lsyncd's (target) user.
2014-10-29 13:32:20 +01:00
Axel Kittenberger
6f4613c53a adding ssh.identityFile and ssh.options options 2013-07-30 11:16:29 +02:00
Axel Kittenberger
3aa8ed1182 * fixing ssh port overwriting the last rsync option
* preparing 2.1.5
2013-06-07 13:40:54 +02:00
Axel Kittenberger
5b7057bfd7 adding custom ssh port to rsync calls as well 2012-11-23 16:05:15 +01:00
Axel Kittenberger
e7b757bbc6 checking correct ssh config options 2012-11-23 12:01:21 +01:00
Axel Kittenberger
9ff62e15c6 fixing another uSettings crash condition 2012-11-23 11:03:22 +01:00
Axel Kittenberger
beaa258ad0 do not flood log about waiting for processes. Fixing retry startup of rsyncssh 2012-10-23 14:31:54 +02:00
Axel Kittenberger
5f01a04335 allow true, false, 'running' and 'startup' for the delete parameter 2012-10-09 17:47:39 +02:00
Axel Kittenberger
f9231a11b2 enabling port configuration for rsyncssh 2012-10-08 08:06:34 +02:00
Axel Kittenberger
a6b49c8650 working on the new rsync config system 2012-10-06 14:22:08 +02:00
Axel Kittenberger
6a862d6b8f introducing checkgauge, code beautifications 2012-10-05 21:48:06 +02:00
Axel Kittenberger
ddbf2c2a19 _extra will be the generic future extender, if someone absoletly must do it 2012-10-01 21:36:23 +02:00
Axel Kittenberger
6d4149acdc fixing compile errors 2012-09-07 09:03:00 +02:00
Axel Kittenberger
f50be8e51b ssh port options, making ssh binary configurable 2012-08-25 13:45:50 +02:00
Axel Kittenberger
770d1880d6 Added 'delete=false' flag. if deleting set rsync to force it (otherwise this could result in some deletes not being transfered in the tests 2012-02-16 08:28:40 +01:00
Axel Kittenberger
80baea16e0 improved comments 2012-02-15 20:10:50 +01:00
Axel Kittenberger
af237aa691 splittet default configs into seperated files 2012-02-15 20:00:28 +01:00