Skip to content

daemon: support PROXY protocol on filesystem Unix sockets - #1205

Open
shankerwangmiao wants to merge 3 commits into
RsyncProject:masterfrom
shankerwangmiao:pr-acl-unix
Open

shankerwangmiao wants to merge 3 commits into
RsyncProject:masterfrom
shankerwangmiao:pr-acl-unix

Conversation

@shankerwangmiao

Copy link
Copy Markdown
Contributor

Recognize named Unix socket peers in proxy protocol host rules and document the trust implications. This change allows a rsync daemon to enable proxy header on unix socket listener.

This is a follow up of #1164

Recognize named Unix socket peers in proxy protocol host rules and document the trust implications. Extend daemon coverage for Unix proxy peers and reject TCP peers under a unix:-only rule.
@steadytao

Copy link
Copy Markdown
Member

TCP rejection test needs hardening and the access control currently doesn't apply to abstract sockets. I will work on this in approx. 10-12 hours

@steadytao steadytao self-assigned this Nov 25, 2026
@steadytao

Copy link
Copy Markdown
Member

Apologies. Got caught up. Working on this now.

@steadytao

Copy link
Copy Markdown
Member

interop will fail. talking to tailscale. will merge after that is sorted. Thank you for your work.

@steadytao steadytao added the Enhancement New capability or intentional behaviour change label Nov 27, 2026
@steadytao steadytao added this to the 4.0.0 milestone Nov 27, 2026
@steadytao steadytao changed the title Allow Unix peers for proxy protocol daemon: support PROXY protocol on filesystem Unix sockets Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New capability or intentional behaviour change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants