Re: DIRECT for local networks

From: Suresh Khatry <Suresh.Khatry@dont-contact.us>
Date: Thu, 16 Mar 2000 14:27:16 +0300 (EAT)

On Thu, 16 Mar 2000, awais wrote:

> acl godirect src 192.168.0.1/255.255.255.255
> always_direct allow godirect

        This will instruct the proxy to fetch the content directly rather
than requesting it from another proxy. It will NOT instruct the browser
to fetch the content directly. I do not think that this is what Ricardo
is asking for.

        To achieve what Ricardo wants he will have to do the appropriate
config on the BROWSER which is best done via PAC scripts as has been
explianed by some of our colleagues.

Ciao
SK
 
>
>
> Awais
> Pakistan Online
>
> Ricardo Kustner wrote:
>
> > I've searched the FAQ and mailinglist archive, but I haven't found a
> > definite answer to my problem...
> > Is it possible to have squid tell the browser to DIRECT-ly fetch a page
> > off certain server, instead of getting it from squid?
> > This is because we a few network addresses which are local and we don't
> > want them to be cached/fetched through the proxy... so if a browser request
> > a page in 212.206.24.0/32, it should directly contact that host instead of
> > squid doing this for the browser...
> > I know it's possible to do this with autoproxyconfig scripts, but I've
> > heard that it's not reliable for all browser versions.
> > Any suggestions? no_cache & always_direct don't really seem to do what i need.
> >
> > maybe it's possible to use some kind of wrapper daemon that decides which
> > hosts should be forwarded to squid and which to contact directly? I could
> > try to make something like that myself, but if there's something out there
> > already I don't want to re-invent the wheel... plus i'd prefer to have this
> > handled by squid...
> >
> > TIA,
> > Ricardo.
>
>

+----------------------------------------------------------------+
| Suresh Khatry (Mr.) <Suresh.Khatry@unon.org> |
| Chief, Network Services Unit <Postmaster@unep.org> |
| Information Technology Services |
| United Nations Office at Nairobi (UNON) <NIC Handle: SK465> |
| P.O. Box 47074, Nairobi, Kenya <RIPE Handle: SK136-RIPE> |
| Phone: +254 (2) 621234, [Direct: +254 (2) 623427] |
| Fax: +254 (2) 226890, [Direct: +254 (2) 624297] |
| Cell: +254 (72) 521095 |
| WWW => http://www.unep.org Gopher => gopher://gopher.unep.org |
+----------------------------------------------------------------+
 K E E P I N G Y O U I N T O U C H W I T H T H E W O R L D
Received on Thu Mar 16 2000 - 04:32:11 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:16 MST