[squid-users] Is it possible to send the connection, starting with the CONNECT, to cache-peer?

Amos Jeffries squid3 at treenet.co.nz
Tue Sep 22 16:35:10 UTC 2015


On 23/09/2015 3:56 a.m., Yuri Voinov wrote:
> 
> ---------
> CONNECT www.torproject.org:443 HTTP/1.1
> Host: www.torproject.org
> Proxy-Connection: keep-alive
> User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36
> (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36
> 
> 
> ----------
> 2015/09/22 21:54:01.269 kid1| peer_select.cc(258) peerSelectDnsPaths:
> Find IP destination for: www.torproject.org:443' via www.torproject.org
> 2015/09/22 21:54:01.269 kid1| peer_select.cc(280) peerSelectDnsPaths:
> Found sources for 'www.torproject.org:443'
> 2015/09/22 21:54:01.269 kid1| peer_select.cc(281) peerSelectDnsPaths:  
> always_direct = DENIED
> 2015/09/22 21:54:01.269 kid1| peer_select.cc(282) peerSelectDnsPaths:   
> never_direct = DENIED
> 2015/09/22 21:54:01.269 kid1| peer_select.cc(286)
> peerSelectDnsPaths:          DIRECT = local=0.0.0.0
> remote=86.59.30.40:443 flags=1
> 2015/09/22 21:54:01.269 kid1| peer_select.cc(286)
> peerSelectDnsPaths:          DIRECT = local=0.0.0.0
> remote=93.95.227.222:443 flags=1
> 2015/09/22 21:54:01.269 kid1| peer_select.cc(286)
> peerSelectDnsPaths:          DIRECT = local=0.0.0.0
> remote=154.35.132.70:443 flags=1
> 2015/09/22 21:54:01.269 kid1| peer_select.cc(286)
> peerSelectDnsPaths:          DIRECT = local=0.0.0.0
> remote=82.195.75.101:443 flags=1
> 2015/09/22 21:54:01.269 kid1| peer_select.cc(286)
> peerSelectDnsPaths:          DIRECT = local=[::]
> remote=[2001:858:2:2:aabb:0:563b:1e28]:443 flags=1
> 2015/09/22 21:54:01.269 kid1| peer_select.cc(286)
> peerSelectDnsPaths:          DIRECT = local=[::]
> remote=[2001:41b8:202:deb:213:21ff:fe20:1426]:443 flags=1
> 2015/09/22 21:54:01.269 kid1| peer_select.cc(286)
> peerSelectDnsPaths:          DIRECT = local=[::]
> remote=[2620:0:6b0:b:1a1a:0:26e5:4810]:443 flags=1
> 2015/09/22 21:54:01.269 kid1| peer_select.cc(286)
> peerSelectDnsPaths:          DIRECT = local=0.0.0.0
> remote=38.229.72.16:443 flags=1
> 2015/09/22 21:54:01.269 kid1| peer_select.cc(295)
> peerSelectDnsPaths:        timedout = 0

So the cache_peer is not even being considered an option.

Now same trace but with:
 nonhierarchical_direct off
 never_direct allow tor_url


Amos


More information about the squid-users mailing list