<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Blog du Tristank : Networking</title><link>http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx</link><description>Tags: Networking</description><dc:language>en-AU</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>ISA Server 2006 TCP Retransmits</title><link>http://blogs.technet.com/tristank/archive/2009/10/14/isa-server-2006-tcp-retransmits.aspx</link><pubDate>Wed, 14 Oct 2009 04:24:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3286695</guid><dc:creator>tristank</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/tristank/comments/3286695.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=3286695</wfw:commentRss><description>&lt;h3&gt;Health Checks&lt;/h3&gt;  &lt;p&gt;I perform ISA Server Health Checks for Premier Support (via Premier Field Engineering) as part of my role.&lt;/p&gt;  &lt;p&gt;I’ve seen something a few times recently that I thought it might be helpful to call out, while poking around in the Performance Monitor TCPv4 counter area.&lt;/p&gt;  &lt;h3&gt;The Problem&lt;/h3&gt;  &lt;p&gt;In short: Lots of TCP retransmissions per second.&lt;/p&gt;  &lt;p&gt;Like, lots. More than 1% is annoying; any more than 5% and you pretty surely have a problem.&lt;/p&gt;  &lt;p&gt;Recently, I’ve been seeing &lt;em&gt;20%&lt;/em&gt;.&lt;/p&gt;  &lt;p&gt;That’s right, kids, according to Perfmon’s statistics, one in five TCP packets requires retransmission.&lt;/p&gt;  &lt;p&gt;If your ISA Server seems like it might be a bit slow, and you haven’t looked yet, go look. I’ll wait. You’re interested in the TCPv4 object, specifically the Segments/sec and Segments Retransmitted/sec counters.&lt;/p&gt;  &lt;p&gt;What I’ve seen looks like this:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/ISAServer2006TCPRetransmits_D89E/image_4.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/ISAServer2006TCPRetransmits_D89E/image_thumb_1.png" width="244" height="66" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The green area is TCPv4\Segments/sec. The red area is TCPv4\Segments Retransmitted/sec. They’re using the same scale.&lt;/p&gt;  &lt;p&gt;Notice that the retransmission figures track with the overall volume.&lt;/p&gt;  &lt;p&gt;This 20% figure has been seen across Intel and Broadcom server NICs, so I don’t think it’s specific to either vendor.&lt;/p&gt;  &lt;h3&gt;Fixing It&lt;/h3&gt;  &lt;p&gt;In at least one of the places I found this, a simple driver upgrade to the latest version available looked like it fixed the problem.&lt;/p&gt;  &lt;p&gt;Otherwise, it could indicate a NIC issue, or a hardware issue with the switch.&lt;/p&gt;  &lt;p&gt;If you find yourself in this situation, and do resolve it, please do post details in the comments section below.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3286695" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/Extra+Bits+Of+A+Personal+Nature/default.aspx">Extra Bits Of A Personal Nature</category><category domain="http://blogs.technet.com/tristank/archive/tags/ISA+Server/default.aspx">ISA Server</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.technet.com/tristank/archive/tags/Tales+from+the+Road/default.aspx">Tales from the Road</category></item><item><title>PL15W2SP.DLL vs Firewall Client</title><link>http://blogs.technet.com/tristank/archive/2009/08/19/pl15ws2p-dll-vs-firewall-client.aspx</link><pubDate>Wed, 19 Aug 2009 14:37:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3274940</guid><dc:creator>tristank</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/tristank/comments/3274940.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=3274940</wfw:commentRss><description>&lt;P&gt;As I possibly misspelled or misremembered it, the PL15ws2p.dll (possible sic) file was installed as a Winsock Layered Service Provider on a couple of boxes at a customer site.&lt;/P&gt;
&lt;P&gt;Coincidentally, these machines were Windows Server 2008 machines where we couldn’t get the Firewall Client to work properly.&lt;/P&gt;
&lt;P&gt;We found that there was a third party LSP using:&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Consolas&gt;NETSH WINSOCK SH CA &amp;gt; catalog.txt&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;And then opening catalog.txt in notepad. The properties of the Pl15ws2p.dll indicated that it was a signed DLL from American Power Corporation or similar (APC or ACP; one of those no-notes half-hours), and that it was used in some sort of management capacity.&lt;/P&gt;
&lt;P&gt;But only one of the machines had this APC software installed on it, and the other didn’t… perhaps it got left behind when it was being uninstalled? The search engines didn’t seem to know much about it.&lt;/P&gt;
&lt;P&gt;Either way, next step was clear:&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Consolas&gt;NETSH WINSOCK RESET&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;To return the Windows Sockets provider list to its shiny defaults, and reboot the computer.&lt;/P&gt;
&lt;P&gt;After that, the Firewall Client wasn’t working (which we expected). &lt;/P&gt;
&lt;P&gt;A Repair from Not-Called-Add-Remove-Programs-Any-More-Now-It’s-Programs-And-Features-Silly fixed that up.&lt;/P&gt;
&lt;P&gt;Cool, huh? Remember: when nothing makes sense and the configuration looks good, perhaps LSPs are to blame?&lt;/P&gt;
&lt;P&gt;Now if only I could get my stupid Huawei 3G modem working on my Win7 laptop again (“Device attached to the system is not functioning”… thaaanks).&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3274940" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/ISA+Server/default.aspx">ISA Server</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category><category domain="http://blogs.technet.com/tristank/archive/tags/Tales+from+the+Road/default.aspx">Tales from the Road</category></item><item><title>ISA Server 2006 on Windows Server 2008: Nup</title><link>http://blogs.technet.com/tristank/archive/2009/06/05/isa-server-2006-on-windows-server-2008-nup.aspx</link><pubDate>Thu, 04 Jun 2009 18:52:46 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3250405</guid><dc:creator>tristank</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/tristank/comments/3250405.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=3250405</wfw:commentRss><description>&lt;p&gt;&lt;a href="http://blogs.technet.com/yuridiogenes/archive/2008/10/04/common-questions-and-answers-about-isa-server-2006-and-windows-server-2008.aspx"&gt;Yuri’s blog&lt;/a&gt; explains some of the detail. But there’s slightly more subtlety to it, which I’ll try to snake-oil in front of you here:&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;Can I install ISA 2006 on 32-bit Windows Server 2008 ?&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;&lt;strong&gt;No&lt;/strong&gt;, it only runs on Windows Server 2003. Okay, so technically, it also runs on Windows 2000, but if you’re installing it like that now, you should check the calendar. Windows 2000 is old, man.&lt;/p&gt;  &lt;h4&gt;Why not ISA Server 2006 on Windows 2008?&lt;/h4&gt;  &lt;p&gt;Whenever I asked that, people mumbled about TCP/IP stack changes. &lt;a href="http://msdn.microsoft.com/en-us/library/bb757027.aspx"&gt;Sounds plausible&lt;/a&gt;, so I let it slide.&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;Well can I install ISA 2006 on 64-bit Windows Server 2008 ?&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;No. Wait – sort of, not really. Do you count virtualization?&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;What do you mean?&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;Hyper-V or an SVVP-validated platform. (&lt;a href="http://technet.microsoft.com/en-us/library/cc891502.aspx"&gt;Details on security&lt;/a&gt;. &lt;a href="http://blogs.technet.com/forefront/archive/2008/09/12/isa-server-and-forefront-threat-management-gateway-now-supported-on-hardware-virtualization.aspx"&gt;And the inimitable “Jim Harris” apparently pretending to be Jim Harrison&lt;/a&gt;. Giggle.)&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;Er, if I do count virtual machines?&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;Yes. You run it in a 32-bit Windows Server 2003 guest.&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;Isn’t that cheating?!&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;No. Well, maybe. Sorry, did you have a point there?&lt;/p&gt;  &lt;h4&gt;&lt;strong&gt;What about Windows Server 2003, x64 Edition?&lt;/strong&gt;&lt;/h4&gt;  &lt;p&gt;Installing ISA on it? No. It’s 32-bit only and uses kernel-mode software; you can’t mix and match 32-bit with 64-bit k-mode drivers. &lt;strong&gt;Hint&lt;/strong&gt;: I just helped you study for &lt;a href="http://www.microsoft.com/learning/en/us/exams/70-351.mspx"&gt;070-351&lt;/a&gt;.&lt;/p&gt;  &lt;h4&gt;What about Service Pack 2?&lt;/h4&gt;  &lt;p&gt;X64 Edition?&lt;/p&gt;  &lt;h4&gt;Yes!&lt;/h4&gt;  &lt;p&gt;No.&lt;/p&gt;  &lt;h4&gt;You’re not being helpful.&lt;/h4&gt;  &lt;p&gt;Oh really? Your eyes are the wrong shape.&lt;/p&gt;  &lt;p&gt;The &lt;em&gt;next&lt;/em&gt; version of ISA Server, called Forefront Threat Management Gateway (TMG, or, I guess, &lt;em&gt;Timmy&lt;/em&gt; to his friends (yep, I’m betting the G ends up semi-silent)), is available in its initial release in the &lt;a href="http://www.microsoft.com/ebs/en/us/editions-overview.aspx"&gt;Windows 2008 Essential Business Server&lt;/a&gt; thingo, which is 64-bit only.&lt;/p&gt;  &lt;p&gt;The next standalone (i.e. non-EBS-integrated) release is &lt;a href="http://www.microsoft.com/forefront/edgesecurity/isaserver/en/us/tmg-beta.aspx"&gt;currently available in Beta form&lt;/a&gt;, and runs exclusively on Windows Server 2008, x64 edition.&lt;/p&gt;  &lt;h4&gt;That was more helpful.&lt;/h4&gt;  &lt;p&gt;You still look funny.&lt;/p&gt;  &lt;h4&gt;Hey, why don’t your links open in new windows?&lt;/h4&gt;  &lt;p&gt;Because I think it’s nice for the reader to be able to choose whether an informational link should appear in the current frame or a new tab (or a new window).&lt;/p&gt;  &lt;p&gt;Sometimes (probably quite often on this blog), you’ll be done with the content at the current page you’re reading, and just want to replace it with something else. Forcing a new window isn’t polite in the age of tabbed browsing.&lt;/p&gt;  &lt;p&gt;Let the user choose.&lt;/p&gt;  &lt;h4&gt;I agree, that’s so wise. You’re like, amazing.&lt;/h4&gt;  &lt;p&gt;I know.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3250405" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/Extra+Bits+Of+A+Personal+Nature/default.aspx">Extra Bits Of A Personal Nature</category><category domain="http://blogs.technet.com/tristank/archive/tags/ISA+Server/default.aspx">ISA Server</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.technet.com/tristank/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category></item><item><title>IIS WebDAV Security Advisory</title><link>http://blogs.technet.com/tristank/archive/2009/05/19/iis-webdav-security-advisory.aspx</link><pubDate>Tue, 19 May 2009 09:49:20 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3243071</guid><dc:creator>tristank</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/tristank/comments/3243071.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=3243071</wfw:commentRss><description>&lt;p&gt;&lt;/p&gt;  &lt;p&gt;Today, an IIS 5.0 to 6.0 security advisory was released:&lt;/p&gt;  &lt;h3&gt;Vulnerability in Internet Information Services Could Allow Elevation of Privilege&lt;/h3&gt;  &lt;p&gt;&lt;a title="http://www.microsoft.com/technet/security/advisory/971492.mspx" href="http://www.microsoft.com/technet/security/advisory/971492.mspx"&gt;http://www.microsoft.com/technet/security/advisory/971492.mspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;If you’re using WebDAV on any version prior to 7.0 (where it was completely rewritten, and released as an add-on module after ), you’ll want to read the advisory, and take appropriate action.&lt;/p&gt;  &lt;p&gt;Mitigating factors are listed in the advisory.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3243071" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.technet.com/tristank/archive/tags/IIS/default.aspx">IIS</category></item><item><title>On the ISA Server Security Update</title><link>http://blogs.technet.com/tristank/archive/2009/04/15/on-the-isa-server-security-update.aspx</link><pubDate>Wed, 15 Apr 2009 03:57:59 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3226518</guid><dc:creator>tristank</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/tristank/comments/3226518.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=3226518</wfw:commentRss><description>&lt;h3&gt;Rambling my way to a point&lt;/h3&gt;  &lt;p&gt;One of my most favourite “Favorites” (read: “he snarled”) in recent weeks has been the ISA Server Product Team’s &lt;a href="http://blogs.technet.com/isablog/archive/2009/02/25/isa-server-build-numbers.aspx"&gt;Build Numbers post&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;They helpfully list the version numbers of each ISA Server, um, version, along with a link to the most recent hotfix for that version. That’s &lt;em&gt;so helpful&lt;/em&gt;.&lt;/p&gt;  &lt;p&gt;But: In most cases, you had to use the self-service hotfix feature to get that hotfix. Which is better than calling someone, but still not quite one-click conweenyence.&lt;/p&gt;  &lt;p&gt;And there was some useful stuff fixed in each – you can do the research (hint: research is typically along the lines of “&lt;a href="http://search.live.com/results.aspx?q=isa+server+2006+hotfix+sp1+site:support.microsoft.com&amp;amp;form=QBRE"&gt;isa server hotfix site:support.microsoft.com&lt;/a&gt;” in whatever search engine you use).&lt;/p&gt;  &lt;p&gt;Back to &lt;a href="http://www.microsoft.com/technet/security/bulletin/MS09-016.mspx"&gt;the security update&lt;/a&gt;: if you look at the &lt;a href="http://support.microsoft.com/kb/961759"&gt;file list for the security updates&lt;/a&gt;, they look a lot like the file lists for the recent hotfixes. &lt;/p&gt;  &lt;p&gt;(Aside from a little while ago: nice that we’re again using KB articles for file information and not just “you should read the bulletin” placeholders. Makes it easier to reliably find file version information in the one place. No idea who changed it in the first place, but my blunt message to you: that was &lt;em&gt;suboptimal.&lt;/em&gt;)&lt;/p&gt;  &lt;h3&gt;I know you love short versions, Glenda&lt;/h3&gt;  &lt;p&gt;So, long story short, by applying the security update, you’re getting the most recent build of those binaries for your ISA Server.&lt;/p&gt;  &lt;p&gt;Just one caveat: remember that with this patch, you’ll need to reapply it if you make any significant installation-level changes to ISA later (see the bulletin for that).&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3226518" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/ISA+Server/default.aspx">ISA Server</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.technet.com/tristank/archive/tags/Troubleshooting/default.aspx">Troubleshooting</category></item><item><title>Antivirus software on ISA Server</title><link>http://blogs.technet.com/tristank/archive/2009/04/09/antivirus-software-on-isa-server.aspx</link><pubDate>Thu, 09 Apr 2009 02:44:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3224262</guid><dc:creator>tristank</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/tristank/comments/3224262.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=3224262</wfw:commentRss><description>&lt;P&gt;There are two major classes of Anti Virus software (yes, I know I used one word above, it’s called SEO, okay?) that can be used on an ISA Server computer:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;ISA-integrated antivirus scanning products&lt;/LI&gt;
&lt;LI&gt;Regular desktop/server antivirus products&lt;/LI&gt;&lt;/UL&gt;
&lt;P&gt;The first category is the cooler of the two, and typically involves a Web Filter and/or an Application Filter. It’s been designed to work with ISA Server, and will likely scan HTTP streams while ISA is processing them.&lt;/P&gt;
&lt;P&gt;The second category is more common – a desktop or server antivirus product is installed on the ISA Server. That’s probably a good idea from a Defense In Depth perspective.&lt;/P&gt;
&lt;P&gt;But if you’re using the second category (or it’s just part of your server build), did you know that there are a set of &lt;STRONG&gt;exclusions&lt;/STRONG&gt; we recommend you should use?&lt;/P&gt;
&lt;P&gt;The ISA Server product team did some great work in pulling together a set of &lt;A href="http://technet.microsoft.com/en-us/library/cc707727.aspx" mce_href="http://technet.microsoft.com/en-us/library/cc707727.aspx"&gt;recommendations for when Antivirus is used on ISA Server&lt;/A&gt;. Have a read, have a think, and then check whether yours is implemented correctly. If it &lt;EM&gt;isn’t&lt;/EM&gt;, outages, poor performance and other issues might arise.&lt;/P&gt;
&lt;P&gt;And (sorta getting into the&amp;nbsp;ramble here)&amp;nbsp;have you ever noticed that Support people tend to make &lt;EM&gt;uncomfortable noises&lt;/EM&gt; about Antivirus products when you mention they’re installed (if not outright suggesting that you disable and/or uninstall them straight-off)? Well, that’s because&amp;nbsp;when they’re not configured in a way that doesn’t interfere with the operation of&amp;nbsp;other software, they really have, statistically, experientially, and commonly, been known to cause problems. &lt;/P&gt;
&lt;P&gt;It’s almost a cliche to be asked to remove AV software while troubleshooting a problem – &lt;EM&gt;but the cliche came from somewhere to begin with&lt;/EM&gt;. Configuring the AV as recommended is an excellent way of minimizing that risk.&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3224262" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/ISA+Server/default.aspx">ISA Server</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.technet.com/tristank/archive/tags/Troubleshooting/default.aspx">Troubleshooting</category></item><item><title>IAG – now available for Hyper-V</title><link>http://blogs.technet.com/tristank/archive/2009/01/29/iag-now-available-for-hyper-v.aspx</link><pubDate>Thu, 29 Jan 2009 12:47:03 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3194234</guid><dc:creator>tristank</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/tristank/comments/3194234.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=3194234</wfw:commentRss><description>&lt;p&gt;Of all the things I could be doing right now, blogging is the one that won. Feel special? Procrastination, but with a helpful bent.&lt;/p&gt;  &lt;h3&gt;IAG SP2 is now a VHD for Hyper-V&lt;/h3&gt;  &lt;p&gt;Your mission, Jim, is to make that into a song.&lt;/p&gt;  &lt;p&gt;The most interesting “wow” moment I had today was reading that IAG (Intelligent Application Gateway - that’s that Whale SSL thingo) is now &lt;a href="http://www.microsoft.com/Forefront/edgesecurity/iag/en/us/default.aspx"&gt;available without accompanying hardware&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Previously (as I understand it) IAG 2007 was only available on a hardware appliance of sorts.&lt;/p&gt;  &lt;p&gt;Now, at least as far as the Technet Deity is concerned, IAG 2007 SP2 is licensable as a Hyper-V Virtual Machine, if you don’t want to go for the hardware.&lt;/p&gt;  &lt;p&gt;The VHD includes IAG 2007 SP2 (I’m downloading the trial now, to get up to Mischief) and ISA Server 2006 (for the firewalling capabilities), running on Windows Server 2003.&lt;/p&gt;  &lt;p&gt;I’m something of a noob to IAG, so, um, if you want to ask something, go hit &lt;a href="http://blogs.technet.com/forefront/archive/2008/12/19/iag-service-pack-2-released.aspx"&gt;them&lt;/a&gt; up instead.&lt;/p&gt;  &lt;p&gt;But yay, can’t wait to try it out.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3194234" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/ISA+Server/default.aspx">ISA Server</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.technet.com/tristank/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category></item><item><title>Home Hyper-V Networking Gotchas</title><link>http://blogs.technet.com/tristank/archive/2009/01/13/home-hyper-v-networking-gotchas.aspx</link><pubDate>Tue, 13 Jan 2009 15:12:56 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3181676</guid><dc:creator>tristank</dc:creator><slash:comments>5</slash:comments><comments>http://blogs.technet.com/tristank/comments/3181676.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=3181676</wfw:commentRss><description>&lt;p&gt;Before the holidays, I bought myself an early present: a new quad-core box with 4GB RAM, which I was going to use for a home Hyper-V lab, so that I could run a bunch of 64-bit VMs as well as the 32-bit staples I’ve been using for years (SBS 2003, and a separate ISA Server box).&lt;/p&gt;  &lt;p&gt;I’d had Windows Server 2008 installed on my Virtual Server host for a while, and use it with Routing and Remote Access (RRAS)’ NAT to provide a simple internet gateway for a segment of my internal network.&lt;/p&gt;  &lt;h3&gt;Lesson #1: Core Quad Q8200s don’t support VT (that’s Hyper-V, kids)&lt;/h3&gt;  &lt;p&gt;There was a 1300Mhz FSB Q8200 available for the same price as a Q6600, and I figured that I couldn’t go wrong with that. Surely, I thought, all Intel CPUs since the Core2 Duos support Hyper-V?&lt;/p&gt;  &lt;p&gt;Well, no, said Intel, and thanks for your money (stupidty tax, I seem to pay a lot of it). &lt;a href="http://www.intel.com/products/processor_number/chart/core2quad.htm"&gt;The one Quad core chip that doesn’t support Hyper-V&lt;/a&gt; is the one I bought. Q8200 is being phased out (I read somewhere), so this mistake should be easily avoidable in the future. Or now, by how-you-say &lt;em&gt;smarter people&lt;/em&gt;.&lt;/p&gt;  &lt;h3&gt;Lesson #2: When you Hyper-V-ify a Parent Partition, It’s Sort Of A Client Too (aka “You may need to set stuff like RRAS up again with the new virtualized network adapters”)&lt;/h3&gt;  &lt;p&gt;What I mean by this is that when I got the Right CPU and installed Hyper-V, I was without Internets.&lt;/p&gt;  &lt;p&gt;To cut a long and boring troubleshooting story short: the &lt;em&gt;physical&lt;/em&gt; network adapters I’d configured in RRAS were no longer the &lt;em&gt;Right Network Adapters&lt;/em&gt;.&lt;/p&gt;  &lt;p&gt;I set up new virtual networks for each physical adapter (one Internet, one Local), and then had to set up RRAS again, because it didn’t think there were any new interfaces to set up – it was quite happy only seeing the old ones, thank you very much.&lt;/p&gt;  &lt;p&gt;After checking both virtual adapters were visible in the Network Connections interface, and that they had the right IPs assigned, I rechecked my Windows Firewall settings and ran a port probe to confirm only ports I knew I wanted open were open (RRAS Basic Firewall doesn’t exist any more in 2008, so be careful with dual-homing where the Internet is attached to one of your adapters).&lt;/p&gt;  &lt;p&gt;The disconnect here was that I was assuming the parent partition would see the physical hardware – it does, it just doesn’t use it directly any more, it looks like it uses the virtualized setup instead, at least to some extent.&lt;/p&gt;  &lt;h3&gt;Lesson #3: Hyper-V and DHCP didn’t like each other when the physical host became the parent partition&lt;/h3&gt;  &lt;p&gt;My RRAS server had (to this point) been my DHCP server for the internal network. This was all fine, and seemed to be working okay (or had my lease durations just not expired yet?), except for the new virtual hosts I created today.&lt;/p&gt;  &lt;p&gt;There’s some &lt;a href="http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/8004c699-1a22-4f33-9fcd-7271bfcaf74e/"&gt;lore floating around on the forums&lt;/a&gt; that worked for me – the bit that worked was manually adding a REG_MULTI_SZ called &lt;strong&gt;IPAddress&lt;/strong&gt; to the likeliest-looking adapter interface in the registry, because Hyper-V setup for whatever reason doesn’t do that.&lt;/p&gt;  &lt;p&gt;The DHCP server wouldn’t bind to the physical adapters (or even show them in the Bindings interface), presumably because IPv4 and IPv6 was unbound from them (interesting, hey?) and also wouldn’t show me either of the virtual adapters, which I guess is due to the lack of a static IP address on either of them.&lt;/p&gt;  &lt;p&gt;Now, though, my setup’s working nicely, everything more or less as it was before, only virtualized. And thus, you know, more sexy.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3181676" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/Extra+Bits+Of+A+Personal+Nature/default.aspx">Extra Bits Of A Personal Nature</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category><category domain="http://blogs.technet.com/tristank/archive/tags/Tales+from+the+Road/default.aspx">Tales from the Road</category></item><item><title>What does it mean when there's no "broken page" icon in IE8?</title><link>http://blogs.technet.com/tristank/archive/2008/09/10/what-does-it-mean-when-there-s-no-broken-page-icon-in-ie8.aspx</link><pubDate>Wed, 10 Sep 2008 10:59:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3121840</guid><dc:creator>tristank</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/tristank/comments/3121840.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=3121840</wfw:commentRss><description>&lt;p&gt;I was just catching up on some of my RSS feeds, and noticed that one of the &lt;a href="http://www.drive.com.au/Editorial/ArticleDetail.aspx?ArticleID=56871&amp;amp;vf=26"&gt;pages&lt;/a&gt; I was at didn't have a broken page icon, but wasn't working quite right (some broken javascript in the photos area, I'm guessing... I'll investigate that next).&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/Whatdoesitmeanwhentheresnobrokenpageicon_FC62/image_2.png"&gt;&lt;img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" border="0" alt="image" src="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/Whatdoesitmeanwhentheresnobrokenpageicon_FC62/image_thumb.png" width="244" height="96" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;I wondered what that meant, so fired up &lt;a href="http://www.fiddler2.com/"&gt;Fiddler2&lt;/a&gt; to have a look.&lt;/p&gt;  &lt;p&gt;The Headers collection didn't include the &lt;a href="http://msdn.microsoft.com/en-us/library/cc288325%28VS.85%29.aspx#Servers"&gt;compatibility header&lt;/a&gt; (X-UA-Compatible: IE=EmulateIE7 or similar):&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;HTTP/1.1 200 OK     &lt;br /&gt;Proxy-Connection: Keep-Alive      &lt;br /&gt;Connection: Keep-Alive      &lt;br /&gt;Content-Length: 77144      &lt;br /&gt;Via: 1.1 MYPROXY      &lt;br /&gt;Date: Wed, 10 Sep 2008 07:42:24 GMT      &lt;br /&gt;Content-Type: text/html; charset=utf-8      &lt;br /&gt;Server: Microsoft-IIS/6.0      &lt;br /&gt;X-AspNet-Version: 2.0.50727      &lt;br /&gt;Cache-Control: private&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;But the META tag was present (&lt;a href="http://msdn.microsoft.com/en-us/library/cc288325%28VS.85%29.aspx#SetMode"&gt;link&lt;/a&gt;):&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&amp;lt;!doctype html public &amp;quot;-//w3c//dtd xhtml 1.0 transitional//en&amp;quot;     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; &amp;quot;http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd&amp;quot;&amp;gt;      &lt;br /&gt;&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot; xml:lang=&amp;quot;en&amp;quot; lang=&amp;quot;en&amp;quot;&amp;gt;      &lt;br /&gt;&amp;#160; &amp;lt;head&amp;gt;&amp;lt;&lt;strong&gt;&lt;font color="#ff0000"&gt;meta http-equiv=&amp;quot;X-UA-Compatible&amp;quot; content=&amp;quot;IE=7&amp;quot;&lt;/font&gt;&lt;/strong&gt; /&amp;gt;&amp;lt;title&amp;gt;      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; Spied: New Mazda3&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;So: the page is being told to render in IE7 Standards Mode (forced, as opposed to IE=EmulateIE7, which would behave as IE7 did). This makes the toggle compatibility mode button moot, because the site has chosen their mode explicitly.&lt;/p&gt;  &lt;p&gt;Wonder if that's the problem... Time to investigate with the developer toolbar, I think...&lt;/p&gt;  &lt;p&gt;(Update: nup, document mode didn't fix it - Script Debugging needed to be un-disabled in IE, and then the debugger showed me it was happening in motiongallery.js. I've lost interest now :) )&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3121840" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/Extra+Bits+Of+A+Personal+Nature/default.aspx">Extra Bits Of A Personal Nature</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.technet.com/tristank/archive/tags/Troubleshooting/default.aspx">Troubleshooting</category></item><item><title>That Memory Leak Revisited</title><link>http://blogs.technet.com/tristank/archive/2008/06/25/that-memory-leak-revisited.aspx</link><pubDate>Wed, 25 Jun 2008 08:59:22 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3077647</guid><dc:creator>tristank</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/tristank/comments/3077647.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=3077647</wfw:commentRss><description>&lt;p&gt;While searching for memory leaking troubleshooting techniques that could be applied to 64-bit Windows (for &lt;a href="http://blogs.technet.com/tristank/archive/2008/06/20/windows-server-2008-diagnostics-off-the-cuff.aspx"&gt;the DHCP Server memory leak I found I had the other day&lt;/a&gt;), I stumbled across the answer to my problem in an internal tool (weird that I missed it from a web search the first time, but c'est la vie).&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;A Windows Server 2008-based DHCP server that is configured in a workgroup environment may consume too much memory&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a title="http://support.microsoft.com/default.aspx/kb/949530" href="http://support.microsoft.com/default.aspx/kb/949530"&gt;http://support.microsoft.com/default.aspx/kb/949530&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;And that's my problem! One REG command (and one restart of the DHCPServer service) later, I'm waiting to see how it went, but it all looks promising, based on that article. Neat-o.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3077647" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.technet.com/tristank/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://blogs.technet.com/tristank/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category><category domain="http://blogs.technet.com/tristank/archive/tags/Troubleshooting/default.aspx">Troubleshooting</category></item><item><title>Windows Server 2008 Diagnostics Off The Cuff</title><link>http://blogs.technet.com/tristank/archive/2008/06/20/windows-server-2008-diagnostics-off-the-cuff.aspx</link><pubDate>Fri, 20 Jun 2008 14:15:47 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3074958</guid><dc:creator>tristank</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/tristank/comments/3074958.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=3074958</wfw:commentRss><description>&lt;p&gt;A word of caution to those of you that like endings: this isn't over yet.&lt;/p&gt;  &lt;p&gt;I'm running a rather sad and noisy X64 desktop as a server at home. Once a proud warrior, actually, no, wait, it was never any good. It's just a Virtual Server host (it's not quite Hyper-V capable; next one will be). SBS 2003, an IIS and an ISA Server all exist(ed) happily in there at one point. (Did I mention I virtualized my work desktop machine the other day? So liberating!)&lt;/p&gt;  &lt;p&gt;I blatted Windows Server 2008 onto it at RTM, and it's been happily puttering along doing the RRAS internet access and Virtual Server thing for me ever since.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Until Recently&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;But I've had to reset it from unresponsive-no-mouse-no-capslock situations on about four occasions over the last two weeks, and as the problem wasn't getting any better, so I figured I'd take a look at what I could do to try to diagnose it.&lt;/p&gt;  &lt;p&gt;My guess was that I had a kernel-mode memory leak (a user mode memory leak shouldn't ever trash the box to that extent), but it didn't seem to correspond with any driver upgrades or software installations... something else had changed, sometime.&lt;/p&gt;  &lt;p&gt;Perfmon (the new, shiny version) or more specifically the Reliability Monitor confirmed my suspicions:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="135" alt="image" src="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_thumb.png" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;(happy, everything-used-to-be-so-nice side on the left, then the gradual decline due to Disruptive Shutdowns towards the right). Note the quite-regular interval of red things on the bottom row. (Does it happen more when I'm at home, he wondered?)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Preparation:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;As I had a theory in mind, I thought I'd create a Perfmon BLG (log file with lots of counters in it; lots of people seem to like CSV, but BLG is faster, and I'm never going to be opening it in Excel anyway).&lt;/p&gt;  &lt;p&gt;How to do that? Things have changed: now, I create a &amp;quot;Data Collector Set&amp;quot;, it seems. Oh yeah, reading manuals and/or following basic instruction: not my thing.&lt;/p&gt;  &lt;p&gt;I created a new one based on the System Performance collector set, which matches my needs nicely because it contains all the Process counters and Memory counters. Between that lot, I should easily be able to spot a memory leak.&lt;/p&gt;  &lt;p&gt;Started the collector set, and made a mental note to check in tonight.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Tonight:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;After a little fiddling, I worked out that the animated &amp;quot;Data Collection In Progress&amp;quot; screen wasn't generating a report, and that I'd have to stop the data collector set to view it. Right on!&lt;/p&gt;  &lt;p&gt;So, one stopped data collector set later, the Reports view is what I'm interested in.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_6.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="183" alt="image" src="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_thumb_2.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Remember your training - you're interested in patterns that have slopes or steps. One counter leapt out at me, which I moused over and found was.... &lt;/p&gt;  &lt;p&gt;Process (_Total) &lt;strong&gt;Pool Nonpaged Bytes&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;So, yep, there's a memory leak, and it's in one or more of the objects tracked by Process counters. So let's add the Pool NonPaged Bytes counters for &amp;lt;All Instances&amp;gt; (so I can see all the processes).&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_8.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="image" src="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_thumb_3.png" width="205" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;So Add all them, and there's a counter that matches the slope, but at a different scale. Click it in the display to select it, and it's SVCHOST#10. Hide all the other counters I've just added (multi select, right click, hide all), and then right-click it and choose Scale Selected Counter.&lt;/p&gt;  &lt;p&gt;Whop! Matches the curve almost exactly.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_16.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="126" alt="image" src="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_thumb_7.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;So, now I know it's a service host, but I don't know which one (they all look alike to me). I assume it's probably still running, too. How do I find that out now?&lt;/p&gt;  &lt;p&gt;Easy: Add the &amp;quot;ID Process&amp;quot; counter for svchost#10 (#9 pictured, artistic license)&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_10.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="image" src="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_thumb_4.png" width="211" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;And then click the counter in the list to see the value it has (the plotted line is flat across the graph, meaning it didn't change at any point). I get PID 1348.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_12.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="78" alt="image" src="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_thumb_5.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;TASKLIST /SVC tells me everything I need to know (well, not &lt;em&gt;everything&lt;/em&gt; obviously, but enough to take corrective action).&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_14.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="28" alt="image" src="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/WindowsServer2008DiagnosticsOffTheCuff_12AE3/image_thumb_6.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Yep - &lt;strong&gt;it's the DHCP Server instance of SVCHost that's apparently leaking NPP&lt;/strong&gt;, a kernel resource.&lt;/p&gt;  &lt;p&gt;Why!? And why now!?&lt;/p&gt;  &lt;p&gt;The graph tells me the times at which this happened, but the Event Logs are very, very quiet around then. So I'll need to use tracing or logging or some other technique to actually track down the cause of the problem.&lt;/p&gt;  &lt;p&gt;I right-clicked the SVCHOST instance with PID 1348 and chose Create Dump File (awesome feature, &lt;a href="http://blogs.technet.com/tristank/archive/2006/02/25/gettingadumpiseasy.aspx"&gt;mentioned that before&lt;/a&gt;), for archival/root cause purposes - it may well not be possible to see the cause of the leak after the fact from a hangdump, but it's worth grabbing just in case - and then restarted the DHCP Server Service. &lt;/p&gt;  &lt;p&gt;Taskman memory use dropped by about 100MB straight away. This is not a busy network, and NPP isn't typically used as cache by user mode programs (he giggled (in a manly way)). Something weird is going on there.&lt;/p&gt;  &lt;p&gt;I restarted my performance logging, and I'll check in again tomorrow to see if there's any further indication of a memory leak (I haven't done anything to fix it, so I assume there will be). Now, time to look for logging and diagnostic options...&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;A word on Perfmon in Windows Vista and 2008: USE IT!&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;If you're doing any level of performance analysis of Perfmon logs, you &lt;strong&gt;need&lt;/strong&gt; to try out the new, improved Perfmon in Vista. It runs &lt;em&gt;rings&lt;/em&gt; around the old one. It's &lt;em&gt;fantastic &lt;/em&gt;(at least by comparison). It's worth the cost of the upgrade &lt;em&gt;alone&lt;/em&gt;. Seriously, if you do any sort of work with perfmon logs, try doing it on a Vista box and see whether your life is 1000% easier! I'm not saying it's perfect, but by comparison with the last version in XP/2003...&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3074958" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/Windows+Vista/default.aspx">Windows Vista</category><category domain="http://blogs.technet.com/tristank/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category></item><item><title>The Cat's Out Of The Bag: ISA Server will become ForeFront TMG</title><link>http://blogs.technet.com/tristank/archive/2008/04/09/the-cat-s-out-of-the-bag-isa-server-will-become-forefront-tmg.aspx</link><pubDate>Wed, 09 Apr 2008 09:21:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3032887</guid><dc:creator>tristank</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/tristank/comments/3032887.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=3032887</wfw:commentRss><description>&lt;p&gt;So, we all know that &lt;a href="http://support.microsoft.com/kb/948680/en-us"&gt;ISA 2006 doesn't work on Windows Server 2008&lt;/a&gt;. Massive architectural changes to the IP stack, blah blah, etc, etc.&lt;/p&gt;  &lt;p&gt;People (uh, yeah, just &amp;quot;people&amp;quot;) have been asking about what's to become of ISA Server for a while:&lt;/p&gt;  &lt;p&gt;&amp;quot;There's no ISA 2008 announced!&amp;quot; they'd scream.&lt;/p&gt;  &lt;p&gt;&amp;quot;This surely means the end of one of the best product lines Microsoft has produced!&amp;quot; might have also been heard (in a somewhat muffled way).&lt;/p&gt;  &lt;p&gt;&amp;quot;Won't Tristan be out of a job?&amp;quot; one person wailed, unconvincingly.&lt;/p&gt;  &lt;p&gt;Well, that's right - the plan at this point is that there is &lt;strong&gt;no ISA Server 2008&lt;/strong&gt;. &lt;/p&gt;  &lt;p&gt;(pause for effect, teeth-gnashing, gasping, horror to subside)&lt;/p&gt;  &lt;p&gt;As of the &lt;strong&gt;next version&lt;/strong&gt;, &lt;strong&gt;Internet Security and Acceleration Server&lt;/strong&gt; is &lt;strong&gt;ForeFront Threat Management Gateway&lt;/strong&gt;!&lt;/p&gt;  &lt;p&gt;(Now you're going to tell me that ISA was a perfectly good name and not at all unwieldy...)&lt;/p&gt;  &lt;p&gt;See our well-formed &lt;a href="http://www.microsoft.com/presspass/press/2008/apr08/04-08ForefrontBetaPR.mspx"&gt;Press Release&lt;/a&gt; for details!&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;em&gt;Microsoft also today announced the name of its next-generation network edge security product, Forefront Threat Management Gateway. Forefront Threat Management Gateway is the future version of Microsoft ISA Server and will extend the capabilities of ISA Server 2006 with new features and security technologies, designed to help provide multiple-threat protection, simplified management and secure connectivity, and will be built on Windows Server 2008. More details about Forefront Threat Management Gateway will be available later this year.&lt;/em&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Excellent! So, key takeaway: we are working on a successor. The product isn't going away!&lt;/p&gt;  &lt;p&gt;There's an early beta &lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=65bd5f8a-d94c-457a-9f88-2046597130e1&amp;amp;displaylang=en"&gt;available from here&lt;/a&gt;, though it's downloading at a slow trickle for me right now (got excitement?).&lt;/p&gt;  &lt;p&gt;So, go forth and, you know, &lt;em&gt;Manage Threats&lt;/em&gt;! In the &lt;em&gt;future&lt;/em&gt;!&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3032887" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/ISA+Server/default.aspx">ISA Server</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.technet.com/tristank/archive/tags/IIS/default.aspx">IIS</category><category domain="http://blogs.technet.com/tristank/archive/tags/Windows+Server+2008/default.aspx">Windows Server 2008</category></item><item><title>Post-SP2 TCP Offload Fix</title><link>http://blogs.technet.com/tristank/archive/2008/03/17/post-sp2-tcp-offload-fix.aspx</link><pubDate>Mon, 17 Mar 2008 06:31:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3007931</guid><dc:creator>tristank</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/tristank/comments/3007931.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=3007931</wfw:commentRss><description>&lt;p&gt;I've &lt;a href="http://blogs.technet.com/tristank/archive/2007/07/23/netmon-vs-chimney.aspx"&gt;mentioned Chimney before&lt;/a&gt;. Now, a new &lt;a href="http://support.microsoft.com/kb/948496"&gt;Windows Update fix for TCP Offload, which turns it off&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;It was on by default in Windows Server 2003 SP2, so if your NIC supported Offload, or RSS, or that other thing I can never remember, it was enabled.&lt;/p&gt;  &lt;p&gt;But: we (PSS we) typically &lt;em&gt;turn it off&lt;/em&gt; as a first troubleshooting step for &lt;em&gt;any&lt;/em&gt; network-related issue - &lt;/p&gt;  &lt;p&gt;a) because we know from experience that several drivers seem to do &lt;a href="http://support.microsoft.com/kb/945977/en-us"&gt;interesting things&lt;/a&gt; with it installed (that's a nice way of saying &lt;em&gt;update your drivers&lt;/em&gt;), &lt;/p&gt;  &lt;p&gt;b) because several of &lt;a href="http://support.microsoft.com/kb/947775/en-us"&gt;our&lt;/a&gt; drivers do interesting things with it (if you're going to choose to use it, check for recent-model tcpip.sys hotfixes), and &lt;/p&gt;  &lt;p&gt;c) because we want to be able to &lt;a href="http://blogs.technet.com/tristank/archive/2007/07/23/netmon-vs-chimney.aspx"&gt;see TCP traffic in a network capture for troubleshooting purposes&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Off-unless-opted-in brings parity with Windows Server 2008.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3007931" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/IIS/default.aspx">IIS</category></item><item><title>"Stacking" NTLM Authentication</title><link>http://blogs.technet.com/tristank/archive/2008/03/11/stacking-ntlm-authentication.aspx</link><pubDate>Tue, 11 Mar 2008 09:30:49 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2986762</guid><dc:creator>tristank</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/tristank/comments/2986762.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=2986762</wfw:commentRss><description>&lt;p&gt;This question came up today (well, actually, it was about four weeks ago I started typing this, but bear with me), and it's been a little while since I've rambled about authentication protocols, so let's enjoy a nice, calm discussion on a &lt;strike&gt;Monday&lt;/strike&gt; Tuesday arvo.&lt;/p&gt;  &lt;p&gt;The request was something like:    &lt;br /&gt;&lt;strong&gt;In a Web Publishing scenario, can I do NTLM at the ISA Server and NTLM at the Exchange server too?&lt;/strong&gt;&lt;/p&gt;  &lt;h3&gt;No&lt;/h3&gt;  &lt;p&gt;And the answer is - well, &lt;strong&gt;no&lt;/strong&gt;.&lt;/p&gt;  &lt;p&gt;There's no way for the client browser to distinguish between the ISA Server (first) saying 401 WWW-Authenticate: NTLM , and then the IIS Server saying 401 WWW-Authenticate: NTLM.&lt;/p&gt;  &lt;p&gt;Because it appears to be a repeated authentication sequence &lt;em&gt;when the connection is already authenticated&lt;/em&gt; from IE's perspective (and IE doesn't think it's talking to a different server), IE assumes there's been an auth failure (why else would the server challenge again?).&lt;/p&gt;  &lt;p&gt;So, lots of authentication prompts are going to happen. &lt;strong&gt;The solution (as described) is not workable&lt;/strong&gt;.&lt;/p&gt;  &lt;h3&gt;But&lt;/h3&gt;  &lt;p&gt;With ISA 2006 and its &lt;a href="http://www.microsoft.com/technet/isa/2006/authentication.mspx"&gt;amazingly-useful-how-did-we-ever-live-without-them Authentication features&lt;/a&gt;:&lt;/p&gt;  &lt;p&gt;What you could do is Integrated Windows Authentication at the Exchange server (i.e. allow Kerberos), and use protocol transition at the ISA Server, from whatever form of authentication you can accept from a client to Kerberos Credential Delegation (or even another protocol, depending on the auth method used by the listener).&lt;/p&gt;  &lt;h3&gt;So&lt;/h3&gt;  &lt;p&gt;The question itself was a &amp;quot;no&amp;quot;, but &lt;em&gt;the question almost always isn't actually the question&lt;/em&gt;. That one's for free.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Special note: I worked really hard on the headings for this post. I hope it was appreciated.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2986762" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/ISA+Server/default.aspx">ISA Server</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/Security/default.aspx">Security</category><category domain="http://blogs.technet.com/tristank/archive/tags/IIS/default.aspx">IIS</category></item><item><title>MaxUserPort - what it is, what it does, when it's important</title><link>http://blogs.technet.com/tristank/archive/2008/03/11/maxuserport-what-it-is-what-it-does-when-it-s-important.aspx</link><pubDate>Tue, 11 Mar 2008 09:17:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2986729</guid><dc:creator>tristank</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/tristank/comments/2986729.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=2986729</wfw:commentRss><description>&lt;p&gt;What can we say about &lt;strong&gt;MaxUserPort&lt;/strong&gt; that hasn't already been said? Not a lot, it would seem. He's a beautiful dancer, perhaps? Ahh, such gentle humour, and nary a kitten drowned anywhere.&lt;/p&gt;  &lt;p&gt;But TCP port shenanigans are fairly frequently misunderstood, so let's talk about the very basics of MaxUserPort.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;NB: This is all pre-Vista behaviour - applicable from NT4 through to Windows Server 2003, including all the little NT-flavoured stops on the way.&lt;/p&gt;    &lt;p&gt;&amp;#160;&lt;/p&gt; &lt;/blockquote&gt;  &lt;h3&gt;MaxUserPort controls &amp;quot;outbound&amp;quot; TCP connections&lt;/h3&gt;  &lt;p&gt;&lt;a href="http://technet2.microsoft.com/windowsserver/en/library/730fb465-d402-4853-bacc-16ba78e9fcc01033.mspx?mfr=true"&gt;MaxUserPort&lt;/a&gt; is used to limit the number of dynamic ports available to TCP/IP applications.&lt;/p&gt;  &lt;p&gt;It's &lt;em&gt;never&lt;/em&gt; going to be an issue affecting inbound connections. &lt;em&gt;MaxUserPort is not the right answer if you think you have an inbound connection problem.&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;(I don't know &lt;em&gt;why&lt;/em&gt;, I just know it &lt;em&gt;is&lt;/em&gt;. Probably something to do with constraining resource use on 16MB machines, or something.)&lt;/p&gt;  &lt;p&gt;To further simplify: it's typically going to limit the number of &lt;strong&gt;outbound&lt;/strong&gt; sockets that can be created. Note: that's really a big fat generalization, but it's one that works in 99% of cases.&lt;/p&gt;  &lt;p&gt;If an application asks for the next available &lt;em&gt;socket&lt;/em&gt; (a socket is a combination of an IP address and a port number), it'll come from the &lt;em&gt;ephemeral&lt;/em&gt; port range allowed by MaxUserPort. Typically, these &amp;quot;next available&amp;quot; sockets are used for outbound connections.&lt;/p&gt;  &lt;p&gt;The default range for MaxUserPort is from 1024-5000, but the &lt;em&gt;possible&lt;/em&gt; range is up to 65534.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;When You Fiddle MaxUserPort&lt;/h3&gt;  &lt;p&gt;So, why would you change MaxUserPort?&lt;/p&gt;  &lt;p&gt;In the web server context (equally applicable to other application servers), you'd usually need to look at MaxUserPort when:&lt;/p&gt;  &lt;p&gt; - your &lt;strong&gt;server process&lt;/strong&gt; is &lt;strong&gt;communicating with some type of other system&lt;/strong&gt; (like a back-end database, or any TCP-based application server - quite often http web servers)&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;And:&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt; - you are &lt;strong&gt;not using socket pooling&lt;/strong&gt;, and/or&lt;/p&gt;  &lt;p&gt; - your &lt;strong&gt;request model&lt;/strong&gt; is something like &lt;strong&gt;one request = one outbound TCP connection&lt;/strong&gt; (or more!)&lt;/p&gt;  &lt;p&gt;In this type of scenario, you can run out of ephemeral ports (between 1024 and MaxUserPort) very quickly, and the &lt;strong&gt;problem will scale with the load applied to the system&lt;/strong&gt;, particularly if a socket is acquired and abandoned with every request. &lt;/p&gt;  &lt;p&gt;When a socket is abandoned, it'll take two minutes to fall back into the pool.&lt;/p&gt;  &lt;p&gt;Discussions about how the design could scale better if it reused sockets rather than pooling tend to be unwelcome when the users are screaming that the app is slow, or hung, or whatever, so at this point, you'd have established that new request threads are hung waiting on an available socket, and just turn up MaxUserPort to 65534.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;What Next? TcpTimedWaitDelay, natch&lt;/h3&gt;  &lt;p&gt;Once &lt;strong&gt;MaxUserPort&lt;/strong&gt; is at 65534, it's still possible for the &lt;strong&gt;rate of port use&lt;/strong&gt; to &lt;strong&gt;exceed&lt;/strong&gt; the rate at which they're being returned to the pool! You've bought yourself some headroom, though.&lt;/p&gt;  &lt;p&gt;So &lt;strong&gt;how do you return connections to the pool faster&lt;/strong&gt;?&lt;/p&gt;  &lt;p&gt;Glad you asked: you start tweaking &lt;a href="http://technet2.microsoft.com/windowsserver/en/library/730fb465-d402-4853-bacc-16ba78e9fcc01033.mspx?mfr=true"&gt;TcpTimedWaitDelay&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;By default, a connection can't be reused for 2 times the Maximum Segment Lifetime (MSL), which works out to 4 minutes, or &lt;em&gt;so the docs claim&lt;/em&gt;, but according to The Lore O' The Group here, we reckon it's actually &lt;strong&gt;just the TcpTimedWaitDelay&lt;/strong&gt; value, no doubling of anything.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;TcpTimedWaitDelay&lt;/strong&gt; lets you set a value for the Time_Wait timeout manually.&lt;/p&gt;  &lt;p&gt;As a quick aside: the value you specify has to take retransmissions into account - a client could still be transferring data from a server when a &lt;strong&gt;FIN&lt;/strong&gt; is sent by the server, and the client then gets &lt;strong&gt;TcpTimedWaitDelay&lt;/strong&gt; seconds to get all the bits it wants. This could be sucky in, for example, a flaky dial-up networking scenario, or, say, New Zealand, if the client needs to retransmit a whole lot... and it's sloooow. (and this is a global option, as far as I remember).&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;30 seconds&lt;/strong&gt; is a nice, round number that either quarters or eighths (depending on who you ask -&lt;em&gt; we&lt;/em&gt; say quarter for now) the time before a socket is reusable (without the programmer doing anything special (say, SO_REUSEADDR)).&lt;/p&gt;  &lt;p&gt;If you've had to do this, at this point, you should be &lt;a href="http://www.codinghorror.com/blog/archives/000966.html"&gt;thinking seriously about the architecture&lt;/a&gt; - &lt;strong&gt;will this scale to whatever load requirements you have&lt;/strong&gt;?&lt;/p&gt;  &lt;p&gt;The maths is straightforward: &lt;/p&gt;  &lt;p&gt;If each &lt;strong&gt;connection&lt;/strong&gt; is &lt;strong&gt;reusable&lt;/strong&gt; after a &lt;strong&gt;minimum of N&lt;/strong&gt; (TcpTimedWaitDelay) seconds     &lt;br /&gt;and you are &lt;strong&gt;creating more than X&lt;/strong&gt; (MaxUserPort) connections &lt;strong&gt;in an N second period...&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Your app is going to spend time &amp;quot;waiting&amp;quot; on socket availability...&lt;/p&gt;  &lt;p&gt;Which is what techy types call &amp;quot;blocking&amp;quot; or &amp;quot;hanging&amp;quot;. Nice*!&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Fun* KB Articles:     &lt;br /&gt;&lt;/strong&gt;&lt;a title="http://support.microsoft.com/kb/319502/" href="http://support.microsoft.com/kb/319502/"&gt;http://support.microsoft.com/kb/319502/&lt;/a&gt;    &lt;br /&gt;&lt;a title="http://support.microsoft.com/kb/328476" href="http://support.microsoft.com/kb/328476"&gt;http://support.microsoft.com/kb/328476&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2986729" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/tristank/archive/tags/Developery/default.aspx">Developery</category><category domain="http://blogs.technet.com/tristank/archive/tags/IT+Pro+_2F00_+Sysadmin/default.aspx">IT Pro / Sysadmin</category><category domain="http://blogs.technet.com/tristank/archive/tags/ISA+Server/default.aspx">ISA Server</category><category domain="http://blogs.technet.com/tristank/archive/tags/Networking/default.aspx">Networking</category><category domain="http://blogs.technet.com/tristank/archive/tags/IIS/default.aspx">IIS</category></item></channel></rss>