How to tcpdump and strace

Assume your interface is eth0.123 here are some excellent tcpdump command options

tcpdump -i eth0.123 not port 22 and port 8080

tcpdump -i eth0.123 not port 22 and port 8080 -X

In this example lsof (listing open files) we are searching for the process ID that from a targeted application

lsof -p 4703

strace -ff -p 4703

Leave a Reply

RELATED POST

Veritas Volume Manager: Growing a disk group and expand the filesystem

Validated by Mr Man! Lets start off on node2 [root@node02 ~]# vxdisk list DEVICE TYPE DISK GROUP STATUS sda auto:none…

Virtual Machine Manager: Error starting domain

Starting up the KVM error occurred Error starting domain: Requested operation is not valid: network 'default' is not active Locate…

Git Commands

How to initialize a Git repo: Everything starts from here. The first step is to initialize a new Git repo…

Lab Hack: Raspberry Pi running VMWare ESXi

As strange as the title sounds, yes I am running VMWare ESXi on a Raspberry Pi 4 Model B (4GB)…