Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dns proxy: Only reuse DNS proxy port when it's free #25466

Merged
merged 1 commit into from May 31, 2023

Commits on May 15, 2023

  1. 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 cilium#22465
    
    Signed-off-by: Yongkun Gui <ygui@google.com>
    anfernee committed May 15, 2023
    Configuration menu
    Copy the full SHA
    08555a5 View commit details
    Browse the repository at this point in the history