Fiddler 不会在 Windows 7 中过滤结果
我在让 Fiddler 将任何过滤器应用于会话结果,或者通过进程或主机或其他任何东西限制结果时遇到一些麻烦。我在 Windows 7 中以管理员身份运行 Fiddler(否则它不会显示任何结果),在过滤器下我尝试了许多不同的设置,包括“隐藏以下主机”、“仅显示以下主机”和“显示仅内联网主机。”我选中了“仅显示 Internet Explorer 流量”。但在所有情况下,会话列表仍然返回所有传出 HTTP 流量。这些是来自其他浏览器窗口和应用程序的请求(例如,对 mail.google.com 和 api.twitter.com 的持续请求,如果我碰巧打开了这些窗口和应用程序)。当然,我可以关闭其中一些浏览器选项卡或应用程序,但这并不能完全解决问题,实际上我需要在调试时打开其中一些东西。我还过得去,但这极大地影响了 Fiddler 的实用性。
我尝试通过将十字准线拖动到 Internet Explorer 来使用进程过滤器。但它仍然显示来自 Chrome 和其他所有内容的请求。如果我在规则下选择“隐藏图像请求”,图像仍会显示在我的会话列表中。
我还尝试直接编辑 CustomRules.js 文件以隐藏主机名的子集,然后重新启动 Fiddler。在该文件和应用程序设置中,我尝试了完整主机名、部分主机名和通配符的几种变体。不走运 - 每个请求仍然显示在会话列表中。
因此,无论我如何尝试,基本上都没有任何规则应用于应用程序。任何想法将不胜感激。
I'm having some trouble getting Fiddler to apply any filters to the session results, or to restrict the results by process or host, or anything else. I'm running Fiddler as administrator in Windows 7 (otherwise it shows no results), and under filters I've tried a number of different settings, including "Hide the following Hosts," "Show only the following Hosts," and "Show only Intranet Hosts." I have "Show only Internet Explorer traffic" checked. But in all cases the sessions list still returns all outgoing HTTP traffic. These are requests from other browser windows and applications (for example, constant requests to mail.google.com and api.twitter.com if I happen to have those open). Of course I can close some of these browser tabs or apps, but that doesn't entirely address the problem and I actually need several of those things open while debugging. I'm getting by, but this is greatly interfering with Fiddler's usefulness.
I've tried using the process filter by dragging the crosshairs to Internet Explorer. But it still shows requests from Chrome and everything else. If I select "Hide Image Requests" under Rules, images still show up in my sessions list.
I've also tried directly editing the CustomRules.js file to hide a subset of host names, and then restarted Fiddler. In both that file and the application settings, I've tried several variations of the complete hostname, partial host names, and wildcards. No luck - every request still shows up in the sessions list.
So it's basically like none of the rules are being applied to the application, no matter what I try. Any ideas would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您使用的 Fiddler 的确切版本号是多少?当前版本是 v2.3.2.6,因此如果您不使用该版本,请升级并查看是否有帮助。
如果这不能解决问题,请告诉我您在会话列表的“进程”列中看到的来自浏览器的请求的内容。
这表明您的计算机应用了“仅使用计算机代理设置”组策略。此组策略会导致 IE 忽略 Fiddler 通常设置的每用户代理设置。 Fiddler 仅在以管理员身份运行时才能设置每台计算机的代理设置。
What's the exact version number of Fiddler that you're using? The current version is v2.3.2.6, so if you're not using that, please upgrade and see if that helps.
If that does not resolve the problem, please tell me what you see in the Process column in the session list for requests that are coming from your browser.
That suggests that your computer has the "Use Machine Proxy Settings only" group policy applied. This group policy causes IE to ignore the per-user proxy settings that Fiddler normally sets. Fiddler can only set the per-machine proxy settings when run as Administrator.