32 lines
620 B
Plaintext
32 lines
620 B
Plaintext
= Wireshark
|
|
|
|
|
|
Installieren Sie Wireshark und/oder tshark.
|
|
|
|
$ sudo apt update; sudo apt -y install tshark wireshark
|
|
|
|
|
|
Verwenden Sie Wireshark (oder tshark) mit Port 1883 und MQTT Protokollanalyse
|
|
|
|
Wireshark: Interface "loopback / lo ", Apply a display filter: "tcp.port == 1883"
|
|
|
|
tshark:
|
|
|
|
$ tshark -s 1500 -i lo -n -x -O mqtt port 1883
|
|
|
|
|
|
|
|
Senden Sie die Nachricht 'hello trion' an das Topic `training`
|
|
|
|
$ docker run --rm -it --net host eclipse-mosquitto mosquitto_pub \
|
|
--topic training --message "hello trion"
|
|
|
|
|
|
Analysieren Sie die gesendeten und empfangenen Daten
|
|
|
|
|
|
|
|
|
|
= Quellen
|
|
|
|
Wireshark: https://www.wireshark.org/ |