Repository navigation
Description
Upstream rsync 3.4.4 is available; this repository pins 3.4.2.
NEWS for rsync 3.4.4
NEWS for rsync 3.4.4 (8 Jun 2026)
Changes in this version:
This is a conservative point release that backports regression fixes
on top of 3.4.3. No new features are included.
BUG FIXES:
-
Honour a relative alt-basis directory (e.g.
--link-dest=../sibling,
--copy-dest,--compare-dest) on a daemon receiver running with
use chroot = no. Such a path is re-anchored at the module root but
was then rejected by the receiver's secure open; it now works where
kernel-enforced confinement is available. See the PORTABILITY note
below for the platform limitation. Fixes Handle compression level overrides across CLI and local copy #915. -
sender: open a module-root-absolute path for a
path = /module so a
daemon serving the filesystem root can satisfy absolute request
paths again. Fixes Support module chroot directives in the daemon #897. -
flist: accept the missing-args mode-0 entry in recv_file_entry.
Fixes Expose whole-file option through CLI and client config #910. -
receiver: fix a false "failed verification -- update discarded" when
resuming a delta transfer with an absolute--partial-dir. -
receiver: fix a NULL dereference on the delta discard path.
-
generator: cap the block s2length at the negotiated checksum length.
-
main: fix
--mkpathwith--dry-runfor a file-to-file copy.
Fixes Add list-only mode for oc-rsync #880. -
daemon: un-backslash escaped option args. Fixes Add daemon hosts allow/deny enforcement for module access #829.
-
token: drain the matched-block insert deflate. Fixes Handle unbracketed IPv6 daemon operands #951.
-
Fix the "update skips a file of a different type" case and the
daemon upload delete stats. -
alloc: revert "zero all new memory from allocations". Fixes Fix zlib encoder vectored write import #959.
-
Always clear the stat buffer and validate nanoseconds before use.
PORTABILITY / BUILD:
-
The relative alt-basis fix for daemon receivers (Handle compression level overrides across CLI and local copy #915) relies on
kernel "stay below dirfd" path resolution --openat2(RESOLVE_BENEATH)
on Linux 5.6+, oropenat()withO_RESOLVE_BENEATHon FreeBSD 13+
and macOS 15+. On platforms that lack it (Solaris, OpenBSD, NetBSD,
Cygwin and older Linux)secure_relative_open()deliberately rejects
any path with a..component, so relative alt-basis directories
remain unavailable there -- function traded for safety, matching the
trade-off already documented for the Add fallible message buffer extension helper #715 fix. Absolute alt-basis
paths are unaffected on every platform. -
openat2 is now autodetected at configure time (HAVE_OPENAT2): the
openat2(RESOLVE_BENEATH)resolver is compiled in only when both
<linux/openat2.h>and theSYS_openat2syscall number are present,
fixing the build on older kernels/headers. Fixes Fix CLI compression handling and remote fallback parity #924, Add remote fallback execution for remote operands #905, Plumb --compress-level and add parity coverage #900,
Implement --update parity for local copies #904. -
Fall back to do_mknod() when mknodat() / mkfifoat() are unavailable.
Fixes Fix daemon module listing bandwidth tests #896. -
Install generated manpages correctly in an out-of-tree build.
DEVELOPER RELATED:
-
Added a CI workflow that builds this stable branch and runs the
v34-stable-testsuiteregression suite against the built binary,
giving regression coverage without importing the full master test
suite into the stable branch. -
Added a check-progs target for fleettest and extended the build
workflows to run on*-stablerelease branches.
CREDITS:
Thanks to everyone who helped with this release:
-
Code contributions from Zen Dodd (steadytao), Mike-Goutokuji,
pterror, and Stiliyan Tonev (Bark). -
Zen Dodd (steadytao) also reviewed the 3.4.4 backport set (PR Add runtime --no-bwlimit support to the daemon #980).
-
Bug reports from @mmayer (Fix CLI compression handling and remote fallback parity #924), @fda77 (Add remote fallback execution for remote operands #905), @darkshram (Plumb --compress-level and add parity coverage #900),
@ketas (Implement --update parity for local copies #904), @pkzc (Add list-only mode for oc-rsync #880), @brabalan (Handle unbracketed IPv6 daemon operands #951), @elcamlost (Add daemon hosts allow/deny enforcement for module access #829),
@debohman (Fix daemon module listing bandwidth tests #896), @guilherme-puida (Fix zlib encoder vectored write import #959), @fufu65 (Handle compression level overrides across CLI and local copy #915),
@JetAppsClark (Prevent --remove-source-files from deleting unchanged inputs #928), @moonlitbugs (Support module chroot directives in the daemon #897), @mgkeeley (Expose whole-file option through CLI and client config #910), and
@sylvain-ilm (Optimize version info report item allocation #724, Add parsing helpers for secluded args mode labels #725).
Activity
github-actions commentedon Jun 1, 2026
Reminder: 3.4.3 still pending (pin is 3.4.2).
oferchen commentedon Jun 4, 2026
Upstream rsync 3.4.3 CVE Coverage Audit (2026-06-04)
All 6 CVEs disclosed in the rsync 3.4.3 security release have been audited and addressed:
*atsyscallschroot()race windowrx_tokenin all 3 codecs (zlib, zstd, lz4). Audit doc:docs/audits/upstream-3.4.2-token-decoder-parity.md. Regression tests:crates/protocol/src/wire/compressed_token/tests.rsfstatat,unlinkat,renameatetc.recv_filesvia malformed parent_node_idxSummary: 6/6 CVEs covered. 5 fixed, 1 not applicable. No remaining gaps.
The compressed-token decoder (CVE-2026-43618) was already addressed prior to this audit - the Rust implementation uses an enum return type (
CompressedToken::Literal/BlockMatch/End) rather than C's multiplexed signed-integer return, which structurally eliminates the primary memory-disclosure vector. The explicit sign-check onrx_tokenafterTOKEN_LONGwire reads closes the residual corrupt-data-injection path. All three codec decoders (zlib, zstd, lz4) have the guard with regression tests.oferchen commentedon Jun 10, 2026
Migration started in #5538 - pins workspace upstream_version to 3.4.4 and adds 3.4.4 to the interop CI matrix alongside existing versions (3.0.9/3.1.3/3.4.1/3.4.2/3.4.3, all retained as validation targets).
chore: pin upstream rsync 3.4.4 (closes #4965) (#5538)
oferchen commentedon Jun 10, 2026
PR #5593 simplifies the upstream interop matrix per the user critique on this thread. Cargo.toml
workspace.metadata.oc_rsync.upstream_versionis already at 3.4.4 from #5538; this follow-up sweeps the remaining 22 workflow/tool/doc files that pinned 3.4.1/3.4.2/3.4.3 literals or used them as workflow defaults, and drops the redundant 3.4.1/3.4.2/3.4.3 cells from the interop matrix (3.4.4 supersedes them as the latest conservative regression-fix release on the same wire protocol). 2.6.9, 3.0.9, 3.1.3 remain as the protocol anchors.chore: pin upstream rsync 3.4.4 (closes #4965) (#5538)
chore(urs): simplify interop matrix to single 3.4.x cell