Which C / C ++ library am I using to modify the HTTP package on Windows?

It seems winpcap cannot be used to make this work ( ref ),

and then which library to use?

+2


a source to share


2 answers


It is very interesting. See what I found here



A Layered Service Provider (LSP) is a Microsoft Windows feature of the Winsock 2 Service Provider Interface (SPI). The multilayer service provider is a DLL that uses the Winsock API to push onto the TCP / IP stack. Once on the stack, the layered service provider can intercept and modify incoming and outgoing Internet traffic.

+1


a source


Here are some tools for filtering, modifying, and sniffing packets in windows:



  • WinDivert Free open source work for Windows 7, 2008 or upper. network layer.
  • WinpkFilter 3.0 Commercial, Windows XP and upper. data link layer
  • pcausa , commercial. datalink layer
  • Example for Modifying the Windows Filter Package An example for creating a callout driver used by WinDivert, you now need to implement a kernel driver. network layer.
0


a source







All Articles