[squid-users] Squid as Sibling to Starband WPA

From: Dale Osborn <osbornd@dont-contact.us>
Date: Thu, 8 Jan 2004 15:24:38 -0500

While reading through the archives, I read a message that asked for
assistance in getting squid to go through a satellite proxy/cache server. I
happen to have set up a squid cache for a Starband subscriber. The key
entries in squid.conf are as follows:

cache_peer 192.168.0.1 parent 9877 0 no-query default
never_direct allow all

The address should be changed to whatever machine is running the Starband
software, and the port 9877 is standard for Starband's web page accelerator
proxy (in fact, each time the software is reset, it forces the IE http proxy
settings to 127.0.0.1 on that particular machine which necessitates the
following paragraphs!)

In addition to the squid.conf file changes, I created a proxy.pac that uses
fall-back mechanisms to try DIRECT in case the squid machine or the WPA
dies. It reads as follows:

function FindProxyForURL(url, host)
{
  if (isInNet(host, "192.168.0.0", "255.255.255.0"))
    return "DIRECT";
  else
    return "PROXY squid.machine.address:3128; PROXY
starband.machine.address:9877; DIRECT";
}

Hope this helps. I found the Squid Docs and FAQ very informative and useful.
Thanks for all the help, and I hope I can return the favor at times.

Dale

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.559 / Virus Database: 351 - Release Date: 1/7/2004
Received on Thu Jan 08 2004 - 13:24:53 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:04 MST