Re: confused about always_direct

From: Irfan Akber <irfan@dont-contact.us>
Date: Tue, 9 Feb 1999 15:08:18 -0000

I if I understand correctly about what you're trying to achieve then it
should be dst and not src in your acl.

Irfan Akber

----------
> From: Steve Reddel <squid@steve.intercoast.net.au>
> To: squid-users@ircache.net
> Subject: confused about always_direct
> Date: Tuesday, February 09, 1999 7:42 AM
>
> i am trying to configure squid 2.2pre2 (and all previous version of squid
> 2) to operate as i had squid 1.1 working with no success...
> what i am trying to achieve is going to a parent cache for all requests
> except 2 certain c-class address which should go directly.
>
> the lines i have in my configuration that apply here are as follows:
>
> ---start----
> cache_peer proxy.intercoast.com.au parent 8080 3130
>
> acl steve src 203.32.99.0/255.255.255.0
> acl intercoast src 203.22.112.0/255.255.255.0
> always_direct allow steve intercoast
> ---end---
>
> yet in my logs i get:
>
> ---start---
> 918545709.316 6055 203.32.99.2 TCP_MISS/200 2531
> GET http://www.smile.com.au/getvivo2.gif -
> FIRST_PARENT_MISS/proxy.intercoast.com.au image/gif
> 918545711.446 26536 203.32.99.2 TCP_MISS/200 8070 GET
> http://www.smile.com.au/apache-anim.gif -
> FIRST_PARENT_MISS/proxy.intercoast.com.au image/gif
> 918545951.607 1658 203.32.99.2 TCP_MISS/401 662 GET
> http://www.steve.intercoast.net.au/squid -
> FIRST_PARENT_MISS/proxy.intercoast.com.au text/html
> ---end---
>
> the ip address of www.smile.com.au is 203.22.112.16 and
> www.steve.intercoast.net.au is 203.32.99.10 both of which fall into the
> ranges specified by those acls defined above...
>
> if anyone could shed some light on why squid is doing this i would
> appreciate it...
>
> thanx,
>
> Steve.
Received on Tue Feb 09 1999 - 03:33:14 MST

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