chart: sniff.hostPort and fetch.hostPort #28

Closed
mikluko wants to merge 0 commits from sniff-host-port into integration
Owner

Cilium's SNAT keeps a pod's source port only within [node port max + 1,
65535] (__snat_try_keep_port in bpf/lib/nat.h, v1.20.2); below that it
picks a random one. The sniffer listens on its node port, 30069, inside the
node port range, so every query leaves from a random port and other nodes
list it there: on bradbury the NAT table maps 10.244.8.21:30069 to a
different port per peer, while a prober's ephemeral 41736 leaves as 41736.

A hostPort above the range gives both directions one port without the host
network. The probe gets none: a StatefulSet template cannot give each
replica the port plus its index.

sniffarr-p19.

Cilium's SNAT keeps a pod's source port only within [node port max + 1, 65535] (__snat_try_keep_port in bpf/lib/nat.h, v1.20.2); below that it picks a random one. The sniffer listens on its node port, 30069, inside the node port range, so every query leaves from a random port and other nodes list it there: on bradbury the NAT table maps 10.244.8.21:30069 to a different port per peer, while a prober's ephemeral 41736 leaves as 41736. A hostPort above the range gives both directions one port without the host network. The probe gets none: a StatefulSet template cannot give each replica the port plus its index. sniffarr-p19.
chart: sniff.hostPort and fetch.hostPort
All checks were successful
CI / changelog (pull_request) Successful in 5s
CI / test (pull_request) Successful in 1m38s
Build / packages (pull_request) Successful in 1m55s
Build / image (pull_request) Successful in 20s
Build / chart (pull_request) Successful in 6s
78f5ca4530
Cilium's SNAT keeps a pod's source port only within [node port max + 1,
65535] (__snat_try_keep_port in bpf/lib/nat.h, v1.20.2); below that it
picks a random one. The sniffer listens on its node port, 30069, inside the
node port range, so every query leaves from a random port and other nodes
list it there: on bradbury the NAT table maps 10.244.8.21:30069 to a
different port per peer, while a prober's ephemeral 41736 leaves as 41736.

A hostPort above the range gives both directions one port without the host
network. The probe gets none: a StatefulSet template cannot give each
replica the port plus its index.

Assisted-by: Claude Code (claude-opus-5-5)
Author
Owner

Landed on main as hotfix 0.44.1 (78f5ca4), and integration is fast-forwarded to it.

Landed on main as hotfix 0.44.1 (78f5ca4), and integration is fast-forwarded to it.
mikluko closed this pull request 2026-11-08 13:59:50 +00:00
All checks were successful
CI / changelog (pull_request) Successful in 5s
CI / test (pull_request) Successful in 1m38s
Build / packages (pull_request) Successful in 1m55s
Build / image (pull_request) Successful in 20s
Build / chart (pull_request) Successful in 6s

Pull request closed

Sign in to join this conversation.
No description provided.