NetTrace is a simple packet analyzer for Linux, written in C++.
The application currently runs as a CLI tool and provides core packet sniffing and analysis capabilities across multiple network layers.
-
Capture packets live from a network interface
-
Analyze packets from a PCAP file
-
Parse packet headers across the following layers:
- Data Link Layer
- Network Layer
- Transport Layer
Run the installation script:
./install.shMake sure the script has execute permissions and that you have the required privileges to capture packets.
nettrace -iRuns NetTrace in interactive CLI mode.
nettrace -d <interface>Starts packet capture on the specified network interface (for example, eth0 or wlan0).
- OS: Linux
- Language: C++
- Root or appropriate capabilities may be required for live packet capture.
- Designed as a lightweight educational and debugging tool.