Set internal_address_config
on HttpConnectionManager explicitly
#12190
Labels
kind/feature
New feature
triage/accepted
The issue was reviewed and is complete enough to start working on it
Milestone
Description
Envoy is warning when HCM does not have explicit
internal_address_config
set and it will not consider any IP address as internal in a future release, so we need to adapte to this change before our next Envoy version bump.This is considered a feature because it did not impact our existing versions.
Reproduce steps
Actual result
A warning shows up:
Expected result
No warning.
More information
As the warning states, the HCM recognized IP addresses defined in RFC1918 as internal by default, and this will be changed in a newer release. This will impact the behaviour of logging and header santination of Envoy.
This behaviour can be controlled by Envoy runtime feature flag
envoy.reloadable_features.explicit_internal_address_config
This feature flag defaults to
false
in all existing Envoy versions (1.29.11, 1.32.2), but the code has been changed to defaults totrue
on themain
branch.There is a related Envoy CVE:
What is an internal address?
Other projects had fixed/discussed simimar issue:
Envoy implementation
The runtime feature flag: https://github.com/envoyproxy/envoy/blob/a0504e87c5a246cb097b37049b1e4dc7706c2a90/source/common/http/conn_manager_config.h#L194
Default implementation: https://github.com/envoyproxy/envoy/blob/v1.32.2/source/common/network/utility.cc#L272
The text was updated successfully, but these errors were encountered: