Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
envoy proxy: Only reuse DNS proxy port when it's free
When cilium-agent starts, it will allocate a free port for proxy to use, if users don't speicify in config. It also tries to recover previous allocation from iptables rules, but the recover doesn't check if the port is already open by other processes on the host. This change will check the recovered port is free before assign it to DNS proxy. Fix #22465 Signed-off-by: Yongkun Gui <ygui@google.com>
- Loading branch information