Re: [squid-users] Getting the full file content on a range request, but not on EVERY get ...

2016-05-13 Thread Garri Djavadyan
On Thu, 2016-05-12 at 14:02 -0300, Heiler Bemerguy wrote: >  > Hi Garri, > That bug report is mine.. lol Hi Heiler, Yes, I know it. I just tried to answer to the following question. > > > Is there a smart way to allow squid to download it from the > > > beginning > > > to the end (to actually

Re: [squid-users] Regular expressions with dstdom_regex ACL

2016-05-13 Thread Walter H.
On Fri, May 13, 2016 07:32, Amos Jeffries wrote: > On 13/05/2016 3:44 p.m., Walter H. wrote: >> p.s. >> the sample here >> http://wiki.squid-cache.org/ConfigExamples/Chat/Skype >> doesn't work, too >> > > The skype pattern is matching the port Skype uses. You need to drop that > off the pattern.

Re: [squid-users] Regular expressions with dstdom_regex ACL

2016-05-13 Thread Amos Jeffries
On 13/05/2016 8:22 p.m., Walter H. wrote: > On Fri, May 13, 2016 07:32, Amos Jeffries wrote: >> On 13/05/2016 3:44 p.m., Walter H. wrote: >>> p.s. >>> the sample here >>> http://wiki.squid-cache.org/ConfigExamples/Chat/Skype >>> doesn't work, too >>> >> >> The skype pattern is matching the port

Re: [squid-users] Fw: Re: Can`t cache always TCP_MISS

2016-05-13 Thread joe
the img link has smale object size the one you post i dont know if this has to do with you problem try 113 cache_dir aufs /squid-cache 65536 128 256 without min-size=512000 check and see the object size if you want to control the min size use this instead minimum_object_size 0 bytes

[squid-users] authenticate_ip_ttl does not work

2016-05-13 Thread asakura
Hello, Thank you always for your kind support. I testing squid-3.5.19 "max_user_ip/authenticate_ip_ttl" feature. but, access control not work well. (Value of authenticate_ip_ttl is not enable) I investigating, and tried to change as follows. src/auth/User.cc # diff User.cc.org User.cc

Re: [squid-users] Fw: Re: Can`t cache always TCP_MISS

2016-05-13 Thread Amos Jeffries
On 14/05/2016 12:05 a.m., Dzaczek wrote: > Again miss > i check on smaller picture and change cache minimum_obejc_size 0 and removed > min-size > > 1463141030.059 39 10.150.21.23 TCP_REFRESH_UNMODIFIED/304 539 GET >

[squid-users] Fw: Re: Can`t cache always TCP_MISS

2016-05-13 Thread Dzaczek
changed aufs to ufs access log: 1463135303.983 370 10.150.21.23 TCP_MISS/200 85386 GET http://x3.cdn03.imgwykop.pl/c3201142/comment_SqqWeOgh3ilDsHNY4goI2JJOrYJ8uX9V.jpg - HIER_DIRECT/213.189.55.117 image/jpeg 1463135305.547 107 10.150.21.23 TCP_MISS/200 85386 GET

Re: [squid-users] ACL is used in context without an HTTP response. Assuming mismatch

2016-05-13 Thread Amos Jeffries
On 13/05/2016 7:06 p.m., David Touzeau wrote: > Thanks Alex > > Any ACLs tips to avoid these warning ? or just assume it's normal in this > situation... ? > Yes and no. It was added to be a type of canary to unexpected behaviours in the config. So in that regard it has done its job well by

Re: [squid-users] Fw: Re: Can`t cache always TCP_MISS

2016-05-13 Thread Dzaczek
Again miss i check on smaller picture and change cache minimum_obejc_size 0 and removed min-size 1463141030.059 39 10.150.21.23 TCP_REFRESH_UNMODIFIED/304 539 GET http://miscmedia-9gag-fun.9cache.com/images/featured/1462860779.7596_WaQy8A_300.jpg - HIER_DIRECT/108.161.188.132 - 1463141030.108

Re: [squid-users] Squid Peek and splice

2016-05-13 Thread Amos Jeffries
On 13/05/2016 5:58 p.m., Reet Vyas wrote: > Hi Amos/Yuri, > > Currently my squid is configured with ssl bump, now I want to use peek and > splice. I read in some forum that we don't need to install certificate on > client's machine. > Splice does not require it. But what you want to do with

Re: [squid-users] Fw: Re: Can`t cache always TCP_MISS

2016-05-13 Thread Amos Jeffries
On 13/05/2016 10:43 p.m., joe wrote: > the img link has smale object size the one you post > i dont know if this has to do with you problem try > > 113 cache_dir aufs /squid-cache 65536 128 256 > without min-size=512000 > > check and see the object size > > if you want to control the

Re: [squid-users] Fw: Re: Can`t cache always TCP_MISS

2016-05-13 Thread Dzaczek
http://codepaste.net/pvx4j1 ... Linux is like wigwam: no Gates, no Windows and Apache inside. Original Message Subject: Re: [squid-users] Fw: Re: Can`t cache always TCP_MISS Local Time: 13 maja 2016 2:02 PM UTC Time: 13 maja 2016 12:02 From: squ...@treenet.co.nz To:

Re: [squid-users] Getting the full file content on a range request, but not on EVERY get ...

2016-05-13 Thread Garri Djavadyan
On Fri, 2016-05-13 at 08:36 +1200, Amos Jeffries wrote: > Have you given collapsed_forwarding a try? Its supposed to prevent > all > the duplicate requests making all those extra upstream connections > unti > at least the first one has finished getting the object. Amos, I believe that the above

Re: [squid-users] ACL is used in context without an HTTP response. Assuming mismatch

2016-05-13 Thread David Touzeau
Thanks Alex Any ACLs tips to avoid these warning ? or just assume it's normal in this situation... ? -Message d'origine- De : Alex Rousskov [mailto:rouss...@measurement-factory.com] Envoyé : vendredi 13 mai 2016 00:40 À : squid-users@lists.squid-cache.org Cc : David Touzeau

[squid-users] Squid: Caching Google Drive Files?

2016-05-13 Thread Jonathan Filogna
Hello all. Here's a question: Can Squid do a caché for some files storaged on googledrive with ssl intercept? -- Jonathan Filogna SysAdmin NeoSitios http://www.neositios.com/ Wobiz http://www.wobiz.com/ ___ squid-users mailing list

Re: [squid-users] Fw: Re: Can`t cache always TCP_MISS

2016-05-13 Thread Amos Jeffries
On 14/05/2016 12:14 a.m., Dzaczek wrote: > http://codepaste.net/pvx4j1 > Doesn't seem to be anything obviously relating to your problem in there. Though I have a few recommendations for improvements: * use of always_direct is deviously the opposite of what one might expecte from reading the

Re: [squid-users] Getting the full file content on a range request, but not on EVERY get ...

2016-05-13 Thread Amos Jeffries
On 14/05/2016 12:38 a.m., Garri Djavadyan wrote: > On Fri, 2016-05-13 at 08:36 +1200, Amos Jeffries wrote: >> Have you given collapsed_forwarding a try? Its supposed to prevent >> all >> the duplicate requests making all those extra upstream connections >> unti >> at least the first one has

Re: [squid-users] Getting the full file content on a range request, but not on EVERY get ...

2016-05-13 Thread Amos Jeffries
On 14/05/2016 12:38 a.m., Garri Djavadyan wrote: > On Fri, 2016-05-13 at 08:36 +1200, Amos Jeffries wrote: >> Have you given collapsed_forwarding a try? Its supposed to prevent >> all >> the duplicate requests making all those extra upstream connections >> unti >> at least the first one has

Re: [squid-users] Squid: Caching Google Drive Files?

2016-05-13 Thread Amos Jeffries
On 14/05/2016 1:15 a.m., Jonathan Filogna wrote: > Hello all. Here's a question: Can Squid do a caché for some files storaged > on googledrive with ssl intercept? > 1) Are the HTTP transactions used to ftech those files cacheable? - this determines whether the caching part of your question

Re: [squid-users] ACL is used in context without an HTTP response. Assuming mismatch

2016-05-13 Thread David Touzeau
You are right Amos Without loosing the original canary need :=) : [ for better I/O performance ] do not write in access.log some squid http status result codes. Example : not write in access.log 407, 403, 301, 302 squid status code. By reading docs and several discuss the only way to

Re: [squid-users] Getting the full file content on a range request, but not on EVERY get ...

2016-05-13 Thread Heiler Bemerguy
Ok but after enabling *collapsed_forwarding*, EVEN when disabling it again, the cache.log are full of *clientProcessHit: Vary object loop!* What happened ? My cache was modified ? collapsed is off now and even after restarting squid I'm still getting a flood of these messages which *were

Re: [squid-users] Getting the full file content on a range request, but not on EVERY get ...

2016-05-13 Thread Garri Djavadyan
On Sat, 2016-05-14 at 01:52 +1200, Amos Jeffries wrote: > The default action should be to fetch each range request separately > and > in parallel. Not caching the results. > > When admin has set only the range offset & quick-abort to force full > object retrieval the behaviour Heiler mentions

Re: [squid-users] Getting the full file content on a range request, but not on EVERY get ...

2016-05-13 Thread Yuri Voinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 13.05.16 21:25, Heiler Bemerguy пишет: > > > Ok but after enabling *collapsed_forwarding*, EVEN when disabling it again, the cache.log are full of *clientProcessHit: Vary object loop!* > Heh, I confirm. I see this when change Squid's binaries to