[MDEV-11159] Server Proxy Protocol Support Created: 2016-10-27  Updated: 2017-08-24  Resolved: 2017-08-24

Status: Closed
Project: MariaDB Server
Component/s: Server
Fix Version/s: 10.3.1

Type: Task Priority: Critical
Reporter: VAROQUI Stephane Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 9
Labels: 10.3-beta, contribution, foundation

Attachments: Text File proxy-protocol.txt    
Issue Links:
Duplicate
duplicates MXS-381 support for transparent proxy Closed
Sprint: 10.3.1-1, 10.3.1-2

 Description   

https://blueprints.launchpad.net/percona-server/+spec/proxy-protocol

we want to support both versions 1 and 2



 Comments   
Comment by Dipti Joshi (Inactive) [ 2016-10-27 ]

This will help integration with MaxScale as well.

Comment by Daniel Black [ 2016-11-28 ]

interesting. I'd probably give this its own TCP port and vio->type to be checked in vio_peer_addr for avoiding complexity in the other cases.

Seem ssl client auth could be done also based on v2 metadata.

Comment by Laurynas Biveinis [ 2017-04-06 ]

If you merge Percona Server implementation, consider reviewing https://bugs.launchpad.net/percona-server/+bugs?field.tag=proxy-protocol

Comment by Sergei Golubchik [ 2017-04-06 ]

Thanks, laurynas!

Comment by Vladislav Vaintroub [ 2017-08-16 ]

I did not use Percona implementation, but kept server parameter proxy_protocol_networks compatible to Percona.
I believe our implementation does not have bugs mentioned in https://bugs.launchpad.net/percona-server/+bugs?field.tag=proxy-protocol . In addition, it is also tested with mtr

the patch is there https://github.com/MariaDB/server/tree/bb-10.3-proxy-protocol

Generated at Thu Feb 08 07:47:45 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.