microsoft/retina
GitHub で見るSupport capturing/tracing unix domain sockets with kprobe ebpf
Open
#225 opened on 2024年4月4日
area/ebpfarea/pluginshelp wantedpriority/1type/enhancement
Repository metrics
- Stars
- (3,161 stars)
- PR merge metrics
- (PR metrics pending)
説明
Today Retina only watches for events from either tc prog or some drop reason kprobes, Retina should be watching for events of unix domain socket as well. This will need additional work to understand how to distinguish src and dest pod/container/process.
For starters, attaching to below kprobes:
kprobe/unix_stream_sendmsg
kprobe/unix_dgram_sendmsg
fentry/unix_stream_sendmsg
fentry/unix_dgram_sendmsg
Example: https://github.com/Asphaltt/sockdump