perlpreben has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I have tried a lot of perl proxies that are on the net, anything from perl modules like HTTP::Proxy, and socket module. But they all fail on a different levels.. either that the webpage sends some content that is not understood and it crashes etc.
Does anyone have a quick sample on how I can use sockets, to listen to a port (say 8080), and just forward that out onto the internet. My aim is to have a super simple proxy that will only print out the urls that goes through. Nothing more, nothing less.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: In need of VERY simple perl proxy
by jethro (Monsignor) on Aug 22, 2009 at 00:38 UTC | |
by Polyglot (Chaplain) on Aug 22, 2009 at 14:31 UTC | |
by Anonymous Monk on Aug 22, 2009 at 14:38 UTC | |
|
Re: In need of VERY simple perl proxy
by carlin (Beadle) on Aug 22, 2009 at 13:48 UTC | |
|
Re: In need of VERY simple perl proxy
by afoken (Chancellor) on Aug 22, 2009 at 17:32 UTC |