Search squid archive

Re: How to orward CONNECT and POST to parent cache.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Krist van Besien wrote:
I have the following in my Squid (the rest is standard)

cache_peer p.somewhere.com       parent    443  0  	no-digest no-query
proxy-only l
cache_peer_domain p.somewhere.com  .domain.net

In my logfile I see that GET requests are forwarded to the peer, but
POST and CONNECT still goest "DIRECT".

1269021794.161     71 192.168.1.185 TCP_MISS/304 439 GET
http://www.domain.net/favicon.ico - FIRST_UP_PARENT/p.somewhwere.net
image/x-icon
1269021794.338    986 192.168.1.185 TCP_MISS/200 4704 CONNECT
www.domain.net:443 - DIRECT/x.x.x.x -

What have I overlooked? Or am I asking to much?
 Basically I want everything for domain.net, GET, CONNECT and POST to
go over the parent proxy.

Thanks in advance,

Krist


There is something really funky with your setup if POST is not going the same way as GET.

CONNECT is semantically a request to make a tunnel CONNECTion directly to a service. It needs to be forced indirect with the never_direct access controls.
  never_direct allow CONNECT

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE8 or 3.0.STABLE25
  Current Beta Squid 3.1.0.18

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux