-
Notifications
You must be signed in to change notification settings - Fork 88
Description
Hello,
I tried using the socket filter program and I was successfully able to capture the outgoing packets,
I tried it on kernal versions - 5.4, 6.1, 6.8.
It has worked successfully.
https://github.com/isovalent/ebpf-docs/blob/master/docs/linux/program-type/BPF_PROG_TYPE_SOCKET_FILTER.md#:~:text=(the%20program%20isn%27t%20called%20for%20egress/outgoing%20packets)
Do we have any documentation link of linux which states that it wont work,
Also as mentioned in the above link that tcpdump uses socket filter,
and tcpdump can capture outgoing traffic - https://4sysops.com/archives/capture-outbound-connections-initiated-on-your-host-with-tcpdump-and-windump-on-linux-and-windows/
Can we have some documentation stating that socket filter for outgoing traffic not works or works on some specific kernal versions,
just for the proof.
Thanks.