This commit is contained in:
Thomas Kruse
2026-02-03 22:29:46 +01:00
commit 8fdf5827e4
156 changed files with 23069 additions and 0 deletions

View File

@ -0,0 +1,7 @@
services:
mosquitto:
image: eclipse-mosquitto
ports:
- "1883:1883"
volumes:
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf:ro

32
01-basics/lab11/lab.txt Normal file
View File

@ -0,0 +1,32 @@
= 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/

View File

@ -0,0 +1,4 @@
listener 1883
allow_anonymous true
# sys_interval 3