tcpdump
v4.99.4The Tcpdump GroupThe classic packet sniffer. Reads capture files or the authored live-traffic model, filters with BPF and prints packet summaries or hex. The range's tcpdump reads scenario captures; live capture is emulated from the flow model.
- Category
- Packet & network traffic analysis
- Package
- tcpdump
- Runs on
- Linux
- Commands
- tcpdump
Reads authored PCAP fixtures and the scenario's traffic model. No interface is placed in promiscuous mode.
Install it
The scripts below install the real The Tcpdump Group package on your own machine — read them first, and run them somewhere you are allowed to change. Inside the range, one press puts the simulated package on your next machine.
No native Windows build. Use a Linux host in the range, or run it under WSL.
On Linux
Debian, Ubuntu, Kali (apt)
- Refresh the package lists
sudo apt update - Install tcpdump
sudo apt install -y tcpdump
RHEL, Fedora (dnf)
- Install tcpdump
sudo dnf install -y tcpdumpPackage names drift between distributions; search first if this one misses.
Arch (pacman)
- Install tcpdump
sudo pacman -S --noconfirm tcpdump
Alpine (apk)
- Install tcpdump
sudo apk add tcpdumpPackage names drift between distributions; search first if this one misses.
Check it worked
- Confirm it landed on PATH
which tcpdump - Check the version
tcpdump --versionThe range reports 4.99.4.
Remove it
- Take it off again
sudo apt remove --purge tcpdump
On Windows
No native Windows build. Use a Linux host in the range, or run it under WSL.
Windows Subsystem for Linux
- Install a Linux userland on the Windows host
wsl --install -d UbuntuThe upstream project has no native Windows build; WSL is the usual way round it.
- Install tcpdump inside it
wsl sudo apt install -y tcpdump
Inside the range
- Tick it on the launch screen
Under tcpdump's category on the advanced tool shelf. A lab that depends on it locks the toggle on and says why.
- Or install it from a range terminal
sudo apt install -y tcpdumpThe simulated package manager seeds the same binaries, config and receipt the shelf toggle does.
- Everything here is simulated
No software is downloaded and nothing executes — the range answers from authored fixtures.
Labs that use tcpdump
No lab locks this one on yet — tick it on the launch screen and take it into any scenario.