[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: |
|
||||||||
| Issue Links: |
|
||||||||
| 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. the patch is there https://github.com/MariaDB/server/tree/bb-10.3-proxy-protocol |