Questions tagged [pcapplusplus]

PcapPlusPlus is a multiplatform C++ library for capturing, parsing and crafting of network packets. Use the "pcapplusplus" tag for any question related to this project.

PcapPlusPlus is a multiplatform C++ library for capturing, parsing and crafting of network packets. It is designed to be efficient, powerful and easy to use.

PcapPlusPlus enables decoding and forging capabilities for a large variety of network protocols. It also provides easy to use C++ wrappers for the most popular packet processing engines such as libpcap, WinPcap, Npcap (WinPcap’s successor), DPDK and PF_RING.

35 questions
0
votes
1 answer

Can you index a PCAP file without loading it all into memory?

I have to look at PCAPs that are quite large, around 40GB. What I'm doing right now is using PCAP++ to parse the PCAPs one at a time and process the data inside them. That data is placed into a buffer for it to be viewed. To save memory, I throw out…
Gav
  • 11
  • 4
0
votes
1 answer

set 'don't fragment flag" in PcapPlusPlus lib

I create IP packets using PcapPlusPlus lib. On IP Level I want to set a “Don't fragment” flag. There is a define PCPP_IP_DONT_FRAGMENT in IPv4Layer.h in the lib, but I don't see any ways to use it. Does anyone know how to set "don't fragment flag"…
olle
  • 61
  • 1
  • 1
  • 4
0
votes
1 answer

Connecting pthreadgc2.dll to qt project

I need help with installation pthreads to qt. the thing is I'm making project with winpcap and pcapplusplus wrapper for it. but it still needs pthreads. I have pthreadgc2.dll missing, and I cant figure out how to connect it to my qt project.…
0x9093717
  • 11
  • 6
0
votes
2 answers

Namespace Conflict libcrafter/Pcap++

I'm trying to make an homemade system for exchanging packets, especially on layer 2 without anything above, on CentOS... I use libcrafter to build packets pcap++ to sniff packets (crypto++ to ensure a minimal security - off topic for this…
3isenHeim
  • 243
  • 5
  • 22
1 2
3