Skip to content

Feature idea: use eBPF to get stacktrace of the socket calls in the process responsible for connections #287

Description

@laundmo

Heyo! I really like what i'm seeing so far, RustNet hits the balance of "just enough details to be useful, not wireshark levels of data" for me.

What i really love is the process attribution. However, sometimes its still really hard to know why a process is opening connections.

It would be incredibly cool if RustNet could show the stacktrace leading to the socket open+recv of a connection. I know this is techinically something possible to get using eBPF since eBPF is used in a lot of tracing/observability, but what i don't know: is it possible to correlate that with the packets?

In any case, i just wanted to put the idea out there, its a bit of a crazy one as i know the eBPF based tracing tools are pretty complex in and of themselves. But i wanted to throw the idea out there in case it seems like a interesting topic for you or anyone to dig into.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions