Skip to content

rsyncd: implement daemon protocol authentication#57

Open
tenox7 wants to merge 2 commits intogokrazy:mainfrom
tenox7:daemon-auth
Open

rsyncd: implement daemon protocol authentication#57
tenox7 wants to merge 2 commits intogokrazy:mainfrom
tenox7:daemon-auth

Conversation

@tenox7
Copy link
Copy Markdown

@tenox7 tenox7 commented Apr 6, 2026

Summary

  • Implement client-side rsync daemon (rsync://) password authentication via MD4 challenge-response
  • Implement server-side daemon authentication with secrets file support
  • Support password from URL (rsync://user:pass@host/module), --password-file, RSYNC_PASSWORD env var
  • Add AuthUsers and SecretsFile fields to rsyncd.Module for server-side auth config

Test plan

  • Tested gorsync client against stock rsync 3.4.1 daemon with auth
  • Tested stock rsync client against gorsync server with auth
  • Tested gorsync client against gorsync server with auth
  • Verified wrong password and wrong user are rejected
  • Verified RSYNC_PASSWORD, --password-file, and URL password all work
  • All existing tests pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant