PcapPlusPlus is a multiplatform C++ network sniffing and packet parsing and manipulation framework. PcapPlusPlus is meant to be lightweight, efficient and easy to use.
PcapPlusPlus is currently supported on Windows and Linux operating systems. It was tested on Windows (32bit and 64bit), Ubuntu and Fedora, but it should work on other Linux distributions as well. Other opeating systems such as FreeBSD and Mac OS were never tested and compilation on those platform would probably fail.

PcapPlusPlus is a multiplatform C++ network sniffing and packet parsing and manipulation framework.

The PcapPlusPlus package contains several libraries, unit-tests and example utilities:
1. Packet++ library – a library for parsing, creating and editing packets
2. Pcap++ library – a library for intercepting and sending packets. This library is actually a C++ wrapper for the libPcap and WinPcap libraries
3. Common++ library – a library with some common code utilities used both by Packet++ and Pcap++
4. Packet++Test unit-test – a unit-test application for testing the Packet++ library
5. Pcap++Test unit-test – a unit-test application for testing the Pcap++ library
6. Example applications:
– Packet Parsing – a short guide for parsing packets using Pcap++ and Packet++
– Break Pcap FileTo Streams – an application that takes a pcap file and breaks it into several pcap files, each containing one stream
– ARP Spoofing – an application that does ARP spoofing using Packet++ and Pcap++

Configuration and CompilationOn Windows:
– run the configure-windows.bat batch file from PcapPlusPlus main directory. The script will ask you for WinPcap developer’s pack location and MinGW location
– run mingw32-make.exe all from PcapPlusPlus main directory
– This should compile all libraries, unit-tests and examples

On Linux:
– run the configure-linux.sh script from PcapPlusPlus main directory
– Run make all from PcapPlusPlus main directory
– This should compile all libraries, unit-tests and examples