From patchwork Wed Nov 4 10:55:29 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 10676 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4jKMmS10Ktz3wgw for ; Wed, 04 Nov 2026 10:55:36 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [IPv6:2001:678:b28::201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (Client CN "mail02.haj.ipfire.org", Issuer "YE2" (not verified)) by mail01.ipfire.org (Postfix) with ESMTPS id 4jKMmR6JdPz5ms for ; Wed, 04 Nov 2026 10:55:35 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4jKMmR5W8Wz30GZ for ; Wed, 04 Nov 2026 10:55:35 +0000 (UTC) X-Original-To: development@lists.ipfire.org Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1 raw public key) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "YR1" (not verified)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4jKMmP0stLz2xL0 for ; Wed, 04 Nov 2026 10:55:33 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4jKMmM54pFz3db; Wed, 04 Nov 2026 10:55:31 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1793789732; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=JxH/W0QwaIQ0SCPtHkbTtB6spdl6BW5d7DLp9BQuuJI=; b=fGtRFP+WDkpPkvhetsMUmz680mq+2Lgch5S9+G2AdupJujmyyS06uVcYOZKTr3iLlSPSoV ktlwDB7y4wwfJTAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1793789732; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=JxH/W0QwaIQ0SCPtHkbTtB6spdl6BW5d7DLp9BQuuJI=; b=EoPd3Sq+CG74jERvMrfpuQKNP7+FSUpSxEQMaEhWVLdjnQV8xdcPpghbqUG5ph7QYAeK9C 5CDRzs1Zb/myaX+HIBHJ1KIKyTgrox+9MrrzCOkImDpPbdKWwIx+ysKQ68i8kyjxwe0qaT lPTLvM18/n1fIFQ2nec7WCUfA7LJVtvcZzcRk+vFSoMa/9auL9L+wfgUimzy9eiqznuT6c 0CcnV9RE7iezP3K2MdZdW7bFM+XrCB1RscMoWtkMXi5B6oCtng0cRUt1uUTgqd3tOFlfY/ 97hQ3CraiTkYa/BmV4cjnkSVhk8oTDIkX2juri351xeTrep9Om8AdLlJ7URCJQ== From: Adolf Belka To: development@lists.ipfire.org Cc: Adolf Belka Subject: [PATCH] rsync: Update to version 3.5.2 Date: Wed, 4 Nov 2026 11:55:29 +0100 Message-ID: <20261104105529.3116687-1-adolf.belka@ipfire.org> Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 - Update from version 3.5.1 to 3.5.2 - No change in rootfile - 1 CVE fix - Changelog 3.5.2 BUG FIXES: - Fixed interrupted `--append` and `--inplace` transfers writing the final 256 KiB buffer twice. An interrupted destination now remains a clean prefix which the next transfer can resume or repair. - Fixed uploads through `rrsync` when the destination file already exists. Existing files are now reached beneath a pinned parent directory instead of being passed as an unwritable `/proc/self/fd/N` destination. - Fixed poor matching performance on large sparse and repeated-block files when duplicate checksum chains exhausted the search limit. Valid basis blocks are no longer hidden behind duplicate entries. - Bounded strong-checksum work when a malicious receiver supplies weak checksums that collide with consecutive rolling windows (CVE-2026-119741). - Prevented the `--inplace` matcher from advancing its aligned basis index beyond the available checksum entries. This avoids signed overflow on large source files when the peer supplies a small block count. - Recovered from failed hard-link creation without aborting or hanging the generator. Remaining members fall back to a fresh hard-link group when the original destination inode cannot accept another link. - Prevented an out-of-bounds write while invalidating a sender checksum after a file read error when the negotiated checksum length is zero. - Fixed a daemon receiver stack overflow when queued deletion output reached `--max-alloc`. Quiet daemon transfers no longer queue deletion messages unless the client requested them. - Fixed a `--files-from` pull from a subdirectory of a daemon module, which read each listed file from the module root instead. It could send, and with `--remove-source-files` delete, a same-named file the module's filter excludes. - Fixed password files whose first line is empty. The parser no longer skips the empty line and uses a later password. - Escaped terminal control characters in filenames and diagnostics written to standard output, standard error and log files while preserving printable text in the active locale. - Preserved Cygwin and MSYS2 UNC roots during ownership-checked path walks. - Restored daemon startup from accepted named Unix sockets on standard input, including filesystem and Linux abstract sockets used for socket activation. Unnamed local socket pairs remain non-daemon channels. - Fixed forward-DNS hostname entries in daemon `hosts allow` and `hosts deny` lists for IPv6 peers. Address comparison is now binary and family-aware. - Preserved Unix symlink permissions on systems which require `fchmodat()` to change the mode of a symlink rather than its target. - Restored builds on systems without `O_CLOEXEC` or `O_DIRECTORY`, including Solaris 10. ENHANCEMENTS: - Added `--nice` to adjust CPU and I/O scheduling priorities for local and remote rsync processes. Daemon clients and rrsync cannot raise server-side priorities. - Human-readable output now uses dynamic precision to show three significant digits and appends `i` to binary unit suffixes. `--progress` uses the same formatter for transfer rates and labels byte counts and rates with `B` and `B/s`. Example output includes `46.7M`, `48.8Mi`, `782,448B` and `113,295B/s`. File-list, created-directory and skipped-deletion counts also use thousands separators. - Added `--delay-symlinks` to defer creating new and changed symlinks until other transferred files are in place. It implies `--no-inc-recursive` and requires protocol 29 or newer with support on the receiving side. It cannot be combined with `--remove-source-files`, `--hard-links`, `--compare-dest`, `--copy-dest` or `--link-dest`. Signed-off-by: Adolf Belka --- lfs/rsync | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lfs/rsync b/lfs/rsync index 775eae04a..fed91c8e0 100644 --- a/lfs/rsync +++ b/lfs/rsync @@ -26,7 +26,7 @@ include Config SUMMARY = Versatile tool for fast incremental file transfer -VER = 3.5.1 +VER = 3.5.2 THISAPP = rsync-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -34,7 +34,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = rsync -PAK_VER = 26 +PAK_VER = 27 DEPS = libxxhash @@ -48,7 +48,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_BLAKE2 = 513d03ddadf484424c90755f8d3a947993fdbac3fd7e7b2cdc675e25096f376d7086318be904efd32071d4ba27a06bdaf2875a2086e94f7bd5a7cc9fbdf065ef +$(DL_FILE)_BLAKE2 = f869e19d12d2960e670e07558e3e7126728729b3765ba66f645f4434df03af2fca832fb8061055dfc6f5e6d8113fe3296610f218eef620b7a6ac924ff8ba8c4d install : $(TARGET)