How do I hook the TCP stack in Windows to sniff an

2019-03-09 05:05发布

I'd like to write a packet sniffer and editor for Windows. I want to able to see the contents of all packets entering and leaving my system and possibly modify them. Any language is fine but I'd like it to run fast enough that it won't burden the system.

I've read a little about WinPcap but the documentation claims that you can't use WinPcap to create a firewall because it can't drop packets. What tools will help me write this software?

7条回答
家丑人穷心不美
2楼-- · 2019-03-09 05:46

C# code to do this is here

查看更多
登录 后发表回答