Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iptables, dnsproxy: Fix regex matching for bind addr
In a previous change [1], the bind address for the proxy changed from 0.0.0.0 to localhost. This broke restoring the old proxy port and caused Cilium to always allocate a new proxy port. Fix it by changing the regex string to include the new bind address as well as the previously used "0.0.0.0" and "::", for backwards-compatibility reasons on upgrade. Found by code inspection. [1]: #25309 Fixes: 5304088 ("dnsproxy: bind dns proxy to localhost only") Fixes: #25309 Signed-off-by: Chris Tarazi <chris@isovalent.com>
- Loading branch information