38 questions
Score of 3
1 answer
124 views
Create a RawPacket with a byte array
I'm creating an Android app that can capture the internet traffic to analyze later. Through a VPN tunnel, I can get the packets in a byte[] array.
Is it possible to create a pcpp::RawPacket in ...
Score of -3
2 answers
362 views
Load balancing in PCPP and DPDK
I’ve been trying to load balance the received packets across multiple physical rx queues (4 queues).
I assigned a core to each queue in order to receive packets from it.
After using DPDK’s ...
Score of 0
1 answer
105 views
PcapPlusPlus cross compilation
I use the PcapPlusPlus library to craft packets and use them in my unit tests for my C application. These packets are not sent over the network. I just use functions to create/add protocol headers and ...
Score of 1
0 answers
176 views
Dpdk packets corruptions using PcapPlusPlus
I'm using the dpdk api in PcapPlusPlus with a computer that has 32Gb Ram , 16 cores and 10 Gbp/s fiber optical sfp support.
However,with this configuration (im guessing, mainly the "...
Score of 1
1 answer
415 views
Failing to compile and link PcapPlusPlus library with SYCL code
I want to use the C++ library PcapPlusPlus and it‘s header files in my SYCL code. More exactly I want to compile it with the Intel C++ Compiler (icpx). I know how to program and know how C, Java and ...
Score of 0
0 answers
84 views
Problem with detect IP Layer When Pcap file have several Ethernet
I use the latest version of pcapplusplus(23.09). I have a pcap file that each frame has several Ethernet, like the below image:
I can't find the IP packet with the following commands. I think pcap ...
Score of 0
1 answer
393 views
FetchContent_MakeAvailable adds optimization flag
In the project I'm building I experience wrong behavior regarding optimization flags. Normally I build with -g -O0.
Recently I wanted to add the PcapPlusPlus library to my project so I added following ...
Score of 0
1 answer
316 views
How to add PcapPlusPlus library to a Qt Widgets project
I am working on Qt projects and will use PcapPlusPlus library for reading a PcapNG file.
I am using Windows and MSVC 2019 64 bit, and downloaded this library for my project: pcapplusplus-23.09-windows-...
Score of 0
0 answers
582 views
Why did I get a Null/Loopback after I send a packet with pcpp?
I have a nginx instance running on localhost:80 and I want to send it a raw TCP SYN packet.
So I generate a dummy packet and send it to lo interface via pcapplusplus. However, when the Wireshark is ...
Score of 0
0 answers
549 views
Entry Point Not Found wpcap.dll not found by starting the PcapPrinter
I test actually with PcapPlusPlus. It is checked out and added to my Visual Studio Pro 2022. The batch files in ci are executed and the npcap sdk is installed. In parallel Wireshark and Winpcap are ...
Score of 0
0 answers
115 views
Which rpm i need to download for pcapplusplus library?
getting error
fatal error: SystemUtils.h: No such file or directory
#include "SystemUtils.h"
^~~~~~~~~~~~~~~
Packet.h: No such file or directory
#include "Packet.h"
^~~~~~~~~~
...
Score of 0
0 answers
566 views
I get an empty device list when using PcapPlusPlus
At the moment, I am interested in networking and in order to learn more, I decided to use the PcapPlusPlus library to capture packets on my local network. My goal is to understand how packets are ...
Score of 0
0 answers
85 views
How can I get the E2AP packet details and printed it using PcapPlusPlus?
I am trying to implement PcapPlusPlus and print E2AP packet details.
Score of 0
0 answers
256 views
PcapPlusPlus Example- DPDKFilterTraffic not performing like I would expect, do I have something misconfigured?
I am working on an application that uses DPDK to write packet payloads to file and am investigating whether or not PcapPlusPlus could be used for this purpose. My setup is as follows:
I am using a ...
Score of 0
0 answers
152 views
Parse L2TP in PCAP++
I need to parse difficult traffic with Layer 2 Tunneling Protocol:
Eth->IP->UDP->L2TP->PTPP->IP->TCP->...
.. and get inner and outer IP addresses.
I use loop over layer->...