Egress Traffic BPF program
Hello,
I'd like to ask a question about network probing from a pod or service while the destination is Internet. If the packet reaches to the default gateway, it means there is no policy blocking it and connectivity is successful. How I can drop the packet that is generated in user space with DSCP value?
- What program can I use for this? Considering Cilium utilizes SNAT, how to make sure I can identify the source address of the packet?
For pod-to-pod traffic probing, I used cgroup/ingress to drop the packet if they reach destination pod. However, internet probing seems more complicated to me and I really need help/ideas.
Much appreciated and thanks in advance! :)