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?"

45 of 144 comments (clear)

  1. 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
  2. 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 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.

    4. 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.

    5. 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)

    6. 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??
    7. 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
  3. 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 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.

    2. 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 -->
    3. 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

    4. 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.

    5. 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.

  4. 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.

  5. 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 ?

  6. 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 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.

    2. 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.

    3. 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.

  7. 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.

  8. 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.
  9. Hope they don't notice . . . by Anonymous Coward · · Score: 3, Funny
    that the other 55% was used for Slashdot.

    ~~~

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

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

  11. 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.

  12. 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.

  13. 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.

  14. 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 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.

  15. 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!
  16. 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.
  17. 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 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
  18. 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.

  19. ISP Caching by kmellis · · Score: 3, Informative

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

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

    How about trying something like this.

    --

  21. 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?

  22. 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.

  23. 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.