Add udp_connect to ebpf kernel probe? #658
akiasmaka
started this conversation in
Development
Replies: 1 comment 3 replies
-
Hi @akiasmaka , As far as I can tell, udp_connect is a userspace function: https://github.com/particle-iot/lwip/blob/master/src/core/udp.c You can list the hookeable functions with bpftrace: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed that the ebpf module does not probe udp_connect but only udp_sendmsg, to my understanding udp_connect can be used as a way to create a "connection" where it then can be used by udp_send():https://www.nongnu.org/lwip/2_0_x/group__udp__raw.html#gaa4546c43981f043c0ae4514d625cc3fc to create network traffic.
Shouldn't opensnitch capture this traffic? Or am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions