Bug 14160 - rsynd in daemon mode should support haproxy proxy protocol
Summary: rsynd in daemon mode should support haproxy proxy protocol
Status: RESOLVED FIXED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.3
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-16 08:59 UTC by Björn Jacke
Modified: 2020-06-11 21:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Björn Jacke 2019-10-16 08:59:49 UTC
it would be great is rsyncin server mode would support the proxy protocol of haproxy, so that originating IP address of clients can be preserved for rsync daemon even if it is behind a tcp proxy server like haproxy.

For details and also examples of other services implmenting the proxy protocol, see https://www.haproxy.com/blog/haproxy/proxy-protocol/
Comment 1 Wayne Davison 2020-06-11 21:30:29 UTC
The latest git version now has the "haproxy header" parameter (a BOOL) that will make the proxy header required when it is enabled (default: "no").