tcpdump now shows interface names in its output, finally
Table of Contents
Actually it is not news - it happened with the new 4.99 tcpdump version starting 2 years ago. But most binary distributions still lack this version. So, I had to install it from sources even on the RHEL 9, the newest version. The steps are simple:
-
Download sources:
wget https://www.tcpdump.org/release/tcpdump-4.99.3.tar.gz
-
Install, if not already,
libpcap
headers:yum install libpcap-devel
-
Compile the
tcpdump
from source:
1
2
3
4
tar -zxvf tcpdump-4.99.3.tar
cd tcpdump-4.99.3/
./configure
make; make install
Resources
-
For additional cheat sheets, see Github: https://github.com/yuriskinfo/cheat-sheets
Follow me on https://www.linkedin.com/in/yurislobodyanyuk/ not to miss what I publish on Linkedin, Github, blog, and more.