We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
刚刚看到这个问题。回答任何其他可能对这个问题感到好奇的人。
如前所述,Wireshark 可以“检查”WebSocket 帧,如此处所述。
然而,大约一年前,Google Chrome 已经内置了对此的支持。在开发者工具中的网络下有一个WebSockets子过滤器。另一个不错的 Chrome 功能是所谓的“Net-Internals” ”这确实可以帮助您深入浏览器的“幕后”。
这里有一些关于如何一起使用这些功能的好文章:
just saw this question. Answering for any others that may be wondering on the issue.
As mentioned Wireshark can "inspect" WebSocket frames as described here.
However for around an year now, Google Chrome has built in support for this. In Developer Tools, under Network there is a sub-filter for WebSockets. Another nice Chrome feature are the so-called "Net-Internals" thay can really help dive "behind the scenes" in the browser.
Here are some nice articles on how this can all be used together:
这可能不是您想要的,但您可以使用 wireshark 之类的东西。它可以让您监控计算机上发生的所有网络流量。据我所知,您可以应用过滤器来仅监听特定类型的流量,或某些 IP 地址之间的流量。我不确定您是否可以将过滤器应用于特定的套接字,但它是一个非常灵活的软件。
如果您正在寻找更高的级别,那么您可能只需使用 fiddler 之类的东西就可以了,这是一个本地代理服务器,可让您检查网络流量。
This may not be what you're after, but you could use something like wireshark. It'll let you monitor all of the network traffic that's going on from your machine. From what I can remember, you could then apply filters to only listen for particular types of traffic, or for traffic between certain IP addresses. I'm not sure if you can apply filters to particular sockets, however it is a pretty flexible piece of software.
If you're looking for a much higher level, then you might be able to get away with just using a something like fiddler, which is a local proxy server that lets you examine web traffic.