A simple packet analyzer that captures and displays IP packets.
To compile and run this program, you will need to have the following software installed on your system:
- C++ compiler
- PCAP library
- Clone the repository: git clone https://github.com/ezema/simple-IP-packet-analyzer.git
- Change directory to the cloned repository: cd packet-analyzer
- Compile the program using your C++ compiler: g++ -o packet-analyzer packet-analyzer.cpp -lpcap
- Run the program: sudo ./packet-analyzer
- The program will start capturing packets on the default capture device and displaying packet information on the console.