Article View: linux.debian.bugs.dist
Article #4030Bug#1153641: Rsync daemon started by listeners on unix socket cannot accept connections using proxy protocol
From: Miao Wang
Date: Tue, 10 Nov 2026 16:10
Date: Tue, 10 Nov 2026 16:10
30 lines
3981 bytes
3981 bytes
Package: rsync Version: 3.5.0+ds1-0+deb13u1 Control: fixed -1 3.2.7-1+deb12u6 Control: fixed -1 3.4.1+ds1-5+deb13u4 Control: found -1 3.5.0+ds1-0+deb12u1 Tags: patch, upstream, bookworm, trixie Severity: important Forwarded: https://github.com/RsyncProject/rsync/pull/1164 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
Technical Details
Message-ID:
<NXWA1-b2Zc-11@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Miao Wang <shankerwangmiao@gmail.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1153641: Rsync daemon started by listeners on unix socket cannot accept connections using proxy protocol
Date: Tue, 10 Nov 2026 17:10:01 +0100
Message-ID: <NXWA1-b2Zc-11@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Nov 10 16:03:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -0.547
Reply-To: Miao Wang <shankerwangmiao@gmail.com>, 1153641@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: samueloph@debian.org
X-Debian-Pr-Message: report 1153641
X-Debian-Pr-Package: rsync
X-Debian-Pr-Keywords: bookworm patch trixie upstream
X-Debian-Pr-Source: rsync
X-Gm-Message-State: APuU4Z/gDMScsX+fDjm23dmPYcYLu1V5448N2ffKA8mrPsLxH0+zXIZ8
5Xtq2h2OIc5iuwtf6k2O0226p4n70IKRl2Eko7KDwcur1jWw2k+fI4HbLMBxBQ==
X-Gm-Gg: AYBFou02dRBPv4Bn6Kg1vFX8a5QkJysrTvqj7tu6k5LTk2QFFoUhw4i7OY1SJu1ixgt
/LuMNpAQn5iIVuszfNcn/tsyAGY1vhkFk8r9X/KoYKKUlBvcwdPFlKu/PKd0oxVErpv779sxCLr
W+a2YgEGgqDqoQSrjeoBueE+a09WyZTJ/rFztwIsG7fA2RJVDNpvLwJU8y/ncKxfZ7HP7kOuHAr
ll2pHnOwP+vGIW5pKP3xRH9PldpstWnN4tKCleWrLxQ2YUzYRuEwa9tSkTR1vCC7urB8GXXNaJ2
npn1SvqopeKvsBJ/GNDMC6dnQb0zbgY4e9DzboHM+PMdCZEW24s8i17VP47oBj9IN9/0YVum/2z
YSyxmcCrP9Nqk8wcXOgYDCj1U+PHAPyxg+ZIezdiZaqpPiUHFMdqeNe1toOgn4A9fApD1qAPByA
6A2r6NxJifQXZRI0MOdCYoifQrX3ORW5vdcr+iOWDbT0gMtT9v2t4RTEJx7i+Wn4F/p0osaK9oQ
dpVkOmEP7I5gmCex3f0XuGjPkuihg5rlMWoORnUQOcF5bXvFXk7uqmQfgS73LoorUzuwpabqRVd
UJ8AnDkkQjuF1DFahGZWquh41iKR+OdFzUKvL6SWAxTxDR+ABwLt
X-Received: by 2002:a17:90b:4b88:b0:3b0:9984:18c6 with SMTP id 98e67ed59e1d1-3b166c9838emr4952265a91.3.1794326405044;
Tue, 10 Nov 2026 08:00:05 -0800 (PST)
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0 (Mac OS X Mail 16.0 \(3826.700.81.1.8\))
X-Mailer: Apple Mail (2.3826.700.81.1.8)
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001856
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 30
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: Aron Xu <aron@debian.org>,
Shengqi Chen <harry@debian.org>
X-Original-Date: Tue, 10 Nov 2026 23:59:49 +0800
X-Original-Message-ID: <AC4296F6-A359-4B89-9ECF-F9DB09B381BA@gmail.com>