Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wireshark vs Firebug vs Fiddler - pros and cons? [closed]

Recently, I came across an issue where a CGI application is not responding. Symptom is Firefox displaying:

Transferring data from localhost...

But the thing is I cannot see any traffic from Firebug's Net panel, and the browser just stays on the same stage forever.

I am thinking about the ways to debug this application but I cannot see the source code or any of its compiled Java/C++ components, therefore I reckon a HTTP network level of diagnostics is a good start.

I have little experience in Fiddler and Wireshark, just wondering will they get better feedback/statistics in the HTTP network level? I've heard Wireshark is advanced but could possibly introduce a large volume of traffic so system admins don't like it very much. At this time I think Firebug doesn't really show me enough information.

I need to collect information so that I can then forward to client as proof.

like image 487
Michael Mao Avatar asked Nov 24 '10 03:11

Michael Mao


People also ask

Which is better Wireshark or Fiddler?

Wireshark can be installed on operating systems such as Windows, Mac, and Linux, whereas the Fiddler can only be set up on Windows. Fiddler is a program for debugging websites, and Wireshark interactively glances at the traffic executing on a computer network.

What is the difference between wireshark and Fiddler?

Wireshark is a packet sniffer and Fiddler is a web proxy. Now hold onto your hat because this is a deep dive! By default, Fiddler generates a new temporary certificate for each website that is visited.

What is Charles and Fiddler?

Charles and Fiddler can be categorized as "API" tools. According to the StackShare community, Charles has a broader approval, being mentioned in 16 company stacks & 13 developers stacks; compared to Fiddler, which is listed in 4 company stacks and 4 developer stacks.

How do I use Fiddler?

You can use Fiddler to create an HTTP session of the monitored web application. In Fiddler, go to Tools > Fiddler Options > HTTPS. Select Capture HTTPS CONNECTs and Decrypt HTTPS traffic. Go to File > Capture Traffic or press F12 to turn off capturing.


1 Answers

Wireshark, Firebug, Fiddler all do similar things - capture network traffic.

  • Wireshark captures any kind of network packet. It can capture packet details below TCP/IP (HTTP is at the top). It does have filters to reduce the noise it captures.

  • Firebug tracks each request the browser page makes and captures the associated headers and the time taken for each stage of the request (DNS, receiving, sending, ...).

  • Fiddler works as an HTTP/HTTPS proxy. It captures every HTTP request the computer makes and records everything associated with it. It does allow things like converting post variables to a table form and editing/replaying requests. It doesn't, by default, capture localhost traffic in IE, see the FAQ for the workaround.

like image 176
mikek3332002 Avatar answered Sep 21 '22 13:09

mikek3332002