HTTP Proxy

Derek Broughton news at pointerstop.ca
Sun Apr 20 17:47:03 UTC 2008


Markus Schönhaber wrote:

> Derek Broughton wrote:
> 
>> I want an HTTP proxy that is smart enough to return cached pages any time
>> it can't find the Internet, but all the proxies I've tried either need to
>> be manually switched to "offline", or their configuration is too arcane
>> to
>> make it obvious how to do this.  Does anybody know of such a beast?
> 
> Did you look at wwwoffle?
> http://www.gedanken.demon.co.uk/wwwoffle/

A while ago - it didn't seem to do exactly what I want, but I'll check
again.

>> As a last resort, I could run a cron job that would set the proxy offline
>> if it couldn't get a DNS result, but that's work ...
> 
> Why not setting the proxy on-/offline by placing a script in
> /etc/network/if-{up,down}.d, directly in /etc/network/interfaces or,
> since it's probably a ppp connection, in /etc/ppp/ip-{up,down}.d ?

It's not ppp - it's more like ADSL and straight ethernet from my viewpoint. 
I couldn't set the proxy offline status in the if-up scripts, because the
Internet connection will just disappear if the weather turns bad (it runs
at approximately 802.11g frequencies, so is affected by precipitation just
like wifi).
-- 
derek





More information about the ubuntu-users mailing list