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:
- WinDivert Free open source project work on Windows 7, 2008 or upper. network layer.
- WinpkFilter 3.0 Commercial, Windows XP and upper. datalink layer
- pcausa, Commercial. datalink layer
- Windows Filtering Platform Packet Modification Sample A sample to create callout driver that WinDivert use, you should now to implement kernel driver. network layer.
精彩评论