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

proxy: opt-out from SNAT for L7 + Tunnel for some scenarios #29594

Merged
merged 2 commits into from
Dec 14, 2023

Commits on Dec 12, 2023

  1. proxy: opt-out from SNAT for L7 + Tunnel for some scenarios

    Currently the L7 proxy performs SNAT for traffic when tunnel routing is
    enabled, even for cluster-internal traffic. This prevents cilium_host from
    detecting pod-level traffic, and we thus can't apply features.
    
    Modify SupportsOriginalSourceAddr(), so that the proxy doesn't SNAT such
    traffic when some conditions are met.
    
    Signed-off-by: Zhichuan Liang <gray.liang@isovalent.com>
    jschwinger233 committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    5692a36 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. iptables: filter table accepts from-proxy packets

    GKE has DROP policy for filter table, so we have to explicitly accept
    proxy traffic.
    
    Signed-off-by: Zhichuan Liang <gray.liang@isovalent.com>
    jschwinger233 committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    aa84532 View commit details
    Browse the repository at this point in the history