LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-07-2006, 08:36 AM   #1
ngwasuma
Member
 
Registered: Jan 2005
Distribution: Fedora11
Posts: 45

Rep: Reputation: 16
Lightbulb How to cache windows updates using Squid


Anyone who knows how to Cache windows updates so that one person downloads it and others download from cache?

Last edited by ngwasuma; 06-07-2006 at 08:38 AM.
 
Old 06-07-2006, 09:17 AM   #2
penguintutor
Member
 
Registered: Jun 2006
Location: UK
Distribution: Ubuntu, Mandriva, Redhat and Fedora
Posts: 118

Rep: Reputation: 15
That describes the function of the Squid Proxy. Once the first person has obtained an update through the proxy, then it will be cached for future downloads.

Are you wanting to know what configuration changes are needed on the Windows machines to use the proxy? If so you are posting in the wrong forums. If you go to the Microsoft web site and search for "proxy windows update" (or knowledge base 900935) you should be able to find the answer, which differs depending upon how you want to get the updates.
 
Old 06-07-2006, 09:58 AM   #3
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
hehe i think micosoft tell this is not legal since uncle bill want to verify each is pc is original via validation then can be updated
 
Old 06-08-2006, 04:37 AM   #4
ngwasuma
Member
 
Registered: Jan 2005
Distribution: Fedora11
Posts: 45

Original Poster
Rep: Reputation: 16
I have been using squid cache for a while now and it caches most of the files the way it should, except for windows update files. I run squid transparently so I dont have to bother about configurations on user computers.

Was thinking someone here has found a way of caching those.

I have seen a number of answers to this but they dont appear to work.

Last edited by ngwasuma; 06-08-2006 at 04:38 AM.
 
Old 06-08-2006, 04:52 AM   #5
ngwasuma
Member
 
Registered: Jan 2005
Distribution: Fedora11
Posts: 45

Original Poster
Rep: Reputation: 16
I beleive Caching WU can work (legally) coz the WGA validation process does not require or collect any information that could personally identify you. Customers who have a genuine copy of Windows and who decide not to complete the validation process can still obtain critical software updates by using the Automatic Updates feature.

The Automatic Updates feature is NOT affected by the WGA validation check. Therefore, one can use the Automatic Updates feature to receive critical Windows updates.
NOW, those are the ones I want to be caching.

Now, when I tail squid's access log, I can see download of those taking place (even to some computer owners who dont know what WGA is all about).

Last edited by ngwasuma; 06-08-2006 at 04:56 AM.
 
Old 06-08-2006, 05:53 AM   #6
penguintutor
Member
 
Registered: Jun 2006
Location: UK
Distribution: Ubuntu, Mandriva, Redhat and Fedora
Posts: 118

Rep: Reputation: 15
It's certainly possible and legal to perform distributed Windows Updates, as this is how WSUS works. We have a seperate (Windows) WSUS server which downloads the updates one, and which the other machines then get their updates from. The WSUS server goes direct so we don't actually use the proxies for any of our Windows Updates.

This is done using a Windows server, although as far as I know it just uses http transfers. I don't expect anyone has created a linux equivelant of a server that is just designed to serve to Windows machines.

Back to squid - assuming that there is no session information, and that the transfers don't have don't cache option set (I wouldn't expect eithr of these being the case), the other things you may want to check is your: maximum_object_size and how big your cache is allowed to be, as either of those could stop files from being cached.
 
Old 06-09-2006, 08:44 AM   #7
poochdog
Member
 
Registered: Jul 2004
Location: United Kingdom
Distribution: Fedora Core 9
Posts: 141

Rep: Reputation: 15
I personally was not able to get Windows Update to cache in the squid Proxy.

I made adjustment to the cache size, object size and life of the cache. Unfortunately these didn't work. I will have an experiment with it later and see if I can get it to work....
 
Old 06-21-2006, 06:44 AM   #8
ngwasuma
Member
 
Registered: Jan 2005
Distribution: Fedora11
Posts: 45

Original Poster
Rep: Reputation: 16
poochdog let me know if you get anything new. I am also trying on my side.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sequring the squid cache alvi2 Linux - Networking 0 11-20-2005 01:47 PM
squid cache Windows Media Stream templar_g Linux - Networking 1 10-19-2005 05:59 AM
Squid Cache I think it is AJones Linux - Security 1 07-03-2005 07:50 AM
problem in squid cache alvi2 Linux - Networking 1 06-26-2005 02:07 PM
squid cache error woods Linux - Networking 3 10-29-2004 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration