Search code examples
c++parsingnetwork-programmingpacketethernet

network packet creation/parsing library?


I'm looking for a library that helps with network packet creation/parsing. Something as Python dpkg library. I need to change IP addresses, to check ports and to analyze payload of TCP/UDP packets which I have as Ethernet frames.

I know this can be done manually, e.g. as is presented in WinPcap docs or libpcap docs. Are there any library for this?

C++ on Windows.


Solution

  • Take a look to libcrafter. It's a library for creation and decoding of network packets very similar to Scapy. Not sure if it can work on Windows but you can try.