Werk #14560: LIVESTATUS_TCP_ONLY_FROM now allows IPv6 addresses

Komponente Site management
Titel LIVESTATUS_TCP_ONLY_FROM now allows IPv6 addresses
Datum 16.09.2022
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.2.0i1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Previously, using the command omd config set LIVESTATUS_TCP_ONLY_FROM with any IPv6 address would fail. For example, the command

$ omd config set LIVESTATUS_TCP_ONLY_FROM "0.0.0.0 ::/0"

resulted in Invalid value for '0.0.0.0 ::/0'. Does not match allowed pattern.

With this werk, each IP address is matched using ipaddress.ip_network from the Python standard library. In particular, this allows the usage of IPv6 addresses.

Zur Liste aller Werks