Re: [squid-users] Go direct if parent dies

From: Christoph Haas <email@dont-contact.us>
Date: Fri, 21 Feb 2003 11:29:41 +0100

> always_direct allow -> Squid MUST go direct
> never_direct allow -> Squid MUST NOT go direct

Okay, now I understand. :)

> For your preference you should use always_direct for the servers you
> do not want to use any peers (i.e. your local servers) in combination
> with and prefer_direct off to make squid prefer a bit more to use
> parents in favor of going direct where possible (except for
> always_direct).

I have tried:
 prefer_direct off
 always_direct allow lan.urls
 [always_direct deny all]

I had expected that each request to a public web server would go to the
parent. Unfortunately it does not but goes "DIRECT" at every request.
The only way to make squid ask the parent proxy seems to be using a
"never_direct" statement. As far as I understand that's not the way it
is meant to work.

> The main use of never_direct is when you are inside a firewall and
> MUST use a parent proxy to reach the Interenet.

I can reach web sites directly but (it at all possible) want to use the
parent proxy for increased security.

 Christoph

-- 
~
~
".signature" [Modified] 3 lines --100%--                3,41         All
Received on Fri Feb 21 2003 - 03:29:45 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:13:32 MST