<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-22482</id>
	<title>Nabble - Squid - Users</title>
	<updated>2009-12-19T20:24:24Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Squid---Users-f22482.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Squid---Users-f22482.html" />
	<subtitle type="html">General discussion relating to &lt;a href=&quot;http://www.squid-cache.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Squid&lt;/a&gt;. The membership of this list is thousands of Squid users from around the world. As with most mailing lists, we don't like it when different people keep asking the same questions. If you have a question for Squid users, there is a good chance that others have also had the same question. Therefore, it is a good idea to check the &lt;a href=&quot;http://www.squid-cache.org/Doc/FAQ/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Squid FAQ&lt;/a&gt;&amp;nbsp;before posting a message. If you don't find an answer in the FAQ, you should also probably check the mail archive (select one below) or try the Squid-Cache.org &lt;a href=&quot;http://www.squid-cache.org/cgi-bin/swish-query.cgi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Search Function&lt;/a&gt;. Questions about Squid features and configuration questions are welcome here. Also, this is a good list for suspected bugs. If you have a confirmed bug, please report it to our &lt;a href=&quot;http://www.squid-cache.org/bugs/index.cgi&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug Database&lt;/a&gt;&amp;nbsp;or squid-bugs@squid-cache.org.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26860928</id>
	<title>Trying to authenticate a user only once per working day</title>
	<published>2009-12-19T20:24:24Z</published>
	<updated>2009-12-19T20:24:24Z</updated>
	<author>
		<name>Rodrigo Castanheira</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I wish to authenticate (NTLM) our users only once per working day:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; authenticate_ip_shortcircuit_ttl 8 hours
&lt;br&gt;&lt;br&gt;When the user browses for the first time, he will be authenticated and his 
&lt;br&gt;IP will be cached so that, for the next 8 hours, Squid believes that 
&lt;br&gt;requests coming from this IP belong to that user. Now comes the tricky part: 
&lt;br&gt;if that user logs off and somebody else logs in before those 8 hours expire, 
&lt;br&gt;Squid would mistakenly associate the same IP with the previous identity. As 
&lt;br&gt;our IE browsers are pre-configured with a standard home page, and the new 
&lt;br&gt;user couldn't avoid opening it before being able to go elsewhere, I tried 
&lt;br&gt;enforcing (re)authentication for the home page:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; acl HOME_PAGE url_regex -i homepage.intranet
&lt;br&gt;&amp;nbsp; &amp;nbsp; authenticate_ip_shortcircuit_access deny HOME_PAGE
&lt;br&gt;&lt;br&gt;It didn't work.
&lt;br&gt;Does authenticate_ip_shortcircuit_access accept only IP acl's ?
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trying-to-authenticate-a-user-only-once-per-working-day-tp26860928p26860928.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26856751</id>
	<title>cache_peer and HTTP/1.1 in squid3</title>
	<published>2009-12-19T09:03:25Z</published>
	<updated>2009-12-19T09:03:25Z</updated>
	<author>
		<name>Oliver Kindernay</name>
	</author>
	<content type="html">Hi, I have webservers on virtual interfaces and SQUID3 in accelerator
&lt;br&gt;on interface with public IP on port 80. I am using &amp;quot;cache_peer&amp;quot; to
&lt;br&gt;forward request to webservers from internet.
&lt;br&gt;This is what I have in configuration file
&lt;br&gt;&lt;br&gt;cache_peer 192.168.0.1 parent 80 0 no-query originserver no-digest name=server1
&lt;br&gt;cache_peer 192.168.0.2 parent 80 0 no-query originserver no-digest name=server2
&lt;br&gt;&lt;br&gt;acl srvone dstdomain binpot.eu
&lt;br&gt;http_access allow srvone
&lt;br&gt;cache_peer_access server1 allow srvone
&lt;br&gt;cache_peer_access server1 deny all
&lt;br&gt;&lt;br&gt;acl srvtwo dstdomain parky.binpot.eu
&lt;br&gt;http_access allow srvtwo
&lt;br&gt;cache_peer_access server2 allow srvtwo
&lt;br&gt;cache_peer_access server2 deny all
&lt;br&gt;&lt;br&gt;It works, but it uses HTTP 1.0 for contact webservers. I want to use
&lt;br&gt;HTTP 1.1. How to achieve this? Or better, how to just forward
&lt;br&gt;_unchanged request_ &amp;nbsp;from internet to webserver and than &amp;nbsp;_unchanged
&lt;br&gt;request_ &amp;nbsp;from webserver to client? I know squid 2.6 has some
&lt;br&gt;experimental HTTP 1.1 support for this, but I want to use squid3.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/cache_peer-and-HTTP-1.1-in-squid3-tp26856751p26856751.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26850252</id>
	<title>R: [squid-users] NTLM v2</title>
	<published>2009-12-18T13:54:02Z</published>
	<updated>2009-12-18T13:54:02Z</updated>
	<author>
		<name>Guido Serassio</name>
	</author>
	<content type="html">Hi, 
&lt;br&gt;&lt;br&gt;You are already using NTLMv2.
&lt;br&gt;&lt;br&gt;As you can read in the provided documentation, mswin_ntlm_auth.exe supports both NTLM/NTLMv2.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;&lt;br&gt;Guido Serassio
&lt;br&gt;Acme Consulting S.r.l.
&lt;br&gt;Microsoft Gold Certified Partner
&lt;br&gt;Via Lucia Savarino, 1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10098 - Rivoli (TO) - ITALY
&lt;br&gt;Tel. : +39.011.9530135 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Fax. : +39.011.9781115
&lt;br&gt;Email: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26850252&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;guido.serassio@...&lt;/a&gt;
&lt;br&gt;WWW: &lt;a href=&quot;http://www.acmeconsulting.it&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.acmeconsulting.it&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Messaggio originale-----
&lt;br&gt;&amp;gt; Da: Ho, Oiling [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26850252&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;oiling.ho@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Inviato: venerdì 18 dicembre 2009 22.20
&lt;br&gt;&amp;gt; A: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26850252&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squid-users@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Oggetto: [squid-users] NTLM v2
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am running squid 2.7 on windows and it is configured to use NTLM
&lt;br&gt;&amp;gt; authentication. Does any know how to configure it to use NTLM v2 on
&lt;br&gt;&amp;gt; windows?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Oiling
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ==========================================================================
&lt;br&gt;&amp;gt; =====
&lt;br&gt;&amp;gt; &amp;nbsp;Please access the attached hyperlink for an important electronic
&lt;br&gt;&amp;gt; communications disclaimer:
&lt;br&gt;&amp;gt; &amp;nbsp;&lt;a href=&quot;http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ==========================================================================
&lt;br&gt;&amp;gt; =====
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NTLM-v2-tp26849917p26850252.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26849917</id>
	<title>NTLM v2</title>
	<published>2009-12-18T13:19:31Z</published>
	<updated>2009-12-18T13:19:31Z</updated>
	<author>
		<name>Ho, Oiling</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I am running squid 2.7 on windows and it is configured to use NTLM
&lt;br&gt;authentication. Does any know how to configure it to use NTLM v2 on
&lt;br&gt;windows?
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Oiling
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;=============================================================================== 
&lt;br&gt;&amp;nbsp;Please access the attached hyperlink for an important electronic communications disclaimer: 
&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;=============================================================================== 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/NTLM-v2-tp26849917p26849917.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26847595</id>
	<title>Problems with squid_ldap_auth</title>
	<published>2009-12-18T10:18:39Z</published>
	<updated>2009-12-18T10:18:39Z</updated>
	<author>
		<name>Ricardo Souza-3</name>
	</author>
	<content type="html">HI,
&lt;br&gt;&lt;br&gt;i installed squid-3.1.0.15 from ports on &amp;nbsp;FreeBSD 7.2-RELEASE-p4.
&lt;br&gt;&lt;br&gt;I am trying to integrate it with Active Directory ( windows 2008 ).
&lt;br&gt;&lt;br&gt;Cache.log didnt show any erros but when i try to access any site it
&lt;br&gt;ask my username and password but i cannot authenticate myself.
&lt;br&gt;&lt;br&gt;At squid.conf &amp;nbsp;i have this lines:
&lt;br&gt;&lt;br&gt;# As linhas abaixo se referem a autenticacao de users no AD
&lt;br&gt;auth_param basic program /usr/local/libexec/squid/squid_ldap_auth -b
&lt;br&gt;&amp;quot;DC=autopass&amp;quot; -D &amp;quot;cn=autopass\squid,DC=autopass&amp;quot; -w &amp;quot;mypass&amp;quot; -h
&lt;br&gt;192.168.9.12:389
&lt;br&gt;&lt;br&gt;# ACL externa para autentica\xe7\xe3o nas bases LDAP do PDC
&lt;br&gt;external_acl_type ldap_group %LOGIN
&lt;br&gt;/usr/local/libexec/squid/squid_ldap_group -R -b &amp;quot;dc=autopass&amp;quot; -D &amp;quot;cn
&lt;br&gt;=squid,ou=Users,dc=autopass&amp;quot; -w &amp;quot;mypass&amp;quot; -f
&lt;br&gt;&amp;quot;(&amp;(objectclass=person)(sAMAccountName=%v)(memberof=cn=
&lt;br&gt;%a,ou=Autopass_Internet,dc=autopass))&amp;quot; -h 192.168.9.12
&lt;br&gt;&lt;br&gt;When I &amp;nbsp;run this at console i got no reply.
&lt;br&gt;&lt;br&gt;/usr/local/libexec/squid/squid_ldap_auth -b &amp;quot;DC=autopass&amp;quot; -D
&lt;br&gt;&amp;quot;cn=autopass\squid,DC=autopass&amp;quot; -w &amp;quot;mypass&amp;quot; -h 192.168.9.12:389
&lt;br&gt;&lt;br&gt;I cant use ldapsearch too.
&lt;br&gt;&lt;br&gt;caos# ldapsearch -b &amp;quot;DC=autopass&amp;quot; -D &amp;quot;cn=autopass\squid,DC=autopass&amp;quot;
&lt;br&gt;-w &amp;quot;mypass&amp;quot; -h 192.168.9.12:389
&lt;br&gt;ldap_bind: Invalid credentials (49)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; additional info: 80090308: LdapErr: DSID-0C0903AA, comment:
&lt;br&gt;AcceptSecurityContext error, data 525, v1772
&lt;br&gt;caos#
&lt;br&gt;&lt;br&gt;&lt;br&gt;access.log
&lt;br&gt;192.168.9.173 - rasouza [18/Dec/2009:15:33:29 -0200] &amp;quot;GET
&lt;br&gt;&lt;a href=&quot;http://www.google.com.br/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com.br/&lt;/a&gt;&amp;nbsp;HTTP/1.1&amp;quot; 407 4345 TCP_DENIED:NONE
&lt;br&gt;192.168.9.173 - rasouza [18/Dec/2009:15:33:29 -0200] &amp;quot;GET
&lt;br&gt;&lt;a href=&quot;http://www.google.com.br/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com.br/&lt;/a&gt;&amp;nbsp;HTTP/1.1&amp;quot; 407 4345 TCP_DENIED:NONE
&lt;br&gt;192.168.9.173 - rasouza [18/Dec/2009:15:33:31 -0200] &amp;quot;GET
&lt;br&gt;&lt;a href=&quot;http://www.google.com.br/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.google.com.br/&lt;/a&gt;&amp;nbsp;HTTP/1.1&amp;quot; 407 4345 TCP_DENIED:NONE
&lt;br&gt;&lt;br&gt;&lt;br&gt;No firewalls, i can access port 389 of my AD.
&lt;br&gt;&lt;br&gt;Can anyone help me please?
&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problems-with-squid_ldap_auth-tp26847595p26847595.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26844096</id>
	<title>RE: Digest authentication not working</title>
	<published>2009-12-18T06:14:55Z</published>
	<updated>2009-12-18T06:14:55Z</updated>
	<author>
		<name>Ho, Oiling</name>
	</author>
	<content type="html">I cannot connect to the internet via squid anymore, I got &amp;quot;Access
&lt;br&gt;Denied&amp;quot; using squidclient, it works if I am using Basic.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Amos Jeffries [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26844096&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squid3@...&lt;/a&gt;] 
&lt;br&gt;Sent: Thursday, December 17, 2009 7:11 PM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26844096&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squid-users@...&lt;/a&gt;
&lt;br&gt;Subject: Re: [squid-users] Digest authentication not working
&lt;br&gt;&lt;br&gt;Ho, Oiling wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I setup squid on my PC as my proxy server, I am able to run the squid 
&lt;br&gt;&amp;gt; client to access the internet. However, when I configure it to use 
&lt;br&gt;&amp;gt; digest authentication, it stops working, this is in my squid.conf:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; auth_param digest program c:/squid/libexec/digest_pw_auth.exe
&lt;br&gt;&amp;gt; c:/squid/etc/digest_password
&lt;br&gt;&amp;gt; auth_param digest children 5
&lt;br&gt;&amp;gt; auth_param digest realm Squid proxy-caching web server auth_param 
&lt;br&gt;&amp;gt; digest nonce_garbage_interval 5 minutes auth_param digest 
&lt;br&gt;&amp;gt; nonce_max_duration 30 minutes auth_param digest nonce_max_count 50
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; acl authenticated proxy_auth REQUIRED
&lt;br&gt;&amp;gt; http_access allow authenticated
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I used htdigest and created a password file, does anyone know what is 
&lt;br&gt;&amp;gt; wrong?
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Please define &amp;quot;stops working&amp;quot;. Does the PC turn off or what?
&lt;br&gt;&lt;br&gt;Amos
&lt;br&gt;--
&lt;br&gt;Please be using
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Beta Squid 3.1.0.15
&lt;br&gt;&lt;br&gt;=============================================================================== 
&lt;br&gt;&amp;nbsp;Please access the attached hyperlink for an important electronic communications disclaimer: 
&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;=============================================================================== 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Digest-authentication-not-working-tp26833589p26844096.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26841271</id>
	<title>RE: any work arounds for bug 2176</title>
	<published>2009-12-18T01:47:28Z</published>
	<updated>2009-12-18T01:47:28Z</updated>
	<author>
		<name>bill.allison</name>
	</author>
	<content type="html">Reposted for info to the list, without the attachments that cause the list to bounce the message
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Bill Allison 
&lt;br&gt;Sent: 18 December 2009 09:43
&lt;br&gt;To: 'Amos Jeffries'; Brett Lymn
&lt;br&gt;Cc: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26841271&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squid-users@...&lt;/a&gt;
&lt;br&gt;Subject: RE: [squid-users] any work arounds for bug 2176
&lt;br&gt;&lt;br&gt;&amp;quot;I &amp;nbsp;get the same error as Brett only when the body of the post is much greater than that which causes the post to fail.&amp;quot;
&lt;br&gt;&lt;br&gt;Correction after further testing...
&lt;br&gt;&lt;br&gt;I &amp;nbsp;get the same error as Brett only when the body of the post is much greater than that which causes the post to fail, and even then only sometimes, in repeated tests with the same file being uploaded. 
&lt;br&gt;&lt;br&gt;Other times the browser reports &amp;quot;The connection was reset&amp;quot; and tcpdump shows that the proxy sent a FIN to the server then to the client in response to the second 401 from the server. THe server closes the connection but the client continues sending a POST and the proxy then sends the client a string of RSTs. 
&lt;br&gt;&lt;br&gt;For info &amp;quot;Invalid Verb&amp;quot; is issued by http.sys in IIS 6.0, in response to receiving a header that is not strictly rfc-compliant (including truncated).
&lt;br&gt;&lt;br&gt;Attached as requested is my squid.conf and tcpdumps of the Invalid Verb and RST failure cases.
&lt;br&gt;&lt;br&gt;Unlike Brett I'm very much a novice C coder but I'm perfectly happy to patch, compile and test if it helps generate a solution.
&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Bill A.
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Amos Jeffries [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26841271&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squid3@...&lt;/a&gt;]
&lt;br&gt;Sent: 17 December 2009 09:10
&lt;br&gt;To: Brett Lymn
&lt;br&gt;Cc: Bill Allison; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26841271&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squid-users@...&lt;/a&gt;
&lt;br&gt;Subject: Re: [squid-users] any work arounds for bug 2176
&lt;br&gt;&lt;br&gt;Brett Lymn wrote:
&lt;br&gt;&amp;gt; On Wed, Dec 16, 2009 at 07:57:21AM -0600, Bill Allison wrote:
&lt;br&gt;&amp;gt;&amp;gt; Sorry - that was misleading. I've had 
&lt;br&gt;&amp;gt;&amp;gt; persistent_connection_after_error set on throughout my testing.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I don't have that in my config file at all so I would guess it is at 
&lt;br&gt;&amp;gt; the default.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Which is off. Now I'm confused.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; I &amp;nbsp;get the same error as Brett only when the body of the post is much greater than that which causes the post to fail.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I only tried a large-ish document. &amp;nbsp;We did observe the same strange 
&lt;br&gt;&amp;gt; limit that Bill has seen when we tested without the patch applied, 
&lt;br&gt;&amp;gt; under a certain &amp;quot;magic&amp;quot; threshold the document would upload - the 
&lt;br&gt;&amp;gt; threshold seemed to be around the 50k mark, over that threshold we 
&lt;br&gt;&amp;gt; would just get popups.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I'd like to correlate network traces with debug output and would 
&lt;br&gt;&amp;gt;&amp;gt; appreciate suggestions as to which debug_options would include all 
&lt;br&gt;&amp;gt;&amp;gt; possibly relevant info
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am a C coder and may have some time to do some debugging on this 
&lt;br&gt;&amp;gt; between christmas and new year so, Amos, if you have any thoughts or 
&lt;br&gt;&amp;gt; hints as to where to go looking I can certainly have a stab at it.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Thank you. Any help at all would be great.
&lt;br&gt;&lt;br&gt;I *think* the relevant code is off src/client_side_reply.cc, but what to look for is where I'm currently stuck. The keep_alive values resolved things for you Brett but not Bill.
&lt;br&gt;&lt;br&gt;&lt;br&gt;The variable nature of the threshold looks like some timing between actions triggering the bug vs the rate at which Squid is sucking the request in.
&lt;br&gt;&lt;br&gt;AFAIK popups only occur when the client gets sent two re-auth challenges. Which in the un-patched Squid was caused by the first half-authenticated link being closed by Squid before auth could complete. Then the second link being challenged for more auth would cause popup.
&lt;br&gt;&lt;br&gt;I think the next step is to find out what the difference between your two setups is exactly:
&lt;br&gt;&amp;nbsp; * squid.conf
&lt;br&gt;&amp;nbsp; * headers between Squid and the POSTing app.
&lt;br&gt;&amp;nbsp; * headers between Squid and the web server.
&lt;br&gt;&lt;br&gt;Particularly in what reply headers are going back. &amp;nbsp;That should give us a little more of an idea what areas to look at.
&lt;br&gt;&lt;br&gt;If as you say the patch solved the issue but you saw the same thing earlier. Then I suspects it's probably a squid.conf detail being overlooked.
&lt;br&gt;&lt;br&gt;Amos
&lt;br&gt;--
&lt;br&gt;Please be using
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Beta Squid 3.1.0.15
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/any-work-arounds-for-bug-2176-tp26603291p26841271.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26840014</id>
	<title>[ASK ] forwards and still carried src_address client??</title>
	<published>2009-12-17T23:16:45Z</published>
	<updated>2009-12-17T23:16:45Z</updated>
	<author>
		<name>jajaka hejo</name>
	</author>
	<content type="html">hi...
&lt;br&gt;can my squid forwards the packet from client and still carried
&lt;br&gt;src_address client to my router???
&lt;br&gt;&lt;br&gt;regard and sorry for my bad english :D
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-ASK---forwards-and-still-carried-src_address-client---tp26840014p26840014.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26837242</id>
	<title>Re: Digest authentication not working</title>
	<published>2009-12-17T16:11:18Z</published>
	<updated>2009-12-17T16:11:18Z</updated>
	<author>
		<name>Amos Jeffries-2</name>
	</author>
	<content type="html">Ho, Oiling wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I setup squid on my PC as my proxy server, I am able to run the squid
&lt;br&gt;&amp;gt; client to access the internet. However, when I configure it to use
&lt;br&gt;&amp;gt; digest authentication, it stops working, this is in my squid.conf:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; auth_param digest program c:/squid/libexec/digest_pw_auth.exe
&lt;br&gt;&amp;gt; c:/squid/etc/digest_password
&lt;br&gt;&amp;gt; auth_param digest children 5
&lt;br&gt;&amp;gt; auth_param digest realm Squid proxy-caching web server
&lt;br&gt;&amp;gt; auth_param digest nonce_garbage_interval 5 minutes
&lt;br&gt;&amp;gt; auth_param digest nonce_max_duration 30 minutes
&lt;br&gt;&amp;gt; auth_param digest nonce_max_count 50
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; acl authenticated proxy_auth REQUIRED
&lt;br&gt;&amp;gt; http_access allow authenticated
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I used htdigest and created a password file, does anyone know what is
&lt;br&gt;&amp;gt; wrong? 
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Please define &amp;quot;stops working&amp;quot;. Does the PC turn off or what?
&lt;br&gt;&lt;br&gt;Amos
&lt;br&gt;-- 
&lt;br&gt;Please be using
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Beta Squid 3.1.0.15
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Digest-authentication-not-working-tp26833589p26837242.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26837215</id>
	<title>Re: Reverce proxy setup with neighboor support</title>
	<published>2009-12-17T16:07:22Z</published>
	<updated>2009-12-17T16:07:22Z</updated>
	<author>
		<name>Amos Jeffries-2</name>
	</author>
	<content type="html">Nikolaos Pavlidis wrote:
&lt;br&gt;&amp;gt; Hello all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Many thanks for the responses so far, I gave it a go without much
&lt;br&gt;&amp;gt; success unfortunatelly.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The errors:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 2009/12/17 15:20:00| icmpSend: send: (111) Connection refused
&lt;br&gt;&amp;gt; 2009/12/17 15:20:00| Closing Pinger socket on FD 18
&lt;br&gt;&lt;br&gt;The 'pinger' helper used to measure the optimal network link speeds and 
&lt;br&gt;distances needs to be installed specially with root privileges.
&lt;br&gt;For self-installs it's done with &amp;quot;make install-pinger&amp;quot; for packaged 
&lt;br&gt;builds you may need to chown and chmod manually.
&lt;br&gt;&lt;br&gt;This is not a critical failure. It will only result in some lack of 
&lt;br&gt;optimal path discovery.
&lt;br&gt;&lt;br&gt;&amp;gt; 2009/12/17 15:20:02| WARNING: Forwarding loop detected for:
&lt;br&gt;&amp;gt; Client: &amp;lt;cache1_IP&amp;gt; http_port: &amp;lt;cache2_IP&amp;gt;:80
&lt;br&gt;&lt;br&gt;You appear to have missed the part about preventing requests from the 
&lt;br&gt;peer being sent back there.
&lt;br&gt;&lt;br&gt;Or possibly unique_hostname is set to identical values on both Squid. 
&lt;br&gt;The default is for it to be set to the content of visible_hostname.
&lt;br&gt;&lt;br&gt;Amos
&lt;br&gt;-- 
&lt;br&gt;Please be using
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Beta Squid 3.1.0.15
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reverce-proxy-setup-with-neighboor-support-tp26809997p26837215.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26837142</id>
	<title>Re: Bug 2307 - fully qualified users LDAP domain in ICAP header</title>
	<published>2009-12-17T15:58:37Z</published>
	<updated>2009-12-17T15:58:37Z</updated>
	<author>
		<name>Amos Jeffries-2</name>
	</author>
	<content type="html">Declan Caffrey wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://bugs.squid-cache.org/show_bug.cgi?id=2307&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugs.squid-cache.org/show_bug.cgi?id=2307&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Does anyone know if this was ever implemented and if so what Release ?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;The bug is still open so the short answer is:
&lt;br&gt;&amp;nbsp; &amp;nbsp; No. Nobody has submitted a patch to implement that.
&lt;br&gt;&lt;br&gt;Amos
&lt;br&gt;-- 
&lt;br&gt;Please be using
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Beta Squid 3.1.0.15
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-2307---fully-qualified-users-LDAP-domain-in-ICAP-header-tp26831175p26837142.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26834977</id>
	<title>Re: Trying to cache Google Earth content with URL rewrite</title>
	<published>2009-12-17T13:04:12Z</published>
	<updated>2009-12-17T13:04:12Z</updated>
	<author>
		<name>Jefferson Diego Gomes</name>
	</author>
	<content type="html">Em 17-12-2009 12:47, Jeremy LeBeau escreveu:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I am trying to use the Store URL Rewrite feature to allow a squid
&lt;br&gt;&amp;gt; server to cache Google Earth content for a low bandwidth installation.
&lt;br&gt;&amp;gt; &amp;nbsp; When I make the changes in the docs
&lt;br&gt;&amp;gt; (&lt;a href=&quot;http://wiki.squid-cache.org/Features/StoreUrlRewrite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.squid-cache.org/Features/StoreUrlRewrite&lt;/a&gt;), squid crashes
&lt;br&gt;&amp;gt; after starting. &amp;nbsp;From the log, it appears that the helper as written
&lt;br&gt;&amp;gt; is causing problems. &amp;nbsp;Any suggestions as to what is wrong?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Here is the info that I get in the log after startup:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Starting Squid Cache version 2.7.STABLE6 for
&lt;br&gt;&amp;gt; amd64-debian-linux-gnu...
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Process ID 1691
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| With 1024 file descriptors available
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Using epoll for the IO loop
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| DNS Socket created at 0.0.0.0, port 56901, FD 6
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Adding domain IonaGroup.local from /etc/resolv.conf
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Adding domain IonaGroup.local from /etc/resolv.conf
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Adding nameserver 192.168.3.1 from /etc/resolv.conf
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| helperOpenServers: Starting 5 'store_url_rewrite' processes
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 1: $: not found
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 1: =: not found
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 3: Syntax error: &amp;quot;)&amp;quot; unexpected
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| User-Agent logging is disabled.
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Referer logging is disabled.
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 1: $: not found
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 1: =: not found
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 3: Syntax error: &amp;quot;)&amp;quot; unexpected
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 1: $: not found
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| logfileOpen: opening log /var/log/squid/access.log
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 1: =: not found
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 1:
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 3: $: not foundSyntax error:
&lt;br&gt;&amp;gt; &amp;quot;)&amp;quot; unexpected
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 1: =: not found
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 3: Syntax error: &amp;quot;)&amp;quot; unexpected
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 1: $: not found
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 1: =: not found
&lt;br&gt;&amp;gt; /usr/local/squidhelper/store_url_rewrite: 3: Syntax error: &amp;quot;)&amp;quot; unexpected
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Unlinkd pipe opened on FD 16
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Swap maxSize 102400 + 8192 KB, estimated 8507 objects
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Target number of buckets: 425
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Using 8192 Store buckets
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Max Mem &amp;nbsp;size: 8192 KB
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Max Swap size: 102400 KB
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Local cache digest enabled; rebuild/rewrite every
&lt;br&gt;&amp;gt; 3600/3600 sec
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| logfileOpen: opening log /var/log/squid/store.log
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Rebuilding storage in /var/spool/squid (DIRTY)
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Using Least Load store dir selection
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Set Current Directory to /var/spool/squid
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Loaded Icons.
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Accepting proxy HTTP connections at 0.0.0.0, port
&lt;br&gt;&amp;gt; 3128, FD 18.
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Accepting ICP messages at 0.0.0.0, port 3130, FD 19.
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| HTCP Disabled.
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| WCCP Disabled.
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Ready to serve requests.
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| WARNING: store_rewriter #1 (FD 7) exited
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| WARNING: store_rewriter #2 (FD 8) exited
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| WARNING: store_rewriter #3 (FD 9) exited
&lt;br&gt;&amp;gt; 2009/12/17 08:42:01| Too few store_rewriter processes are running
&lt;br&gt;&amp;gt; FATAL: The store_rewriter helpers are crashing too rapidly, need help!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Squid Cache (Version 2.7.STABLE6): Terminated abnormally.
&lt;br&gt;&amp;gt; CPU Usage: 0.020 seconds = 0.000 user + 0.020 sys
&lt;br&gt;&amp;gt; Maximum Resident Size: 0 KB
&lt;br&gt;&amp;gt; Page faults with physical i/o: 0
&lt;br&gt;&amp;gt; Memory usage for squid via mallinfo():
&lt;br&gt;&amp;gt; 	total space in arena: &amp;nbsp; &amp;nbsp;2380 KB
&lt;br&gt;&amp;gt; 	Ordinary blocks: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2321 KB &amp;nbsp; &amp;nbsp; &amp;nbsp;5 blks
&lt;br&gt;&amp;gt; 	Small blocks: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 KB &amp;nbsp; &amp;nbsp; &amp;nbsp;1 blks
&lt;br&gt;&amp;gt; 	Holding blocks: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 396 KB &amp;nbsp; &amp;nbsp; &amp;nbsp;1 blks
&lt;br&gt;&amp;gt; 	Free Small blocks: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 KB
&lt;br&gt;&amp;gt; 	Free Ordinary blocks: &amp;nbsp; &amp;nbsp; &amp;nbsp;58 KB
&lt;br&gt;&amp;gt; 	Total in use: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2717 KB 98%
&lt;br&gt;&amp;gt; 	Total free: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;59 KB 2%
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;/div&gt;Edit your /usr/local/squidhelper/store_url_rewrite, and add '#! 
&lt;br&gt;/usr/bin/perl' (without quotes) as it's first line.
&lt;br&gt;(Sorry by my english. I'm brazilian)
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trying-to-cache-Google-Earth-content-with-URL-rewrite-tp26829155p26834977.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26833589</id>
	<title>Digest authentication not working</title>
	<published>2009-12-17T11:25:00Z</published>
	<updated>2009-12-17T11:25:00Z</updated>
	<author>
		<name>Ho, Oiling</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I setup squid on my PC as my proxy server, I am able to run the squid
&lt;br&gt;client to access the internet. However, when I configure it to use
&lt;br&gt;digest authentication, it stops working, this is in my squid.conf:
&lt;br&gt;&lt;br&gt;auth_param digest program c:/squid/libexec/digest_pw_auth.exe
&lt;br&gt;c:/squid/etc/digest_password
&lt;br&gt;auth_param digest children 5
&lt;br&gt;auth_param digest realm Squid proxy-caching web server
&lt;br&gt;auth_param digest nonce_garbage_interval 5 minutes
&lt;br&gt;auth_param digest nonce_max_duration 30 minutes
&lt;br&gt;auth_param digest nonce_max_count 50
&lt;br&gt;&lt;br&gt;acl authenticated proxy_auth REQUIRED
&lt;br&gt;http_access allow authenticated
&lt;br&gt;&lt;br&gt;I used htdigest and created a password file, does anyone know what is
&lt;br&gt;wrong? 
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Oiling
&lt;br&gt;&lt;br&gt;=============================================================================== 
&lt;br&gt;&amp;nbsp;Please access the attached hyperlink for an important electronic communications disclaimer: 
&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;=============================================================================== 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Digest-authentication-not-working-tp26833589p26833589.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26831175</id>
	<title>Bug 2307 - fully qualified users LDAP domain in ICAP header</title>
	<published>2009-12-17T08:46:38Z</published>
	<updated>2009-12-17T08:46:38Z</updated>
	<author>
		<name>Declan Caffrey</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://bugs.squid-cache.org/show_bug.cgi?id=2307&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bugs.squid-cache.org/show_bug.cgi?id=2307&lt;/a&gt;&lt;br&gt;&lt;br&gt;Does anyone know if this was ever implemented and if so what Release ?
&lt;br&gt;&lt;br&gt;If this isn't the best forum for this please point me in the right
&lt;br&gt;direction.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Declan.
&lt;br&gt;&lt;br&gt;************************************************
&lt;br&gt;The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, you are notified that any disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. 
&lt;br&gt;&lt;br&gt;Any views, opinions or advice contained in this e-mail are those of the sending individual and not necessarily those of the firm. It is possible for data transmitted by e-mail to be deliberately or accidentally corrupted or intercepted. 
&lt;br&gt;&lt;br&gt;For this reason where the communication is by e-mail, J&amp;E Davy does not accept any responsibility for any breach of confidence which may arise from the use of this medium. If you have received this e-mail in error please notify us immediately at mailto: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26831175&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;helpdesk@...&lt;/a&gt; and delete this e-mail from your system
&lt;br&gt;************************************************
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-2307---fully-qualified-users-LDAP-domain-in-ICAP-header-tp26831175p26831175.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26830261</id>
	<title>Re: Reverce proxy setup with neighboor support</title>
	<published>2009-12-17T07:49:30Z</published>
	<updated>2009-12-17T07:49:30Z</updated>
	<author>
		<name>Nikolaos Pavlidis</name>
	</author>
	<content type="html">Hello all,
&lt;br&gt;&lt;br&gt;Many thanks for the responses so far, I gave it a go without much
&lt;br&gt;success unfortunatelly.
&lt;br&gt;&lt;br&gt;The errors:
&lt;br&gt;&lt;br&gt;2009/12/17 15:20:00| icmpSend: send: (111) Connection refused
&lt;br&gt;2009/12/17 15:20:00| Closing Pinger socket on FD 18
&lt;br&gt;2009/12/17 15:20:02| WARNING: Forwarding loop detected for:
&lt;br&gt;Client: &amp;lt;cache1_IP&amp;gt; http_port: &amp;lt;cache2_IP&amp;gt;:80
&lt;br&gt;&lt;br&gt;&lt;br&gt;On Thu, 2009-12-17 at 10:00 +1300, Amos Jeffries wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Wed, 16 Dec 2009 11:50:26 +0000, &amp;quot;Nikolaos Pavlidis&amp;quot;
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26830261&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nikolaos.Pavlidis@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hello all,
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I figured the easiest way to describe what I am trying to do is to...
&lt;br&gt;&amp;gt; &amp;gt; draw it. First of all pardon my ignorance since I am relatively new to
&lt;br&gt;&amp;gt; &amp;gt; squid. Any help will be much appreciated.
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; The Problem:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Dec &amp;nbsp;9 17:42:35 cache2 squid[27234]: WARNING: Forwarding loop detected
&lt;br&gt;&amp;gt; &amp;gt; for: Client: &amp;lt;cache1_IP&amp;gt; http_port: &amp;lt;cache2_IP&amp;gt;:3128 GET
&lt;br&gt;&amp;gt; &amp;gt; internal://site1.domain.com/squid-internal-dynamic/netdb HTTP/1.0 &amp;nbsp;Via:
&lt;br&gt;&amp;gt; &amp;gt; 1.0 site1.domain.com:80 (squid) &amp;nbsp;X-Forwarded-For: unknown &amp;nbsp;Host:
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;cache2_IP&amp;gt;:3128 &amp;nbsp;Cache-Control: max-age=259200 &amp;nbsp;Connection:
&lt;br&gt;&amp;gt; &amp;gt; keep-alive &amp;nbsp; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Reverse proxy Setup:
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; 		O F5 load balanced vhost 
&lt;br&gt;&amp;gt; &amp;gt; 		| &amp;nbsp;(DNS A name resolving site1.domain.com
&lt;br&gt;&amp;gt; &amp;gt; 		|			 site2.domain.com
&lt;br&gt;&amp;gt; &amp;gt; 		|			 site3.domain.com etc.)
&lt;br&gt;&amp;gt; &amp;gt; 		|
&lt;br&gt;&amp;gt; &amp;gt; 	|---------------|
&lt;br&gt;&amp;gt; &amp;gt; 	|		|
&lt;br&gt;&amp;gt; &amp;gt; 	|		|
&lt;br&gt;&amp;gt; &amp;gt; cache1	O---------------O cache2
&lt;br&gt;&amp;gt; &amp;gt; 		|
&lt;br&gt;&amp;gt; &amp;gt; 		|
&lt;br&gt;&amp;gt; &amp;gt; 		|
&lt;br&gt;&amp;gt; &amp;gt; 		|
&lt;br&gt;&amp;gt; &amp;gt; 	O---------------O--------------O
&lt;br&gt;&amp;gt; &amp;gt; 	web1		web2		web3
&lt;br&gt;&amp;gt; &amp;gt; 	site1		site3		site4
&lt;br&gt;&amp;gt; &amp;gt; 	site2				site5
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Desired path:
&lt;br&gt;&amp;gt; &amp;gt; 1. Request for site1
&lt;br&gt;&amp;gt; &amp;gt; 2. F5 load balances request to cache1
&lt;br&gt;&amp;gt; &amp;gt; 3. cache1 checks own cache
&lt;br&gt;&amp;gt; &amp;gt; 4. if NO-HIT check cache2
&lt;br&gt;&amp;gt; &amp;gt; 5. else go directly to web1
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Excellent. This is a basic reverse-proxy with virtual hosting.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The error you mentioned earlier indicates:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;1. Request for site1
&lt;br&gt;&amp;gt; &amp;nbsp;2. F5 load balances request to cache1
&lt;br&gt;&amp;gt; &amp;nbsp;3. cache1: checks own cache
&lt;br&gt;&amp;gt; &amp;nbsp;4. cache1: if NO-HIT check cache2
&lt;br&gt;&amp;gt; &amp;nbsp;5. cache2: if NO-HIT check cache1
&lt;br&gt;&amp;gt; &amp;nbsp;6. cache1: if NO-HIT check cache2 ... FAIL!!
&lt;br&gt;&amp;gt; &amp;nbsp;...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Server:
&lt;br&gt;&amp;gt; &amp;gt; 64bit SLES 11
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Configuration file (what I have done so far):
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; # NETWORK OPTIONS
&lt;br&gt;&amp;gt; &amp;gt; #
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; http_port 80 accel defaultsite=site1.domain.com vhost
&lt;br&gt;&amp;gt; &amp;gt; http_port 3128 accel defaultsite=site1.domain.com vhost
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; There should be no need for port 3128 to be reverse-proxy as well.
&lt;br&gt;&amp;gt; Dedicate that or another port to proxy-proxy communications.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Totally right, removed the whole line
&lt;br&gt;&amp;quot;http_port 3128 accel defaultsite=site1.domain.com vhost&amp;quot;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; visible_hostname site1.domain.com
&lt;br&gt;&amp;gt; &amp;gt; offline_mode off
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; # OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
&lt;br&gt;&amp;gt; &amp;gt; #
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; hierarchy_stoplist cgi-bin ?
&lt;br&gt;&amp;gt; &amp;gt; acl QUERY urlpath_regex cgi-bin \?
&lt;br&gt;&amp;gt; &amp;gt; no_cache deny QUERY
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; # OPTIONS WHICH AFFECT THE CACHE SIZE
&lt;br&gt;&amp;gt; &amp;gt; #
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; cache_mem 512 MB
&lt;br&gt;&amp;gt; &amp;gt; maximum_object_size 32 KB
&lt;br&gt;&amp;gt; &amp;gt; maximum_object_size_in_memory 64 Kb
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; # LOGFILE PATHNAMES AND CACHE DIRECTORIES
&lt;br&gt;&amp;gt; &amp;gt; #
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; cache_dir aufs /var/cache/squid 61440 16 256
&lt;br&gt;&amp;gt; &amp;gt; emulate_httpd_log on
&lt;br&gt;&amp;gt; &amp;gt; logfile_rotate 100
&lt;br&gt;&amp;gt; &amp;gt; logformat combined %&amp;gt;a %ui %un [%tl] &amp;quot;%rm %ru HTTP/%rv&amp;quot; %Hs %&amp;lt;st
&lt;br&gt;&amp;gt; &amp;gt; &amp;quot;%{Referer}&amp;gt;h&amp;quot; &amp;quot;%{User-Agent}&amp;gt;h&amp;quot; %Ss:%Sh
&lt;br&gt;&amp;gt; &amp;gt; access_log /var/log/squid/access.log combined
&lt;br&gt;&amp;gt; &amp;gt; cache_log /var/log/squid/cache.log
&lt;br&gt;&amp;gt; &amp;gt; cache_store_log /var/log/squid/store.log
&lt;br&gt;&amp;gt; &amp;gt; debug_options ALL,1,33,3,20,3
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; # OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
&lt;br&gt;&amp;gt; &amp;gt; #
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; auth_param basic children 10
&lt;br&gt;&amp;gt; &amp;gt; auth_param basic realm Squid proxy-caching web server
&lt;br&gt;&amp;gt; &amp;gt; auth_param basic credentialsttl 2 hours
&lt;br&gt;&amp;gt; &amp;gt; auth_param basic casesensitive off
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; # OPTIONS FOR TUNING THE CACHE
&lt;br&gt;&amp;gt; &amp;gt; #
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; refresh_pattern ^ftp: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1440 &amp;nbsp; &amp;nbsp;20% &amp;nbsp; &amp;nbsp; 10080
&lt;br&gt;&amp;gt; &amp;gt; refresh_pattern ^gopher: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1440 &amp;nbsp; &amp;nbsp;0% &amp;nbsp; &amp;nbsp; &amp;nbsp;1440
&lt;br&gt;&amp;gt; &amp;gt; refresh_pattern -i \.css &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1440 &amp;nbsp; &amp;nbsp;50% &amp;nbsp; &amp;nbsp; 2880 override-expire
&lt;br&gt;&amp;gt; &amp;gt; refresh_pattern -i \.swf &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1440 &amp;nbsp; &amp;nbsp;50% &amp;nbsp; &amp;nbsp; 2880 ignore-reload
&lt;br&gt;&amp;gt; &amp;gt; override-expire
&lt;br&gt;&amp;gt; &amp;gt; refresh_pattern . &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1440 &amp;nbsp; &amp;nbsp;50% &amp;nbsp; &amp;nbsp; 4320 override-expire
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; # ACCESS CONTROLS
&lt;br&gt;&amp;gt; &amp;gt; #
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; acl all src all
&lt;br&gt;&amp;gt; &amp;gt; acl manager proto cache_object
&lt;br&gt;&amp;gt; &amp;gt; acl localhost src 127.0.0.1/255.255.255.255
&lt;br&gt;&amp;gt; &amp;gt; acl to_localhost dst 127.0.0.0/8
&lt;br&gt;&amp;gt; &amp;gt; acl SSL_ports port 443 563
&lt;br&gt;&amp;gt; &amp;gt; acl Safe_ports port 80 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# http
&lt;br&gt;&amp;gt; &amp;gt; acl Safe_ports port 21 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# ftp
&lt;br&gt;&amp;gt; &amp;gt; acl Safe_ports port 443 563 &amp;nbsp; &amp;nbsp; # https, snews
&lt;br&gt;&amp;gt; &amp;gt; acl Safe_ports port 70 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# gopher
&lt;br&gt;&amp;gt; &amp;gt; acl Safe_ports port 210 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # wais
&lt;br&gt;&amp;gt; &amp;gt; acl Safe_ports port 1025-65535 &amp;nbsp;# unregistered ports
&lt;br&gt;&amp;gt; &amp;gt; acl Safe_ports port 280 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # http-mgmt
&lt;br&gt;&amp;gt; &amp;gt; acl Safe_ports port 488 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # gss-http
&lt;br&gt;&amp;gt; &amp;gt; acl Safe_ports port 591 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # filemaker
&lt;br&gt;&amp;gt; &amp;gt; acl Safe_ports port 777 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # multiling http 
&lt;br&gt;&amp;gt; &amp;gt; acl purge method PURGE
&lt;br&gt;&amp;gt; &amp;gt; acl CONNECT method CONNECT
&lt;br&gt;&amp;gt; &amp;gt; acl shoutcast rep_header X-HTTP09-First-Line ^ICY\s[0-9]
&lt;br&gt;&amp;gt; &amp;gt; upgrade_http0.9 deny shoutcast
&lt;br&gt;&amp;gt; &amp;gt; acl apache rep_header Server ^Apache
&lt;br&gt;&amp;gt; &amp;gt; broken_vary_encoding allow apache
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Part 1 of the problem:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; You are running a reverse-proxy. All of these initial http_access rules
&lt;br&gt;&amp;gt; are forward-proxy security restrictions. In the case of the &amp;quot;allow all&amp;quot; its
&lt;br&gt;&amp;gt; attempting to bypass the regular forward-proxy config by turning it into an
&lt;br&gt;&amp;gt; open proxy instead.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The reverse proxy config (your &amp;quot;UNIVERSITY SERVICES ENTRIES&amp;quot; settings)
&lt;br&gt;&amp;gt; need to be set right here above the forward-proxy config.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; http_access allow manager localhost
&lt;br&gt;&amp;gt; &amp;gt; http_access deny manager
&lt;br&gt;&amp;gt; &amp;gt; http_access allow purge localhost
&lt;br&gt;&amp;gt; &amp;gt; http_access deny purge
&lt;br&gt;&amp;gt; &amp;gt; http_access deny !Safe_ports
&lt;br&gt;&amp;gt; &amp;gt; http_access deny CONNECT !SSL_ports
&lt;br&gt;&amp;gt; &amp;gt; http_access allow localhost
&lt;br&gt;&amp;gt; &amp;gt; http_access allow all
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; With the reverse-proxy config in the right place you can turn the basic
&lt;br&gt;&amp;gt; security back on by changing that above line to &amp;quot;deny all&amp;quot;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; http_reply_access allow all
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; icp_access allow all
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; ##########################################
&lt;br&gt;&amp;gt; &amp;gt; ###### UNIVERSITY SERVICES ENTRIES &amp;nbsp;######
&lt;br&gt;&amp;gt; &amp;gt; ##########################################
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; cache_peer &amp;lt;web1_IP&amp;gt; parent 80 0 no-query originserver name=web1
&lt;br&gt;&amp;gt; &amp;gt; cache_peer &amp;lt;cache2_IP&amp;gt; parent 3128 3130 proxy-only default
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Part 2 of the problem:
&lt;br&gt;&amp;gt; &amp;nbsp;The above config indicates that cache2 is the primary web server (on port
&lt;br&gt;&amp;gt; 3128) with web1 as a backup source.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I believe your setup needs cache1 and cache2 in a sibling relationship as
&lt;br&gt;&amp;gt; 'alternative' backup sources of data to each other. Siblings are checked
&lt;br&gt;&amp;gt; before parents but a failure at sibling is not fatal to locating the file.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Also requests received in port 3128 (ie from a sibling) should be denied
&lt;br&gt;&amp;gt; forwarding to the sibling.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; acl sites_web1 dstdomain site1.domain.com site2.domain.com
&lt;br&gt;&amp;gt; &amp;gt; http_access allow sites_web1
&lt;br&gt;&amp;gt; &amp;gt; cache_peer_access web1 allow sites_web1
&lt;br&gt;&amp;gt; &amp;gt; cache_peer_access web1 deny all
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;/div&gt;Ok I gave it a go, looks like that:
&lt;br&gt;&lt;br&gt;&lt;br&gt;# reverce-proxy configuration
&lt;br&gt;#
&lt;br&gt;-----------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;cache_peer &amp;lt;web1_IP&amp;gt; parent 80 0 no-query originserver name=web1
&lt;br&gt;cache_peer &amp;lt;cache2_IP&amp;gt; sibling 80 3130 proxy-only
&lt;br&gt;acl sites_www dstdomain site1.domain.com site2.domain.com
&lt;br&gt;acl from_cache2 src &amp;lt;cache2_IP&amp;gt;
&lt;br&gt;cache_peer_access cache2 deny from_cache2
&lt;br&gt;http_access allow sites_web1
&lt;br&gt;cache_peer_access web1 allow sites_web1
&lt;br&gt;cache_peer_access web1 deny all
&lt;br&gt;&lt;br&gt;# forward-proxy security restrictions
&lt;br&gt;#
&lt;br&gt;-----------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;http_access allow manager localhost
&lt;br&gt;http_access deny manager
&lt;br&gt;http_access allow purge localhost
&lt;br&gt;http_access deny purge
&lt;br&gt;http_access deny !Safe_ports
&lt;br&gt;http_access deny CONNECT !SSL_ports
&lt;br&gt;http_access allow localhost
&lt;br&gt;http_access deny all
&lt;br&gt;&lt;br&gt;http_reply_access allow all
&lt;br&gt;acl cache2 src &amp;lt;cache2_IP&amp;gt;
&lt;br&gt;icp_access allow cache2
&lt;br&gt;icp_access deny all
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; # ADMINISTRATIVE PARAMETERS
&lt;br&gt;&amp;gt; &amp;gt; #
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; shutdown_lifetime 3 second
&lt;br&gt;&amp;gt; &amp;gt; httpd_suppress_version_string on
&lt;br&gt;&amp;gt; &amp;gt; cache_mgr &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26830261&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cachemgr@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; # ICP OPTIONS
&lt;br&gt;&amp;gt; &amp;gt; #
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; log_icp_queries on
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; # MISCELLANEOUS
&lt;br&gt;&amp;gt; &amp;gt; #
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; memory_pools_limit 1024 MB
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; # DELAY POOL PARAMETERS (all require DELAY_POOLS compilation option)
&lt;br&gt;&amp;gt; &amp;gt; #
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; coredump_dir /var/spool/squid
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; -------------------------EO Configuration file -------------------------
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Any comments on the configuration would be much appreciated. Thank you
&lt;br&gt;&amp;gt; &amp;gt; in advance. 
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Kind regards,
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; Nik
&lt;/div&gt;&lt;br&gt;Many thanks in advance for all your help.
&lt;br&gt;&lt;br&gt;Kind regards,
&lt;br&gt;&lt;br&gt;Nik
&lt;br&gt;-- 
&lt;br&gt;Nikolaos Pavlidis BSc (Hons) MBCS NCLP CEH CHFI
&lt;br&gt;Systems Administrator
&lt;br&gt;University Of Bedfordshire
&lt;br&gt;Park Square LU1 3JU
&lt;br&gt;Luton, Beds, UK
&lt;br&gt;Tel: +441582489277 (Ext 2277)
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reverce-proxy-setup-with-neighboor-support-tp26809997p26830261.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26829155</id>
	<title>Trying to cache Google Earth content with URL rewrite</title>
	<published>2009-12-17T06:47:04Z</published>
	<updated>2009-12-17T06:47:04Z</updated>
	<author>
		<name>Jeremy LeBeau</name>
	</author>
	<content type="html">I am trying to use the Store URL Rewrite feature to allow a squid
&lt;br&gt;server to cache Google Earth content for a low bandwidth installation.
&lt;br&gt;&amp;nbsp;When I make the changes in the docs
&lt;br&gt;(&lt;a href=&quot;http://wiki.squid-cache.org/Features/StoreUrlRewrite&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.squid-cache.org/Features/StoreUrlRewrite&lt;/a&gt;), squid crashes
&lt;br&gt;after starting. &amp;nbsp;From the log, it appears that the helper as written
&lt;br&gt;is causing problems. &amp;nbsp;Any suggestions as to what is wrong?
&lt;br&gt;&lt;br&gt;Here is the info that I get in the log after startup:
&lt;br&gt;&lt;br&gt;2009/12/17 08:42:01| Starting Squid Cache version 2.7.STABLE6 for
&lt;br&gt;amd64-debian-linux-gnu...
&lt;br&gt;2009/12/17 08:42:01| Process ID 1691
&lt;br&gt;2009/12/17 08:42:01| With 1024 file descriptors available
&lt;br&gt;2009/12/17 08:42:01| Using epoll for the IO loop
&lt;br&gt;2009/12/17 08:42:01| DNS Socket created at 0.0.0.0, port 56901, FD 6
&lt;br&gt;2009/12/17 08:42:01| Adding domain IonaGroup.local from /etc/resolv.conf
&lt;br&gt;2009/12/17 08:42:01| Adding domain IonaGroup.local from /etc/resolv.conf
&lt;br&gt;2009/12/17 08:42:01| Adding nameserver 192.168.3.1 from /etc/resolv.conf
&lt;br&gt;2009/12/17 08:42:01| helperOpenServers: Starting 5 'store_url_rewrite' processes
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 1: $: not found
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 1: =: not found
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 3: Syntax error: &amp;quot;)&amp;quot; unexpected
&lt;br&gt;2009/12/17 08:42:01| User-Agent logging is disabled.
&lt;br&gt;2009/12/17 08:42:01| Referer logging is disabled.
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 1: $: not found
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 1: =: not found
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 3: Syntax error: &amp;quot;)&amp;quot; unexpected
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 1: $: not found
&lt;br&gt;2009/12/17 08:42:01| logfileOpen: opening log /var/log/squid/access.log
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 1: =: not found
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 1:
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 3: $: not foundSyntax error:
&lt;br&gt;&amp;quot;)&amp;quot; unexpected
&lt;br&gt;&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 1: =: not found
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 3: Syntax error: &amp;quot;)&amp;quot; unexpected
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 1: $: not found
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 1: =: not found
&lt;br&gt;/usr/local/squidhelper/store_url_rewrite: 3: Syntax error: &amp;quot;)&amp;quot; unexpected
&lt;br&gt;2009/12/17 08:42:01| Unlinkd pipe opened on FD 16
&lt;br&gt;2009/12/17 08:42:01| Swap maxSize 102400 + 8192 KB, estimated 8507 objects
&lt;br&gt;2009/12/17 08:42:01| Target number of buckets: 425
&lt;br&gt;2009/12/17 08:42:01| Using 8192 Store buckets
&lt;br&gt;2009/12/17 08:42:01| Max Mem &amp;nbsp;size: 8192 KB
&lt;br&gt;2009/12/17 08:42:01| Max Swap size: 102400 KB
&lt;br&gt;2009/12/17 08:42:01| Local cache digest enabled; rebuild/rewrite every
&lt;br&gt;3600/3600 sec
&lt;br&gt;2009/12/17 08:42:01| logfileOpen: opening log /var/log/squid/store.log
&lt;br&gt;2009/12/17 08:42:01| Rebuilding storage in /var/spool/squid (DIRTY)
&lt;br&gt;2009/12/17 08:42:01| Using Least Load store dir selection
&lt;br&gt;2009/12/17 08:42:01| Set Current Directory to /var/spool/squid
&lt;br&gt;2009/12/17 08:42:01| Loaded Icons.
&lt;br&gt;2009/12/17 08:42:01| Accepting proxy HTTP connections at 0.0.0.0, port
&lt;br&gt;3128, FD 18.
&lt;br&gt;2009/12/17 08:42:01| Accepting ICP messages at 0.0.0.0, port 3130, FD 19.
&lt;br&gt;2009/12/17 08:42:01| HTCP Disabled.
&lt;br&gt;2009/12/17 08:42:01| WCCP Disabled.
&lt;br&gt;2009/12/17 08:42:01| Ready to serve requests.
&lt;br&gt;2009/12/17 08:42:01| WARNING: store_rewriter #1 (FD 7) exited
&lt;br&gt;2009/12/17 08:42:01| WARNING: store_rewriter #2 (FD 8) exited
&lt;br&gt;2009/12/17 08:42:01| WARNING: store_rewriter #3 (FD 9) exited
&lt;br&gt;2009/12/17 08:42:01| Too few store_rewriter processes are running
&lt;br&gt;FATAL: The store_rewriter helpers are crashing too rapidly, need help!
&lt;br&gt;&lt;br&gt;Squid Cache (Version 2.7.STABLE6): Terminated abnormally.
&lt;br&gt;CPU Usage: 0.020 seconds = 0.000 user + 0.020 sys
&lt;br&gt;Maximum Resident Size: 0 KB
&lt;br&gt;Page faults with physical i/o: 0
&lt;br&gt;Memory usage for squid via mallinfo():
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; total space in arena: &amp;nbsp; &amp;nbsp;2380 KB
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ordinary blocks: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 2321 KB &amp;nbsp; &amp;nbsp; &amp;nbsp;5 blks
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Small blocks: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 KB &amp;nbsp; &amp;nbsp; &amp;nbsp;1 blks
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Holding blocks: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 396 KB &amp;nbsp; &amp;nbsp; &amp;nbsp;1 blks
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Free Small blocks: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 KB
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Free Ordinary blocks: &amp;nbsp; &amp;nbsp; &amp;nbsp;58 KB
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Total in use: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2717 KB 98%
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Total free: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;59 KB 2%
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Trying-to-cache-Google-Earth-content-with-URL-rewrite-tp26829155p26829155.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26827365</id>
	<title>RE: Squid does not start/shutdown properly</title>
	<published>2009-12-17T04:30:51Z</published>
	<updated>2009-12-17T04:30:51Z</updated>
	<author>
		<name>david.kauffmann</name>
	</author>
	<content type="html">&amp;nbsp;
&lt;br&gt;Thanks for the tips.
&lt;br&gt;The init script on the machine was wrong indeed. i now simply copied oveer the &amp;quot;working&amp;quot; script and changed th file locations.
&lt;br&gt;best regards,
&lt;br&gt;&lt;br&gt;D.K.
&lt;br&gt;--
&lt;br&gt;IT-PARTNER - Martin U. Haneke
&lt;br&gt;Fichtestraße 26
&lt;br&gt;10967 Berlin
&lt;br&gt;Tel: +49(30)200055-0
&lt;br&gt;Tel: +49(30)200055-39
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Squid-does-not-start-shutdown-properly-tp26807925p26827365.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26825167</id>
	<title>Re: any work arounds for bug 2176</title>
	<published>2009-12-17T01:10:12Z</published>
	<updated>2009-12-17T01:10:12Z</updated>
	<author>
		<name>Amos Jeffries-2</name>
	</author>
	<content type="html">Brett Lymn wrote:
&lt;br&gt;&amp;gt; On Wed, Dec 16, 2009 at 07:57:21AM -0600, Bill Allison wrote:
&lt;br&gt;&amp;gt;&amp;gt; Sorry - that was misleading. I've had
&lt;br&gt;&amp;gt;&amp;gt; persistent_connection_after_error set on throughout my testing.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I don't have that in my config file at all so I would guess it is at
&lt;br&gt;&amp;gt; the default.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Which is off. Now I'm confused.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; I &amp;nbsp;get the same error as Brett only when the body of the post is much greater than that which causes the post to fail.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I only tried a large-ish document. &amp;nbsp;We did observe the same strange
&lt;br&gt;&amp;gt; limit that Bill has seen when we tested without the patch applied,
&lt;br&gt;&amp;gt; under a certain &amp;quot;magic&amp;quot; threshold the document would upload - the
&lt;br&gt;&amp;gt; threshold seemed to be around the 50k mark, over that threshold we
&lt;br&gt;&amp;gt; would just get popups.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I'd like to correlate network traces with debug output and would appreciate suggestions as to which debug_options would include all possibly relevant info
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I am a C coder and may have some time to do some debugging on this
&lt;br&gt;&amp;gt; between christmas and new year so, Amos, if you have any thoughts or
&lt;br&gt;&amp;gt; hints as to where to go looking I can certainly have a stab at it.
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Thank you. Any help at all would be great.
&lt;br&gt;&lt;br&gt;I *think* the relevant code is off src/client_side_reply.cc, but what to 
&lt;br&gt;look for is where I'm currently stuck. The keep_alive values resolved 
&lt;br&gt;things for you Brett but not Bill.
&lt;br&gt;&lt;br&gt;&lt;br&gt;The variable nature of the threshold looks like some timing between 
&lt;br&gt;actions triggering the bug vs the rate at which Squid is sucking the 
&lt;br&gt;request in.
&lt;br&gt;&lt;br&gt;AFAIK popups only occur when the client gets sent two re-auth 
&lt;br&gt;challenges. Which in the un-patched Squid was caused by the first 
&lt;br&gt;half-authenticated link being closed by Squid before auth could 
&lt;br&gt;complete. Then the second link being challenged for more auth would 
&lt;br&gt;cause popup.
&lt;br&gt;&lt;br&gt;I think the next step is to find out what the difference between your 
&lt;br&gt;two setups is exactly:
&lt;br&gt;&amp;nbsp; * squid.conf
&lt;br&gt;&amp;nbsp; * headers between Squid and the POSTing app.
&lt;br&gt;&amp;nbsp; * headers between Squid and the web server.
&lt;br&gt;&lt;br&gt;Particularly in what reply headers are going back. &amp;nbsp;That should give us 
&lt;br&gt;a little more of an idea what areas to look at.
&lt;br&gt;&lt;br&gt;If as you say the patch solved the issue but you saw the same thing 
&lt;br&gt;earlier. Then I suspects it's probably a squid.conf detail being overlooked.
&lt;br&gt;&lt;br&gt;Amos
&lt;br&gt;-- 
&lt;br&gt;Please be using
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Beta Squid 3.1.0.15
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/any-work-arounds-for-bug-2176-tp26603291p26825167.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26824406</id>
	<title>Re: squid on mac os?</title>
	<published>2009-12-16T23:46:31Z</published>
	<updated>2009-12-16T23:46:31Z</updated>
	<author>
		<name>Kinkie</name>
	</author>
	<content type="html">Hi all,
&lt;br&gt;&amp;nbsp; We developers would be interested in adding a MacOS node to the
&lt;br&gt;BuildFarm (see the wiki page).
&lt;br&gt;If anyone is willing to donate cpu cycles and hdd space, could they
&lt;br&gt;please contact me?
&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;&lt;br&gt;On 12/17/09, Chris Woodfield &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26824406&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rekoil@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; It can. Best bet is to install via the MacPorts packaging system, but normal
&lt;br&gt;&amp;gt; configure/make/make install works for me too.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -C
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Dec 16, 2009, at 8:45 PM, Jeff Pang wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Can squid be installed and run on a mac os box? Thanks.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Jeff Pang
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://home.arcor.de/pangj/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://home.arcor.de/pangj/&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp; &amp;nbsp; /kinkie
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/squid-on-mac-os--tp26821800p26824406.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26823770</id>
	<title>Re: squid &amp; http-1.1</title>
	<published>2009-12-16T22:21:04Z</published>
	<updated>2009-12-16T22:21:04Z</updated>
	<author>
		<name>Linda W-5</name>
	</author>
	<content type="html">Amos Jeffries wrote:
&lt;br&gt;&amp;gt; Something weird going on with office or the activation server and their 
&lt;br&gt;&amp;gt; use of 1.1 then. HTTP/1.1 is explicitly designed to not break when going 
&lt;br&gt;&amp;gt; through a non-1.1 middleware proxy.
&lt;br&gt;---
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; When are they NOT doing something weird?
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/squid---http-1.1-tp26782477p26823770.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26823744</id>
	<title>Re: Best Configuration for sibling peer</title>
	<published>2009-12-16T22:15:12Z</published>
	<updated>2009-12-16T22:15:12Z</updated>
	<author>
		<name>Kris-28</name>
	</author>
	<content type="html">Chris Robertson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Kris wrote:
&lt;br&gt;&amp;gt;&amp;gt; Chris Robertson wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Kris wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Dear All,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; i have 4 proxy server with about 1000 request per second average , 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; i have extra free nic in every server and i connected that 4 proxy 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; to 1 switch and give them 1 network ip. i set 4 proxy as SIBLING 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; each other. after few days i got problem like.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 1. weird error log (sometimes)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:48:25| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:48:25| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:48:25| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:48:28| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:48:29| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2. TCP Connection Failed
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:45:15| TCP connection to 10.10.10.10 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (10.10.10.10:3128) failed
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:45:22| TCP connection to 10.10.10.11 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (10.10.10.11:3128) failed
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:45:22| TCP connection to 10.10.10.11 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (10.10.10.11:3128) failed
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:45:28| TCP connection to 10.10.10.13 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (10.10.10.13:3128) failed
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:45:36| TCP connection to 10.10.10.12 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; (10.10.10.12:3128) failed
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; 3. sometimes it become hard to browse , but it going normal after i 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; disabled all SIBLING, if i enabled it will slow again.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; my file descriptor already 65535
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; my peer config
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; # cache_peer 10.10.10.10 sibling 3128 3130 no-netdb-exchange 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; no-digest no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; cache_peer 10.10.10.11 sibling 3128 3130 no-netdb-exchange 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; no-digest no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; cache_peer 10.10.10.12 sibling 3128 3130 no-netdb-exchange 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; no-digest no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; cache_peer 10.10.10.13 sibling 3128 3130 no-netdb-exchange 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; no-digest no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; any suggestion what best configuration for sibling peer ?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I don't think that round-robin makes much sense with sibling 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; selection. &amp;nbsp;Either the a sibling has the object (and we grab the 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; object from it) or it doesn't (and we grab the object directly).
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; For myself, I use a line like...
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; cache_peer proxypool-2.my.domain sibling 8080 3130 no-digest
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Chris
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; did you ever get message like &amp;quot; TCP Connection Failed&amp;quot; ? just curious 
&lt;br&gt;&amp;gt;&amp;gt; why i always got that message , peer connection use same network in 
&lt;br&gt;&amp;gt;&amp;gt; same switch.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; My peers use the same interface to talk to clients and each other. &amp;nbsp;I 
&lt;br&gt;&amp;gt; don't see &amp;quot;TCP Connection Failed&amp;quot; messages. &amp;nbsp;Hmmm... &amp;nbsp;One thing you 
&lt;br&gt;&amp;gt; might try...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; acl myPeers src 10.10.10.0/24
&lt;br&gt;&amp;gt; tcp_outgoing_address 10.10.10.10 myPeers
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ...to make sure it responds to the peers using the right interface.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Chris
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;i have 1000 request hit per sec in every proxy , is that can be a cause ?
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Best-Configuration-for-sibling-peer-tp26805538p26823744.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26823717</id>
	<title>Re: Best Configuration for sibling peer</title>
	<published>2009-12-16T22:13:04Z</published>
	<updated>2009-12-16T22:13:04Z</updated>
	<author>
		<name>Kris-28</name>
	</author>
	<content type="html">Michael Bowe wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt; From: Kris [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26823717&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;christian@...&lt;/a&gt;]
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi Kris
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; 2. TCP Connection Failed
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Are you running iptables?
&lt;br&gt;&amp;gt; If so, is the conntrack table overflowing?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; my peer config
&lt;br&gt;&amp;gt;&amp;gt; # cache_peer 10.10.10.10 sibling 3128 3130 no-netdb-exchange no-digest
&lt;br&gt;&amp;gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt; cache_peer 10.10.10.11 sibling 3128 3130 no-netdb-exchange no-digest
&lt;br&gt;&amp;gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt; cache_peer 10.10.10.12 sibling 3128 3130 no-netdb-exchange no-digest
&lt;br&gt;&amp;gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt; cache_peer 10.10.10.13 sibling 3128 3130 no-netdb-exchange no-digest
&lt;br&gt;&amp;gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; any suggestion what best configuration for sibling peer ?
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not sure the above is going to give you good results.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Enabling digest would save a lot of ICP traffic / lookups
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As pointed out by Chris, &amp;quot;round-robin&amp;quot; option is used with parent selection
&lt;br&gt;&amp;gt; in the absence of ICP. But in your case you are using peers with ICP. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; If you are trying to prevent overlapping disk objects between the siblings
&lt;br&gt;&amp;gt; then I reckon your syntax should just be something like this :
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; cache_peer 10.10.10.1x sibling 3128 3130 proxy-only
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Michael.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;i`m not use any iptables.
&lt;br&gt;&lt;br&gt;about &amp;nbsp;proxy-only lines, &amp;nbsp;isnt it good to disable proxy-only ? so the 
&lt;br&gt;proxy dont need to take same cache in sibling, it will save icp request 
&lt;br&gt;right ?
&lt;br&gt;&lt;br&gt;another question what ms should i use for these line ?
&lt;br&gt;&lt;br&gt;icp_query_timeout 2000
&lt;br&gt;maximum_icp_query_timeout 2000
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Best-Configuration-for-sibling-peer-tp26805538p26823717.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26823700</id>
	<title>Re: any work arounds for bug 2176</title>
	<published>2009-12-16T21:55:39Z</published>
	<updated>2009-12-16T21:55:39Z</updated>
	<author>
		<name>Brett Lymn</name>
	</author>
	<content type="html">On Wed, Dec 16, 2009 at 07:57:21AM -0600, Bill Allison wrote:
&lt;br&gt;&amp;gt; Sorry - that was misleading. I've had
&lt;br&gt;&amp;gt; persistent_connection_after_error set on throughout my testing.
&lt;br&gt;&lt;br&gt;I don't have that in my config file at all so I would guess it is at
&lt;br&gt;the default.
&lt;br&gt;&lt;br&gt;&amp;gt; I &amp;nbsp;get the same error as Brett only when the body of the post is much greater than that which causes the post to fail.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;I only tried a large-ish document. &amp;nbsp;We did observe the same strange
&lt;br&gt;limit that Bill has seen when we tested without the patch applied,
&lt;br&gt;under a certain &amp;quot;magic&amp;quot; threshold the document would upload - the
&lt;br&gt;threshold seemed to be around the 50k mark, over that threshold we
&lt;br&gt;would just get popups.
&lt;br&gt;&lt;br&gt;&amp;gt; I'd like to correlate network traces with debug output and would appreciate suggestions as to which debug_options would include all possibly relevant info
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;I am a C coder and may have some time to do some debugging on this
&lt;br&gt;between christmas and new year so, Amos, if you have any thoughts or
&lt;br&gt;hints as to where to go looking I can certainly have a stab at it.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Brett Lymn
&lt;br&gt;&amp;quot;Warning:
&lt;br&gt;The information contained in this email and any attached files is
&lt;br&gt;confidential to BAE Systems Australia. If you are not the intended
&lt;br&gt;recipient, any use, disclosure or copying of this email or any
&lt;br&gt;attachments is expressly prohibited. &amp;nbsp;If you have received this email
&lt;br&gt;in error, please notify us immediately. VIRUS: Every care has been
&lt;br&gt;taken to ensure this email and its attachments are virus free,
&lt;br&gt;however, any loss or damage incurred in using this email is not the
&lt;br&gt;sender's responsibility. &amp;nbsp;It is your responsibility to ensure virus
&lt;br&gt;checks are completed before installing any data sent in this email to
&lt;br&gt;your computer.&amp;quot;
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/any-work-arounds-for-bug-2176-tp26603291p26823700.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26823440</id>
	<title>Re: Hardware/software suggestions (TPROXY)</title>
	<published>2009-12-16T21:21:38Z</published>
	<updated>2009-12-16T21:21:38Z</updated>
	<author>
		<name>Amos Jeffries-2</name>
	</author>
	<content type="html">Michael Bowe wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt; From: Amos Jeffries [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26823440&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squid3@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Hi Amos
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; If you get 4+ core hardware, a CARP model with one instance receiving
&lt;br&gt;&amp;gt;&amp;gt; all requests and balancing across the other cores for actual storage
&lt;br&gt;&amp;gt;&amp;gt; handling with 1+ disk per core scales extremely well.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I'll go read up on CARP
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I wonder whether CARP + TPROXY would play together nicely though?
&lt;/div&gt;&lt;br&gt;Good point.
&lt;br&gt;Have not tried it but I expect they are able to work together. TPROXY in 
&lt;br&gt;3.1 works between peers.
&lt;br&gt;&lt;br&gt;It would just require some additional routing tricks to force packets 
&lt;br&gt;from the LB &amp;nbsp;instance to go through a public interface and be 
&lt;br&gt;double-TPROXY'd on their way to the back-end. Avoiding use of the lo 
&lt;br&gt;interface which can't be bound to remote IPs.
&lt;br&gt;&lt;br&gt;Amos
&lt;br&gt;-- 
&lt;br&gt;Please be using
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
&lt;br&gt;&amp;nbsp; &amp;nbsp;Current Beta Squid 3.1.0.15
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Hardware-software-suggestions-%28TPROXY%29-tp26806534p26823440.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26822259</id>
	<title>RE: Best Configuration for sibling peer</title>
	<published>2009-12-16T18:41:10Z</published>
	<updated>2009-12-16T18:41:10Z</updated>
	<author>
		<name>Michael Bowe</name>
	</author>
	<content type="html">&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Kris [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26822259&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;christian@...&lt;/a&gt;]
&lt;br&gt;&lt;br&gt;Hi Kris
&lt;br&gt;&lt;br&gt;&amp;gt; 2. TCP Connection Failed
&lt;br&gt;&lt;br&gt;Are you running iptables?
&lt;br&gt;If so, is the conntrack table overflowing?
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; my peer config
&lt;br&gt;&amp;gt; # cache_peer 10.10.10.10 sibling 3128 3130 no-netdb-exchange no-digest
&lt;br&gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt; cache_peer 10.10.10.11 sibling 3128 3130 no-netdb-exchange no-digest
&lt;br&gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt; cache_peer 10.10.10.12 sibling 3128 3130 no-netdb-exchange no-digest
&lt;br&gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt; cache_peer 10.10.10.13 sibling 3128 3130 no-netdb-exchange no-digest
&lt;br&gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; any suggestion what best configuration for sibling peer ?
&lt;/div&gt;&lt;br&gt;I'm not sure the above is going to give you good results.
&lt;br&gt;&lt;br&gt;Enabling digest would save a lot of ICP traffic / lookups
&lt;br&gt;&lt;br&gt;As pointed out by Chris, &amp;quot;round-robin&amp;quot; option is used with parent selection
&lt;br&gt;in the absence of ICP. But in your case you are using peers with ICP. 
&lt;br&gt;&lt;br&gt;If you are trying to prevent overlapping disk objects between the siblings
&lt;br&gt;then I reckon your syntax should just be something like this :
&lt;br&gt;&lt;br&gt;cache_peer 10.10.10.1x sibling 3128 3130 proxy-only
&lt;br&gt;&lt;br&gt;Michael.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Best-Configuration-for-sibling-peer-tp26805538p26822259.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26822060</id>
	<title>Re: squid on mac os?</title>
	<published>2009-12-16T18:12:26Z</published>
	<updated>2009-12-16T18:12:26Z</updated>
	<author>
		<name>Chris Woodfield</name>
	</author>
	<content type="html">It can. Best bet is to install via the MacPorts packaging system, but normal configure/make/make install works for me too.
&lt;br&gt;&lt;br&gt;-C
&lt;br&gt;&lt;br&gt;On Dec 16, 2009, at 8:45 PM, Jeff Pang wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; Can squid be installed and run on a mac os box? Thanks.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -- 
&lt;br&gt;&amp;gt; Jeff Pang
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://home.arcor.de/pangj/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://home.arcor.de/pangj/&lt;/a&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/squid-on-mac-os--tp26821800p26822060.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26822025</id>
	<title>RE: Hardware/software suggestions (TPROXY)</title>
	<published>2009-12-16T18:05:59Z</published>
	<updated>2009-12-16T18:05:59Z</updated>
	<author>
		<name>Michael Bowe</name>
	</author>
	<content type="html">&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Angelo Höngens [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26822025&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;a.hongens@...&lt;/a&gt;]
&lt;br&gt;&lt;br&gt;Hi Angelo
&lt;br&gt;&lt;br&gt;Thanks for responding 
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; I didn't even know ISP's still used proxies in this century :D I assume
&lt;br&gt;&amp;gt; you use them to save on bandwidth and improve the experience for the
&lt;br&gt;&amp;gt; end-user?
&lt;br&gt;&lt;br&gt;Haha yeah well for example at one regional site transit is costing us $400+
&lt;br&gt;per Mbps, so caching is still worthwhile for us.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; I'm still not sure about virtualizing or not.. It both has advantages
&lt;br&gt;&amp;gt; and disadvantages..
&lt;br&gt;&lt;br&gt;Yes I would really need to build up a big server and compare CARP vs VMware.
&lt;br&gt;Doesnt sound like anyone else has had much experience with this topic. The
&lt;br&gt;servers I have been testing with under VMware seem to go OK, but its hard to
&lt;br&gt;tell just how much overhead is incurred. Maybe running say 4 squid VMs on an
&lt;br&gt;8 core server is a reasonably good way to share the load around though.
&lt;br&gt;&lt;br&gt;&amp;gt; I'm in a Dell only shop, and you can buy the R610 with any 1 or 2
&lt;br&gt;&amp;gt; cpu's,
&lt;br&gt;&amp;gt; it's a choice. (And probably cheaper than HP).
&lt;br&gt;&lt;br&gt;Nice to know. I was using their website and it didnt have an option for 1
&lt;br&gt;CPU. I guess you just speak to the sales rep and get the quote more fully
&lt;br&gt;customised. Thanks for the tip!
&lt;br&gt;&lt;br&gt;&lt;br&gt;Michael.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Hardware-software-suggestions-%28TPROXY%29-tp26806534p26822025.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26821995</id>
	<title>RE: Hardware/software suggestions (TPROXY)</title>
	<published>2009-12-16T18:05:46Z</published>
	<updated>2009-12-16T18:05:46Z</updated>
	<author>
		<name>Michael Bowe</name>
	</author>
	<content type="html">&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: Amos Jeffries [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26821995&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;squid3@...&lt;/a&gt;]
&lt;br&gt;&lt;br&gt;Hi Amos
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; If you get 4+ core hardware, a CARP model with one instance receiving
&lt;br&gt;&amp;gt; all requests and balancing across the other cores for actual storage
&lt;br&gt;&amp;gt; handling with 1+ disk per core scales extremely well.
&lt;br&gt;&lt;br&gt;I'll go read up on CARP
&lt;br&gt;&lt;br&gt;I wonder whether CARP + TPROXY would play together nicely though?
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; I'd be interested in hearing what req/sec you manage to achieve. We
&lt;br&gt;&amp;gt; only
&lt;br&gt;&amp;gt; have reported performances for up to 3.0 so far.
&lt;br&gt;&lt;br&gt;OK no worries, I will send through some info once we get our gear up and
&lt;br&gt;running.
&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; There are choices for the disk controller. Eg HP lets you choose
&lt;br&gt;&amp;gt; between
&lt;br&gt;&amp;gt; &amp;gt; 256M, 512M, 1G RAM on the supplied P410i RAID card. We wouldn't be
&lt;br&gt;&amp;gt; running
&lt;br&gt;&amp;gt; &amp;gt; any RAID, but would extra RAM on the card still be helpful with
&lt;br&gt;&amp;gt; speeding up
&lt;br&gt;&amp;gt; &amp;gt; disk access for squid?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If the drives use it. Squid is not very helpful for things like that
&lt;br&gt;&amp;gt; yet.
&lt;/div&gt;&lt;br&gt;OK, rather than buying more RAID RAM it sounds like its probably better to
&lt;br&gt;just put that money towards an additional spindle.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Michael.
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Hardware-software-suggestions-%28TPROXY%29-tp26806534p26821995.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26821956</id>
	<title>Re: Best Configuration for sibling peer</title>
	<published>2009-12-16T17:59:05Z</published>
	<updated>2009-12-16T17:59:05Z</updated>
	<author>
		<name>Chris Robertson-2</name>
	</author>
	<content type="html">Kris wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Chris Robertson wrote:
&lt;br&gt;&amp;gt;&amp;gt; Kris wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Dear All,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; i have 4 proxy server with about 1000 request per second average , i 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; have extra free nic in every server and i connected that 4 proxy to 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 1 switch and give them 1 network ip. i set 4 proxy as SIBLING each 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; other. after few days i got problem like.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 1. weird error log (sometimes)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:48:25| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:48:25| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:48:25| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:48:28| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:48:29| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2. TCP Connection Failed
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:45:15| TCP connection to 10.10.10.10 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (10.10.10.10:3128) failed
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:45:22| TCP connection to 10.10.10.11 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (10.10.10.11:3128) failed
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:45:22| TCP connection to 10.10.10.11 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (10.10.10.11:3128) failed
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:45:28| TCP connection to 10.10.10.13 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (10.10.10.13:3128) failed
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2009/12/16 09:45:36| TCP connection to 10.10.10.12 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; (10.10.10.12:3128) failed
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 3. sometimes it become hard to browse , but it going normal after i 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; disabled all SIBLING, if i enabled it will slow again.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; my file descriptor already 65535
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; my peer config
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; # cache_peer 10.10.10.10 sibling 3128 3130 no-netdb-exchange 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; no-digest no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; cache_peer 10.10.10.11 sibling 3128 3130 no-netdb-exchange no-digest 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; cache_peer 10.10.10.12 sibling 3128 3130 no-netdb-exchange no-digest 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; cache_peer 10.10.10.13 sibling 3128 3130 no-netdb-exchange no-digest 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; any suggestion what best configuration for sibling peer ?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I don't think that round-robin makes much sense with sibling 
&lt;br&gt;&amp;gt;&amp;gt; selection. &amp;nbsp;Either the a sibling has the object (and we grab the 
&lt;br&gt;&amp;gt;&amp;gt; object from it) or it doesn't (and we grab the object directly).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; For myself, I use a line like...
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; cache_peer proxypool-2.my.domain sibling 8080 3130 no-digest
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Chris
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; did you ever get message like &amp;quot; TCP Connection Failed&amp;quot; ? just curious 
&lt;br&gt;&amp;gt; why i always got that message , peer connection use same network in 
&lt;br&gt;&amp;gt; same switch.
&lt;/div&gt;&lt;br&gt;My peers use the same interface to talk to clients and each other. &amp;nbsp;I 
&lt;br&gt;don't see &amp;quot;TCP Connection Failed&amp;quot; messages. &amp;nbsp;Hmmm... &amp;nbsp;One thing you 
&lt;br&gt;might try...
&lt;br&gt;&lt;br&gt;acl myPeers src 10.10.10.0/24
&lt;br&gt;tcp_outgoing_address 10.10.10.10 myPeers
&lt;br&gt;&lt;br&gt;...to make sure it responds to the peers using the right interface.
&lt;br&gt;&lt;br&gt;Chris
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Best-Configuration-for-sibling-peer-tp26805538p26821956.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26821800</id>
	<title>squid on mac os?</title>
	<published>2009-12-16T17:45:31Z</published>
	<updated>2009-12-16T17:45:31Z</updated>
	<author>
		<name>Jeff Pang-14</name>
	</author>
	<content type="html">Can squid be installed and run on a mac os box? Thanks.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Jeff Pang
&lt;br&gt;&lt;a href=&quot;http://home.arcor.de/pangj/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://home.arcor.de/pangj/&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/squid-on-mac-os--tp26821800p26821800.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26821737</id>
	<title>Re: Best Configuration for sibling peer</title>
	<published>2009-12-16T17:36:35Z</published>
	<updated>2009-12-16T17:36:35Z</updated>
	<author>
		<name>Kris-28</name>
	</author>
	<content type="html">Chris Robertson wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Kris wrote:
&lt;br&gt;&amp;gt;&amp;gt; Dear All,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; i have 4 proxy server with about 1000 request per second average , i 
&lt;br&gt;&amp;gt;&amp;gt; have extra free nic in every server and i connected that 4 proxy to 1 
&lt;br&gt;&amp;gt;&amp;gt; switch and give them 1 network ip. i set 4 proxy as SIBLING each 
&lt;br&gt;&amp;gt;&amp;gt; other. after few days i got problem like.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 1. weird error log (sometimes)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2009/12/16 09:48:25| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt; 2009/12/16 09:48:25| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt; 2009/12/16 09:48:25| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt; 2009/12/16 09:48:28| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt; 2009/12/16 09:48:29| storeClientReadHeader: no URL!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2. TCP Connection Failed
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 2009/12/16 09:45:15| TCP connection to 10.10.10.10 (10.10.10.10:3128) 
&lt;br&gt;&amp;gt;&amp;gt; failed
&lt;br&gt;&amp;gt;&amp;gt; 2009/12/16 09:45:22| TCP connection to 10.10.10.11 (10.10.10.11:3128) 
&lt;br&gt;&amp;gt;&amp;gt; failed
&lt;br&gt;&amp;gt;&amp;gt; 2009/12/16 09:45:22| TCP connection to 10.10.10.11 (10.10.10.11:3128) 
&lt;br&gt;&amp;gt;&amp;gt; failed
&lt;br&gt;&amp;gt;&amp;gt; 2009/12/16 09:45:28| TCP connection to 10.10.10.13 (10.10.10.13:3128) 
&lt;br&gt;&amp;gt;&amp;gt; failed
&lt;br&gt;&amp;gt;&amp;gt; 2009/12/16 09:45:36| TCP connection to 10.10.10.12 (10.10.10.12:3128) 
&lt;br&gt;&amp;gt;&amp;gt; failed
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; 3. sometimes it become hard to browse , but it going normal after i 
&lt;br&gt;&amp;gt;&amp;gt; disabled all SIBLING, if i enabled it will slow again.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; my file descriptor already 65535
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; my peer config
&lt;br&gt;&amp;gt;&amp;gt; # cache_peer 10.10.10.10 sibling 3128 3130 no-netdb-exchange 
&lt;br&gt;&amp;gt;&amp;gt; no-digest no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt; cache_peer 10.10.10.11 sibling 3128 3130 no-netdb-exchange no-digest 
&lt;br&gt;&amp;gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt; cache_peer 10.10.10.12 sibling 3128 3130 no-netdb-exchange no-digest 
&lt;br&gt;&amp;gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt; cache_peer 10.10.10.13 sibling 3128 3130 no-netdb-exchange no-digest 
&lt;br&gt;&amp;gt;&amp;gt; no-delay round-robin proxy-only
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; any suggestion what best configuration for sibling peer ?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I don't think that round-robin makes much sense with sibling 
&lt;br&gt;&amp;gt; selection. &amp;nbsp;Either the a sibling has the object (and we grab the 
&lt;br&gt;&amp;gt; object from it) or it doesn't (and we grab the object directly).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; For myself, I use a line like...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; cache_peer proxypool-2.my.domain sibling 8080 3130 no-digest
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Chris
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;did you ever get message like &amp;quot; TCP Connection Failed&amp;quot; ? just curious 
&lt;br&gt;why i always got that message , peer connection use same network in same 
&lt;br&gt;switch.
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Best-Configuration-for-sibling-peer-tp26805538p26821737.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26818745</id>
	<title>Re: Squid does not start/shutdown properly</title>
	<published>2009-12-16T13:11:12Z</published>
	<updated>2009-12-16T13:11:12Z</updated>
	<author>
		<name>Amos Jeffries-2</name>
	</author>
	<content type="html">On Wed, 16 Dec 2009 12:00:08 -0900, Chris Robertson &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26818745&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;crobertson@...&lt;/a&gt;&amp;gt;
&lt;br&gt;wrote:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26818745&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david.kauffmann@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt; I have two machines, both running squid3. One runs stable1 and the
&lt;br&gt;other
&lt;br&gt;&amp;gt;&amp;gt; stable19. The one running stable1 is on a virtual machine.
&lt;br&gt;&amp;gt;&amp;gt; When i execute /etc/init.d/squid3 on both machines, this is what i get
&lt;br&gt;on
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; stable1:
&lt;br&gt;&amp;gt;&amp;gt; /etc/init.d/squid3
&lt;br&gt;&amp;gt;&amp;gt; Usage: /etc/init.d/squid3 {start|stop|reload|force-reload|restart}
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Init scripts are not supplied with Squid. &amp;nbsp;They are a nicety added by 
&lt;br&gt;&amp;gt; the distribution. &amp;nbsp;/path/to/squid -k shutdown is the supported/expected 
&lt;br&gt;&amp;gt; method of stopping Squid. &amp;nbsp;That said...
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; stable19:
&lt;br&gt;&amp;gt;&amp;gt; /etc/init.d/squid3
&lt;br&gt;&amp;gt;&amp;gt; Usage: /etc/init.d/squid3 { start | stop }
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sometimes when i start the stable19 system, squid doesn't start giving
&lt;br&gt;&amp;gt;&amp;gt; me an error, that there's already a running squid process. i suspect
&lt;/div&gt;this
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; has something to do with squid not shutting down properly.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; When i stop squid using /etc/init.d/squid3 stop on both machines, i get
&lt;br&gt;&amp;gt;&amp;gt; no response at all on the stable19 platform.
&lt;br&gt;&amp;gt;&amp;gt; But on the stable1 machine i get this when i stop squid:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; /etc/init.d/squid3 stop
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;* Stopping Squid HTTP Proxy 3.0 squid3
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;* &amp;nbsp;Waiting...
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;* ...
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;* ...
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;* ...
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;* ...
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;* ...
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;* ... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;[ OK ]
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;[
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;OK
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;]
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Either the init scripts on the two servers are different, or the compile
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; options put an executable or a PID file in a location not expected by 
&lt;br&gt;&amp;gt; the init script.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; I compiled the squid stable19 version myself. here are the compiler
&lt;br&gt;&amp;gt;&amp;gt; options:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;Version 3.0.STABLE19
&lt;br&gt;&amp;gt;&amp;gt; configure options: &amp;nbsp;'--build=i486-linux-gnu' '--prefix=/usr'
&lt;br&gt;&amp;gt;&amp;gt; '--includedir=${prefix}/include' '--mandir=${prefix}/share/man'
&lt;br&gt;&amp;gt;&amp;gt; '--infodir=${prefix}/share/info' '--sysconfdir=/etc'
&lt;br&gt;&amp;gt;&amp;gt; '--localstatedir=/var' '--libexecdir=${prefix}/lib/squid3'
&lt;br&gt;&amp;gt;&amp;gt; '--disable-maintainer-mode' '--disable-dependency-tracking'
&lt;/div&gt;'--srcdir=.'
&lt;br&gt;&amp;gt;&amp;gt; '--datadir=/usr/share/squid3' '--sysconfdir=/etc/squid3'
&lt;br&gt;&amp;gt;&amp;gt; '--mandir=/usr/share/man' '--with-cppunit-basedir=/usr'
&lt;br&gt;'--enable-inline'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-async-io=8' '--enable-storeio=ufs,aufs,diskd'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-removal-policies=lru,heap' '--enable-poll'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-delay-pools' '--enable-cache-digests' '--enable-snmp'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-htcp' '--enable-select' '--enable-carp'
&lt;br&gt;'--enable-large-files'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-underscores' '--enable-icap-client'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-auth=basic,digest,ntlm' '--enable-basic-auth-helpers=all'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-ntlm-auth-helpers=SMB'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-digest-auth-helpers=ldap,password'
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;'--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group'
&lt;br&gt;&amp;gt;&amp;gt; '--with-filedescriptors=65536' '--with-default-user=proxy'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-epoll' '--enable-linux-netfilter'
&lt;br&gt;'build_alias=i486-linux-gnu'
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; 'CC=cc' 'CFLAGS=-g -O2 -g -Wall -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions'
&lt;br&gt;&amp;gt;&amp;gt; 'CPPFLAGS=' 'CXX=g++' 'CXXFLAGS=-g -O2 -g -Wall -O2' 'FFLAGS=-g -O2'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-http-violations'
&lt;br&gt;&amp;gt;&amp;gt; The VM compiler options look like this:
&lt;br&gt;&amp;gt;&amp;gt; Version 3.0.STABLE1
&lt;br&gt;&amp;gt;&amp;gt; configure options: &amp;nbsp;'--build=i486-linux-gnu' '--prefix=/usr'
&lt;br&gt;&amp;gt;&amp;gt; '--includedir=${prefix}/include' '--mandir=${prefix}/share/man'
&lt;br&gt;&amp;gt;&amp;gt; '--infodir=${prefix}/share/info' '--sysconfdir=/etc'
&lt;br&gt;&amp;gt;&amp;gt; '--localstatedir=/var' '--libexecdir=${prefix}/lib/squid3'
&lt;br&gt;&amp;gt;&amp;gt; '--disable-maintainer-mode' '--disable-dependency-tracking'
&lt;/div&gt;'--srcdir=.'
&lt;br&gt;&amp;gt;&amp;gt; '--datadir=/usr/share/squid3' '--sysconfdir=/etc/squid3'
&lt;br&gt;&amp;gt;&amp;gt; '--mandir=/usr/share/man' '--with-cppunit-basedir=/usr'
&lt;br&gt;'--enable-inline'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-async-io=8' '--enable-storeio=ufs,aufs,coss,diskd'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-removal-policies=lru,heap' '--enable-poll'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-delay-pools' '--enable-cache-digests' '--enable-snmp'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-htcp' '--enable-select' '--enable-carp'
&lt;br&gt;'--enable-large-files'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-underscores' '--enable-icap-client'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-auth=basic,digest,ntlm'
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;'--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,getpwnam,multi-domain-NTLM'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-ntlm-auth-helpers=SMB'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-digest-auth-helpers=ldap,password'
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;'--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group'
&lt;br&gt;&amp;gt;&amp;gt; '--with-filedescriptors=65536' '--with-default-user=proxy'
&lt;br&gt;&amp;gt;&amp;gt; '--enable-epoll' '--enable-linux-netfilter'
&lt;br&gt;'build_alias=i486-linux-gnu'
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;&amp;gt; 'CC=cc' 'CFLAGS=-g -O2 -g -Wall -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions'
&lt;br&gt;&amp;gt;&amp;gt; 'CPPFLAGS=' 'CXX=g++' 'CXXFLAGS=-g -O2 -g -Wall -O2' 'FFLAGS=-g -O2'
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Do i have to reconfigure and rebuild my squid to get the same behaviour
&lt;br&gt;&amp;gt;&amp;gt; on both machines?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Probably not. &amp;nbsp;Check the init script for mention of a PID file. &amp;nbsp;Then 
&lt;br&gt;&amp;gt; have a look at &lt;a href=&quot;http://www.squid-cache.org/Doc/config/pid_filename/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.squid-cache.org/Doc/config/pid_filename/&lt;/a&gt;.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; My assumption (based on the way my init scripts work) is that the script
&lt;/div&gt;&lt;br&gt;&amp;gt; sends a shutdown signal to Squid and then periodically (once a second or
&lt;br&gt;&lt;br&gt;&amp;gt; so) checks for the presence of the PID file, writing out a period if it 
&lt;br&gt;&amp;gt; still exists. &amp;nbsp;When Squid quits, it should remove the PID file. &amp;nbsp;Once 
&lt;br&gt;&amp;gt; the PID file disappears the shutdown is successful. &amp;nbsp;If the PID file is 
&lt;br&gt;&amp;gt; not where the init script expects, when the script is called to shut 
&lt;br&gt;&amp;gt; down Squid, it appears to not be running, so the script just exits.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;Yes. I've been trying to track that down for a while.
&lt;br&gt;&lt;br&gt;I think the problem is a side effect of the auto-recovery code working
&lt;br&gt;properly. If the child fails with any errors the master process identifies
&lt;br&gt;the shutdown as a run-time failure and spawns a new child process.
&lt;br&gt;&lt;br&gt;Any bugs in the shutdown process can trigger this when a close is actually
&lt;br&gt;wanted.
&lt;br&gt;&lt;br&gt;Amos
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Squid-does-not-start-shutdown-properly-tp26807925p26818745.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26818659</id>
	<title>Re: Reverce proxy setup with neighboor support</title>
	<published>2009-12-16T13:10:55Z</published>
	<updated>2009-12-16T13:10:55Z</updated>
	<author>
		<name>Chris Robertson-2</name>
	</author>
	<content type="html">Nikolaos Pavlidis wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello all,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I figured the easiest way to describe what I am trying to do is to...
&lt;br&gt;&amp;gt; draw it. First of all pardon my ignorance since I am relatively new to
&lt;br&gt;&amp;gt; squid. Any help will be much appreciated.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The Problem:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dec &amp;nbsp;9 17:42:35 cache2 squid[27234]: WARNING: Forwarding loop detected
&lt;br&gt;&amp;gt; for: Client: &amp;lt;cache1_IP&amp;gt; http_port: &amp;lt;cache2_IP&amp;gt;:3128 GET
&lt;br&gt;&amp;gt; internal://site1.domain.com/squid-internal-dynamic/netdb HTTP/1.0 &amp;nbsp;Via:
&lt;br&gt;&amp;gt; 1.0 site1.domain.com:80 (squid) &amp;nbsp;X-Forwarded-For: unknown &amp;nbsp;Host:
&lt;br&gt;&amp;gt; &amp;lt;cache2_IP&amp;gt;:3128 &amp;nbsp;Cache-Control: max-age=259200 &amp;nbsp;Connection:
&lt;br&gt;&amp;gt; keep-alive &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Reverse proxy Setup:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 		O F5 load balanced vhost 
&lt;br&gt;&amp;gt; 		| &amp;nbsp;(DNS A name resolving site1.domain.com
&lt;br&gt;&amp;gt; 		|			 site2.domain.com
&lt;br&gt;&amp;gt; 		|			 site3.domain.com etc.)
&lt;br&gt;&amp;gt; 		|
&lt;br&gt;&amp;gt; 	|---------------|
&lt;br&gt;&amp;gt; 	|		|
&lt;br&gt;&amp;gt; 	|		|
&lt;br&gt;&amp;gt; cache1	O---------------O cache2
&lt;br&gt;&amp;gt; 		|
&lt;br&gt;&amp;gt; 		|
&lt;br&gt;&amp;gt; 		|
&lt;br&gt;&amp;gt; 		|
&lt;br&gt;&amp;gt; 	O---------------O--------------O
&lt;br&gt;&amp;gt; 	web1		web2		web3
&lt;br&gt;&amp;gt; 	site1		site3		site4
&lt;br&gt;&amp;gt; 	site2				site5
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Desired path:
&lt;br&gt;&amp;gt; 1. Request for site1
&lt;br&gt;&amp;gt; 2. F5 load balances request to cache1
&lt;br&gt;&amp;gt; 3. cache1 checks own cache
&lt;br&gt;&amp;gt; 4. if NO-HIT check cache2
&lt;br&gt;&amp;gt; 5. else go directly to web1
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Server:
&lt;br&gt;&amp;gt; 64bit SLES 11
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Configuration file (what I have done so far):
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;SNIP
&lt;br&gt;&lt;br&gt;&amp;gt; cache_peer &amp;lt;web1_IP&amp;gt; parent 80 0 no-query originserver name=web1
&lt;br&gt;&amp;gt; cache_peer &amp;lt;cache2_IP&amp;gt; parent 3128 3130 proxy-only default
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;Cache2_IP should be a sibling...
&lt;br&gt;&lt;br&gt;cache_peer &amp;lt;cache2_IP&amp;gt; sibling 3128 3130 proxy-only
&lt;br&gt;&lt;br&gt;...not a parent, and should not be set as the default. &amp;nbsp;As it stands 
&lt;br&gt;now, cache1 is using it's sibling to get to the content (it's the 
&lt;br&gt;default parent, after all) and cache2 is using cache1 to pass the 
&lt;br&gt;request from cache1 to the content, which passes the request to 
&lt;br&gt;cache2... &amp;nbsp;Whoops. &amp;nbsp;Forwarding loop detected.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; acl sites_web1 dstdomain site1.domain.com site2.domain.com
&lt;br&gt;&amp;gt; http_access allow sites_web1
&lt;br&gt;&amp;gt; cache_peer_access web1 allow sites_web1
&lt;br&gt;&amp;gt; cache_peer_access web1 deny all
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; # ADMINISTRATIVE PARAMETERS
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; shutdown_lifetime 3 second
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;This is unlikely going to give Squid enough time to write out it's 
&lt;br&gt;logs. &amp;nbsp;While the description indicates this directive might only affect 
&lt;br&gt;clients, open descriptors are also used for logs and cache objects.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; httpd_suppress_version_string on
&lt;br&gt;&amp;gt; cache_mgr &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26818659&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cachemgr@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; # ICP OPTIONS
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; log_icp_queries on
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; # MISCELLANEOUS
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; memory_pools_limit 1024 MB
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; # DELAY POOL PARAMETERS (all require DELAY_POOLS compilation option)
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt; -----------------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; coredump_dir /var/spool/squid
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -------------------------EO Configuration file -------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Any comments on the configuration would be much appreciated. Thank you
&lt;br&gt;&amp;gt; in advance. 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Kind regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Nik
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;Chris
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reverce-proxy-setup-with-neighboor-support-tp26809997p26818659.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26818576</id>
	<title>Re: Reverce proxy setup with neighboor support</title>
	<published>2009-12-16T13:00:50Z</published>
	<updated>2009-12-16T13:00:50Z</updated>
	<author>
		<name>Amos Jeffries-2</name>
	</author>
	<content type="html">On Wed, 16 Dec 2009 11:50:26 +0000, &amp;quot;Nikolaos Pavlidis&amp;quot;
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26818576&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nikolaos.Pavlidis@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello all,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I figured the easiest way to describe what I am trying to do is to...
&lt;br&gt;&amp;gt; draw it. First of all pardon my ignorance since I am relatively new to
&lt;br&gt;&amp;gt; squid. Any help will be much appreciated.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The Problem:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Dec &amp;nbsp;9 17:42:35 cache2 squid[27234]: WARNING: Forwarding loop detected
&lt;br&gt;&amp;gt; for: Client: &amp;lt;cache1_IP&amp;gt; http_port: &amp;lt;cache2_IP&amp;gt;:3128 GET
&lt;br&gt;&amp;gt; internal://site1.domain.com/squid-internal-dynamic/netdb HTTP/1.0 &amp;nbsp;Via:
&lt;br&gt;&amp;gt; 1.0 site1.domain.com:80 (squid) &amp;nbsp;X-Forwarded-For: unknown &amp;nbsp;Host:
&lt;br&gt;&amp;gt; &amp;lt;cache2_IP&amp;gt;:3128 &amp;nbsp;Cache-Control: max-age=259200 &amp;nbsp;Connection:
&lt;br&gt;&amp;gt; keep-alive &amp;nbsp; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Reverse proxy Setup:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 		O F5 load balanced vhost 
&lt;br&gt;&amp;gt; 		| &amp;nbsp;(DNS A name resolving site1.domain.com
&lt;br&gt;&amp;gt; 		|			 site2.domain.com
&lt;br&gt;&amp;gt; 		|			 site3.domain.com etc.)
&lt;br&gt;&amp;gt; 		|
&lt;br&gt;&amp;gt; 	|---------------|
&lt;br&gt;&amp;gt; 	|		|
&lt;br&gt;&amp;gt; 	|		|
&lt;br&gt;&amp;gt; cache1	O---------------O cache2
&lt;br&gt;&amp;gt; 		|
&lt;br&gt;&amp;gt; 		|
&lt;br&gt;&amp;gt; 		|
&lt;br&gt;&amp;gt; 		|
&lt;br&gt;&amp;gt; 	O---------------O--------------O
&lt;br&gt;&amp;gt; 	web1		web2		web3
&lt;br&gt;&amp;gt; 	site1		site3		site4
&lt;br&gt;&amp;gt; 	site2				site5
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Desired path:
&lt;br&gt;&amp;gt; 1. Request for site1
&lt;br&gt;&amp;gt; 2. F5 load balances request to cache1
&lt;br&gt;&amp;gt; 3. cache1 checks own cache
&lt;br&gt;&amp;gt; 4. if NO-HIT check cache2
&lt;br&gt;&amp;gt; 5. else go directly to web1
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Excellent. This is a basic reverse-proxy with virtual hosting.
&lt;br&gt;&lt;br&gt;The error you mentioned earlier indicates:
&lt;br&gt;&lt;br&gt;&amp;nbsp;1. Request for site1
&lt;br&gt;&amp;nbsp;2. F5 load balances request to cache1
&lt;br&gt;&amp;nbsp;3. cache1: checks own cache
&lt;br&gt;&amp;nbsp;4. cache1: if NO-HIT check cache2
&lt;br&gt;&amp;nbsp;5. cache2: if NO-HIT check cache1
&lt;br&gt;&amp;nbsp;6. cache1: if NO-HIT check cache2 ... FAIL!!
&lt;br&gt;&amp;nbsp;...
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Server:
&lt;br&gt;&amp;gt; 64bit SLES 11
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Configuration file (what I have done so far):
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # NETWORK OPTIONS
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt;
&lt;br&gt;-----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; http_port 80 accel defaultsite=site1.domain.com vhost
&lt;br&gt;&amp;gt; http_port 3128 accel defaultsite=site1.domain.com vhost
&lt;br&gt;&lt;br&gt;There should be no need for port 3128 to be reverse-proxy as well.
&lt;br&gt;Dedicate that or another port to proxy-proxy communications.
&lt;br&gt;&lt;br&gt;&amp;gt; visible_hostname site1.domain.com
&lt;br&gt;&amp;gt; offline_mode off
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # OPTIONS WHICH AFFECT THE NEIGHBOR SELECTION ALGORITHM
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt;
&lt;br&gt;-----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; hierarchy_stoplist cgi-bin ?
&lt;br&gt;&amp;gt; acl QUERY urlpath_regex cgi-bin \?
&lt;br&gt;&amp;gt; no_cache deny QUERY
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # OPTIONS WHICH AFFECT THE CACHE SIZE
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt;
&lt;br&gt;-----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; cache_mem 512 MB
&lt;br&gt;&amp;gt; maximum_object_size 32 KB
&lt;br&gt;&amp;gt; maximum_object_size_in_memory 64 Kb
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # LOGFILE PATHNAMES AND CACHE DIRECTORIES
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt;
&lt;br&gt;-----------------------------------------------------------------------------
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; cache_dir aufs /var/cache/squid 61440 16 256
&lt;br&gt;&amp;gt; emulate_httpd_log on
&lt;br&gt;&amp;gt; logfile_rotate 100
&lt;br&gt;&amp;gt; logformat combined %&amp;gt;a %ui %un [%tl] &amp;quot;%rm %ru HTTP/%rv&amp;quot; %Hs %&amp;lt;st
&lt;br&gt;&amp;gt; &amp;quot;%{Referer}&amp;gt;h&amp;quot; &amp;quot;%{User-Agent}&amp;gt;h&amp;quot; %Ss:%Sh
&lt;br&gt;&amp;gt; access_log /var/log/squid/access.log combined
&lt;br&gt;&amp;gt; cache_log /var/log/squid/cache.log
&lt;br&gt;&amp;gt; cache_store_log /var/log/squid/store.log
&lt;br&gt;&amp;gt; debug_options ALL,1,33,3,20,3
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt;
&lt;/div&gt;-----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; auth_param basic children 10
&lt;br&gt;&amp;gt; auth_param basic realm Squid proxy-caching web server
&lt;br&gt;&amp;gt; auth_param basic credentialsttl 2 hours
&lt;br&gt;&amp;gt; auth_param basic casesensitive off
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # OPTIONS FOR TUNING THE CACHE
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt;
&lt;br&gt;-----------------------------------------------------------------------------
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; refresh_pattern ^ftp: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1440 &amp;nbsp; &amp;nbsp;20% &amp;nbsp; &amp;nbsp; 10080
&lt;br&gt;&amp;gt; refresh_pattern ^gopher: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1440 &amp;nbsp; &amp;nbsp;0% &amp;nbsp; &amp;nbsp; &amp;nbsp;1440
&lt;br&gt;&amp;gt; refresh_pattern -i \.css &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1440 &amp;nbsp; &amp;nbsp;50% &amp;nbsp; &amp;nbsp; 2880 override-expire
&lt;br&gt;&amp;gt; refresh_pattern -i \.swf &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;1440 &amp;nbsp; &amp;nbsp;50% &amp;nbsp; &amp;nbsp; 2880 ignore-reload
&lt;br&gt;&amp;gt; override-expire
&lt;br&gt;&amp;gt; refresh_pattern . &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1440 &amp;nbsp; &amp;nbsp;50% &amp;nbsp; &amp;nbsp; 4320 override-expire
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # ACCESS CONTROLS
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt;
&lt;/div&gt;-----------------------------------------------------------------------------
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; acl all src all
&lt;br&gt;&amp;gt; acl manager proto cache_object
&lt;br&gt;&amp;gt; acl localhost src 127.0.0.1/255.255.255.255
&lt;br&gt;&amp;gt; acl to_localhost dst 127.0.0.0/8
&lt;br&gt;&amp;gt; acl SSL_ports port 443 563
&lt;br&gt;&amp;gt; acl Safe_ports port 80 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# http
&lt;br&gt;&amp;gt; acl Safe_ports port 21 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# ftp
&lt;br&gt;&amp;gt; acl Safe_ports port 443 563 &amp;nbsp; &amp;nbsp; # https, snews
&lt;br&gt;&amp;gt; acl Safe_ports port 70 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;# gopher
&lt;br&gt;&amp;gt; acl Safe_ports port 210 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # wais
&lt;br&gt;&amp;gt; acl Safe_ports port 1025-65535 &amp;nbsp;# unregistered ports
&lt;br&gt;&amp;gt; acl Safe_ports port 280 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # http-mgmt
&lt;br&gt;&amp;gt; acl Safe_ports port 488 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # gss-http
&lt;br&gt;&amp;gt; acl Safe_ports port 591 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # filemaker
&lt;br&gt;&amp;gt; acl Safe_ports port 777 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; # multiling http 
&lt;br&gt;&amp;gt; acl purge method PURGE
&lt;br&gt;&amp;gt; acl CONNECT method CONNECT
&lt;br&gt;&amp;gt; acl shoutcast rep_header X-HTTP09-First-Line ^ICY\s[0-9]
&lt;br&gt;&amp;gt; upgrade_http0.9 deny shoutcast
&lt;br&gt;&amp;gt; acl apache rep_header Server ^Apache
&lt;br&gt;&amp;gt; broken_vary_encoding allow apache
&lt;br&gt;&amp;gt; 
&lt;/div&gt;&lt;br&gt;Part 1 of the problem:
&lt;br&gt;&lt;br&gt;You are running a reverse-proxy. All of these initial http_access rules
&lt;br&gt;are forward-proxy security restrictions. In the case of the &amp;quot;allow all&amp;quot; its
&lt;br&gt;attempting to bypass the regular forward-proxy config by turning it into an
&lt;br&gt;open proxy instead.
&lt;br&gt;&lt;br&gt;The reverse proxy config (your &amp;quot;UNIVERSITY SERVICES ENTRIES&amp;quot; settings)
&lt;br&gt;need to be set right here above the forward-proxy config.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;gt; http_access allow manager localhost
&lt;br&gt;&amp;gt; http_access deny manager
&lt;br&gt;&amp;gt; http_access allow purge localhost
&lt;br&gt;&amp;gt; http_access deny purge
&lt;br&gt;&amp;gt; http_access deny !Safe_ports
&lt;br&gt;&amp;gt; http_access deny CONNECT !SSL_ports
&lt;br&gt;&amp;gt; http_access allow localhost
&lt;br&gt;&amp;gt; http_access allow all
&lt;br&gt;&lt;br&gt;With the reverse-proxy config in the right place you can turn the basic
&lt;br&gt;security back on by changing that above line to &amp;quot;deny all&amp;quot;
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; http_reply_access allow all
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; icp_access allow all
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ##########################################
&lt;br&gt;&amp;gt; ###### UNIVERSITY SERVICES ENTRIES &amp;nbsp;######
&lt;br&gt;&amp;gt; ##########################################
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; cache_peer &amp;lt;web1_IP&amp;gt; parent 80 0 no-query originserver name=web1
&lt;br&gt;&amp;gt; cache_peer &amp;lt;cache2_IP&amp;gt; parent 3128 3130 proxy-only default
&lt;/div&gt;&lt;br&gt;Part 2 of the problem:
&lt;br&gt;&amp;nbsp;The above config indicates that cache2 is the primary web server (on port
&lt;br&gt;3128) with web1 as a backup source.
&lt;br&gt;&lt;br&gt;I believe your setup needs cache1 and cache2 in a sibling relationship as
&lt;br&gt;'alternative' backup sources of data to each other. Siblings are checked
&lt;br&gt;before parents but a failure at sibling is not fatal to locating the file.
&lt;br&gt;&lt;br&gt;Also requests received in port 3128 (ie from a sibling) should be denied
&lt;br&gt;forwarding to the sibling.
&lt;br&gt;&lt;br&gt;&amp;gt; acl sites_web1 dstdomain site1.domain.com site2.domain.com
&lt;br&gt;&amp;gt; http_access allow sites_web1
&lt;br&gt;&amp;gt; cache_peer_access web1 allow sites_web1
&lt;br&gt;&amp;gt; cache_peer_access web1 deny all
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # ADMINISTRATIVE PARAMETERS
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt;
&lt;br&gt;-----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; shutdown_lifetime 3 second
&lt;br&gt;&amp;gt; httpd_suppress_version_string on
&lt;br&gt;&amp;gt; cache_mgr &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26818576&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cachemgr@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # ICP OPTIONS
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt;
&lt;br&gt;-----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; log_icp_queries on
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # MISCELLANEOUS
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt;
&lt;br&gt;-----------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; memory_pools_limit 1024 MB
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; # DELAY POOL PARAMETERS (all require DELAY_POOLS compilation option)
&lt;br&gt;&amp;gt; #
&lt;br&gt;&amp;gt;
&lt;br&gt;-----------------------------------------------------------------------------
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; coredump_dir /var/spool/squid
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -------------------------EO Configuration file -------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Any comments on the configuration would be much appreciated. Thank you
&lt;br&gt;&amp;gt; in advance. 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Kind regards,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Nik
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Reverce-proxy-setup-with-neighboor-support-tp26809997p26818576.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26818449</id>
	<title>Re: Squid does not start/shutdown properly</title>
	<published>2009-12-16T13:00:08Z</published>
	<updated>2009-12-16T13:00:08Z</updated>
	<author>
		<name>Chris Robertson-2</name>
	</author>
	<content type="html">&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26818449&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;david.kauffmann@...&lt;/a&gt; wrote:
&lt;br&gt;&amp;gt; I have two machines, both running squid3. One runs stable1 and the other stable19. The one running stable1 is on a virtual machine.
&lt;br&gt;&amp;gt; When i execute /etc/init.d/squid3 on both machines, this is what i get on
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; stable1:
&lt;br&gt;&amp;gt; /etc/init.d/squid3
&lt;br&gt;&amp;gt; Usage: /etc/init.d/squid3 {start|stop|reload|force-reload|restart}
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&lt;br&gt;Init scripts are not supplied with Squid. &amp;nbsp;They are a nicety added by 
&lt;br&gt;the distribution. &amp;nbsp;/path/to/squid -k shutdown is the supported/expected 
&lt;br&gt;method of stopping Squid. &amp;nbsp;That said...
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; stable19:
&lt;br&gt;&amp;gt; /etc/init.d/squid3
&lt;br&gt;&amp;gt; Usage: /etc/init.d/squid3 { start | stop }
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sometimes when i start the stable19 system, squid doesn't start giving me an error, that there's already a running squid process. i suspect this has something to do with squid not shutting down properly.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When i stop squid using /etc/init.d/squid3 stop on both machines, i get no response at all on the stable19 platform.
&lt;br&gt;&amp;gt; But on the stable1 machine i get this when i stop squid:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; /etc/init.d/squid3 stop
&lt;br&gt;&amp;gt; &amp;nbsp;* Stopping Squid HTTP Proxy 3.0 squid3
&lt;br&gt;&amp;gt; &amp;nbsp;* &amp;nbsp;Waiting...
&lt;br&gt;&amp;gt; &amp;nbsp;* ...
&lt;br&gt;&amp;gt; &amp;nbsp;* ...
&lt;br&gt;&amp;gt; &amp;nbsp;* ...
&lt;br&gt;&amp;gt; &amp;nbsp;* ...
&lt;br&gt;&amp;gt; &amp;nbsp;* ...
&lt;br&gt;&amp;gt; &amp;nbsp;* ... &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ OK ]
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[ OK ]
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;Either the init scripts on the two servers are different, or the compile 
&lt;br&gt;options put an executable or a PID file in a location not expected by 
&lt;br&gt;the init script.
&lt;br&gt;&lt;br&gt;&amp;gt; I compiled the squid stable19 version myself. here are the compiler options:
&lt;br&gt;&amp;gt; &amp;nbsp;Version 3.0.STABLE19
&lt;br&gt;&amp;gt; configure options: &amp;nbsp;'--build=i486-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=${prefix}/lib/squid3' '--disable-maintainer-mode' '--disable-dependency-tracking' '--srcdir=.' '--datadir=/usr/share/squid3' '--sysconfdir=/etc/squid3' '--mandir=/usr/share/man' '--with-cppunit-basedir=/usr' '--enable-inline' '--enable-async-io=8' '--enable-storeio=ufs,aufs,diskd' '--enable-removal-policies=lru,heap' '--enable-poll' '--enable-delay-pools' '--enable-cache-digests' '--enable-snmp' '--enable-htcp' '--enable-select' '--enable-carp' '--enable-large-files' '--enable-underscores' '--enable-icap-client' '--enable-auth=basic,digest,ntlm' '--enable-basic-auth-helpers=all' '--enable-ntlm-auth-helpers=SMB' '--enable-digest-auth-helpers=ldap,password' '--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group' '--with-filedescriptors=65536' '--with-default-user=proxy' '--enable-epoll' '--enable-linux-netfilter' 'build_alias=i486-linux-gnu' 'CC=cc' 'CFLAGS=-g -O2 -g -Wall -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS=' 'CXX=g++' 'CXXFLAGS=-g -O2 -g -Wall -O2' 'FFLAGS=-g -O2' '--enable-http-violations'
&lt;br&gt;&amp;gt; The VM compiler options look like this:
&lt;br&gt;&amp;gt; Version 3.0.STABLE1
&lt;br&gt;&amp;gt; configure options: &amp;nbsp;'--build=i486-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=${prefix}/lib/squid3' '--disable-maintainer-mode' '--disable-dependency-tracking' '--srcdir=.' '--datadir=/usr/share/squid3' '--sysconfdir=/etc/squid3' '--mandir=/usr/share/man' '--with-cppunit-basedir=/usr' '--enable-inline' '--enable-async-io=8' '--enable-storeio=ufs,aufs,coss,diskd' '--enable-removal-policies=lru,heap' '--enable-poll' '--enable-delay-pools' '--enable-cache-digests' '--enable-snmp' '--enable-htcp' '--enable-select' '--enable-carp' '--enable-large-files' '--enable-underscores' '--enable-icap-client' '--enable-auth=basic,digest,ntlm' '--enable-basic-auth-helpers=LDAP,MSNT,NCSA,PAM,SASL,SMB,YP,getpwnam,multi-domain-NTLM' '--enable-ntlm-auth-helpers=SMB' '--enable-digest-auth-helpers=ldap,password' '--enable-external-acl-helpers=ip_user,ldap_group,session,unix_group,wbinfo_group' '--with-filedescriptors=65536' '--with-default-user=proxy' '--enable-epoll' '--enable-linux-netfilter' 'build_alias=i486-linux-gnu' 'CC=cc' 'CFLAGS=-g -O2 -g -Wall -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS=' 'CXX=g++' 'CXXFLAGS=-g -O2 -g -Wall -O2' 'FFLAGS=-g -O2'
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Do i have to reconfigure and rebuild my squid to get the same behaviour on both machines?
&lt;br&gt;&lt;br&gt;Probably not. &amp;nbsp;Check the init script for mention of a PID file. &amp;nbsp;Then 
&lt;br&gt;have a look at &lt;a href=&quot;http://www.squid-cache.org/Doc/config/pid_filename/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.squid-cache.org/Doc/config/pid_filename/&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;My assumption (based on the way my init scripts work) is that the script 
&lt;br&gt;sends a shutdown signal to Squid and then periodically (once a second or 
&lt;br&gt;so) checks for the presence of the PID file, writing out a period if it 
&lt;br&gt;still exists. &amp;nbsp;When Squid quits, it should remove the PID file. &amp;nbsp;Once 
&lt;br&gt;the PID file disappears the shutdown is successful. &amp;nbsp;If the PID file is 
&lt;br&gt;not where the init script expects, when the script is called to shut 
&lt;br&gt;down Squid, it appears to not be running, so the script just exits.
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;nbsp;is there an option that controls this behaviour in the squid.conf?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; D. K.
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; IT-PARTNER - Martin U. Haneke
&lt;br&gt;&amp;gt; Fichtestraße 26
&lt;br&gt;&amp;gt; 10967 Berlin
&lt;br&gt;&amp;gt; Tel: +49(30)200055-0
&lt;br&gt;&amp;gt; Tel: +49(30)200055-39
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;Chris
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Squid-does-not-start-shutdown-properly-tp26807925p26818449.html" />
</entry>

</feed>
