如何跟踪 Win32 套接字调用和请求
如何有效地跟踪发送到在 win32 计算机上侦听的套接字服务器的原始数据?我希望跟踪特定于我的服务器正在侦听的端口,因此我只能监视该流量。
我想看看数据交换是如何在线上进行的。
How can I effectively trace the raw data sent to my socket server listening on a win32 machine? I want the trace to be specific to the port my server is listening on, so I can monitor only that traffic.
I want to see how the data exchange works on the wire.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用:
Microsoft 网络监控
或
空灵
或
Wireshark
它们都具有丰富的过滤功能,因此对单个端口/地址或协议进行过滤应该非常容易。
相关:
You could use:
Microsoft Network Monitor
or
Ethereal
or
Wireshark
They all come with rich filtering capabilities so filtering on a single port / address or protocol should be quite easy.
Related:
ETW可以做到。 ETW 内置于 Windows 中,您不需要外部工具。这是 来自 technet 的博客文章。
ETW can do it. ETW is built in to windows you don't need external tools. Here is blog post on that from technet.