<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<p>10.1.10.9 is the proxy's IP, dude<br>
</p>
<p>And it is connecting to the same server multiple times because a
client is doing a RANGE download.. (windows update to be exact)</p>
<p>All GETS are like these:</p>
<p>GET
<a class="moz-txt-link-freetext" href="http://au.v4.download.windowsupdate.com/d/msdownload/update/software/defu/2016/06/am_base_7684a3445029744f69529e465ac573f76bd68144.exe">http://au.v4.download.windowsupdate.com/d/msdownload/update/software/defu/2016/06/am_base_7684a3445029744f69529e465ac573f76bd68144.exe</a>
HTTP/1.1<br>
Accept: */*<br>
Accept-Encoding: identity<br>
If-Unmodified-Since: Wed, 29 Jun 2016 22:14:50 GMT<br>
<b>Range: bytes=103416560-104234280</b><br>
User-Agent: Microsoft BITS/7.8<br>
Proxy-Connection: Keep-Alive<br>
Host: au.v4.download.windowsupdate.com</p>
<p>But with an increasing <b>range </b>every ~2 secs.... and squid
will create a new connection to the server everytime</p>
<p>Anyway.. I'm trying to figure out this by myself for months
now.. <br>
</p>
<p>In my "test lab" it seems collapsed_forwarding and range-requests
are working together.. but in this production server I always get
this behaviour.. lots of connections to the same server, and to
get the same file..</p>
<p>How to get rid of it without giving up on caching it? lol<br>
</p>
<br>
<pre class="moz-signature" cols="72">--
Best Regards,
Heiler Bemerguy
Network Manager - CINBESA
55 91 98151-4894/3184-1751</pre>
<div class="moz-cite-prefix">Em 12/07/2016 17:08, joe escreveu:<br>
</div>
<blockquote cite="mid:1468354120914-4678468.post@n4.nabble.com"
type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">root@proxy:~# netstat -n |grep 201.30.251.27 |grep ESTAB
tcp 243802 0 10.1.10.9:27788 201.30.251.27:80 ESTABELECIDA
tcp 0 0 10.1.10.9:15343 201.30.251.27:80 ESTABELECIDA
tcp 14480 0 10.1.10.9:32548 201.30.251.27:80 ESTABELECIDA
tcp 0 0 10.1.10.9:25426 201.30.251.27:80 ESTABELECIDA
tcp 48322 0 10.1.10.9:8560 201.30.251.27:80 ESTABELECIDA
tcp 329234 0 10.1.10.9:54205 201.30.251.27:80 ESTABELECIDA
tcp 0 0 10.1.10.9:1656 201.30.251.27:80 ESTABELECIDA
tcp 993 0 10.1.10.9:50820 201.30.251.27:80 ESTABELECIDA
tcp 330227 0 10.1.10.9:56519 201.30.251.27:80 ESTABELECIDA
</pre>
</blockquote>
</blockquote>
<pre wrap="">
10.1.10.9 one client ip i cant tell he might be downloading more then one
file
range_offset_limit -1 or none it will force range to non range download
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">Look my conf:
</pre>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">acl fullDLext urlpath_regex -i
\(exe|ms(i|u|p)|deb|cab|rpm|bin|zip|ax|r(a|p)m|app|pkg|mar|nzp|dat|iop|xpi|dmg|dds|thor|nar|gpf|pdf|appx|appxbundle|esd)
</pre>
</blockquote>
</blockquote>
<pre wrap="">ouchhh 2 much unless you have plenty of bandwith
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">acl fullDLurl url_regex -i \.microsoft\.com\/filestreamingservice
</pre>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">quick_abort_min 0 KB
quick_abort_max 0 KB
quick_abort_pct 100
</pre>
</blockquote>
</blockquote>
<pre wrap="">
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">range_offset_limit -1 fullDLext
range_offset_limit -1 fullDLurl
</pre>
</blockquote>
</blockquote>
<pre wrap="">better to change that to one control i dont know if that will be bad idea
</pre>
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">collapsed_forwarding on
</pre>
</blockquote>
</blockquote>
<pre wrap="">this is good if you have other client downloading on same time same file it
has nothing to do with multi connection to the same ip only it will help
saving you example if you have 10 client downloading at the same time same
file so one download it will be.. not 10 download i dont know if im
mistaking amos or other will answer to that
--
View this message in context: <a class="moz-txt-link-freetext" href="http://squid-web-proxy-cache.1019090.n4.nabble.com/time-based-range-offset-limit-tp4678462p4678468.html">http://squid-web-proxy-cache.1019090.n4.nabble.com/time-based-range-offset-limit-tp4678462p4678468.html</a>
Sent from the Squid - Users mailing list archive at Nabble.com.
_______________________________________________
squid-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a>
<a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a>
</pre>
</blockquote>
<br>
</body>
</html>