http://www.perlmonks.org?node_id=927513

theleftsock has asked for the wisdom of the Perl Monks concerning the following question:

Good Morning. I have done some, but not extensive research into the question, but I was wondering.... Is anyone aware of a project similar to Paros, HTTPFox for firefox, or Webscarab written in Perl? Mostly I am looking to see if a web proxy that is more full featured has already been written in Perl as opposed to rolling my own with something like HTTP::Proxy. Mostly I am looking for something displays or records all traffic to and from the browser, can listen to localhost, or a remote host on a specified port, can use HTTP/HTTPS etc. Even if it's still in its infancy, or it is old and unmaintained. Free or otherwise is ok, open source is definitely preferred.

if you know of one, or something similar please let me know. I apologize if this is not the place to post a question like this. I did some searches around perlmonks, before I posted, but I have not found any posts pointing to projects like this.

thanks,

have a nice day.

-theleftsock

Replies are listed 'Best First'.
Re: HTTP/HTTPS/Web Proxy Written in Perl
by keszler (Priest) on Sep 23, 2011 at 10:05 UTC
    HTTP::Recorder hasn't been updated in years, but worked for me a couple years ago.

      thank you for the suggestion. This is definitely along the lines of what I am looking for. I will look into it, and let you know how it works for what I am doing

Re: HTTP/HTTPS/Web Proxy Written in Perl
by zentara (Archbishop) on Sep 23, 2011 at 14:46 UTC
    You might want to look at tcpick. Its easier to use than Wireshark, but not as full featured. I don't think it does https. You probably could run it thru Perl's IPC.

    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

      Thank you for the suggestion. I will definitely take a look at it, but if it is similar to wireshark it may be more than I need.

Re: HTTP/HTTPS/Web Proxy Written in Perl
by Anonymous Monk on Sep 23, 2011 at 09:31 UTC
    When the need arises, I use something even more powerful, namely the packet sniffer Wireshark/tshark. TLS decryption is supported if you own the private key.

    Why restrict oneself to just the HTTProtocol, when one can have everything in one application?

      Wireshark is awesome, but I don't think it is going to wrap well in what I am doing.