Making a program that intercepts network traffic in Windows

后端 未结 3 1067
野的像风
野的像风 2021-02-09 22:37

Sort of what I\'m asking is \"how to make a software firewall for Windows,\" but something not so complex. I\'m surprised I can find so little when searching for this, only the

3条回答
  •  遥遥无期
    2021-02-09 23:05

    I think what you are looking for is a packet sniffer, it will intercept almost all communications over a network. If you want to use a library, check out WinPCap, which was meant for exactly this purpose.

    Also, if you think that you just want something pre-written and just want to modify it, check out Wireshark. Although, reading code is often more difficult than writing it.

提交回复
热议问题