21 lines
696 B
Plaintext
21 lines
696 B
Plaintext
= Username/Password Credentials
|
|
|
|
|
|
Verwenden Sie `mosquitto_sub` mit dem Host `test.mosquitto.org` und MQTT 5, Port `1884`,
|
|
Usernamen "ro" und Passwort "readonly".
|
|
|
|
$ docker run --rm -it --init --net host eclipse-mosquitto \
|
|
mosquitto_sub --host test.mosquitto.org --port 1884 -V 5 --topic "demotopic" \
|
|
--username ro -P readonly --debug
|
|
|
|
Testen Sie, was bei einem anderen Passwort passiert.
|
|
|
|
$ docker run --rm -it --init --net host eclipse-mosquitto \
|
|
mosquitto_sub --host test.mosquitto.org --port 1884 -V 5 --topic "demotopic" \
|
|
--username ro -P wrong --debug
|
|
|
|
|
|
Analysiern Sie die Netzwerkpakete, finden Sie Usernamen und Passwort?
|
|
|
|
$ sudo tshark -s 1500 -i any -n -x -O mqtt port 1884
|