Slashdot Mirror


Microsoft Windows Update and Network Bandwidth?

Brett Glass asks: "As we reviewed the cache statistics for our small ISP today, we noted that the traffic generated by Microsoft's Windows Update feature constituted 45% -- no, that's not a misprint -- of our total throughput. Because so many computers on the Internet run Windows, this massive resource drain occurs whenever Microsoft announces major security holes (as it did this week). The traffic could be greatly reduced, and service to users much improved, if the updates were cacheable at the ISP. But Microsoft has set up the service in such a way that the data can't be cached. (It's digitally signed, so inserting Trojans into the cache is virtually impossible; in any event, no more of an issue than intercepting the data stream.) Are others out there seeing the same pattern? How might Microsoft be convinced to make its updates cacheable, so as not to waste unthinkable amounts of bandwidth?"

144 comments

  1. i agree by Anonymous Coward · · Score: 0

    it takes so long to do updates now too... we have win 98 machines we want to update and it can take overnight!

    fp!!!

  2. MS wants you to host one internally by dgallina · · Score: 3, Funny

    No no! You're supposed to buy and install and manage an internal (corporate, academic, whatever) Windows Update server and manage your internal clients yourself.... :-)

    1. Re:MS wants you to host one internally by REBloomfield · · Score: 2, Informative

      buy?? Windows Update Services is free, mate. Install it on your server, set the clients up via GPO, and off it goes, saves bandwidth and admin time by the bucketload.

    2. Re:MS wants you to host one internally by DrZaius · · Score: 2, Informative

      Actually, it does exist and it is called SUS. It is free (if you already own a win2k server license).

      Let me just say, SUS sucks ass.

      Microsoft's systems of GPO's makes it pretty useless -- you need to set GPO's for hosts to use your SUS servers, so if your domain has any divergence from the stock GPO's there is a good chance it isn't going to work and it will be impossible to debug in less than a month.

      I believe there was a giant thread about it on focus-ms.

      --
      -- DrZaius - Minister of Sciences and Protector of the Faith
    3. Re:MS wants you to host one internally by hmallett · · Score: 1

      In addition, the hardware requirements for SUS are:

      • Pentium III 700 MHz or higher processor
      • 512 megabytes (MB) of RAM
      • 6 gigabytes (GB) of available hard disk space

      In addition, I believe that it downloads around 2GB of updates initially, which for those with low bandwidth is no trivial amount.

    4. Re:MS wants you to host one internally by fubar1971 · · Score: 1

      Actually you can do this. Go to:

      Microsoft's Software Update Services page.

      There is a white paper on how to deploy an Update server. Kind of funny though, they already have a SP1 for the software.

    5. Re:MS wants you to host one internally by chunkwhite86 · · Score: 1

      No no! You're supposed to buy and install and manage an internal (corporate, academic, whatever) Windows Update server and manage your internal clients yourself.... :-)

      Hey now... whose side are you on?? You're supposed to suggest to him "Why don't you ditch MS and install Linux on all your PC's - it is ready for the corporate desktop afterall."

      ;-)

      --
      I'd rather be a conservative nutjob than a liberal with no nuts and no job.
    6. Re:MS wants you to host one internally by netdudeuk · · Score: 1

      Using MS SUSS I'm pretty sure that you can do just that. Then you control what is released to what and when it happens

    7. Re:MS wants you to host one internally by stevejsmith · · Score: 1

      But this is an ISP, not a highly connected-to-the-clients network server. Unless they found an easy way to get every subscriber to edit their registry or download a file that links to their server instead of the regular one, this ain't gonna happen. And getting users to do things on an ISP can be difficult.

    8. Re:MS wants you to host one internally by Anonymous Coward · · Score: 0

      In addition, I believe that it downloads around 2GB of updates initially, which for those with low bandwidth is no trivial amount.

      Brutha, it's an ISP. Bandwidth is all they have!

  3. can't be cached? by greck · · Score: 5, Informative

    I can only speak from what I've seen in our offices, but squid (running in transparent proxy mode) very definitely caches content from Windows Update... I set it up about six month ago and remeber being really surprised (because I think I very reasonably expected it not to).

    1. Re:can't be cached? by Blkdeath · · Score: 4, Informative
      I can only speak from what I've seen in our offices, but squid (running in transparent proxy mode) very definitely caches content from Windows Update... I set it up about six month ago and remeber being really surprised (because I think I very reasonably expected it not to).

      Our store Squid server caches the likes of IE 6.1, Media Player and DirectX, but the vast majority of the Critical/Security updates are not cached. Our connection is quick enough to handle it, but a PITA nonetheless due to the dozens of machines requiring updates every week.

      --
      BD Phone Home!

      Shameless plug. Like you weren't expecting it.

    2. Re:can't be cached? by greck · · Score: 2, Informative

      It cached SP3 when we installed it--that must have contained some security roll-ups. I wonder what the rhyme is to what sticks in the cache and what doesn't...

    3. Re:can't be cached? by Anonymous Coward · · Score: 0

      our squid server caches everything as well, i just did a out of the cd w2ksp3 without having to download anything from the internet.

      it's very noticeable when it goes from 100mbit down to the ISDN line.

      between that and debian is the main reason the squid server is setup at the office and all suboffices.

    4. Re:can't be cached? by bobibleyboo · · Score: 5, Informative

      I can also vouch for this I had a Linux Mandrake SNF Server running a transparent squid server (with a little tweaking to the max file size and the average file size) I was able to cut out about 90% of the windows update traffic at the site (The site had about 200 users) none of the transactions where cached but when it came to downloading the updates and service packs it works wonderfully.

    5. Re:can't be cached? by Brett+Glass · · Score: 2, Interesting

      Squid can't cache the updates. We've tested this. The URLs for the transfers (files come in as small GETs about 1 KB in size) aren't set up to allow caching.

    6. Re:can't be cached? by lifeless · · Score: 3, Informative

      Well, the sites I run happily cache all the udpates available via windows update. The only thing that doesn't cache is the https:// transfers (which I understand to be the catalog of available fixes).

      You might want to analyze exactly what is occuring in your site(s).

      Cheers,
      Rob
      (Squid core developer)

    7. Re:can't be cached? by Wolfrider · · Score: 5, Informative

      --Check your squid.conf, and look for # TAG: maximum_object_size (bytes)
      # Objects larger than this size will NOT be saved on disk.

      # maximum_object_size 4096 KB
      maximum_object_size 32767 KB

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    8. Re:can't be cached? by freakkster · · Score: 1, Informative

      I seem to remember trying this once:
      use a redirector in squid and point customers to the local version on your website a la http://www.squid-cache.org/Doc/FAQ/FAQ-15.html Seems basic to me

      --
      make sig make: *** No rule to make target `sig'. Stop
    9. Re:can't be cached? by PerryMason · · Score: 4, Interesting

      My experience is that if you download a single update, such as the Media Player, IE, service packs etc, which can only be downloaded individually, then squid will cache it. If you select a few updates, such as grouping your critical updates, it wont do it.

      Looking at my squid logs, it appeared that there was a problem with WindowsUpdate issuing a 0 byte sized reply to the GET request (must be somthing to do with the activex control I guess, but never really bothered to look further into it). Squid seemed to choke on the 0 byte reply and obviously didnt cache the rest of the download.

      Interestingly enough, MS's caching offering ISA appears to deal with it, but I suppose that they specifally coded it with a knowledge of how their activex control works and hence it knows whats following that 0 byte reply.

      Disclaimer - I checked this all out when the new WindowsUpdate first came out and havent been arsed to look at it since then. I ended up just setting up a shitty old box as a SUS server and going that route. (The only benefit to being an MSDN partner being $0 cost for licensing as I justify it as being for testing purposes ;)

      --
      "I'm tired of all this 'Aren't humanity great' bullshit. We're a virus with shoes" - Bill Hicks
    10. Re:can't be cached? by greck · · Score: 1

      yeah, I have a beefy squid box and cranked that up to 64 MB right at the beginning to catch as much media and other bulky material as I could. the quick_abort_* options are your friend, too. cache hit rate (objects, not bytes) is running at 71% at the moment... no complaints there.

    11. Re:can't be cached? by greck · · Score: 1

      yeah, it works great, too. I had an office of 20 people reading email via OWA over a single modem while our broadband was being installed, and I made a local mirror of all of OWA's graphics and icons and wrote a trivial redirector to use them... made a huge difference in perceived performance.

    12. Re:can't be cached? by funky+womble · · Score: 1

      Careful with quick_abort, it can be a hefty bandwidth-user if not tuned correctly. I wonder if copying updates to a local http server and using a redirector to rewrite specific URLs would be more useful...

  4. New Slogan by Anonymous Coward · · Score: 0

    "All the bandwidth usage of Gentoo, none of the perks!"

  5. How big are these things? by questamor · · Score: 2, Interesting

    Not being a windows user, how big are the windows updates and how often do they come?

    Apple's own software updates are pretty big, although with a much smaller percentage of machines as macs they're not going to cause the same volume of problems. The last few I've seen have been around 40MB, with one topping out at 80, and most security updates (every 2 months perhaps) being 5-15MB

    1. Re:How big are these things? by Wonko42 · · Score: 1

      Recently, I've been seeing about one new patch per week on Windows update, though usually they aren't nearly as frequent. In most cases, the patches are relatively small (just a few megs), although some (such as the .NET runtime) can be upwards of 20 megs.

    2. Re:How big are these things? by shunnicutt · · Score: 2, Informative

      The good news about Apple's updates are that they can be downloaded from the web and stored on the local network, or you can direct Software Update to download the update to your desktop.

      This makes it easy to share with others who might not have the bandwidth to download these freakin' things.

    3. Re:How big are these things? by Anonymous Coward · · Score: 0

      Yes, but no one so far has been called a gay for running Windows, if you know what I mean.

    4. Re:How big are these things? by tedDancin · · Score: 3, Informative

      Not being a windows user, how big are the windows updates and how often do they come?

      Since Microsoft release patches via Windows Update so frequently, they are usually fairly small. 1MB-5MB downloads are frequent, with the occasional 10MB+ one every now and then. There are updates practically every few days, so having a Windows Update Server running will negate the expense of everyone having to download redundant files.

      Some help about storing Windows Update files for later can be found here.

      --

      Ladies, form queue here -->
    5. Re:How big are these things? by Keith+Russell · · Score: 1

      Individual patches are usually well under 5MB. When MS rolls all those little IE updates up into a service pack, they're usually around 10MB. Media Player updates weigh in around that size, too. Above that, you're looking at things like major DirectX revs and the .NET Framework. And I weep for those who try to download an OS service pack over a dial-up.

      --
      This sig intentionally left blank.
    6. Re:How big are these things? by eht · · Score: 2, Informative

      so can the ones on windows update

      either you can build your own windows update server or at the very least download the individual updates and store them just as files

      and you can even build them into an iso image, my win2k cd has sp3 built into it so whenever I build a new machine it's already there, and you can do that with most of the updates

    7. Re:How big are these things? by shunnicutt · · Score: 1

      Well, I'm a little confused.

      I mean, I can see that an ISP couldn't really make any headway by hosting the file on web site or something, but there are several replies here from network managers complaining about bandwidth.

      Why don't they host it for their users and save the bandwidth?

      Am I missing something?

    8. Re:How big are these things? by shyster · · Score: 2, Informative
      Probably because they're not doing internal testing of the updates, and the admin is too overworked to keep on top of the updates to download them to a central server. Best practices though, dictate that the admin download needed updates, test them on lab machines, and automatically rollout to clients. The rolling out to clients is the difficult part. Most updates can be installed unattended via CLI, but some can't. Of course, with a little effort (and something like AutoIt), all of them can be made unattended. All that's left is a way of knowing which updates have already been applied. I recommend a central database or checking the registry (with Perl or VBScript...whichever you're more comfortable with).

      Of course, if you use Microsoft's Software Update Service, then it's basically like running your own Windows Update server...and it's a free addon to Win2K servers. Client side is very similar to the Automatic Updates feature introduced in 2000 SP3 (or XP SP1)...but instead of checking MS's server it checks your own. Admins have control over what updates will be applied.

      There are also 3rd party tools like HFNetChk Pro (with a free Lite version, but it has major limitations as far as rollouts are concerned) and UpdateExpert. They basically simplify mass scanning and rollout to many machines.

      Of course, for ISP's the only thing I can think of would be to just download the files and host on a website...then educate your customers.

    9. Re:How big are these things? by cymen · · Score: 2, Insightful

      Along with the big other reply the whole point is that just downloading and saving a local copy isn't going to help an ISP with users who want to use the simple Windows Update system. Transparent caching is what everyone wants. Having to direct users to updates, keep those updates up to date, and deal with users complaints/suggestions/whatever about the updates is just too much work to justify when the adoption rate will be very small (IMHO) as users continue to just start Windows Update.

    10. Re:How big are these things? by bofkentucky · · Score: 1

      It's doable, but painful. The good thing is though, with XP SP1, I had stayed on top of the hotfixes/patches/addons and the actual SP1 download was around 20MB, about the same as the .Net Framework. Just dial up before bed and hang up in the morning.

      --
      09f911029d74e35bd84156c5635688c0
  6. Standard anti-MS rant by Bistronaut · · Score: 3, Funny

    I visited the site linked to in the post, and it came up with a message about how it doesn't work with my browser/OS (Mozilla/Linux). Boy, that just boils my blood! Oh, wait.

  7. this nothing by jsse · · Score: 3, Funny

    compare to 95% usage last time Code Red visit. :)

    The rest 5% is Netbios traffic.

    1. Re:this nothing by Lord+Sauron · · Score: 2, Funny

      So we have:

      95% code red
      50% Kazaa
      40% HTTP
      20% Spam
      45% windows update

      Gee, has anyone heard of a new science called Mathematics ?

    2. Re:this nothing by fstanchina · · Score: 1

      You forgot porn, which I guess is in the 80%-90% range.

    3. Re:this nothing by Anonymous Coward · · Score: 0

      Ah, but you're forgetting that not all of these are mutually exclusive...

    4. Re:this nothing by The+FooMiester · · Score: 1

      Must be using the Metric system

      I'm not a cowboy, I'm just a fast typist.

      --
      The previous has been a secret message to my comrades.
  8. Re:GPL is to blame by tooth · · Score: 1

    lol ;-) Thought I recognised the name.

  9. there is the way that large corperations do it by rritterson · · Score: 4, Informative

    Here at Berkeley all of the Windowsupdates come from an internal server instead of externally. That way they control who gets the updates and when.

    You can download the updates individually, and there is probably a way to have them downloaded to the server automatically. All you have to do is convince the users to download them from you and install them manually. Can you block traffic from the autoupdate applet? I bet that would significantly reduce traffic, at the cost of insecure customers.

    What about running an internal WU server and changing the DNS entry at the local level to a local server? You'd have to keep the catalog of updates stocked and refreshed constantly, for multiple OS's, so I don't know how cost effective it might be.

    --
    -Ryan
    AUWYHSTOT (Acronyms are Useless When You Have to Spell Them Out Too)
    1. Re:there is the way that large corperations do it by Brett+Glass · · Score: 1

      It's possible to set this up within an institution, but not at an ISP. You'll have hundreds of users, each running a slightly different version and configuration of Windows. And you, yourself, aren't the administrator of those machines nor do you have an institutional license for Windows. (If you're a smart ISP, you're not running Windows on many machines, if at all.)

    2. Re:there is the way that large corperations do it by paleck · · Score: 1

      This is done with windows and some such server. It will only push out updates to registered members of the domain (which ISP customers are not) and requires a huge network to even justify the expense.

    3. Re:there is the way that large corperations do it by shyster · · Score: 2, Informative
      This is done with windows and some such server. It will only push out updates to registered members of the domain (which ISP customers are not) and requires a huge network to even justify the expense.

      Yeah, except the fact that SUS is a free download. Maybe you're talking about Systems Management Server which does cost a bit, but does a lot more than just security updates.

    4. Re:there is the way that large corperations do it by PerryMason · · Score: 1

      The problem is that you cant run SUS on any kind of AD master server. The server has to effectively be nothing more than a member server and not take part in any kind of AD master rolls.

      This means that for smallish organisations, you need your AD master, a backup master (at least 1) for redundancy and then your additional SUS server, which means minimum 3 server licenses, plus all your cals. It also means you have to run IIS (http and ftp) which noone in their right minds wants to run. I havent been able to find any particular reason why it shouldn't be able to run on a backup AD server than MS wanting to force you to get another server license and obviously another server.

      I used to run SUS at a largish predominantly Windows site I worked at, and when setup properly can be pretty useful, but obviously its an added expense that a lot of people just cant bear.

      --
      "I'm tired of all this 'Aren't humanity great' bullshit. We're a virus with shoes" - Bill Hicks
    5. Re:there is the way that large corperations do it by Finni · · Score: 2, Informative
      That's no longer true. See this page, third question.

      Q. Can I run SUS on an Active Directory domain controller?

      A. Yes, SUS 1.0 SP1 allows for this.

    6. Re:there is the way that large corperations do it by PerryMason · · Score: 1

      I stand corrected.

      As I said though, there wasnt any valid reason that it couldn't be run on an AD DC. I imagine that enough people complained and MS was forced to remove whatever restrictions were in place, rather than added the functionality. (But then I'm always quick to abuse MS. I have had to support their crap software across 20 odd client sites, hundreds of servers and destops in their thousands over the past 8 years, so I reserve this right. :) As of the 31st of February though, I quit my job and i'm back at uni finishing my Law degree, so I dont care anymore and its Linux all the way! I havent seen a Windows startup screen since my last day at work. You have no idea how good it feels :)

      --
      "I'm tired of all this 'Aren't humanity great' bullshit. We're a virus with shoes" - Bill Hicks
    7. Re:there is the way that large corperations do it by SuiteSisterMary · · Score: 1

      Or, in other words, are the users paying for their bandwitdh? Yes? Then who the hell cares how they're using it?

      --
      Vintage computer games and RPG books available. Email me if you're interested.
    8. Re:there is the way that large corperations do it by Christopher_G_Lewis · · Score: 2, Insightful

      Um, it's actually a free download. You just need the hardware (which doesn't have to be that great for what it's doing. I think mine is running on a P2@333 w/ a 20GB drive for the downloads)

      I run it at home for my network (1 Email/Web/DNS, 1 DNS secondary, 2 AD, 1 SQL, 2 XP pro workstations for devel), just so I don't have to abuse my DSL too much. Instead of each machine hitting WU, only the SUS Server does. Each machine gets the update off the SUS server.

      I do think that MS should wise up and make an ISP compatable SUS server. I guess they might have issues with maintaining the freshness of the ISPSUS server.

    9. Re:there is the way that large corperations do it by Mr+Z · · Score: 1

      Sure, they're paying for the bandwidth between themselves and the ISP. Caching the Windows Update at the ISP allows the ISP's customers to make better use of their own bandwidth while simultaneously reducing the burden on the ISP's link to the rest of the world. It's a win-win situation.

      In general, reducing the ISP's costs for a given level of service is a good thing. In the long run, improvements in efficiency improve the health of the ISP and potentially reduce the costs to its customers.

      --Joe
    10. Re:there is the way that large corperations do it by Anonymous Coward · · Score: 0

      31st of February, eh? Before you do that Law degree, you might want to review your calendar basics, as taught back in 1st grade or so...

  10. Several options available by questionlp · · Score: 5, Informative
    There are a couple of options that you can choose to help reduce the amount of bandwidth used to pull down and install Windows Updates. The first one, which is available for free and runs on Windows 2000 Server, is Microsoft's Software Update Services which allows you to create a local store of the updates (for any language and all supported platforms) and point the client Windows Update to the internal server. It's not perfect but it works in a lot of cases.

    Another option is to use a systems management package (LANDesk, ZENworks, SMS, etc.) to build the packages and deploy them while only using your internal network bandwidth (once you've downloaded the hotfixes anyway).

    Of course, the two options above are really meant for company networks, but even those can help reduce the bandwidth used for more important things.

    1. Re:Several options available by Anonymous Coward · · Score: 0
      The first one, which is available for free and runs on Windows 2000 Server, is Microsoft's Software Update Services [microsoft.com] which allows you to create a local store of the updates (for any language and all supported platforms) and point the client Windows Update to the internal server.


      I assume that requires the ISP to run a Windows server, am I wrong? As unthinkable as this might sound to some people, yes, there are ISPs out there who don't have a *single* machine running *any* version of Windows. And we are happy that way, Uptime is much better, everythning is more manageable, we need less hardware, security fixes are fast.

    2. Re:Several options available by cookd · · Score: 1

      If going out and buying one Windows machine could save many gigabytes of bandwidth, would it be worth it?

      --
      Time flies like an arrow. Fruit flies like a banana.
    3. Re:Several options available by Anonymous Coward · · Score: 0

      I wouldn't be so sure about "free" w/ SUS. Most likely you would need CALs -- which OK for corporations, but untenable for ISPs.

    4. Re:Several options available by questionlp · · Score: 1

      I believe that Windows Updates connects as an anonymous user to IIS (which is where SUS and it's files are accessible) and downloads them. Anonymous connections to IIS do not require CALs.

    5. Re:Several options available by sdibb · · Score: 1
      It's not perfect but it works in a lot of cases.

      Kind of like ... the MS patches.

  11. Re:Would you all bitch if it was another vendor? by Anonymous Coward · · Score: 0

    I would, but if that were a real problem you could go to sourceforge and find 15 different projects devoted to solving the problem, 3 of which are usable, one one of which... well.. you'd probably already be running so there isn't a problem.

  12. Out of my experience by jsse · · Score: 5, Informative
    Yes you can't cache it. That save Microsoft a lot of trouble and the trouble is on you. :)

    First step is to download the patches/update manually and save them elsewhere accessable to all users:

    Second, we found that users would rather use windowsupdate.microsoft.com then to go to our patches/update repository, that make sense. You could forbid your users from accessing windowsupdate.microsoft.com, but it might have a problem, as some update might actually request windowsupdate.microsoft.com during installation.

    Therefore, we limit the priority of traffic in/out of windowsupdate.microsoft.com. Eventually we lower the prior of entire microsoft.com because that's really necessary. Users could access to windowsupdate.microsoft.com on their own as usual - if they don't mind holding up their machines for a couple of days. :)

    This works great. Larger and bigger patches are stored locally for users, while they could still access to windowsupdate for smaller patches/fixes. Our bandwidth load lessen(to a certain degree, we still can't solve that 5-15% Netbios traffic jam :)

    Hope this help.
    1. Re:Out of my experience by Masa · · Score: 1, Redundant

      Better link, IMHO, is this: Windows Downloads. The link provides correct up-to-date links to different download areas.

    2. Re:Out of my experience by Brett+Glass · · Score: 1

      Windows Downloads requires you to know what you're looking for. Windows Update automatically checks the machine and grabs all updates that haven't been applied yet. Needless to say, 99% of all users use Windows Update.

    3. Re:Out of my experience by cymen · · Score: 1

      Your solution sounds ideal but I am wondering that if users download the files manually, wouldn't it be possible to just run squid at least between them and *.microsoft.com and have it handle the file caching (remember, we are now doing standard HTTP GETs, not any Windows Update oddness)? That would eliminate the need to have someone keep the updates archive current on the ISP side.

      I particularly like the idaa of limiting the priority of traffic for windowsupdate.microsoft.com as it still lets the user run the applet to see what updates are out there and then decide what to download manually based on that...

      Ideally MS would just fix the problem though as this whole workaround is just one more annoyance in the world of Windows.

    4. Re:Out of my experience by jsse · · Score: 1

      We tried squid, but it wasn't working quite like the way we wanted it to be. Say user1 just downloaded 105M patch, and we supposed user2 would have that very same patch on the fly, it wasn't. My guess is that each users might download the same file(or fragment of files) from different locations. There might be some load balancing mechanism in out way, we aren't sure.

      Or may be, regardless of all the effort, we aren't very good at tuning squid. We'd be much appreciate if experts out there could give us some hint. :)

  13. Hope they don't notice . . . by Anonymous Coward · · Score: 3, Funny
    that the other 55% was used for Slashdot.

    ~~~

  14. The other 55% by Electrum · · Score: 4, Funny

    Let me guess... the other 55% is porn?

    1. Re:The other 55% by Anonymous Coward · · Score: 0

      Don't be silly. You need at least 1-2% for overhead and HTTP headers.

    2. Re:The other 55% by Anonymous Coward · · Score: 0

      Don't forget pirated MP3s

  15. Valid by Oculus+Habent · · Score: 3, Interesting

    Wouldn't it be nice if you could set up a caching proxy to establish a verification process with the items being cached from that server - that way the server could perform checksum verification on the file and approve the copy for distribution.

    It seems that it could be an easy implementation. The proxy requests the file verification in, an XML-RPC request is returned from the server to perform the checksum, the resulting data is sent via SOAP, and approval is given or denied, causing the cache to be used or flushed.

    I don't know enough about it to say how difficult it would be to have the proxy determine if the service is available, though. It needs an acronym if it's going anywhere. How about Verify Cache Request (VCR)?

    --
    That what was all this school was for... to teach us how to solve our own problems. -- janeowit
    1. Re:Valid by oh · · Score: 2, Interesting

      how about HTTP? I don't done have (read "can't be bothered") a copy of the RFC but I'm almost sure there are headers defined to request the MD5 checksum of a file.

      Why invent a new protocol if you already have one with the required functionality.

      --
      Democracy isn't about no one telling you what to do. It's about everyone telling you what to do.
    2. Re:Valid by mbogosian · · Score: 4, Insightful

      Wouldn't it be nice if you could set up a caching proxy to establish a verification process with the items being cached from that server - that way the server could perform checksum verification on the file and approve the copy for distribution.

      It seems that it could be an easy implementation. The proxy requests the file verification in, an XML-RPC request is returned from the server to perform the checksum, the resulting data is sent via SOAP, and approval is given or denied, causing the cache to be used or flushed.


      Ahh, but then that would involve Reverse Engineering, which, as we know is now illegal.

      Not to mention that this is approaching a P2P network, which as we know can only be used for piracy.

      Sorry, we're all just going to have to live with this new "innovation" in bandwidth utilization.

    3. Re:Valid by crazyj · · Score: 1
      How about Verify Cache Request (VCR)?

      Should work just fine. The product currently using "VCR" has been declared obsolete anyways.

  16. You could... by maunleon · · Score: 2, Informative

    ...download the updates yourself and either push them to the users through something like SMS, or have a program check the registry in the login script. It is fairly simple.

    If it's a big problem, just block off windowsupdate and redirect them to your own page. You could implement a simple scan using something like HFNetChk. It's command line and works well.

    Hey, look at it this way.. at least your users are updating! That puts them above 90% of the users out there.

  17. Re:Would you all bitch if it was another vendor? by schmink182 · · Score: 3, Insightful

    No one's bitching. All the person is asking is whether there's a whether he can change Microsoft's mind. Nowhere does he insult MS. In fact, he states that there is a completely justifiable reason for not letting anyone cache the updates.
    Just settle down, really. Maybe you should go to bed.

  18. Re:Would you all bitch if it was another vendor? by Anonymous Coward · · Score: 1, Informative

    are you thinking with both brain cells here?

    the red hat updates are cacheable yet individually gpg-signed. they are also freely distributable by anyone. you can set up a red hat satellite proxy server for your organization. you can download once straight from red hat's FTP server (the URLs are conveniently listed in the emails) and push them to each machine. there are probably 50 different ways you can write perl scripts to fix the problem.

    seriously, this is a difference between FREE SOFTWARE and VENDOR LOCK-IN. Even Brett Glass can understand what FREE means in this context.

    Microsoft probably knows EXACTLY how much of a pain this is and will happily SELL you some overpriced "Windows Update Proxy Server Professional 2000 .NET" to solve all your worries.

  19. 'convincing' Microsoft? by Tumbleweed · · Score: 0, Troll

    You _have_ heard of Microsoft before, right?

    The only way to convince Microsoft of anything would be to _buy_ Microsoft.

  20. Just watch... by Feztaa · · Score: 1

    As MS's server logs flood with people using Mozilla on Linux try to slashdot windowsupdate :)

  21. Software Update Services by superyooser · · Score: 5, Informative
    Microsoft used to have a corporate Windows Update site where you could download all the patches as executable files. That site was retired last year in favor of something called Software Update Services. It requires running a SUS server and appears to distribute the updates only to systems running Windows 2000 or later.

    In the meantime, you should be aware that all the major service packs for Microsoft products can be downloaded as stand-alone executables. Also, the IE download page includes some critical updates. Make your own "cache" on the network, and let everybody get their updates from there.

    1. Re:Software Update Services by cookd · · Score: 1

      Mod this up!!! This is the exact answer to the question.

      --
      Time flies like an arrow. Fruit flies like a banana.
    2. Re:Software Update Services by Brett+Glass · · Score: 4, Informative
      Microsoft's Software Update Services require you to modify all of the clients. Those that aren't modified still try to access Microsoft's Windows Update site.

      So, since ISPs can't administer their users' systems, this really isn't an answer. Caching is a much better solution.

    3. Re:Software Update Services by Zocalo · · Score: 1
      Microsoft used to have a corporate Windows Update site

      They still do, kind off, as a function of the standard Windows Update site. For instance, Microsoft wants me to get my Windows XP Updates from the URL: http://v4.windowsupdate.microsoft.com/en/default.a sp. However, since I have a few machines running XP with no Internet access I get my patches instead from the URL http://v4.windowsupdate.microsoft.com/catalog/en/d efault.asp. Note the addition of the "catalog" in the URL!

      It's a pain, because you need to know in advance what you are trying to download, so I usually run the standard Update first to see what's available and then switch to the other site to grab 'em. The only other caveats are, it still requires ActiveX to be enabled for the download to work and who knows what information gets sent to Microsoft?

      --
      UNIX? They're not even circumcised! Savages!
    4. Re:Software Update Services by questionlp · · Score: 1

      You can always provide a package containing Windows Update and apply the necessary registry settings required to have the client point to the ISP's Windows Update server rather than Microsoft's servers. In a corporation, you would use group policies to make the necessary changes without having to hack the registry on each client manually.

    5. Re:Software Update Services by Profane+Motherfucker · · Score: 1

      Who the fuck is going to let an ISP modify their registry? This isn't a corporation. It's nothing like a corporation. What you can do with Group Policy in a LAN/WAN setting is not like an ISP. Who is logging into an Active Directory server from their ISP? That's what it would take for this to work.

    6. Re:Software Update Services by questionlp · · Score: 1

      It happens all the time already: customized versions of Internet Explorer/Outlook Express, special dialer applications, spyware, destroying other dial-up connections on a machine, etc. It's just something I threw out but it doesn't mean that it most be done nor should it be mandatory.

    7. Re:Software Update Services by rakerman · · Score: 1

      Um, isn't the Windows Update Catalog the replacement for the corporate update site? (note, this is different from the Windows Catalog, which lists Windows stuff you can buy).

  22. The other 55%? by Omega+Hacker · · Score: 2, Funny

    So dare I ask what the other 55% is? Here's my guess:

    • 1% Instant messaging
    • 1% Real email
    • 3% SPAM
    • 5% Web browsing
    • 45% Windows vunlerability probes and active attacks

    No, don't check. You don't want to know.

    --
    GStreamer - The only way to stream!
    1. Re:The other 55%? by Anonymous Coward · · Score: 0

      Dude, you forgot porn!

    2. Re:The other 55%? by Brett+Glass · · Score: 1

      Actually, porn is down at 1-2%. Banner advertising (especially Netscape, Yahoo, Doubleclick, eBay, and AOL) would be next after Windows Update if it weren't cacheable, but since the cache handles most of it we only waste about 10% on it.

  23. Microsoft offers Software Update Services by cookd · · Score: 2, Insightful

    You can't transparently cache, but you can set up an SUS server and point your clients at it. Software Update Services FAQ. I don't think it costs anything (beyond the cost of a Windows 2000 Server or Windows 2003 Server), and I don't see anywhere that it says you can only use it in a business... Wouldn't that work?

    --
    Time flies like an arrow. Fruit flies like a banana.
    1. Re:Microsoft offers Software Update Services by chill · · Score: 1

      You can't transparently cache, but you can set up an SUS server and point your clients at it. Software Update Services FAQ [microsoft.com]. I don't think it costs anything (beyond the cost of a Windows 2000 Server or Windows 2003 Server), and I don't see anywhere that it says you can only use it in a business... Wouldn't that work?

      No, this is Microsoft. They want your MONEY, so it isn't that simple. The main reason is it doesn't work with XP Home, only XP Professional. [Note: This is according the the website FAQ. It places lots of emphasis on "Professional" and not once mentions "Home".]

      A shame -- it would have been a good idea.

      --
      Learning HOW to think is more important than learning WHAT to think.
    2. Re:Microsoft offers Software Update Services by chill · · Score: 1

      1. Open mouth
      2. Insert foot
      3. Correct the mistake

      Digging further finds that it DOES work with XP Home. Still, 98 and ME users are left out, but it is a step in the right direction.

      --
      Learning HOW to think is more important than learning WHAT to think.
    3. Re:Microsoft offers Software Update Services by Finni · · Score: 1

      Of course, 98 and ME (AFAIK) don't automatically go looking for the Windows Update server at all, unless there was a patch for that.

  24. Yes, but it's not by 0x0d0a · · Score: 0, Troll

    Yes, but unlike Microsoft, RH doesn't *sell* an overpriced server to let you do exactly this, and hence *does* cache just fine. Just like apt-get (actually, apt can even grok bittorrent) and yum. I would strongly suspect that urpmi and emerge can be cached as well, though I can't personally confirm it.

    1. Re:Yes, but it's not by bobibleyboo · · Score: 1

      Yes URPMI can be cached by squid (as long as you are using an http source on a standard port) It can do it even on a strange port you just have to ajust your port mapping.

  25. The question he actually asked - by bscott · · Score: 1

    > How might Microsoft be convinced to make its updates
    > cacheable, so as not to waste unthinkable amounts of bandwidth?"

    Well, you could try threatening them with legal action - that usually works...

    --
    Perfectly Normal Industries
  26. What about Debian Linux by forged · · Score: 1

    I hope that the fools at my ISP won't blame me for running apt-get every other day or so... And how about full network installations over HTTP, if updates weren't enough ?! ;)

  27. Re:Would you all bitch if it was another vendor? by mbogosian · · Score: 1

    As we reviewed the cache statistics for our small ISP today, we noted that the traffic generated by Redhat Network Update feature constituted 45%....

    Actually, this is easy to combat. Just make /var/spool/up2date a Samba or NFS mounted shared volume (or you can make it a symlink to one) on all your RedHat machines. For your first up2date execution that day/month/year/etc., use the --download flag. This will cache all the files in /var/spool/up2date. Then issue the same command without the --download flag on all machines which need updating. up2date won't needlessly download things that are cached in this directory, but your sigs will still be checked.

    Maybe there's a similar solution for Windoze updates?

  28. Stats for the past 24 hours are even worse.... by Brett+Glass · · Score: 3, Informative

    Just checked the stats for the past 24 hours (from a Squid cache). This time, *.windowsupdate.com generated 56.11% of the traffic, with a hit rate of only 2.37%. In short, Microsoft is eating (and expending!) huge amounts of bandwidth, and almost none of what is being transmitted can be cached. What a waste.

    1. Re:Stats for the past 24 hours are even worse.... by Wolfrider · · Score: 1

      --THAT's why I recognized your name, Brett... FYI, this guy used to have a pretty cool site a few years ago called YMMV (your mileage may vary) and then its services were discontinued. Man that brings back some memories.

      --
      .
      == WolfriderV6 == I'm willing to admit that *I just might* be wrong... Are you??
    2. Re:Stats for the past 24 hours are even worse.... by Jon+Peterson · · Score: 4, Funny

      That's terrible. I mean Microsoft releasing frequent patches for their products - and then the users are finding those patches so easy to download and install that they keep doing it!

      That's so typical of Microsoft. They don't care about the little ISPs, they just want their customer base to have free, simple, access to frequent updates and fixes, without giving a damn about the impact that has on Internet traffic.

      I mean, at least when slashdot directs huge amounts of traffic to some dumb site about making a spaceship out of a floppy disc or whatever, they have the courtesy to always cache the site so that it doesn't take down the whole ISP that hosts that page.

      Why can't MS be more like /. ?

      --
      ----- .sig: file not found
    3. Re:Stats for the past 24 hours are even worse.... by Spoing · · Score: 1
      That's terrible. I mean Microsoft releasing frequent patches for their products - and then the users are finding those patches so easy to download and install that they keep doing it!

      [ponders, wonders, decides...yes! WACK WACK WACK WACK goes the Clue(tm)-brand clue bat against Jon Peterson's head.]

      The issue isn't that it is easy, but that they have such an ineffecient and mostly uncachable mechanism for distribution.

      The frequency of updates in relation to the bugs fixed isn't too much or too often. Microsoft is getting better, and most security issues are caused by the users, though some fixes still take months to show up.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
    4. Re:Stats for the past 24 hours are even worse.... by Anonymous Coward · · Score: 0

      shut the fuck up and go write a bash script or something.

    5. Re:Stats for the past 24 hours are even worse.... by pmz · · Score: 1

      That's terrible. I mean Microsoft releasing frequent patches for their products - and then the users are finding those patches so easy to download and install that they keep doing it!

      What's even more terrible is that no one really knows how many times the EULAs have been changed as a result.

      I installed Windows XP the first time recently and was disturbed at the default settings for Windows itself and the Media Player. MS should not be trusted. They're practically as bad as Real Player.

    6. Re:Stats for the past 24 hours are even worse.... by jo42 · · Score: 1
      might Microsoft be convinced to make its updates cacheable, so as not to waste unthinkable amounts of bandwidth?

      Invoice them for your bandwidth.

  29. Re:Would you all bitch if it was another vendor? by Brett+Glass · · Score: 2, Informative

    Ahem.... Red Hat updates are cacheable. But the percentage of Linux users on our network is in the single digits. Most users run Windows.

  30. Re:Would you all bitch if it was another vendor? by cei · · Score: 1

    If ANY single entity was eating up 45% of my bandwidth, yes, I'd bitch.

    --
    This sig intentionally left justified.
  31. Re:Would you all bitch if it was another vendor? by Rakefighter · · Score: 1

    seriously, this is a difference between FREE SOFTWARE and VENDOR LOCK-IN. Even Brett Glass can understand what FREE means in this context.

    Microsoft probably knows EXACTLY how much of a pain this is and will happily SELL you some overpriced "Windows Update Proxy Server Professional 2000 .NET" to solve all your worries.


    Don't be a moron. Software Update Services is free. All you need is a machine running IIS.

    --

    --Life may have no meaning, or, even worse, it may have a meaning of which you disapprove.

  32. Homepage by David_Bloom · · Score: 1

    If your ISP provides its users with a default homepage, try adding links to cached EXEs of the updates (aka the EXEs designed for corporate users) to that page. It's convenient, probably faster, et cetera.

    --

    Karma: Excellent (fuck, even in the future moderation doesn't work!)
  33. ISP Caching by kmellis · · Score: 3, Informative

    Why don't you subscribe to or at least take a look the ISP-Caching mailing list?

  34. Reload_into_IMS on a per-site basis? by wowbagger · · Score: 1

    I wonder if MS is setting the proxy:nocache header in the HTTP reply, or if their client is always doing a reload rather than an if-modified-since.

    Perhaps allowing Squid to be configured to ignore proxy:nocache and to convert reload into IMS based on an ACL would allow a site admin to tweak around this without breaking other sites>

    1. Re:Reload_into_IMS on a per-site basis? by lifeless · · Score: 1

      Certainly. It should be straight forward to convert reload into ims into an access-control driven directive (say reload_into_ims_access allow|deny acl ..).

      Still, I've not seen a windows update client set no-cache on their requests to date....

      What comes to mind though, is that windows update clients (both the web interface, and automatic updates) use the MS http support libraries, that are configured via the internet options control panel. And in there, the 'check every time' option results in no-cache being put on every request..

  35. Software Update Service by blues5150 · · Score: 3, Informative

    How about trying something like this.

    --

    1. Re:Software Update Service by Anonymous Coward · · Score: 0

      It doesn't work with Win98

  36. Bandwidth and AOL by wowbagger · · Score: 1

    Hmmmm. Given the amount of bandwidth Windows Update takes, I wonder how much of AOL's bandwidth it takes.

    Hmmm...

    On a related note: I haven't looked recently, but it used to be that Windows clients were TERRIBLE about DNS lookups - they would not cache anything, and were always making DNS requests on every little thing. I was helping a FOF set up his DSL, and his DNS lookups were taking 3-5 seconds, because his ISP's name servers (swbell) were overloaded. We finally set up his own internal name server, and set it to do the name lookups itself - time went from 5 seconds to < .1 second. (Yes, this puts some more work on the root servers, but not much, as his name server will cache the locations of the TLD servers).

    1. Re:Bandwidth and AOL by Otto · · Score: 1

      Given the amount of bandwidth Windows Update takes, I wonder how much of AOL's bandwidth it takes.

      None. AOL users don't do "updates" or "patches".

      Seems obvious in retrospect, doesn't it?

      --
      - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
  37. They do. No patch. by hummassa · · Score: 1

    There is a Control Panel setting -- automatically ask the internet for critical updates, or something.

    --
    It's better to be the foot on the boot than the face on the pavement. ~~ tkx Kadin2048
  38. Total Cost of Ownership by karnat10 · · Score: 1

    This is a nice example of how M$' our-products-are-blackboxes-policy is increasing the cost of using them.

    In a world of open systems, everyone who felt like doing it could cache software updates, freeing money and bandwith for more sensible uses than trying to cure a dead horse.

  39. Non cachability cover for takeover of your machine by Anonymous Coward · · Score: 0

    Microsoft does not want you to know what they are
    sending you, and this goes for the isp's as well.
    This is because long before 'trusted computing'
    is forced on the rest of us by hardware, they are
    trying to do it by software to those gullible enough to accept this hostile force into their
    computer guised in the sheeps clothing of an
    innocent sounding 'update'.

  40. The crux of the problem ... by ajvtoo · · Score: 1

    ... is that Microsoft send out a good number of responses with a "Cache-Control: private" header. Any public cache storing these responses is in violation of RFC2616.

    This posting from the squid-users mailing list sheds some more light on the issue.

    If you were wanting to break the RFCs and were using squid, then you could probably modify src/http.c to return 1 for the relevant parts of the httpCachableReply function instead of 0, but that would be a "Bad Thing"(tm) when it came to RFC compliance.

    1. Re:The crux of the problem ... by SuiteSisterMary · · Score: 1

      Wouldn't one reason for doing this be so that if they needed to recall a patch that turned out faulty, and put out a new one, there's no risk of the old ones being cached somewhere?

      --
      Vintage computer games and RPG books available. Email me if you're interested.
    2. Re:The crux of the problem ... by unborn · · Score: 1

      Proxy servers send you the file only after the remote website has initiated the send. I.e. the proxy server verifies whether the file is current. Proxy servers aren't mirrors. However, it may be the case that when the remote server doesn't want to provide such information, there is no way to verify the version.

  41. Must be a small ISP by Call+Me+Black+Cloud · · Score: 2, Insightful

    The latest update was the Java fix, and that weighed in at 5MB. If that's all it takes to spike your traffic then you're probably getting off cheap the rest of the time, with most users not doing much downloading other than mail and news.

    Why don't you post some hard data instead of percentages? Saying windows update is 50% of your traffic is meaningless unless you provide background. What is your normal traffic? How close are you to capacity?

  42. Talk to them by aridhol · · Score: 1
    How might Microsoft be convinced to make its updates cacheable, so as not to waste unthinkable amounts of bandwidth?
    Maybe I'm being naive, but have you considered talking to somebody at Microsoft? They may be willing to listen to your input, as it saves them bandwidth, as well. Just get some data, possibly talk to some other ISPs (maybe some larger ones), and give the stats to a Microsoft rep.
    --
    I can't say that I don't give a fuck. I've just run out of fuck to give.
  43. Did you call Microsoft? by Anonymous Coward · · Score: 0

    http://www.microsoft.com/presspass/contactpr.asp

    I am sure they could put you in touch with the right person. You could also try this newsgroup...

    microsoft.public.win2000.windows_update

  44. Please don't by cperciva · · Score: 1, Insightful

    I've lost count of the times I've run into problems with transparent caches feeding me stale data; the last place I want to see stale data is when fetching security updates.

    If you think it wastes too much bandwidth, think about the bandwidth which could be wasted by a network full of machines which were compromised due to not fetching the latest securty updates.

    1. Re:Please don't by Brett+Glass · · Score: 2, Insightful
      I've lost count of the times I've run into problems with transparent caches feeding me stale data; the last place I want to see stale data is when fetching security updates.

      Doesn't happen. If there's an update to the update, it's done as a separate update.

    2. Re:Please don't by Anonymous Coward · · Score: 0

      Maybe Microsoft has changed it's patch procedure recently, but there's been many times over the years that they have silently updated patches, or even entire service packs.

  45. Wow, leave it to the Great Blue God! by Mr+Z · · Score: 1

    Automatically ask the Internet? I like that. Forget going to a vendor website or even Google. Just send a broadcast packet to all hosts with my query and the Internet will tell me!

    I better check the Evil Bit on the reply packets if I ask for critical updates, so I know whether to trust them.

    --Joe
  46. Get an Akamai box by ccandreva · · Score: 1

    Microsoft now uses Akamai to host Windows updates. You say you are a small ISP -- contact Akamai (http://www.akamai.com/) and see about getting their servers on your network.

    If you aren't familiar with it, Akamai is a hosting company for high-bandwidth sites. Instead of hosting from a main location, they give cacheing servers to ISPs for free. These servers will cache only Akamai content -- but the machine is free and they manage it.

    Traffic is directed to Akamai servers via DNS, so you don't have to do any tricks to direct traffic to them. For example, if you do a DNS lookup (ie, Unix host command) on download.microsoft.com, it goes through several CNAMES, eventualy to something like a767.ms.akamai.net , which resolves to your local Akamai server, or the nearest one of your ISP doesn't use Akamai.

    Off the top of my head, Yahoo and www.whitehouse.gov are other sites useing Akamai.

    1. Re:Get an Akamai box by ickoonite · · Score: 1

      You say Microsoft are using Akamai...

      A quick look on netcraft.co.uk reveals that they are running an Apache on Linux setup. Interesting to say the least that Microsoft are quite possibly using Linux to host their downloads...

      ...or have I misunderstood?

      ickoonite

    2. Re:Get an Akamai box by unborn · · Score: 1

      I guess that also means a lot of external users will feed on your bandwidth. I don't think a small ISP would like that.

  47. Willy Wonka Says... by mhesseltine · · Score: 1

    Invention, my dear friends, is 93% perspiration, 6% electricity, 4% evaporation, and 2% butterscotch ripple.

    That's 105%!

    --
    Overrated / Underrated : Moderation :: Anonymous Coward : Posting
  48. Charge Microsoft for the costs incurred by t-maxx+cowboy · · Score: 1

    Charge Microsoft for the costs incurred for that bandwidth. Pass the savings on to your customers. Basically lets assume that MS consumes more bandwidth than any other company on the internet.
    Lets bill them for taking up the bandwidth. Someone really should be paying me for the grief and aggrevation that MS causes me every time they tell me their sw is flawed, and they have figured out a way to fix that flaw and create 4 more flaws.

    --
    Regards,

    Ryan Pritchard
    Fun Extends All Basic Life Expectancies
  49. Interesting. by Brett+Glass · · Score: 2, Interesting
    During the last 24 hours (shortly after this article was posted to Slashdot) our cache suddenly began getting hits on Windows Update content. Not all of it, mind you, but some.... Which is a good thing, because Windows Update traffic shot up to a whopping 70.1% percent of the last day's throughput.

    I suspect that someone at Microsoft has been reading this discussion, which is good.

    Most of the stuff that became cacheable, though, was for Windows XP. Windows 98 and Me updates (and we have a lot of users running 98 and Me) are still dragging the system down. I know, I know, you guys at Microsoft are trying to persuade Windows users to upgrade. But could you please not attempt to do this by making updates slower? We ISPs would appreciate it.

  50. BITS by Anonymous Coward · · Score: 0

    We noticed the same thing on our network prior to installing Software Update Services. However, it wasn't a big deal to us because we selected the "Automatically Download and Install the Updates on the Schedule I Specify..." option. This uses BITS (Background Intelligent Transfer Service) to incrementally download updates when computers are not making heavy use of bandwidth. We also made use of QoS to control the aggregate inbound flow from Windows Update.

    1. Re:BITS by Brett+Glass · · Score: 1

      The problem with using QoS to throttle Windows Update is that they're served by Akamai. The updates can come in from many different places. Oh, and you can't use "Software Update Services" unless you're in control of the end user's machine and can configure it to use your server.

  51. Measurement a little high? by mr.+methane · · Score: 1

    I've got access to stats for a couple of largish connections (good mix of individual and organization traffic) and that number seeems a little high.

    All the traffic I see to/from microsoft - including msn and hotmail, accounts for perhaps 30% of my traffic on a typical day. On a day when somethign like DX9 comes out, that figure goes up a bit - but still not to the 50% level.

    Do you maybe have a customer who builds systems and mass-updates them? that would almost make the number reasonable....