does firebugs network monitor use any packet sniffing?

169 views
Skip to first unread message

dto...@gmail.com

unread,
Feb 4, 2008, 10:41:40 PM2/4/08
to Firebug
I have been trying to figure out if it possible to emulate firebugs
network monitor by means of a packet sniffer (that way it is browser
independent), but I am pretty lost, as I can't seem to figure out how
to put the packets together,

Does anyone have any ideas?

John J Barton

unread,
Feb 5, 2008, 1:02:36 AM2/5/08
to Firebug
Ah...if you want to replace it with a packet sniffer why do you care
what does?

Anyway, look at branches/firebug1.2 since Honza just rewrote the net
code after looking into several alternatives.

John.

dto...@gmail.com

unread,
Feb 5, 2008, 1:34:01 AM2/5/08
to Firebug
The reason I ask is because I want to implement something similar
(although I haven't yet decided what language it will be in), but with
a bit more processing, (i.e. do certain specific tasks for certain
file type request, like archive image files, parse other files, etc).

So I was hoping to try and gather some information on how firebug does
it, because i like how it splits up each request and displays
information on it (something I cant seem to figure out when just
looking at raw packets).

Julien Wajsberg

unread,
Feb 5, 2008, 1:54:27 AM2/5/08
to fir...@googlegroups.com
well, maybe you would just like to use wireshark instead of reinventing the wheel ?
(http://www.wireshark.org/)

dto...@gmail.com

unread,
Feb 5, 2008, 2:36:47 AM2/5/08
to Firebug
I have looked at wireshark, and unfortunately, I need to pro
grammatically acquire and analyze the packets. Which makes winpcap the
most logical library to use, however, I am struggling to understand
how to figure out what packets belong to what. For example, if a web
site contains 10 images, it would be nice to know the name of each
image, and which packets correlated to that image as well.

That is why I was wondering if firebug does this type of processing
underneath it all. My questions may sound a bit naive, and I have
spent that last few hours searching google, but I haven't found a
solid explanation / example of how to analyze a stream of packets.

On Feb 4, 10:54 pm, "Julien Wajsberg" <fel...@gmail.com> wrote:
> well, maybe you would just like to use wireshark instead of reinventing the
> wheel ?
> (http://www.wireshark.org/)
>

John J Barton

unread,
Feb 5, 2008, 10:55:55 AM2/5/08
to Firebug
Firebug does not use packet level analysis.
John.
> > > > > Does anyone have any ideas?- Hide quoted text -
>
> - Show quoted text -

dto...@gmail.com

unread,
Feb 5, 2008, 2:51:58 PM2/5/08
to Firebug
Hi John,

Thanks for clearing that up, thats what I figured. I looked into the
firebug source a bit, but didn't get too much out of it since im not
that proficient in javascript. I was wondering if you had any
suggestions on how to implement something along the lines of firebug's
net monitor, but in a browser independent fashion. (i.e. a java/c#
application which monitors what files are downloaded for a particular
web page).

I havent figured much out with respect to converting a packet stream
into an actual file (i.e. html, css, png, etc).

Thanks!
Message has been deleted

John J Barton

unread,
Feb 5, 2008, 4:39:35 PM2/5/08
to Firebug
Unless you find a great cross-os library, working at the packet level
is a career move ;-).

If you goal is really to monitor requests from a web page, you'll get
there much faster if you work at the HTTP level. You can look at
Fiddler (win32), HttpWatch, or IBM Page Detailer. Or look for an HTTP
proxy, there are a bunch.

John

dto...@gmail.com

unread,
Feb 5, 2008, 5:17:15 PM2/5/08
to Firebug
ok...i'll give those a look. Thanks for your help.
Reply all
Reply to author
Forward
0 new messages