[squid-users] Squid for caching windows updates

joe chip_pop at hotmail.com
Wed Feb 24 13:32:35 UTC 2016


if you know what you ar doing this might help you 
long time i didn't check if its still working but try them

in your conf add 
acl wind-upd url_regex -i
\.(microsoft|windowsupdate)\.com.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip|psf|appx|esd)

store_id_access allow wind-upd

refresh_pattern -i
(microsoft|windowsupdate)\.com.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip|psf|appx|esd)   
4320 80% 43200    reload-into-ims 
refresh_pattern -i
\.windowsupdate\.website\.com.*\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip|psf|appx|esd)  
4320 80% 43200    reload-into-ims 

in your storeid helper add 
} elsif ($u=~
m/^http:\/\/.+?\.(windowsupdate|microsoft|website)\.com\/.+?_([0-9a-z]{40})\.(cab|exe|ms[i|u|f]|asf|wm[v|a]|dat|zip|psf|appx|esd)/){
            $out="OK store-id=http://windowsupdate.com.squid.internal/" . $2
. "." .$3 ;

ps..  change that variable $u to match yours in storeid
that if you do have helper in perl  if not other ppl might help in different
language



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-for-caching-windows-updates-tp4676168p4676169.html
Sent from the Squid - Users mailing list archive at Nabble.com.


More information about the squid-users mailing list