seladb / PcapPlusPlus

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. It provides C++ wrappers for the most popular packet processing engines such as libpcap, Npcap, WinPcap, DPDK, AF_XDP and PF_RING.
https://pcapplusplus.github.io/
The Unlicense
2.64k stars 640 forks source link

capture packet change its payload #661

Closed amir110 closed 3 years ago

amir110 commented 3 years ago

Hi i am new to this library . i want to know is it possible to capture packets and changes its content, payload ... and resend it?

seladb commented 3 years ago

Yes, this should be possible. Please see the tutorials: https://pcapplusplus.github.io/docs/tutorials

In particular:

seladb commented 3 years ago

I'm closing this issue now, please reopen if relevant