Using squid to cache windows updates




















I'm wanting my squid install to only cache windows updates. Anyone have any ideas what's happening and why it's not caching windows updates? I'd suggest specifying the following caching options to make sure larger objects can be cached. I'm afraid it would not be possible to cache it as long as clients are using https to access Windows Update services. Squid acts as a mere tunnel between the customer and HTTPS server so it is motsly unable to inspect what are you requesting and so caching it.

You can find more information in the Squid wiki. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 6 years, 7 months ago. Active 5 years, 10 months ago. But with Windows updates, that doesn't seem to be the case. I don't believe the file size is the issue. I have it set to 25 MB. Is anybody using Squid to cache Windows updates that could email or post their squid.

Thanks, Brian. Share Flag. All Comments. Collapse -. Brian 0 Votes. Back to Linux Forum. Start or search. Start New Discussion. Each of the downloaded objects are added to the cache, and then whenever a request arrives indicating the cache copy must not be used it gets converted to an if-modified-since check instead of a new copy reload request. It'll hand out the Windows updates, and will keep them stored in the squid cache.

Why does it go so slowly through Squid? The work-around used by many cache maintainers has been to set the above config and force Squid to fetch the whole object when a range request goes through. Compounding the problem and ironically causing some slowdowns is the fact that some of the Microsoft servers may be telling your Squid not to store the archive file.

This means that Squid will pull the entire archive every time it needs any small piece. Another symptoms which occasionally appear when attempting to force caching of windows updates is service packs. That clients following requests will often timeout waiting for Squid to re-download the whole object from the start.

Which naturally causes the problem to repeat on following restart attempts. Add the following to your squid. If you have squid listening on a localhost port with other software in front ie dansGuardian. You will probably need to add permission for localhost address so the front-end service can relay the requests.

This is especially a problem when you block all traffic by a firewall and force your users to go through a proxy. Symptom: Windows Update gives error codes like 0xEFD and cannot update, automatic updates aren't working too.



0コメント

  • 1000 / 1000