mozillazg / ptcpdump

Process-aware, eBPF-based tcpdump
MIT License
613 stars 43 forks source link

feat(capture): Add `--netns` flag to capture traffic from/to interfaces in other network namespaces #160

Closed mozillazg closed 1 month ago

mozillazg commented 1 month ago

closes #153

sudo ptcpdump -i any --netns foobar tcp

sudo ptcpdump -i any --netns /run/netns/bar tcp