Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re: In need of VERY simple perl proxy

by jethro (Monsignor)
on Aug 22, 2009 at 00:38 UTC ( #790505=note: print w/replies, xml ) Need Help??

in reply to In need of VERY simple perl proxy

That all those proxies fail might indicate that proxying isn't such an easy task and to program a super simple proxy isn't so super simple.

Maybe a full-fledged proxy like squid would work as well. It might provide hooks where you can plug in your perl script. Or your script could just look at the logfile or get the log lines piped from syslog, all the urls can be logged if you instruct squid to do so.

Replies are listed 'Best First'.
Re^2: In need of VERY simple perl proxy
by Polyglot (Pilgrim) on Aug 22, 2009 at 14:31 UTC
    I've been using squid for several weeks and found that it has problems in accessing pages at times for strange reasons. For example, sometimes I am forced to type into the URL window instead of entering my search straight into the search window of the browser (which links to google). At other times it will work flawlessly--so it's been somewhat hit and miss, and I have been unable to find meaningful errors or reasons why.

    I hope you can find a simple proxy, but I'm unaware of any. I would be happy to hear of it too when you find one.



      It is probably DNS related

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://790505]
and nobody stirs...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2018-04-27 04:00 GMT
Find Nodes?
    Voting Booth?