Arash,   mongrel-esi is a fairly simple proxy server... You could possibly
modify or extract the bits of it you needed.  The bulk of the proxy code is
in just one file:
http://code.google.com/p/mongrel-esi/source/browse/trunk/lib/esi/handler.rb

It uses Net::HTTP library, forwarding POST and GET requests... might be
helpful...

-Todd

On Feb 6, 2008 7:32 PM, Eden Li <[EMAIL PROTECTED]> wrote:

> It might be better if you use a packet sniffer like WireShark or
> tcpdump.  Mongrel wouldn't be able to handle non-http traffic.
>
> http://www.wireshark.org/
> http://www.tcpdump.org/tcpdump_man.html
>
> On Feb 7, 2008, at 8:20 AM, Arash Nikkar wrote:
>
> > Ideally, what I am looking for is something which just listens to
> > all the traffic going into and out of a browser (using whatever
> > protocol) and do some analysis on that traffic (even if that means I
> > need to duplicate all the data elsewhere on my disk). but alas, I
> > come from a desktop background and I am not that well versed in web
> > related issues. So I suppose I will just take baby steps (with your
> > guy's help, if you dont mind.)
>
> _______________________________________________
> Mongrel-users mailing list
> Mongrel-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/mongrel-users
>
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to