Commit Graph

862 Commits

Author SHA1 Message Date
Axel Kittenberger
dc93af01aa code cleanups 2016-12-01 12:30:58 +01:00
Axel Kittenberger
de2d47f7e6 added --existing 2016-11-28 11:20:38 +01:00
Axel Kittenberger
d5957200a2 added --existing 2016-11-28 11:20:12 +01:00
Axel Kittenberger
aaae8f4083 prepending arguments with -- so they can start with a - 2016-11-25 16:23:19 +01:00
Axel Kittenberger
6b6d718a48 fixing shell injection issue 2016-11-25 15:47:46 +01:00
Axel Kittenberger
b3f46e2462 Merge pull request #349 from wodny/master
fix: direct mode allows injecting unauthorized filesystem operations
2016-11-25 15:40:52 +01:00
Axel Kittenberger
25ce41a136 do not rebuild manpage by default 2016-11-25 15:09:27 +01:00
Axel Kittenberger
4d2c793b01 code beautify 2016-11-25 14:55:59 +01:00
Axel Kittenberger
8367ae89a0 made compatible with lua5.3 2016-11-24 15:44:08 +01:00
Axel Kittenberger
b2da0ea6d2 Merge pull request #398 from mralexjuarez/master
Updated lbash.lua and lrsync.lau to remove the equals (=)
2016-09-01 14:25:25 +02:00
Alex Juarez
f81e5d64d2 Updated lbash.lua and lrsync.lau to remove the equals (=) from the settings directive. 2016-08-31 10:46:38 -05:00
Axel Kittenberger
5d2126a472 style cleanup 2016-08-29 13:15:29 +02:00
Axel Kittenberger
fa3028321b a 2016-08-29 13:14:51 +02:00
Axel Kittenberger
545eb341cf add rsync.chown 2016-08-29 13:12:09 +02:00
Axel Kittenberger
315379072c fixing files with only ] as special char in their name 2016-06-27 09:26:45 +02:00
Axel Kittenberger
60d84c3ea1 updating manpage 2016-06-08 09:15:31 +02:00
Axel Kittenberger
e1c9e325d0 moving the manual 2016-06-08 09:10:13 +02:00
Axel Kittenberger
8e361d1f77 moving manpage 2016-05-30 16:23:14 +02:00
Axel Kittenberger
2e572a1391 moving doc manpage into own subdir 2016-05-24 11:08:25 +02:00
Axel Kittenberger
2a3e4aeb05 Merge pull request #378 from msabramo/patch-1
Fix typo: Exlcusions => Exclusions
2016-05-24 10:30:30 +02:00
Axel Kittenberger
7ec63e1eba Merge pull request #379 from msabramo/default_collect_print_dest
default.collect: Print target
2016-05-24 10:30:06 +02:00
Axel Kittenberger
ee5d693846 Merge pull request #380 from msabramo/fix_typo_width_with
Fix typo: width => with
2016-05-24 10:28:37 +02:00
Marc Abramowitz
16c854df8d Fix typo: width => with 2016-05-23 22:54:07 -07:00
Marc Abramowitz
47bb377efc default.collect: Print target
so when a source dir is being synced to multiple targets, one can see
which one is being handled in the log.

e.g.:

```
$ tail -f /var/log/lsyncd/lsyncd.log
...
Mon May 23 22:48:41 2016 Normal: Startup of /mnt/filevolume/fileshare/ -> 10.3.0.40::ACMe_shared/ finished.
...
Mon May 23 22:48:42 2016 Normal: Startup of /mnt/filevolume/fileshare/ -> 10.3.0.41::ACMe_shared/ finished.
```
2016-05-23 22:49:40 -07:00
Marc Abramowitz
86e7a5ab2a Fix typo: Exlcusions => Exclusions 2016-05-23 20:39:10 -07:00
Axel Kittenberger
abc2a509f6 omit-[dir/links]-times 2016-05-04 11:25:40 +02:00
Axel Kittenberger
0b9297b790 force _verbatim for 'exitcodes' 2016-05-03 10:45:22 +02:00
Axel Kittenberger
4740a2ca8f Merge pull request #355 from mattwells/patch-1
Correct typo
2015-11-26 11:33:59 +01:00
Matt Wells
a0389d6f08 Correct typo 2015-11-26 10:04:52 +00:00
Marcin Szewczyk
c4f4ac3e01 fix: direct mode allows injecting unauthorized filesystem operations 2015-10-27 15:18:26 +01:00
Axel Kittenberger
cce7db5ebd preparing version 2.1.6 2015-10-15 08:29:47 +02:00
Axel Kittenberger
4bdde8a672 updating ChangeLog 2015-10-15 08:16:28 +02:00
Axel Kittenberger
8fb9fc4bbb Merge branch 'master' of github.com:axkibe/lsyncd 2015-10-15 08:15:16 +02:00
Axel Kittenberger
bddc9a7fde updating ChangeLog 2015-10-15 08:15:06 +02:00
Axel Kittenberger
ea31ea92a7 Merge pull request #283 from rolandwalker/doc_disclaimer
Clarify the disclaimer.
2015-10-14 14:49:17 +02:00
Axel Kittenberger
5f74865f68 added inplace option for rsync 2015-10-14 14:39:14 +02:00
Axel Kittenberger
a18ba20365 Merge pull request #307 from fabled/master
Fix lpostcmd example
2015-10-14 14:38:38 +02:00
Axel Kittenberger
b301838eb3 o 2015-10-14 14:30:02 +02:00
Axel Kittenberger
2493476f64 fixing tests for lua 5.2 os.execute call semantics 2015-10-14 14:23:37 +02:00
Axel Kittenberger
1f95925304 compiles on OSX better 2015-10-14 12:57:49 +02:00
Timo Teräs
abbf307b97 Add checkgauge in lpostcmd 2015-01-30 09:35:38 +02:00
Timo Teräs
5b76dc1cb6 Fix lpostcmd prepare to work with recent changes 2015-01-30 09:12:25 +02:00
Timo Teräs
19b08adf35 Fix lpostcmd to use isPostcmd via rawget as intended 2015-01-30 09:09:45 +02:00
Axel Kittenberger
e9ffda07f0 Merge pull request #298 from creshal/master
Properly sanitize mv parameters (CVE-2014-8990)
2014-11-26 11:39:46 +01: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
Roland Walker
aea57a5a11 Clarify the disclaimer.
The previous phrasing might be misread as claiming responsibility
rather than disclaiming it.
2014-07-08 10:43:52 -04:00
Axel Kittenberger
4da2257758 adding install targets and reenabling the manpage stuff 2014-04-29 16:38:25 +02:00
Axel Kittenberger
f199fd1866 this can now also go 2014-04-29 16:19:18 +02:00
Axel Kittenberger
8572a6dacc simply adding the compiled manpage to the git repository. that is giving up the idea not to put anything generated into the source repository. it is going to be easier that way. 2014-04-29 16:18:06 +02:00