Skip to content

docs: refresh README, SECURITY and the changelog against measured state - #7423

Merged
oferchen merged 1 commit into
masterfrom
docs/refresh-readme-security-changelog
Aug 21, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/refresh-readme-security-changelog

Conversation

@oferchen

Copy link
Copy Markdown
Owner

What

Updates and cleans up README.md, SECURITY.md and CHANGELOG.md.

The changelog had not been touched since 2026-08-13 (#7279) while roughly 140 PRs merged. Several claims in README and SECURITY had drifted far enough to mislead an operator - two of them in a direction that matters.

Every correction below was checked against the tree at this commit, not inferred.

CHANGELOG

## [Unreleased] now covers everything merged since #7279, grouped Security / Added / Changed / Fixed / Testing and CI / Documentation, with PR references.

SECURITY.md - corrections

Claim Reality
"Running upstream's 3.5.0 test suite reports 133 divergent tests" The committed expect manifests say 43 (non-root, pipe) and 62 (root, pipe) - 64 distinct, and 89 across all four legs. Replaced the estimate with the per-leg table plus how the manifest gate works.
The 3.5.0 suite runs as "a separate nightly job" It is the required gate on every PR, four legs (privilege x transport).
CVE-2026-53791: "oc-rsync's daemon currently derives a placeholder peer address ... being fixed as a prerequisite" Fixed in #7303. Both stdio entry points mirror upstream client_addr(). The directive itself is still under audit and stays marked so.
CVE-2026-70452, -70463, -70453 listed as "Under audit" All three fixed (#7314, #7345, #7293).
"New defensive surfaces ... that oc-rsync is adopting" (all 8) Four have shipped; insecure links and proxy protocol hosts have not. Stated per item.
"The repo ships 24 cargo-fuzz targets", listing rsyncd_conf There are 26, and rsyncd_conf does not exist in fuzz/fuzz_targets. Removed it, added the three real targets that were missing (buffered_map, zlib_token_decode, parallel_receive_delta_adversarial).
Buffer-pool note: recycle_buffer guards buf_id with debug_assert!, which "compiles out in release" - therefore "do not expose the io_uring path to untrusted protocol input" False, and it was the load-bearing sentence. buffer_ring/mod.rs:472 performs a real bound check in both debug and release, returning BufferRingError::BufferIdOutOfRange before any state is mutated. Rewritten; the warning is gone.
bgid: "should monitor for exhaustion" Exhaustion returns a typed error and does not occur in practice - a measured 100,000-session run consumed a single bgid.

README.md - corrections

  • 3.5.0 was described as built-and-cached "ahead of joining the gating matrix", and the protocol table row read built + cached (not yet gating). tools/ci/run_interop.sh has it in versions=(3.0.9 3.1.3 3.4.4 3.5.0) - it is gating.
  • The testsuite section described the mechanism but never stated the outcome. Added the per-leg table and said plainly that 64 of 345 tests currently diverge, that each was re-run against the real 3.5.0 binary as a negative control, and that the gate fails on an unexpected pass precisely so a divergence cannot be quietly re-baselined instead of fixed.
  • CVE line stopped at the 2024 batch. The 3.4.3 batch is closed; the 3.5.0 batch of 33 is partially closed and openly tracked.
  • --spill-dir / --spill-threshold-bytes were described as "planned for STN-11". Both exist in the CLI today.
  • OC_RSYNC_BUFFER_POOL_SIZE / _MEMORY_CAP / OC_BUFFER_POOL_BLOCK_SIZE were attributed to the io_uring registered buffer pool. All three live in crates/engine/src/local_copy/buffer_pool/global.rs and tune the engine pool. An operator setting them expecting io_uring behaviour would get nothing. The two pools are now named separately.
  • Fixed a broken relative link (compressed_token/zstd_codec is a directory, not .rs).
  • Added the shipped 3.5.0 option surface to the feature table.

Verification

  • All relative links in the three files resolve to real paths (checked mechanically; the zstd_codec break was found this way).
  • Every factual claim changed above was verified by reading the tree: manifest row counts via awk, fuzz targets via git ls-tree, env vars and CLI flags via grep against crates/, recycle_buffer by reading the function.
  • No em-dashes; hyphens throughout, per house style.

Deliberately not changed

Cargo.toml:461 still pins upstream_version = "3.4.4" while the changelog prose tracks 3.5.0. That flip is the last step of the 3.5.0 retarget and moves the citation gate across the tree, so it does not belong in a documentation pass. Flagging it rather than smuggling it in.

The changelog had not been touched since 2026-08-13 (#7279) while ~140 PRs
merged, and several factual claims in README/SECURITY had drifted far enough
to mislead an operator. Each correction below was verified against the tree,
not inferred.

CHANGELOG: fill in Unreleased for everything merged since #7279, grouped by
Security / Added / Changed / Fixed / Testing and CI / Documentation.

SECURITY:
- The 3.5.0 divergence figure said 133. The committed expect manifests say
  43 + 62 on the two full-corpus legs (64 distinct) and 89 across all four.
  Replaced the estimate with the per-leg table and the manifest mechanism.
- The CI paragraph described the 3.5.0 suite as a separate nightly job. It
  is now the required gate, four legs, on every pull request.
- CVE-2026-53791: the placeholder-peer-address prerequisite is fixed
  (#7303), not pending. CVE-2026-70452, -70463 and -70453 are fixed
  (#7314, #7345, #7293) and were still listed as under audit.
- The new-defensive-surface paragraph listed all eight 3.5.0 additions as
  being adopted; four have shipped and two directives have not.
- The fuzz list named 24 targets including "rsyncd_conf", which does not
  exist in fuzz/fuzz_targets. There are 26; added the three real ones that
  were missing.
- The buffer-pool hardening note claimed recycle_buffer guards buf_id with
  a debug assertion and warned against exposing io_uring to untrusted
  input. The check is a real release-mode bound returning
  BufferIdOutOfRange before any state is mutated, so the warning was false.

README:
- Status and interop sections listed 3.5.0 as built-and-cached ahead of
  gating; run_interop.sh has it in the gating version list, and the
  protocol table row still said "not yet gating".
- Added the current 3.5.0 testsuite outcomes rather than only describing
  the mechanism, so the 64 open divergences are stated plainly.
- The CVE line stopped at the 2024 batch; the 3.4.3 batch is closed and
  3.5.0 is partially closed and tracked.
- The spill CLI flags were described as planned for STN-11; both exist.
- The OC_RSYNC_BUFFER_POOL variables were attributed to the io_uring
  registered pool. All three live in crates/engine/src/local_copy/
  buffer_pool/ and tune the engine pool; the io_uring pool is a
  different, static one.
- The bgid note advised monitoring for exhaustion that measurement shows
  does not occur.
- Fixed a broken link: compressed_token/zstd_codec is a directory.
- Listed the shipped 3.5.0 option surface in the feature table.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Aug 21, 2026
@oferchen
oferchen merged commit 304df87 into master Aug 21, 2026
16 checks passed
@oferchen
oferchen deleted the docs/refresh-readme-security-changelog branch August 21, 2026 10:51
oferchen added a commit that referenced this pull request Aug 24, 2026
…7477)

The docs were last refreshed at #7423; 55 PRs have merged since, and the
testsuite figures they quote had drifted far enough to understate the
current state by roughly half.

CHANGELOG: fill in Unreleased for everything merged since #7423. The
dominant theme is routing every operator-named auxiliary file open onto
the ownership walk - upstream's open_no_attacker_symlinks() applied at the
call sites upstream applies it - plus a daemon hardening batch and an
alt-dest correctness batch.

README and SECURITY: the per-leg outcome tables were re-derived from the
committed expect manifests rather than carried forward. Failures fell and
the corpus grew, so every figure moved:

  non-root pipe  43 -> 21 fail   (345 -> 349 corpus)
  root pipe      62 -> 29 fail   (345 -> 349 corpus)
  non-root tcp   42 -> 29 fail   (155 -> 158 corpus)
  root tcp       55 -> 38 fail   (155 -> 158 corpus)

Distinct divergences: 64 -> 31 across the two full-corpus legs, 89 -> 55
across all four.

SECURITY, two CVE rows that had gone stale:
- CVE-2026-53790 said "under audit". The refusal has since been applied at
  the live sink - oc-rsync's own single-character config expander, which
  upstream does not have, so an upstream-shaped port alone would have been
  inert (#7465, #7430, #7445).
- CVE-2026-53795 listed only the staging family. The auxiliary-file family
  followed it onto the walk (#7421-#7426, #7439, #7441-#7443, #7459,
  #7463); what remains is the per-option-family confinement.
oferchen added a commit that referenced this pull request Aug 24, 2026
…te (#7423)

The changelog had not been touched since 2026-08-13 (#7279) while ~140 PRs
merged, and several factual claims in README/SECURITY had drifted far enough
to mislead an operator. Each correction below was verified against the tree,
not inferred.

CHANGELOG: fill in Unreleased for everything merged since #7279, grouped by
Security / Added / Changed / Fixed / Testing and CI / Documentation.

SECURITY:
- The 3.5.0 divergence figure said 133. The committed expect manifests say
  43 + 62 on the two full-corpus legs (64 distinct) and 89 across all four.
  Replaced the estimate with the per-leg table and the manifest mechanism.
- The CI paragraph described the 3.5.0 suite as a separate nightly job. It
  is now the required gate, four legs, on every pull request.
- CVE-2026-53791: the placeholder-peer-address prerequisite is fixed
  (#7303), not pending. CVE-2026-70452, -70463 and -70453 are fixed
  (#7314, #7345, #7293) and were still listed as under audit.
- The new-defensive-surface paragraph listed all eight 3.5.0 additions as
  being adopted; four have shipped and two directives have not.
- The fuzz list named 24 targets including "rsyncd_conf", which does not
  exist in fuzz/fuzz_targets. There are 26; added the three real ones that
  were missing.
- The buffer-pool hardening note claimed recycle_buffer guards buf_id with
  a debug assertion and warned against exposing io_uring to untrusted
  input. The check is a real release-mode bound returning
  BufferIdOutOfRange before any state is mutated, so the warning was false.

README:
- Status and interop sections listed 3.5.0 as built-and-cached ahead of
  gating; run_interop.sh has it in the gating version list, and the
  protocol table row still said "not yet gating".
- Added the current 3.5.0 testsuite outcomes rather than only describing
  the mechanism, so the 64 open divergences are stated plainly.
- The CVE line stopped at the 2024 batch; the 3.4.3 batch is closed and
  3.5.0 is partially closed and tracked.
- The spill CLI flags were described as planned for STN-11; both exist.
- The OC_RSYNC_BUFFER_POOL variables were attributed to the io_uring
  registered pool. All three live in crates/engine/src/local_copy/
  buffer_pool/ and tune the engine pool; the io_uring pool is a
  different, static one.
- The bgid note advised monitoring for exhaustion that measurement shows
  does not occur.
- Fixed a broken link: compressed_token/zstd_codec is a directory.
- Listed the shipped 3.5.0 option surface in the feature table.
oferchen added a commit that referenced this pull request Aug 24, 2026
…7477)

The docs were last refreshed at #7423; 55 PRs have merged since, and the
testsuite figures they quote had drifted far enough to understate the
current state by roughly half.

CHANGELOG: fill in Unreleased for everything merged since #7423. The
dominant theme is routing every operator-named auxiliary file open onto
the ownership walk - upstream's open_no_attacker_symlinks() applied at the
call sites upstream applies it - plus a daemon hardening batch and an
alt-dest correctness batch.

README and SECURITY: the per-leg outcome tables were re-derived from the
committed expect manifests rather than carried forward. Failures fell and
the corpus grew, so every figure moved:

  non-root pipe  43 -> 21 fail   (345 -> 349 corpus)
  root pipe      62 -> 29 fail   (345 -> 349 corpus)
  non-root tcp   42 -> 29 fail   (155 -> 158 corpus)
  root tcp       55 -> 38 fail   (155 -> 158 corpus)

Distinct divergences: 64 -> 31 across the two full-corpus legs, 89 -> 55
across all four.

SECURITY, two CVE rows that had gone stale:
- CVE-2026-53790 said "under audit". The refusal has since been applied at
  the live sink - oc-rsync's own single-character config expander, which
  upstream does not have, so an upstream-shaped port alone would have been
  inert (#7465, #7430, #7445).
- CVE-2026-53795 listed only the staging family. The auxiliary-file family
  followed it onto the walk (#7421-#7426, #7439, #7441-#7443, #7459,
  #7463); what remains is the per-option-family confinement.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant