27 Commits

Author SHA1 Message Date
espie
8c0fd108d6 fix a few nasty bugs in rsync, made aware of it by Moritz Buhl
Those are registered as CVE-2016-9843, CVE-2016-9842, CVE-2016-9841,
CVE-2016-9840, but judging from the code, it's not even clear how to build
an exploit from this (mostly underspecified C behavior, plus it's deep
within zlib's streams).

So, don't get too alarmed about this.

Okay sthen@, naddy@
2020-01-27 20:27:10 +00:00
danj
f446765e39 Update to rsync-3.1.3 and remove the patches we backported
From Bryan Vyhmeister, ok espie@ (MAINTAINER)
2018-02-13 19:20:06 +00:00
danj
31959fcf57 Backport patches from upstream to fix among other things CVE-2017-17433
Note that there is no xattr support on OpenBSD so we're not affected by
all the bugs upstreams fixed

discussed with jca, naddy and espie
ok espie (maintainer)
2017-12-19 19:58:39 +00:00
naddy
73f2e7d414 Update to 3.1.2: This is a bug-fix release. It includes a security
fix for a transfer from a sender that you don't fully trust.

Originally gonzalo@ submitted a broken update to espie@ who passed
it around and then everybody forgot.
2016-01-10 21:36:22 +00:00
naddy
cf57b95b1f Update to rsync 3.1.1. Notable enhancement:
Add support for a new-compression idiom that does not compress all the
matching data in a transfer.  This can help rsync to use less cpu when a
transfer has a lot of matching data,

Switch to bundled zlib in order to support both old and new compression.
ok sthen@, espie@
2014-06-30 19:34:36 +00:00
sthen
7cca3ccc37 Avoid infinite loop if "secrets file" is used in rsyncd server configuration
and a user attempts login with an invalid username. Bug was introduced in
rsync 3.0.5.  OK espie@
2014-04-14 13:34:19 +00:00
naddy
af633aed47 Update to 3.1.0. This has various minor improvements, internal
changes, and now uses the system zlib.
https://rsync.samba.org/ftp/rsync/src/rsync-3.1.0-NEWS

Clean up some cruft:
* Dropped the -T from --with-rsh.  No tty allocation is the default
for ssh, and if somebody sets RequestTTY in .ssh/config, they should
get what they want.
* Removed pointless SECURITY file.
* Replaced the outdated DESCR text with the description from the man page.

ok espie@
2013-10-10 12:01:30 +00:00
jasper
91c889f28a - dont hardcode /usr/local 2012-09-18 11:28:23 +00:00
henning
16ca457949 fix rsync path (/usr/bin/ vs /usr/local/bin). I had forgotten I had changed
this early on, long beforewhen asking espie to include rrsync, sorry.
ok & "bump revision" espie
2012-09-18 11:00:55 +00:00
naddy
e92c693e33 Update to 3.0.9.
Drop USE_GROFF, the only formatting difference is some extra whitespace.

ok espie@
2011-10-18 20:24:24 +00:00
espie
d2fa84de0c move variable decl to beginning of block, should fix things for Nick Holland
on sparc (if there's no more of these)
no bin change, repair stuff that wouldn't build -> no bump
2011-07-01 10:24:53 +00:00
ajacoutot
d042afed10 Use the "_rsync" user and group by default, instead of nobody.
Tweak man pages accordingly.
While here:
simplify @extra marker in PLIST
set GPL version

"looks good" to naddy@
with inputs from and ok schwarze@, ok sthen@
2011-04-02 15:13:25 +00:00
ajacoutot
d5da836c10 Fix some hardcoded patchs in doc.
ok espie@ (maintainer)
2011-03-07 19:48:20 +00:00
naddy
fa24063526 update to 2.6.3; ok jcs@ 2004-10-15 18:43:26 +00:00
naddy
25a514f29c SECURITY:
There is a path-sanitizing bug that affects daemon mode in all
recent rsync versions (including 2.6.2) but only if chroot is
disabled.  It does NOT affect the normal send/receive filenames
that specify what files should be transferred.  It does affect
certain option paths that cause auxiliary files to be read or
written.
http://rsync.samba.org/#security_aug04
2004-08-14 18:41:17 +00:00
naddy
ff588261ab Update to 2.6.2: various bug fixes and minor enhancements.
SECURITY:
Paths sent to an rsync daemon are more thoroughly sanitized when
chroot is not used.  If you're running a non-read-only rsync daemon
with chroot disabled, *please upgrade*, especially if the user privs
you run rsync under is anything above "nobody".
2004-05-11 13:39:17 +00:00
espie
7dde2475ce Plug security hole (int overflow in rsync server). 2003-12-04 17:54:17 +00:00
naddy
5f68fc2328 enable IPv6 support; from Hajimu UMEMOTO <ume@FreeBSD.org>; ok espie@ 2003-05-11 22:20:55 +00:00
espie
865b936464 2.5.6, since no-one reported problems.
New: can use ssh transport in server mode !
2003-02-20 10:52:45 +00:00
espie
255768ca8b disallow infinite call chains of exit_cleanup
(this happened when the pipe to rsync got broken, because rsync would
then try to write to stderr, find out it didn't work, and call exit_cleanup,
which would then try it all over again... oops.
2002-12-14 18:06:58 +00:00
espie
d96b526e6c Update to 2.5.4, fix zlib issues. 2002-03-15 23:54:53 +00:00
naddy
7f0e7085b0 Update to 2.5.2. 2002-01-29 21:02:17 +00:00
naddy
3e234544f1 security fix from Sebastian Krahmer <krahmer@suse.de>, taken from rsync CVS 2002-01-24 23:25:32 +00:00
espie
0ae441bb11 Update to 2.4.1 2000-02-10 09:13:53 +00:00
espie
515e861055 Update to 2.3.2.
See package cvs.log for details.
This includes fixing an obscure security hole.

Patch to avoid spinning in select on non-blocking descriptors (will
probably be fixed in rsync 2.3.3)
1999-11-21 23:42:52 +00:00
espie
6eeafca4eb Upgrade to 2.3.1 1999-04-18 20:59:00 +00:00
espie
fc97b432ed Patch ups rsync to the same functionality as 2.3.1.
Specifically, it fixes the security hole that is described in
pkg/SECURITY...

Wedged in as security fixes are important, especially when they're small.
Real 2.3.1 will wait after tree thaws.
1999-04-09 02:20:14 +00:00