Reputation:

monitor traffic to and from my pc

  1. I want to see each url request made my by browser.
  2. I want to see the url requests made by ajax.

Which software should I use? Some java code would also help.

Upvotes: 0

Views: 439

Answers (7)

Unknown
Unknown

Reputation: 46783

Use Firebug

alt text
(source: getfirebug.com)

Otherwise use Wireshark http://www.wireshark.org/ if you want the swiss army knife of network capture tools.

Upvotes: 2

DmitryK
DmitryK

Reputation: 5582

  1. Any personal proxy will do. Fiddler was already suggested.
  2. For Firefox I would use the TamperData plugin.

Upvotes: 0

Gabriel Hurley
Gabriel Hurley

Reputation: 40052

So many great extensions for Firefox that'll give you that info:

  • Firebug
  • PageSpeed
  • LiveHTTPHeaders

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? ;-)

Upvotes: 0

William
William

Reputation: 611

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.

Upvotes: 1

JP Alioto
JP Alioto

Reputation: 45117

You can use Fiddler or if you need to "go deep" (as their web page says), you can use Wireshark.

Upvotes: 3

TheJacobTaylor
TheJacobTaylor

Reputation: 4143

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

Upvotes: 1

Kevin Day
Kevin Day

Reputation: 16383

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.

Upvotes: 2

Related Questions