Commit Graph

854 Commits

Author SHA1 Message Date
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
Axel Kittenberger
23dfeb6a05 ignoring stuff for intree builds 2014-04-29 16:13:12 +02:00
Axel Kittenberger
b6228f442d Replacing autotools with CMake 2014-04-29 16:11:27 +02:00
Axel Kittenberger
0a1cab6609 updating changelog 2014-04-24 13:33:07 +02:00
Axel Kittenberger
6d69134971 Merge pull request #238 from st63jun/fix-logging-msg
Fix logging message
2014-04-24 13:17:21 +02:00
Axel Kittenberger
110a525392 Merge pull request #255 from plouj/patch-1
Typo in print format.
2014-04-24 12:47:25 +02:00
Axel Kittenberger
f8fea06944 Merge pull request #253 from exKAZUu/master 2014-04-24 12:45:15 +02:00
Axel Kittenberger
85e95ef150 cosmetics 2014-02-28 10:15:48 +01:00
Michael Ploujnikov
786f37d22d Typo in print format.
This causes a segfault when addwatch fails due to a disappeared
directory. Eg: often caused by a race condition with a short lived
directory created by Firefox' safebrowsing subsystem:
~/.cache/mozilla/firefox/pr0f1l3.default/safebrowsing-to_delete/
2014-01-08 23:21:18 -05:00