[squid-users] Has anyone a working config for windows update through squid?

James Harper james at ejbdigital.com.au
Thu Aug 20 11:58:37 UTC 2015


> 
> We run squid 3.5.6 in a proxy server with FreeBSD 9.3.
> Squid is the only way out, there is no transparency at all.
> We have problems with windows update through squid.
> 

Problems without doing anything with Squid, or problems trying to get Squid to actually cache windows updates?

At home I divert all my updates through apt-cacher, which seems to work well.

The things I had to do were:
. write the rewriter
. add some rules to divert the required requests into the rewriter (and then not divert apt-cacher requests)
. modify apt-cacher to cache cab, exe, and psf files in the right way

I seem to get an appropriate number of hits. apt-cacher handles the partial file requests without problems. The only problem I can see is I don't think apt-cacher knows how to clean up the windows update related files, so it will either be expiring files when it thinks they are old enough, expiring them instantly, or not expiring them all. Right now I have files dating back to 31/01/2015, so I suspect probably the latter (clean cache option is off)

The apt-cacher report says I'm getting a 85% hit rate (by GB - 63% by request).

James



More information about the squid-users mailing list