v.21.7Improvement

Recognize IPv4 Addresses as Local in ClickHouse Feature Testing

Recognize IPv4 addresses like 127.0.1.1 as local. This is controversial and closes #23504. Michael Filimonov will test this feature. #24316 (alexey-milovidov).
Recognizes IPv4 addresses in the form of 127.0.0.0/8 (e.g., 127.0.1.1) as local addresses in ClickHouse.

Why it matters

This feature addresses the need to correctly identify the entire IPv4 loopback range as local. Previously, some IPv4 addresses like 127.0.1.1 might not have been treated as local, which could cause inconsistencies in network-related queries or security policies. Recognizing these addresses as local improves accuracy and ensures expected behavior for loopback traffic.

How to use it

The recognition of IPv4 local addresses in the 127.0.0.0/8 range is enabled by default as part of ClickHouse. Users do not need to perform any additional configuration to benefit from this feature.