开发者

What C/C++ library do I use to change an HTTP packet in windows?

It开发者_高级运维 seems winpcap can't be used to do this kind of job(ref),

then which library to use alternatively?


This is very interesting. Look what I found here

A Layered Service Provider (LSP) is a feature of the Microsoft Windows Winsock 2 Service Provider Interface (SPI). A Layered Service Provider is a DLL that uses Winsock APIs to insert itself into the TCP/IP stack. Once in the stack, a Layered Service Provider can intercept and modify inbound and outbound Internet traffic.


Here is some tools to filter, modify, sniff packets in windows:

  1. WinDivert Free open source project work on Windows 7, 2008 or upper. network layer.
  2. WinpkFilter 3.0 Commercial, Windows XP and upper. datalink layer
  3. pcausa, Commercial. datalink layer
  4. Windows Filtering Platform Packet Modification Sample A sample to create callout driver that WinDivert use, you should now to implement kernel driver. network layer.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜