RE: [squid-users] A single website is loading slow

2010-09-08 Thread Paul Freeman
Adding information to my previous reply - sorry. I should have mentioned that my mention of compression was seen between the client and Squid. I am not sure but it is possible that Squid was doing compression with the origin server. In that case it probably invalidates my comments about

Re: [squid-users] RE: unable to compile 3.2.0.2

2010-09-08 Thread Amos Jeffries
On 08/09/10 01:57, Zeller, Jan (ID) wrote: Dear list, I am unable to compile 3.2.0.2 $ ./configure --prefix=/opt/squid-3.2.0.2 --enable-icap-client -- enable-ssl --disable-translation --disable-auto-locale --enable-linux- netfilter --with-pthreads --with-filedescriptors=32768 --enable-

Re: [squid-users] Proxy-Connection: Keep-Alive in POST Requests?

2010-09-08 Thread Amos Jeffries
On 08/09/10 17:46, Mikio Kishi wrote: Hi, Henrik fre 2007-04-13 klockan 22:25 +0200 skrev Sebastian Weber: Hendrik, thank you - that solved the problem. Now, I have a new one however: The client - proxy connection is kept alive correctly. The proxy - server connection, however, is not.

RE: [squid-users] RE: unable to compile 3.2.0.2

2010-09-08 Thread Zeller, Jan (ID)
It's related to the particular compiler behaviour when working with weak-linked libraries and build parallelism. Our libmisc is a bit dated and does some unkind things with new/delete that can confuse the compiler. Working on a fix. PS; beta code and build problems are topics for squid-dev

Re: [squid-users] Any recommended squid log analyzer?

2010-09-08 Thread Amos Jeffries
On 08/09/10 00:29, Kaiwang Chen wrote: See inline. Thanks, kc 2010/9/7 Amos Jeffriessqu...@treenet.co.nz: On Tue, 7 Sep 2010 01:45:46 +0800, Kaiwang Chenkaiwang.c...@gmail.com wrote: Hello, Looks like awstats.pl cannot recognize squid logformat from squid3.1.6, as pointed out by LogFormat

[squid-users] Cutomizable Bandwidth Allocation

2010-09-08 Thread Isaac NickAein
I have installed squid server as a proxy server for a small network in office and configured it to dedicate 100KB/s for each computer (by leaky buckets) But sometimes (e.g. when the office is solitude) the users need more bandwidth (temporary). I figured out three ways to solve this problem: 1-

[squid-users] Re: How to ignore query terms for store key?

2010-09-08 Thread Henrik Nordström
tis 2010-09-07 klockan 18:59 -0700 skrev Guy Bashkansky: /usr/local/squid/bin/strip-query.pl #!/usr/local/bin/perl -Tw $| = 1; while() { chomp; s/\?\S*//; print; } ### my strip query test If you chomp the newline then you need to add it back when printing the result. Regards Henrik

RE: [squid-users] RE: Two squid servers to talk to each other before the internet

2010-09-08 Thread Tóth Tibor Péter
Hi Amos! Here is my config file: http_port 8080 hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? cache deny QUERY acl apache rep_header Server ^Apache cache_peer ##THE_IP_OF_THE_SIBLING## sibling 3128 3130 #prefer_direct off cache_mem 1024 MB maximum_object_size 4096 KB

Re: [squid-users] Cutomizable Bandwidth Allocation

2010-09-08 Thread Amos Jeffries
On 08/09/10 19:31, Isaac NickAein wrote: I have installed squid server as a proxy server for a small network in office and configured it to dedicate 100KB/s for each computer (by leaky buckets) You mean delay_pools right? But sometimes (e.g. when the office is solitude) the users need more

Re: [squid-users] RE: Two squid servers to talk to each other before the internet

2010-09-08 Thread Amos Jeffries
On 08/09/10 21:20, Tóth Tibor Péter wrote: Hi Amos! Here is my config file: http_port 8080 hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? cache deny QUERY If you have a squid newer then 2.6.STABLE18 you can safely remove these QUERY line. It will improve your hit rates a

[squid-users] forwarding port changed based on url

2010-09-08 Thread foobar devnull
Hi all, I tried to look for an answer to this probably simple question via the mailing list search but it seems to be down and google was of little help. I have the following setup: I have a squid server setup as a reverse proxy and serving a vm with multiple domains/websites. One of these

Re: [squid-users] forwarding port changed based on url

2010-09-08 Thread Amos Jeffries
On 09/09/10 01:22, foobar devnull wrote: Hi all, I tried to look for an answer to this probably simple question via the mailing list search but it seems to be down and google was of little help. I have the following setup: I have a squid server setup as a reverse proxy and serving a vm with

Re: [squid-users] Squid redirectors children doesn't shutdown/die with squid

2010-09-08 Thread Jorge Iván Burgos Aguilar
Hi Amos, See inline comments 2010/9/7 Amos Jeffries squ...@treenet.co.nz: All helpers MUST respond to every line of input they receive with a single line of output. Every non-response is a hung client request. They MAY respond with by shutting themselves down without output if they deem the

Re: [squid-users] Squid redirectors children doesn't shutdown/die with squid

2010-09-08 Thread John Doe
From: Jorge Iván Burgos Aguilar jorgebur...@inaipyucatan.org.mx Well to be honest m not so sure, i have seen the code at src/redirect.cc and cant confirm the behavior m seen, but if i put a debug line logging all input send to the redirector script i find thousands of \n (0x0a), a good

Re: [squid-users] Proxy-Connection: Keep-Alive in POST Requests?

2010-09-08 Thread Mikio Kishi
Hi, Amos Ah, well. *requiring* things beyond the RFCs (agreed compatible standards) is a well known cause of failure. Just ask anyone trying to use NTLM on a public website. Is multiple POST requests in a http connection using keep-alive RFC violation ? --mkishi On Wed, Sep 8, 2010 at 3:47

[squid-users] Failure recovery, reconfiguration/restart during rebuild (Was: How to ignore query terms for store key?)

2010-09-08 Thread Guy Bashkansky
Thanks, storeurl_rewrite works.  Of course, I shouldn't have chomped the newline in the first place :) Now, I'm trying to investigate failure and recovery properties of Squid 2.7 STABLE9 relative to Squid 2.4: Specifically, Squid 2.4 cbdata.c memory management sometimes crashed under high load,

RE: [squid-users] Re: Re: Squid 3.0 STABLE 19 and SPNEGO with Windows Firefox 3.6.3

2010-09-08 Thread Paul Freeman
5429 (20100906) __ The message was checked by ESET Smart Security. http://www.eset.com __ Information from ESET Smart Security, version of virus signature database 5435 (20100908) __ The message was checked by ESET Smart Security. http://www.eset.com

Re: [squid-users] Proxy-Connection: Keep-Alive in POST Requests?

2010-09-08 Thread Amos Jeffries
On Thu, 9 Sep 2010 01:46:35 +0900, Mikio Kishi mki...@104.net wrote: Hi, Amos Ah, well. *requiring* things beyond the RFCs (agreed compatible standards) is a well known cause of failure. Just ask anyone trying to use NTLM on a public website. Is multiple POST requests in a http

[squid-users] I need help with url_regex

2010-09-08 Thread devlin7
Hi, I am using SquidNT and opendns. Opendns is great but the proxy blocking is a little behind the times [understandably]. I have noticed the proxy sites change daily but they all operate the same way so I have added the following to my squid.conf ## #

Re: [squid-users] I need help with url_regex

2010-09-08 Thread Amos Jeffries
On Wed, 8 Sep 2010 18:45:41 -0700 (PDT), devlin7 i...@wghs.school.nz wrote: Hi, I am using SquidNT and opendns. Opendns is great but the proxy blocking is a little behind the times [understandably]. I have noticed the proxy sites change daily but they all operate the same way so I have

[squid-users] Re: I need help with url_regex

2010-09-08 Thread devlin7
Thanks, so you are basically saying I am wasting my time? I worked out why it wasn't working. The wildcards just aren't acceptable. I assume this is something to do with Squid running on windows. Any further suggestions? -- View this message in context:

Re: [squid-users] Re: I need help with url_regex

2010-09-08 Thread Amos Jeffries
On 09/09/10 16:02, devlin7 wrote: Thanks, so you are basically saying I am wasting my time? No, I'm saying avoid regex as much as possible. And if you are stuck like this where you have to use it, be very careful that you know how the patterns actually work. I worked out why it wasn't