您会为 Windows 推荐什么 HTTP 流量监视器?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1271768/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 06:39:17  来源:igfitidea点击:

What HTTP traffic monitor would you recommend for Windows?

windowshttptrafficsniffer

提问by Pavel

I need the sniffer to test network traffic of applications developed by me for Windows and Facebook.

我需要嗅探器来测试我为 Windows 和 Facebook 开发的应用程序的网络流量。

Basic requirements:

基本要求:

  • display request and response
  • display HTTP headers
  • display the time it took to complete HTTP request
  • 显示请求和响应
  • 显示 HTTP 标头
  • 显示完成 HTTP 请求所用的时间

Now I'm using HTTP Analyzer. A very good tool, but it terminates with some error after 10-15 min running on Vista.

现在我正在使用 HTTP 分析器。一个非常好的工具,但它在 Vista 上运行 10-15 分钟后会因一些错误而终止。

回答by ICodeForCoffee

Wiresharkif you want to see everything going on in the network.

如果您想查看网络中发生的一切,请使用Wireshark

Fiddlerif you want to just monitor HTTP/s traffic.

如果您只想监控 HTTP/s 流量,请使用Fiddler

Live HTTP Headersif you're in Firefox and want a quick plugin just to see the headers.

Live HTTP Headers如果您在 Firefox 中并且想要一个快速插件来查看标头。

Also FireBugcan get you that information too and provides a nice interface when your working on a single page during development. I've used it to monitor AJAX transactions.

此外萤火可以让你的信息也并提供了一个很好的界面时,在开发过程中你在一个页面上工作。我用它来监视 AJAX 事务。

回答by Andrew Hare

Try Wireshark:

试试Wireshark

Wireshark is the world's foremost network protocol analyzer, and is the de facto (and often de jure) standard across many industries and educational institutions.

Wireshark 是世界上最重要的网络协议分析器,并且是许多行业和教育机构的事实上(并且通常是法律上的)标准。

There is a bit of a learning curve but it is far and away the best tool available.

有一点学习曲线,但它无疑是最好的工具。

回答by Richy B.

I now use CharlesProxyfor development, but previously I have used Fiddler

我现在使用CharlesProxy进行开发,但之前我使用过Fiddler

回答by Sam

Fiddleris great when you are only interested in the http(s) side of the communications. It is also very useful when you are trying to inspect inside a https stream.

当您只对通信的 http(s) 端感兴趣时,Fiddler非常棒。当您尝试在 https 流中进行检查时,它也非常有用。

回答by Nelson

I use Wiresharkin most cases, but I have found Fiddlerto be less of a hassle when dealing with encrypted data.

我在大多数情况下使用Wireshark,但我发现Fiddler在处理加密数据时不那么麻烦。

回答by user391552

I like TcpCatcherbecause it is very simple to use and has a modern interface. It is provided as a jar file, you just download it and run it (no installation process). Also, it comes with a very useful "on the fly" packets modification features (debug mode).

我喜欢TcpCatcher,因为它使用起来非常简单并且具有现代界面。它以 jar 文件的形式提供,您只需下载并运行它(无需安装过程)。此外,它还带有一个非常有用的“即时”数据包修改功能(调试模式)。