As requested in: moscajs/aedes#1042
MQTT packet currently accepts:
- connect packet with protocolVersion 3 (3.1) and no clientId
- connect packet with protocolVersion 4 (3.1.1) no clientid and clean=false
- connect packet with protocolName that does not match protocolVersion (e.g. protocolName "MQTT" for protocolVersion 3 and "MQdisp" for protocolVersion 4 and 5
All 3 are considered protocol errors in the MQTT standard.
Kind regards,
Hans