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 | ||
Level | Trivial Change | ||
Class | Bug Fix | ||
Compatibility | Compatible - no manual interaction needed | ||
Checkmk versions & editions |
|
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.