Search squid archive

Re: Hierarchical Squid Configuartion

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

 



jayesh chavan wrote:
Hi,
       I am installing a squid proxy on a windows machine which has
parent proxy at 192.168.7.253.My ip address is 192.168.7.232.My prixy
listens on port 8080 and parent proxy listens on port 3128.But its not
working.Below are all non-commented lines in my configuration files:

<snipped all the non-relevant parts.>

icp_access allow localnet
icp_access deny all

http_port 8080

cache_peer 192.168.7.236 sibling 3128 3130 no-query weight=10
cache_peer 192.168.7.253 parent 8080 3130 no-query proxy-only no-digest default
cache_peer_access 192.168.7.236 allow all

hierarchy_stoplist cgi-bin ?

announce_period 1 day
 icp_port 3130
 nonhierarchical_direct off

Um, a few points:
* specifying "no-query" prevents the above configure proxy from sending ICP and HTCP to its peers. The port 3130 on those cache_peer lines can be set to 0 to do the same.

* you configured port 8080 as the contact port for a parent proxy you say is listening on 3128.

* you specify "nonhierarchical_direct off" and "never_direct deny all"
meaning all requests may go direct bypassing the parent, except those matching the regex patterns in "hierarchy_stoplist". To force all requests to go via one of the peers set "never_direct allow all" and remove hierarchy_stoplist

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE7 or 3.0.STABLE24
  Current Beta Squid 3.1.0.17

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

  Powered by Linux