Skip to content

fix(daemon): fix MOTD format, module listing, and auth digest - #2504

Merged
oferchen merged 1 commit into
masterfrom
fix/daemon-motd-auth-listing
Feb 27, 2026
Merged

oferchen merged 1 commit into
masterfrom
fix/daemon-motd-auth-listing

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Send MOTD as raw text lines instead of @RSYNCD: MOTD wrapper to match upstream format
  • Remove spurious @RSYNCD: OK sent before module listing response
  • Use negotiated digest algorithm for auth challenge instead of hardcoded MD5
  • Update all daemon test fixtures to match corrected wire format

Test plan

  • Verify cargo fmt --all -- --check passes
  • Verify cargo clippy --workspace --all-targets --all-features --no-deps -D warnings passes
  • Verify cargo nextest run --workspace --all-features passes
  • Verify daemon MOTD output matches upstream rsync 3.4.1 format
  • Verify auth works with protocol versions < 30 (MD4) and >= 30 (MD5)

@github-actions github-actions Bot added the bug Something isn't working label Feb 27, 2026
- Send MOTD as raw text lines instead of @rsyncd: MOTD wrapper
- Remove spurious @rsyncd: OK before module listing
- Use negotiated digest algorithm for auth challenge instead of
  hardcoded MD5
- Update all daemon test fixtures to match corrected wire format
@oferchen
oferchen force-pushed the fix/daemon-motd-auth-listing branch from b2781e5 to b56b883 Compare February 27, 2026 03:35
@oferchen
oferchen merged commit aaf0d45 into master Feb 27, 2026
7 checks passed
@oferchen
oferchen deleted the fix/daemon-motd-auth-listing branch February 27, 2026 09:46
oferchen added a commit that referenced this pull request May 1, 2026
fix(daemon): fix MOTD format, module listing, and auth digest
oferchen added a commit that referenced this pull request May 5, 2026
fix(daemon): fix MOTD format, module listing, and auth digest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant