Re: [squid-users] always_direct for src

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 16 Dec 2008 21:22:31 +1300

Mario Remy Almeida wrote:
> Hi All,
>
> I am using squid 3.1.0.2
>
> I want squid to connect 213.42.24.11 ip directly without connect to the
> parent squid
> below is the settings
>
> acl intranet_src src 213.42.24.11
> always_direct allow intranet_src
>
> but its going to the parent proxy
>
> in the log file i get this
>
> 1229406697.569 4897 10.200.2.172 TCP_MISS/503 1005 GET
> http://213.42.24.11/ - DEFAULT_PARENT/proxy1.emirates.net.ae text/html
>
> but if i use dstdomain instead or src it is working fine

destination domain (dstdomain) and source client IP (src) are two very
opposite things.

Are you sure you didn't mean to use destination IP (dst) ?

>
> how can i use src to have direct connection

Should work exactly as you configured. If indeed the source client IP
was what you were meaning to catch.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10
   Current Beta Squid 3.1.0.3 or 3.0.STABLE11-RC1
Received on Tue Dec 16 2008 - 08:22:37 MST

This archive was generated by hypermail 2.2.0 : Tue Dec 16 2008 - 12:00:01 MST