![]() PcapLiveDevice - representing a Linux/MacOS/FreeBSD network interface and enables capturing and sending packets as well as retrieving interface information.This library is mostly a C++ wrapper for packet capturing engines such as libpcap, WinPcap, Npcap, DPDK and PF_RING, but also provide some unique features and capabilities that doesn't exist in any of these engines. IPv4Reassembly - a class for providing IPv4 reassembly (a.k.a IPv4 de-fragmentation) of IPv4 packetsĪ library for intercepting and sending packets, providing network and NIC info, stats, etc.TcpReassembly - a class for providing TCP reassembly (a.k.a TCP reconstruction) of TCP streams.PacketUtils - a class containing several widely used utilities such as calculating a hash value based on 5-tuple or 2-tuple.Protocol layers (for example: EthLayer, IPv4Layer, IPv6Layer, TcpLayer, UdpLayer, DnsLayer, HttpRequestLayer, HttpResponseLayer, PayloadLayer, etc.) - classes representing specific protocol parsers. ![]() Packet - representing a packet that was parsed by the different PcapPlusPlus protocol parsers and contains the different protocol layers.Each protocol layer is in-charge of parsing the specific bytes in the packet that belong to this protocol Layer - the base class for all protocol layers.RawPacket - representing the raw data captured from the network.This library can be used stand-alone and doesn't depend on Pcap++, libpcap/WinPcap/Npcap, etc. Let's describes the purposes of each one and its main classes: Packet++ Ī library for parsing, creating and editing packets of various supported protocols. Part 1: Introduction And Basics Library structure Īs you could probably already notice, PcapPlusPlus is built of 3 libraries: Common++, Packet++ and Pcap++.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |