Cannot view Real IP while using a Proxy and rabbitmq_auth_backend_http #13606
Replies: 3 comments 3 replies
-
@fdestefano you will need to use a Proxy Protocol-enabled proxy and make your HTTP apps support it. You cannot make Proxy Protocol support optional, once enabled, all clients (proxies) must use it or such requests should be rejected per protocol spec. I cannot think of anything around Proxy Protocol that the plugin should support. If you can think of something, please go ahead and investigate what it would take to implement that. This won't be a priority for our team any time soon. |
Beta Was this translation helpful? Give feedback.
-
I am not seeing any of the PROXY headers being passed to the backend service while using the
The IP |
Beta Was this translation helpful? Give feedback.
-
I will work on getting a repo that you can see a similar infra.
|
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
Currently if you use rabbitmq_auth_backend_http, you will only receive the IP of the Proxy/LB(HAProxy in my case). There are no other params or Headers that can be used to view the Real IP.
Plugin does not mention the ability to do with a proxy.
If not this is not possible, is there a way that the Real IP can be used in the authentication process?
Describe the solution you'd like
Be able to view Real IP if the proxy protocol is enabled.
Describe alternatives you've considered
No response
Additional context
No response
Beta Was this translation helpful? Give feedback.
All reactions