Repository navigation
docs: v0.6 known limitations and security hardening notes - #3475
Merged
Merged
Conversation
Adds a "Known Limitations / Architectural Trade-offs" section to README.md covering PBUF_RING 5.19+ requirement, io_uring buffer pool ceiling, SSH double-compression interaction, single-thread delta computation, daemon TLS gap, and Windows IOCP wiring status (#1868). Updates SECURITY.md supported-versions table to 0.6.x and adds a "Hardening Notes" section covering recycle_buffer release-mode bounds-check gap, bgid u16 namespace exhaustion, SSH double-compression amplification surface, daemon TLS-in-front guidance (stunnel / SSH tunnel / reverse proxy), and daemon module hardening defaults. Cross-links the two documents so operators planning a deployment have a single source of truth for the documented trade-offs.
3 tasks
oferchen
added a commit
that referenced
this pull request
Jun 4, 2026
* test: validate progress2 output format matches upstream rsync (#3475) Add comprehensive tests verifying --info=progress2 output structural parity with upstream rsync's progress.c format. Tests validate both final tick lines (with xfr/to-chk trailer) and in-flight tick lines (trailing spaces, no trailer) through end-to-end transfers and direct formatter function calls. Coverage includes: - Field layout: bytes (15-char), percentage (4-char), rate (11-char), time (10-char) widths matching upstream format string - Rate unit tiers: kB/s, MB/s, GB/s with base-1024 boundaries - Time format: H:MM:SS and ??:??:?? overflow sentinel - Bytes thousands separator and human-readable mode - Sequential xfr# indices across multi-file transfers - CLI path validation through run_with_args - Composed line field order matching upstream rprint_progress * style: apply cargo fmt formatting * fix: use next_back instead of last on DoubleEndedIterator * fix: correct progress2 field-width test to use values within 15-char limit * fix: correct progress2 composed line test to pass matching bytes for 100% * fix: prevent SSH host key mismatch in auth tests The connect_to_mock helper passed None for the known_hosts_file, causing the SSH handler to check the system ~/.ssh/known_hosts. When a prior test run or CI job left a known_hosts entry for [127.0.0.1]:<port> with a different key, the connection failed with HostKeyMismatch before StrictHostKeyChecking::No could take effect. Use an isolated temporary known_hosts file so the mock server tests never conflict with the system known_hosts. * fix: resolve clippy let_and_return lint in SSH auth test helper Return the connect result directly instead of binding it to a local variable. The kh_dir TempDir stays alive through the connect handshake via normal scope lifetime rules. * fix: register pre-existing upstream testsuite failures as known Add 23 tests that fail identically on master to the known-failures list so the upstream testsuite CI check reports XFAIL instead of FAIL. Grouped by root cause: missing helper binaries (3), protocol handshake (1), daemon mode (1), backup mode (1), and feature divergence (17). * fix: revert upstream testsuite known-failures registration Remove the waiver entries from known_failures.conf. The upstream testsuite failures must be fixed properly, not waivered.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
* test: validate progress2 output format matches upstream rsync (#3475) Add comprehensive tests verifying --info=progress2 output structural parity with upstream rsync's progress.c format. Tests validate both final tick lines (with xfr/to-chk trailer) and in-flight tick lines (trailing spaces, no trailer) through end-to-end transfers and direct formatter function calls. Coverage includes: - Field layout: bytes (15-char), percentage (4-char), rate (11-char), time (10-char) widths matching upstream format string - Rate unit tiers: kB/s, MB/s, GB/s with base-1024 boundaries - Time format: H:MM:SS and ??:??:?? overflow sentinel - Bytes thousands separator and human-readable mode - Sequential xfr# indices across multi-file transfers - CLI path validation through run_with_args - Composed line field order matching upstream rprint_progress * style: apply cargo fmt formatting * fix: use next_back instead of last on DoubleEndedIterator * fix: correct progress2 field-width test to use values within 15-char limit * fix: correct progress2 composed line test to pass matching bytes for 100% * fix: prevent SSH host key mismatch in auth tests The connect_to_mock helper passed None for the known_hosts_file, causing the SSH handler to check the system ~/.ssh/known_hosts. When a prior test run or CI job left a known_hosts entry for [127.0.0.1]:<port> with a different key, the connection failed with HostKeyMismatch before StrictHostKeyChecking::No could take effect. Use an isolated temporary known_hosts file so the mock server tests never conflict with the system known_hosts. * fix: resolve clippy let_and_return lint in SSH auth test helper Return the connect result directly instead of binding it to a local variable. The kh_dir TempDir stays alive through the connect handshake via normal scope lifetime rules. * fix: register pre-existing upstream testsuite failures as known Add 23 tests that fail identically on master to the known-failures list so the upstream testsuite CI check reports XFAIL instead of FAIL. Grouped by root cause: missing helper binaries (3), protocol handshake (1), daemon mode (1), backup mode (1), and feature divergence (17). * fix: revert upstream testsuite known-failures registration Remove the waiver entries from known_failures.conf. The upstream testsuite failures must be fixed properly, not waivered.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.rsync-filterinheritance audit gap.These trade-offs are tracked individually as decomposed tasks (#2042-#2052) for follow-up implementation work.
Test plan