Werk #14560: LIVESTATUS_TCP_ONLY_FROM now allows IPv6 addresses

Component Site management
Title LIVESTATUS_TCP_ONLY_FROM now allows IPv6 addresses
Date Sep 16, 2022
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks