#1153641 Rsync daemon started by listeners on unix socket cannot accept connections using proxy protocol

Package:
rsync
Source:
rsync
Description:
fast, versatile, remote (and local) file-copying tool
Submitter:
Miao Wang
Date:
2026-11-11 04:03:02 UTC
Severity:
normal
Tags:
#1153641#5
Date:
2026-11-10 15:59:49 UTC
From:
To:
Dear maintainer,

After rsync 3.5.0 was shown up in the (old)stable-security, it by default
denies all the incoming connections if proxy protocol is enabled and
proxy protocol hosts is not configured. However, if the rsync daemon
is started by a listener on unix socket, e,g. activated by systemd.socket
on a unix domain socket, there is currently no way to list such clients
from unix domain socket on the allow list.

The rsync daemon has provided the support for proxy protocol since long
before. It is apparently the responsibility of the administrator to setup
necessary protections to ensure the proxy protocol header comes from a
trusted source. I strongly suggest that the behavior of accepting proxy
protocol clients should be restored, at least for client from unix domain
sockets. I have proposed a patch which allows unix domain sockets can be
listed on the allow or deny list. Applying this patch can also solve this
problem.

Cheers,

Miao Wang