Could PROXY protocol be enabled per MQTT listener? #12076
-
As mentioned before in #2870, PROXY protocol can be enabled per TCP listener, could it be enabled per MQTT listener? mqtt.listeners.tcp.1 = 12345 But it cannot work, is there another parameter for this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@tsigcn are you sure that as of #2870 proxy protocol can be enabled per listener? Because I am not aware of such change, and #2870 seems to be "just an idea thrown out there." Perhaps look for pull requests that are merged (and were not reverted) and not for discussions if you want to consider if a change was introduced or not. Proxy protocol is enabled node-wide, as the docs and the source code of I haven't tested it with MQTT in a very long time but it should apply to all protocols. Selectively enabling Proxy protocol (supporting it alongside "regular" connections) is considered to be a security flaw in the Proxy protocol spec. |
Beta Was this translation helpful? Give feedback.
@tsigcn are you sure that as of #2870 proxy protocol can be enabled per listener? Because I am not aware of such change, and #2870 seems to be "just an idea thrown out there."
Perhaps look for pull requests that are merged (and were not reverted) and not for discussions if you want to consider if a change was introduced or not.
Proxy protocol is enabled node-wide, as the docs and the source code of
rabbitmq.conf
mappings suggest.I haven't tested it with MQTT in a very long time but it should apply to all protocols. Selectively enabling Proxy protocol (supporting it alongside "regular" connections) is considered to be a security flaw in the Proxy protocol spec.