Search squid archive

Re: "store-stale" sending original "expires" header may be breaking windows update?

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

 



Is it a TPROXY or INTERCEPT proxy or a simple proxy defined in the OS?
If it's not such a big network and not in TPROXY mode(can be used in this case also but not recommended) you can try to peek at:
http://www1.ngtech.co.il/wpe/?page_id=301

But if plain squid works for you then simply use squid.

Hope it Helps,
Eliezer

----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer@xxxxxxxxxxxx


-----Original Message-----
From: squid-users [mailto:squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Heiler Bemerguy
Sent: Tuesday, December 6, 2016 6:04 PM
To: squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  "store-stale" sending original "expires" header may be breaking windows update?


Squid Cache: Version 3.5.22-20161115-r14113

it seems removing "ignore-reload" fixed that loop.. but anyway something seems to be broken +_+


Em 06/12/2016 12:30, Amos Jeffries escreveu:
> On 7/12/2016 4:08 a.m., Heiler Bemerguy wrote:
>> Hi folks, what do you think about it?
>>
>> refresh_pattern -i
>> (microsoft|windowsupdate)\.com.*\.(cab|exe|ms[iup]|dat|zip|[ap]sf|appx(bundle)?|esd|crl)$
>> 483840 100% 483840 override-expire ignore-reload ignore-no-store
>> store-stale
>>
>>
>> A request sent to squid:
>>
>> GET
>> http://download.windowsupdate.com/d/msdownload/update/others/2016/11/23135907_62c440827e79f4ebcb1babac054468802f1be1cd.cab
>> HTTP/1.1
>> Accept: */*
>> User-Agent: Windows-Update-Agent
>> Proxy-Connection: Keep-Alive
>> Host: download.windowsupdate.com
>>
>>
>> squid reply to the user:
>>
>> HTTP/1.1 200 OK
>> *Expires: Thu, 17 Nov 2016 18:00:01 GMT*
>> MSRegion: Latam
>> Cache-Control: public,max-age=172800
>> Content-Length: 0
>> Content-Type: application/vnd.ms-cab-compressed
>> Last-Modified: Mon, 14 Nov 2016 16:57:44 GMT
>> Accept-Ranges: bytes
>> ETag: "0b4d737983ed21:0"
>> Server: Microsoft-IIS/8.5
>> X-Powered-By: ASP.NET
>> X-CID: 7
>> X-CCC: US
>> X-MSEdge-Ref: Ref A: A41379B47DAB430595652F948ADA374C Ref B:
>> A3C4FE3E5EFF7E01F424A3DC08B40AF5 Ref C: Tue Dec  6 06:44:10 2016 PST
>> *Date: Tue, 06 Dec 2016 14:44:10 GMT*
>> X-Cache: MISS from proxycache2
>> Age: 60080
>> X-Cache: HIT from proxy
>> Via: 1.1 proxycache2 (squid), 1.1 proxy (squid)
>> Connection: keep-alive
>>
>> So.. it's sending a stale object, but it's saying to the user that the
>> object is expired...  is it right? I think windows update is aborting
> Worse than that.
>
> -> Last-Modified + Age is not even close to the Date value.
>
> -> The CC:max-age=172800 says it expires at 16 Nov 2016 16:57:44 GMT.
>
> -> Content-Length says it is 0 bytes of data. Yet there are non-zero
> amount of object being transferred in your log records.
>
> Something is getting very screwed up in those headers.
>
> What versions of Squid are those two proxies?
>
> Amos
>
> _______________________________________________
> squid-users mailing list
> squid-users@xxxxxxxxxxxxxxxxxxxxx
> http://lists.squid-cache.org/listinfo/squid-users

-- 
Best Regards,

Heiler Bemerguy
Network Manager - CINBESA
55 91 98151-4894/3184-1751

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux