bloomberg / amqpprox

An AMQP 0.9.1 proxy server, designed for use in front of an AMQP 0.9.1 compliant message queue broker such as RabbitMQ.
Apache License 2.0
78 stars 16 forks source link

Proxy protocol v2 support for ingress and egress #67

Open kriptor opened 2 years ago

kriptor commented 2 years ago

Is your feature request related to a problem? Please describe. We currently have client IP propagated down (over multiple proxies) to the RMQ instance. If we were to use amqpprox and retain the same functionality, we would need to have support for ingress proxy protocol on amqpprox side as well, for we can't position amqpprox on the edge. Due to the fact that our infrastructure supports only proxy protocol v2... well, that's why we would like to see in/out v2 support. 😃

Describe the solution you'd like Implementation of proxy protocol on ingress so that amqpproxy could propagate the real client IP down the road... and while on it we would like to see support for v2 proxy protocol thrown in. 😄

Describe alternatives you've considered We could forget about real client IPs, but that is unfortunately easier said than done. 🤷🏻‍♂️