Re: [squid-users] always_direct for src

2008-12-16 Thread Amos Jeffries

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


Re: [squid-users] always_direct for src

2008-12-16 Thread Mario Remy Almeida
Sorry My mistake i used src instead of dst

//Remy

On Tue, 2008-12-16 at 21:22 +1300, Amos Jeffries wrote:
 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



[squid-users] always_direct for src

2008-12-15 Thread Mario Remy Almeida
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

how can i use src to have direct connection

//Remy