监控进出我的电脑的流量
- 我想查看浏览器发出的每个网址请求。
- 我想查看ajax发出的url请求。
我应该使用哪个软件? 一些java代码也会有帮助。
- I want to see each url request made my by browser.
- I want to see the url requests made by ajax.
Which software should I use? Some java code would also help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(7)
您可以使用 Fiddler 或者如果您需要“深入了解”(如他们的网页所述),您可以使用 Wireshark。
You can use Fiddler or if you need to "go deep" (as their web page says), you can use Wireshark.
Firefox 有一个很棒的插件,名为 LiveHTTPHeaders,我认为它可以为您带来什么你正在寻找。 我对问题的 AJAX 部分并不乐观,但值得一试。 我认为 LiveHTTPHeaders 是任何进行 Web 开发的人不可或缺的工具。
Firefox has a great plugin called LiveHTTPHeaders that I think will get you what you are looking for. I'm not positive on the AJAX part of the question, but it's worth a shot. I consider LiveHTTPHeaders to be an indispensable tool for anyone doing web development.
使用 Firebug
(来源:getfirebug.com)
否则使用 Wireshark http://www.wireshark.org/ 如果您想要网络捕获工具中的瑞士军刀。
Use Firebug
(source: getfirebug.com)
Otherwise use Wireshark http://www.wireshark.org/ if you want the swiss army knife of network capture tools.
有很多很棒的程序可以做到这一点。 我的答案实际上取决于您想要做什么。
添加一个记录请求的 HTTP 代理可以轻松完成这项工作。
您还可以利用 FireBug 和 Google 的 Page Speed 等浏览器插件来实时查看请求的传输情况。
雅各布
There are lots of great programs out there that will do this. My answer would really depend on what you are trying to do.
Adding an HTTP proxy that logs requests will easily do the job.
You can also leverage browser plugins such as FireBug and Google's Page Speed to see the requests fly in realtime.
Jacob
我不太明白你想在哪里看到交通情况。 但如果您指的是浏览器并且您使用的是 Firefox,那么 Firebug 会派上用场。
I don't really understand where do you want to see the traffic. But if what you mean is browser and if you are using Firefox then Firebug will come handy.
Firefox 的许多出色扩展将为您提供这些信息:
如果您不是 Firefox 粉丝,您也可以尝试使用 Safari 或 Chrome 中的开发人员工具。
如果你使用 IE...你为什么使用 IE? ;-)
So many great extensions for Firefox that'll give you that info:
You could also try using the developer tools in Safari or Chrome if you're not a Firefox fan.
If you use IE... why are you using IE? ;-)