Mosquitto broker

Keine passende Kategorie? Bzw. Allgemeine Diskussionen rund um Home Assistant.


Antworten
Benutzeravatar
Volker
Beiträge: 226
Registriert: Mi 28. Jun 2023, 17:20
Wohnort: Südhessen
Has thanked: 71 times
Been thanked: 26 times

Mosquitto broker

Beitrag von Volker »

In der Logdatei von meinem Mosquitto broker finde ich unzählige Einträge.
Wer oder was hier eine Verbindung versucht, macht das immer mit eine anderen Port-Adresse....
steht bei euch auch sowas im LOG? was ist hier der "Urheber" ?

Code: Alles auswählen

2023-12-20 07:45:27: Client <unknown> closed its connection.
2023-12-20 07:47:27: New connection from 172.30.32.2:56684 on port 1883.
2023-12-20 07:47:27: Client <unknown> closed its connection.
2023-12-20 07:49:27: New connection from 172.30.32.2:57810 on port 1883.
2023-12-20 07:49:27: Client <unknown> closed its connection.
2023-12-20 07:51:27: New connection from 172.30.32.2:41662 on port 1883.
2023-12-20 07:51:27: Client <unknown> closed its connection.
2023-12-20 07:53:27: New connection from 172.30.32.2:38450 on port 1883.
2023-12-20 07:53:27: Client <unknown> closed its connection.
2023-12-20 07:55:27: New connection from 172.30.32.2:42902 on port 1883.
2023-12-20 07:55:27: Client <unknown> closed its connection.
2023-12-20 07:57:27: New connection from 172.30.32.2:46682 on port 1883.
2023-12-20 07:57:27: Client <unknown> closed its connection.
2023-12-20 07:59:27: New connection from 172.30.32.2:48282 on port 1883.
2023-12-20 07:59:27: Client <unknown> closed its connection.
2023-12-20 08:01:27: New connection from 172.30.32.2:41130 on port 1883.
2023-12-20 08:01:27: Client <unknown> closed its connection.
2023-12-20 08:03:27: New connection from 172.30.32.2:45798 on port 1883.
2023-12-20 08:03:27: Client <unknown> closed its connection.
2023-12-20 08:05:27: New connection from 172.30.32.2:38802 on port 1883.
2023-12-20 08:05:27: Client <unknown> closed its connection.
2023-12-20 08:07:27: New connection from 172.30.32.2:45442 on port 1883.
2023-12-20 08:07:27: Client <unknown> closed its connection.
2023-12-20 08:09:27: New connection from 172.30.32.2:50750 on port 1883.
2023-12-20 08:09:27: Client <unknown> closed its connection.
2023-12-20 08:09:38: Saving in-memory database to /data//mosquitto.db.
2023-12-20 08:11:27: New connection from 172.30.32.2:57938 on port 1883.
2023-12-20 08:11:27: Client <unknown> closed its connection.
2023-12-20 08:13:27: New connection from 172.30.32.2:48256 on port 1883.
2023-12-20 08:13:27: Client <unknown> closed its connection.
2023-12-20 08:15:27: New connection from 172.30.32.2:48248 on port 1883.
2023-12-20 08:15:27: Client <unknown> closed its connection.
2023-12-20 08:17:27: New connection from 172.30.32.2:39892 on port 1883.
2023-12-20 08:17:27: Client <unknown> closed its connection.
2023-12-20 08:19:27: New connection from 172.30.32.2:52238 on port 1883.
2023-12-20 08:19:27: Client <unknown> closed its connection.
2023-12-20 08:21:27: New connection from 172.30.32.2:38722 on port 1883.
2023-12-20 08:21:27: Client <unknown> closed its connection.
2023-12-20 08:23:27: New connection from 172.30.32.2:49032 on port 1883.
2023-12-20 08:23:27: Client <unknown> closed its connection.
2023-12-20 08:25:27: New connection from 172.30.32.2:36302 on port 1883.
2023-12-20 08:25:27: Client <unknown> closed its connection.
2023-12-20 08:27:27: New connection from 172.30.32.2:50360 on port 1883.
2023-12-20 08:27:27: Client <unknown> closed its connection.
2023-12-20 08:29:27: New connection from 172.30.32.2:48366 on port 1883.
2023-12-20 08:29:27: Client <unknown> closed its connection.
2023-12-20 08:31:27: New connection from 172.30.32.2:46912 on port 1883.
2023-12-20 08:31:27: Client <unknown> closed its connection.
2023-12-20 08:33:27: New connection from 172.30.32.2:51244 on port 1883.
2023-12-20 08:33:27: Client <unknown> closed its connection.
2023-12-20 08:35:27: New connection from 172.30.32.2:43942 on port 1883.
2023-12-20 08:35:27: Client <unknown> closed its connection.
2023-12-20 08:37:27: New connection from 172.30.32.2:38566 on port 1883.
2023-12-20 08:37:27: Client <unknown> closed its connection.
2023-12-20 08:39:27: New connection from 172.30.32.2:34382 on port 1883.
2023-12-20 08:39:27: Client <unknown> closed its connection.
2023-12-20 08:39:39: Saving in-memory database to /data//mosquitto.db.
2023-12-20 08:41:27: New connection from 172.30.32.2:47612 on port 1883.
2023-12-20 08:41:27: Client <unknown> closed its connection.
2023-12-20 08:43:27: New connection from 172.30.32.2:47950 on port 1883.
2023-12-20 08:43:27: Client <unknown> closed its connection.
2023-12-20 08:45:27: New connection from 172.30.32.2:55836 on port 1883.
2023-12-20 08:45:27: Client <unknown> closed its connection.
2023-12-20 08:47:27: New connection from 172.30.32.2:51994 on port 1883.
2023-12-20 08:47:27: Client <unknown> closed its connection.
2023-12-20 08:49:27: New connection from 172.30.32.2:55290 on port 1883.
2023-12-20 08:49:27: Client <unknown> closed its connection.
2023-12-20 08:51:27: New connection from 172.30.32.2:37344 on port 1883.
2023-12-20 08:51:27: Client <unknown> closed its connection.
2023-12-20 08:53:27: New connection from 172.30.32.2:56304 on port 1883.
2023-12-20 08:53:27: Client <unknown> closed its connection.
2023-12-20 08:55:27: New connection from 172.30.32.2:57694 on port 1883.
2023-12-20 08:55:27: Client <unknown> closed its connection.
2023-12-20 08:57:27: New connection from 172.30.32.2:34120 on port 1883.
2023-12-20 08:57:27: Client <unknown> closed its connection.
2023-12-20 08:59:27: New connection from 172.30.32.2:54216 on port 1883.
2023-12-20 08:59:27: Client <unknown> closed its connection.
2023-12-20 09:01:27: New connection from 172.30.32.2:48738 on port 1883.
2023-12-20 09:01:27: Client <unknown> closed its connection.
2023-12-20 09:03:27: New connection from 172.30.32.2:53866 on port 1883.
2023-12-20 09:03:27: Client <unknown> closed its connection.
2023-12-20 09:05:27: New connection from 172.30.32.2:35304 on port 1883.
2023-12-20 09:05:27: Client <unknown> closed its connection.
2023-12-20 09:07:27: New connection from 172.30.32.2:48594 on port 1883.
2023-12-20 09:07:27: Client <unknown> closed its connection.
2023-12-20 09:09:27: New connection from 172.30.32.2:49936 on port 1883.
2023-12-20 09:09:27: Client <unknown> closed its connection.
2023-12-20 09:09:40: Saving in-memory database to /data//mosquitto.db.
2023-12-20 09:11:27: New connection from 172.30.32.2:33224 on port 1883.
2023-12-20 09:11:27: Client <unknown> closed its connection.
2023-12-20 09:13:27: New connection from 172.30.32.2:53268 on port 1883.
2023-12-20 09:13:27: Client <unknown> closed its connection.
2023-12-20 09:15:27: New connection from 172.30.32.2:58448 on port 1883.
2023-12-20 09:15:27: Client <unknown> closed its connection.
2023-12-20 09:17:27: New connection from 172.30.32.2:45558 on port 1883.
2023-12-20 09:17:27: Client <unknown> closed its connection.
2023-12-20 09:19:27: New connection from 172.30.32.2:45346 on port 1883.
2023-12-20 09:19:27: Client <unknown> closed its connection.
2023-12-20 09:21:27: New connection from 172.30.32.2:47282 on port 1883.
2023-12-20 09:21:27: Client <unknown> closed its connection.

Home Assistant auf HP T630 8GB SSD 128GB
.... und einen unbändigen Spieltrieb :D ....

Dampf
Beiträge: 287
Registriert: So 22. Jan 2023, 10:06
1
Has thanked: 97 times
Been thanked: 50 times

Re: Mosquitto broker

Beitrag von Dampf »

Wenn du das sagst …. Schaut bei mir genauso aus :o
Ich weiß aber auch nicht woher das kommt.

HA OS auf Beelink SEi12 Mini PC, i5-1235U,16GB RAM, Zigbee2mqtt mit SONOFF Zigbee 3.0 USB Dongle Plus

Jim_OS

Re: Mosquitto broker

Beitrag von Jim_OS »

Moin,

grundsätzlich ist das ist "normal", sprich das da regelmäßig Zugriffe über die 172.30.xxx.xxx. auf den MQTT Broker erfolgen. Das ist der HA Supervisor der überprüft ob Dein MQTT Broker noch "lebt".

Diese Zugriffe von Client <unknown> tauchten in den letzten Jahren immer mal wieder auf, d.h. mal waren sie nach einem HA Update mal weg, dann wieder da und dann wieder weg. :lol:

Dazu gibt es aus den letzten Jahren auch immer wieder Issues Meldungen. Z.B.:
2021: https://github.com/home-assistant/core/issues/51603
2022: https://github.com/home-assistant/addons/issues/2634

Bei dem letzten Link hat ein User auch gepostet: "Problem still exists in 2023.12.1" D.h. bei Core 2023.12.x scheint das Problem aktuell wieder vorhanden zu sein.

Bei mir taucht es aktuelle mit

  • Core 2023.11.3
  • Supervisor 2023.12.0
  • Operating System 11.1
  • Mosquitto broker 6.4.0

nicht auf, aber ich kenne das halt auch von früheren Core-Versionen, bei denen es bei mir auch vorhanden war.

Also m.M.n. nichts vorrüber man sich großartig Gedanken machen muss. ;)

VG Jim

Benutzeravatar
Volker
Beiträge: 226
Registriert: Mi 28. Jun 2023, 17:20
Wohnort: Südhessen
Has thanked: 71 times
Been thanked: 26 times

Re: Mosquitto broker

Beitrag von Volker »

@Jim_OS - danke, dann bin ich ja beruhigt...
das sah so aus, als ob irgendein Bot automatisch alle Ports durchtestet, um Zugriff zu bekommen...

Home Assistant auf HP T630 8GB SSD 128GB
.... und einen unbändigen Spieltrieb :D ....

Jim_OS

Re: Mosquitto broker

Beitrag von Jim_OS »

Jo auf irgendwelche Client <unknown> Zugriffe sollte man immer mal einen Blick werfen. Zumindest mache ich das so. :)

Bei einer 172.30.xxx.xxx IP brauchst Du in dem Fall aber keine Bedenken haben, da das die intenen Docker IPs sind die HA benutzt.

VG Jim

Antworten