mozillazg / ptcpdump

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

Print less process information by default #72

Closed mozillazg closed 5 months ago

mozillazg commented 5 months ago

Before:

13:12:34.155862 enp5s0 Out IP 192.168.2.50.22 > 192.168.2.100.61061: Flags [P.], seq 26636148:26636216, ack 1379806263, win 524, length 68, Process [/usr/sbin/sshd.9655]

After:

13:12:34.155862 enp5s0 sshd.9655 Out IP 192.168.2.50.22 > 192.168.2.100.61061: Flags [P.], seq 26636148:26636216, ack 1379806263, win 524, length 68