eclipse / mosquitto

Eclipse Mosquitto - An open source MQTT broker
https://mosquitto.org
Other
8.67k stars 2.34k forks source link

Filter MQTT protocol on Mosquitto #1738

Open ivanvaccarics opened 4 years ago

ivanvaccarics commented 4 years ago

Hello, there is a parameter in the configuration file to set the MQTT version of the broker? For example, if i want only MQTT v3.1.1 connections, how i discard the other versions (v5, etc)?

Thanks!

ralight commented 4 years ago

I'm afraid it isn't currently possible. I have just pushed https://github.com/eclipse/mosquitto/commit/f46187d5e50df7e71ac12520cbb4336acfee5b2a which allows plugins to determine which protocol version a client has connected with.