#49094·cilium

External passthrough LB traffic silently discarded on cilium_host on a subset of nodes: TCP handshake completes, first data byte blackholed, zero monitor events

Author: KrishnacoreCreated Sep 29, 2026Updated Sep 30, 2026

External passthrough LB traffic silently discarded on cilium_host on a subset of nodes: TCP handshake completes, first data byte blackholed, zero monitor events

Is there an existing issue for this?

  • I have searched the existing issues (closest: #42334, #44902, #31169 — all ruled out, see below)

Version

equal or higher than v1.16.7 and lower than v1.20.0 (reproduced identically on 1.16.7, 1.17.18, 1.18.14, 1.19.8 — version-independent)

What happened?

HTTPS traffic through a GCE external passthrough Network Load Balancer (backend-service based, GCE_VM_IP NEGs) to a Cilium Gateway API Gateway intermittently hangs: the TCP handshake always completes, then the first data byte (TLS ClientHello) is silently blackholed. No RST, curl exit 28 (timeout). Same VIP reached from inside the cluster works 100%.

Packet capture on the receiving node is decisive:

inbound  (client -> VIP:443): 52 packets, all reach cilium_host
outbound (VIP -> client):       0 packets

Excerpt (one failing flow, IPs anonymized):

eth0        In  IP 198.51.100.7.59860 > 203.0.113.10.443: Flags [SEW], seq ..., length 0
cilium_net  Out IP 198.51.100.7.59860 > 203.0.113.10.443: Flags [SEW], ...
cilium_host In  IP 198.51.100.7.59860 > 203.0.113.10.443: Flags [SEW], ...
eth0        Out IP 203.0.113.10.443 > 198.51.100.7.59860: Flags [S.E], ...   <- SYN-ACK from the VIP
eth0        In  IP 198.51.100.7.59860 > 203.0.113.10.443: Flags [P.], seq 1:337, length 336   <- ClientHello
cilium_net  Out ... [P.], length 336
cilium_host In  ... [P.], length 336
... client retransmits 336B 4 more times, zero replies, connection times out

The SYN gets a SYN-ACK sourced from the VIP (so every probe reports "TCP connects fine"), then nothing. cilium-dbg monitor with types drop, debug, trace, policy-verdict, l7 shows zero events for the flow during guaranteed failures. No conntrack entry is created for the client flow. The node's Envoy shows zero downstream connections on every gateway listener.

Per-node deterministic: with the LB narrowed to a single backend via node.kubernetes.io/exclude-from-external-load-balancers, one node serves 0/20 while another serves 20/20. Failure rate scales with backend count (~10% at 6 backends, ~41% at 9). It self-heals and recurs with no intervention, correlating with node-pool churn. GCE reports all backends HEALTHY the whole time (health check on :10256/healthz returns 200 on every node).

BPF and Envoy state verified identical on good and bad nodes:

  • cilium-dbg bpf lb list: VIP:443 [LoadBalancer, l7-load-balancer, dsr] (L7LB Proxy Port: N) present on all nodes
  • the proxy port from the BPF entry == Envoy's actual listener port == a LISTEN socket on 127.0.0.1 on all nodes
  • Envoy xDS identical: same listener, same 2 filter chains (default + SNI *.example.com), same TLS context, same loaded cert (valid, correct SAN)
  • Envoy alive, same binary version on all nodes
  • kernels identical (6.12.85+), container runtime identical, GCE alias-IP pod CIDRs correct on all nodes

How can we reproduce the issue?

  1. GKE VPC-native cluster, Cilium with kube-proxy replacement, DSR, Gateway API, external passthrough NLB (L4-RBS) in front of a Cilium Gateway with an HTTPS listener (TLS termination in Envoy).
  2. Send sequential fresh HTTPS connections from outside the cluster; observe ~10-40% hang after a completed TCP handshake (more backends = higher loss).
  3. Narrow the LB to a single backend; some nodes reproduce at 0/20 deterministically.

Cilium Version

  • Daemon: v1.19.8 (also reproduced on v1.16.7, v1.17.18, v1.18.14)
  • Envoy: v1.37.6 / v1.31.5 (same behavior)
  • Kernel: 6.12.85+ (Container-Optimized OS), containerd 2.1.7, Kubernetes v1.35.6 (GKE)

Kernel Version

6.12.85+ (Container-Optimized OS, identical on good and bad nodes)

Kubernetes Version

v1.35.6-gke.1250000

Regression

No — reproduced identically on 1.16.7 through 1.19.8. If anything, this looks GCE/topology-dependent rather than version-dependent, but the silent discard happens on the node with no Cilium instrumentation firing, so reporting here.

Relevant agent config

kube-proxy-replacement = true
bpf-lb-mode = dsr
bpf-lb-algorithm = maglev
bpf-lb-sock = true
routing-mode = native
enable-l7-proxy = true
gateway-api-service-externaltrafficpolicy = Cluster
node-port-bind-protection = true
enable-svc-source-range-check = true (1.16.7-1.19.x)
tunnel-protocol = vxlan

Ruled out (each tested, no change)

  • bpf-lb-mode=snat instead of dsr (cf. #31169 — preconditions don't match: XDP disabled, and no change)
  • node-port-bind-protection=false + enable-auto-protect-node-port-range=false
  • XDP first-segment-size cliff (cf. #44902 — XDP Acceleration is Disabled here; own payload sweep 46B–1271B fails uniformly, no 62-byte boundary)
  • packetization-layer-pmtud-mode, MTU (a 1-byte write also fails)
  • health-check port mismatch (443-only gateway fails identically)
  • proxy-use-original-source-address=false (cf. #44351/#48045 — full agent+envoy restart, verified, no change)
  • bpf-lb-algorithm=random instead of maglev
  • spot vs on-demand nodes, 5-tuple hashing (failures spread across all source-port residues), HTTP keep-alive
  • NEG membership (matches nodes exactly, 2/zone), firewall rules (symmetric), GCE LB config byte-identical to a working equivalent

Anything else?

The drop happens where no instrumentation fires, which made this extremely hard to localize: cilium-dbg monitor is empty, XDP has no program attached, and all CLI-visible state (BPF maps, Envoy xDS, sockets, certs) is identical between working and failing nodes. The single most useful datapoint for a maintainer: on the failing node the packet is visible on cilium_host ingress with dst=VIP and then nothing — no redirect to the L7 proxy port that is demonstrably listening. Happy to provide sysdumps / enable debug on request.

Code of Conduct

  • I agree to follow this project's Code of Conduct