Skip to content

eBPF host firewall + Cilium-model egress gateway#115

Open
GyulyVGC wants to merge 18 commits into
mainfrom
ebpf
Open

eBPF host firewall + Cilium-model egress gateway#115
GyulyVGC wants to merge 18 commits into
mainfrom
ebpf

Conversation

@GyulyVGC

@GyulyVGC GyulyVGC commented Jun 29, 2026

Copy link
Copy Markdown
Member

eBPF host firewall

  • Default-deny TC classifier on the uplink NIC (ingress + egress), stateful via a connection-tracking map.
  • Explicit per-direction/protocol port allowlist; ARP and ICMP always allowed; gRPC-to-server and VXLAN/forward (4789/9999) to known peers permitted.
  • Removes the old rule-based nullnet-firewall crate and its integration.
  • Auto-detects the uplink NIC from the default route — no more manual ETH_NAME.

Egress gateway (Cilium model)

  • Registered service → internet via kernel forwarding (ip_forward + MASQUERADE), no userspace proxy.
  • First packet held until the flow is steered (deliver-original, like backend triggers).
  • Egress edges reaped on container death.
  • Topology graph shows egress edges, with an egress-aware EdgePanel in the UI.

@GyulyVGC GyulyVGC self-assigned this Jun 29, 2026
@GyulyVGC GyulyVGC added the enhancement New feature or request label Jun 29, 2026
@GyulyVGC GyulyVGC changed the title Implement eBPF host firewall (allow nullnet traffic only) eBPF host firewall + Cilium-model egress gateway Jul 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant