<?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 : ISA Server</title><link>http://blogs.technet.com/tristank/archive/category/5655.aspx</link><description>An ISA Server Blog! 
Well, actually just ISA-related posts from TristanK's blog.</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:00 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. But! That doesn't necessarily jive with what's seen on the wire, suggesting it might be an internal driver or hardware problem.&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" mce_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 mce_src="http://blogs.technet.com/blogfiles/tristank/WindowsLiveWriter/ISAServer2006TCPRetransmits_D89E/image_thumb_1.png"&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&amp;nbsp;HP and&amp;nbsp;Broadcom (and possibly Intel) 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>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>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>"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><item><title>SetSPN improvements in Windows Server 2008! W00t!</title><link>http://blogs.technet.com/tristank/archive/2007/12/21/kerberos-and-setspn-improvements-in-iis-7-0-under-windows-server-2008.aspx</link><pubDate>Fri, 21 Dec 2007 10:21:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2659321</guid><dc:creator>tristank</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/tristank/comments/2659321.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=2659321</wfw:commentRss><description>&lt;p&gt;All this stuff is based on a prerelease (RC1) version of Windows Server 2008 and may change before final release. Cheques may not be honoured.&lt;/p&gt;  &lt;p&gt;I had a &lt;em&gt;happy moment&lt;/em&gt; one night in India when the trainer for our IIS 7.0 TTT course discussed some of the Kerberos-related improvements in IIS7. &lt;/p&gt;  &lt;p&gt;... SetSPN got revamped.&lt;/p&gt;  &lt;p&gt;We all know (or knew, before my wiki collapsed) that &lt;a href="http://blogs.technet.com/tristank/archive/2006/05/08/spns-r-fn.aspx" mce_href="http://blogs.technet.com/tristank/archive/2006/05/08/spns-r-fn.aspx"&gt;duplicate Kerberos SPNs are bad&lt;/a&gt;. (The Wiki is still down, by the way, sorry).&lt;/p&gt;  &lt;p&gt;We know that it's been a little bit iffy configuring said SPNs and that the chance of getting it wrong was quite high - there was no control that prevented the registration of the same SPN twice, against different accounts.&lt;/p&gt;  &lt;p&gt;Worse: SetSPN was focused on the account (security principal) only - if you thought you had a duplicate, you needed to use a customized LDIFDE command to track it down based on the SPN, as SetSPN wouldn't search by SPN, only by account.&lt;/p&gt;  &lt;p&gt;Buuut: Some &lt;em&gt;wonderful&lt;/em&gt; SDE that should really be on my Christmas card list decided that SetSPN could become an all-singing all-dancing SPN troubleshooting tool!&lt;/p&gt;  &lt;p&gt;Yes folks, SetSPN now has SANITY CHECK (-S) switches and FIND THE PROBLEM (-X) switches! HOW COOL IS THAT!?&lt;/p&gt;  &lt;p&gt;In order to not break backwards compatibility (I infer; I didn't actually participate in the conversation or decision making process), these are implemented as new switches, not old ones: Existing scripts that rely on creating duplicates (and then presumably resolving that situation shortly afterwards) won't (er, shouldn't) suddenly break.&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;C:\Users\Administrator&amp;gt;setspn     &lt;br /&gt;Usage: setspn [modifiers switches data] computername      &lt;br /&gt;Where 'computername' can be the name or domain\name &lt;/p&gt;    &lt;p&gt;Modifiers:     &lt;br /&gt;&lt;strong&gt;-F = perform the duplicate checking on forestwide level&lt;/strong&gt;      &lt;br /&gt;-P = do not show progress (useful for redirecting output to file) &lt;/p&gt;    &lt;p&gt;Switches:     &lt;br /&gt;-R = reset HOST ServicePrincipalName      &lt;br /&gt;Usage:&amp;#160;&amp;#160; setspn -R computername      &lt;br /&gt;-A = add arbitrary SPN      &lt;br /&gt;Usage:&amp;#160;&amp;#160; setspn -A SPN computername      &lt;br /&gt;&lt;strong&gt;-S = add arbitrary SPN &lt;font color="#ff0000"&gt;after verifying no duplicates exist&lt;/font&gt;&lt;/strong&gt;      &lt;br /&gt;Usage:&amp;#160;&amp;#160; setspn -S SPN computername      &lt;br /&gt;-D = delete arbitrary SPN      &lt;br /&gt;Usage:&amp;#160;&amp;#160; setspn -D SPN computername      &lt;br /&gt;-L = list registered SPNs      &lt;br /&gt;Usage:&amp;#160;&amp;#160; setspn [-L] computername      &lt;br /&gt;&lt;strong&gt;&lt;font color="#ff0000"&gt;-Q = query for existence of SPN&lt;/font&gt;&lt;/strong&gt;      &lt;br /&gt;Usage:&amp;#160;&amp;#160; setspn -Q SPN      &lt;br /&gt;&lt;font color="#ff0000"&gt;&lt;strong&gt;-X = search for duplicate SPNs&lt;/strong&gt;        &lt;br /&gt;&lt;/font&gt;Usage:&amp;#160;&amp;#160; setspn -X &lt;/p&gt;    &lt;p&gt;Examples:     &lt;br /&gt;setspn -R daserver1      &lt;br /&gt;It will register SPN 'HOST/daserver1' and 'HOST/{DNS of daserver1}'      &lt;br /&gt;setspn -A http/daserver daserver1      &lt;br /&gt;It will register SPN 'http/daserver' for computer 'daserver1'      &lt;br /&gt;setspn -D http/daserver daserver1      &lt;br /&gt;It will delete SPN 'http/daserver' for computer 'daserver1'      &lt;br /&gt;&lt;strong&gt;setspn -F -S http/daserver daserver1       &lt;br /&gt;It will register SPN 'http/daserver' for computer 'daserver1' if no such SPN exists in the forest &lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;So, any instructions out there that currently use the positively archaic SETSPN -A can now be updated to use the shiny new SETSPN -S.&lt;/p&gt;  &lt;p&gt;Again, I ask you: How cool is that!?&lt;/p&gt;  &lt;p&gt;I should add that I haven't actually tried this yet, just gurgled at the wonderful new options and imagined their effect. If it throws a &amp;quot;NotYetImplementedException&amp;quot;, please forgive my enthusiasm :)&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2659321" 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/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>Tip o' the Week: WEVTUTIL for EVTX/EVT file conversion</title><link>http://blogs.technet.com/tristank/archive/2007/10/05/tip-o-the-week-wevtutil-for-evtx-evt-file-conversion.aspx</link><pubDate>Fri, 05 Oct 2007 09:19:19 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:2111502</guid><dc:creator>tristank</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/tristank/comments/2111502.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=2111502</wfw:commentRss><description>&lt;p&gt;This week, a pointer to a solution to a problem I occasionally hit.&lt;/p&gt; &lt;p&gt;Windows Vista (and by extension Windows Server 2008, I assume) utilizes a new EVTX log format for event log exports. It's XML-based, natch.&lt;/p&gt; &lt;p&gt;Problem:&amp;nbsp;&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=890cd06b-abf8-4c25-91b2-f8d975cf8c07&amp;amp;displaylang=en"&gt;Everyone's Favourite Log Digestion Tool&amp;nbsp;Log Parser&lt;/a&gt; uses system APIs to read event log exports, and the old .EVT event log format isn't "native" any more. Long story short, it chokes on them.&lt;/p&gt; &lt;p&gt;This, to put it mildly, was annoying, as most customers haven't moved to Windows Server 2008 yet (I mean, it's only five months from release - is there ever a better time?) and so supply event logs in the old format when asked.&lt;/p&gt; &lt;p&gt;Anyway - you can convert the old-school event logs into shiny new event logs&amp;nbsp;through the user interface (just double-click the EVT, wait for it&amp;nbsp;to open and display&amp;nbsp;in chronological order;&amp;nbsp;then do a Save As, pick a location and filename and answer an obscure question about language formatting; then find and open the newly-resaved log file),&amp;nbsp;but bluntly, the GUI process leaves a bit to be desired if you have the slightest inkling towards type-A behaviour, and all I really want is something that'll work in Log Parser, really.&lt;/p&gt; &lt;p&gt;&lt;a href="http://blogs.technet.com/neilcar/archive/2007/08/15/plogparser-event-logs-and-vista.aspx"&gt;WEVTUTIL (and NeilCar)&lt;/a&gt; to the rescue. It's included out of the box, and&amp;nbsp;it'll convert those&amp;nbsp;dusty&amp;nbsp;old&amp;nbsp;event logs from the command line, with nary a GUI&amp;nbsp;or common dialog in sight, ready for consumption by Logparser, or any other EVTX-friendly file muncher.&lt;/p&gt; &lt;p&gt;Neil's example (for the click-inhibited): &lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;&lt;font face="Consolas"&gt;wevtutil epl application.evt application.evtx /lf:true&lt;/font&gt;&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Bewdiful.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=2111502" 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/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/IIS/default.aspx">IIS</category></item><item><title>Netmon vs Chimney</title><link>http://blogs.technet.com/tristank/archive/2007/07/23/netmon-vs-chimney.aspx</link><pubDate>Mon, 23 Jul 2007 06:22:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:1584690</guid><dc:creator>tristank</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/tristank/comments/1584690.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=1584690</wfw:commentRss><description>&lt;P&gt;I recently encountered &lt;A href="http://www.microsoft.com/whdc/device/network/TCP_Chimney.mspx" mce_href="http://www.microsoft.com/whdc/device/network/TCP_Chimney.mspx"&gt;TCP Chimney&lt;/A&gt; for the first time in the wild.&lt;/P&gt;
&lt;P&gt;Short version: Chimney is an offload technology that allows the NIC to deal with up to X TCP connections, with&amp;nbsp;any overflow being handled by Windows. All good: get the NIC dealing with more networky stuff, and reduce CPU use. Excellent!&lt;/P&gt;
&lt;P&gt;The reason it came up: &lt;/P&gt;
&lt;P&gt;I was staring at a small network monitor&amp;nbsp;capture (should have been much bigger) that should have had a few tens of megabytes of FTP but was mostly comprised of&amp;nbsp;SYN, SYN-ACK, ACK s to port 21.&lt;/P&gt;
&lt;P&gt;A lot!&amp;nbsp;It'd look like&lt;/P&gt;
&lt;P&gt;SYN -&amp;gt; 21, source port X&lt;BR&gt;SYN-ACK&lt;BR&gt;ACK&lt;BR&gt;SYN -&amp;gt; 21, source port X+1&lt;BR&gt;SYN-ACK&lt;BR&gt;ACK&lt;/P&gt;
&lt;P&gt;...Hundreds and hundreds of TCP 3-way handshakes, but next to no actual data sent. The server didn't even appear to be sending its connection banner!&lt;/P&gt;
&lt;P&gt;Very, very rarely, I'd actually see a frame or two of FTP traffic, but I thought the symptom I was looking at was indicative of resource starvation on the FTP server.&lt;/P&gt;
&lt;P&gt;Perfmon didn't confirm the diagnosis, and the FTP server logs showed it was transferring loads and loads of data; I just couldn't see it in the capture.&lt;/P&gt;
&lt;P&gt;After ruling out&amp;nbsp;network adapter teaming&amp;nbsp;(The Old Enemy), I wondered if something from the Scalable Networking Pack might have been involved, and a quick internal search later, whop! A symptom match! Because the NIC handles the heavy lifting of all TCP work with Chimney enabled, after the TCP session is established,&amp;nbsp;&lt;EM&gt;Netmon doesn't get to see the traffic!&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;To disable Chimney so you're able to gather captures for troubleshooting purposes, you can use the following netsh command:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;Netsh int ip set chimney DISABLED&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Once that's done, Netmon (and presumably other NDIS capture drivers, like WinPCap (ethereal/wireshark) should be able to capture all traffic, not just non-TCP stuff!&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=1584690" 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+Vista/default.aspx">Windows Vista</category><category domain="http://blogs.technet.com/tristank/archive/tags/IIS/default.aspx">IIS</category></item><item><title>Kerbi Wiki</title><link>http://blogs.technet.com/tristank/archive/2007/04/12/kerbi-wiki.aspx</link><pubDate>Thu, 12 Apr 2007 09:35:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:753064</guid><dc:creator>tristank</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/tristank/comments/753064.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=753064</wfw:commentRss><description>&lt;p&gt;Back from another holiday (I call it the &lt;a href="http://homepages.nildram.co.uk/~polymorp/rimmer_fr.htm"&gt;Arnold Rimmer&lt;/a&gt; technique) I've been trying to collect, rework&amp;nbsp;and refurbish my thoughts on web-based Kerberos stuff in a personal Wiki.&lt;/p&gt; &lt;p&gt;You're welcome to peruse it with the usual disclaimers that I'm frequently wrong; unlike most people-friendly wikis, this one's read-only unless you're me.&lt;/p&gt; &lt;p&gt;So, feel free to poke around; there might be something useful in there somewhere.&lt;br&gt;&lt;a title="http://sharepoint.tristank.com/Pub/" href="http://sharepoint.tristank.com/Pub/"&gt;http://sharepoint.tristank.com/Pub/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;I think there's a definite market for a kerberos configurator - a drag-and-drop layout tool that lets you draw your network, and have it fill in the SPN registrations you need to use. When I get some time (ah, hahaha! I am so dry!), I might take a look at it.&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=753064" 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/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/IIS/default.aspx">IIS</category></item><item><title>I want to publish a website to the Internet. How do I enable Kerberos?</title><link>http://blogs.technet.com/tristank/archive/2007/03/02/i-want-to-publish-a-website-to-the-internet-how-do-i-enable-kerberos.aspx</link><pubDate>Fri, 02 Mar 2007 04:44:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:667766</guid><dc:creator>tristank</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.technet.com/tristank/comments/667766.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=667766</wfw:commentRss><description>&lt;P&gt;Ya don't. &lt;/P&gt;
&lt;P&gt;You can't win. But there are alternatives to fighting.&lt;/P&gt;
&lt;H3&gt;Why Not?&lt;/H3&gt;
&lt;P&gt;Windows Kerberos doesn't work in an Internet scenario, it's intranet-only.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;the client machine must be a member of the same Active Directory forest as the target site. You just can't guarantee (or even reasonably require) this&amp;nbsp;for random&amp;nbsp;Internet clients. 
&lt;LI&gt;the client machine has to be able to contact a Domain Controller in that site to get a kerberos ticket. Most folk are understandably cautious about exposing their DCs directly to the Internet.&lt;/LI&gt;&lt;/UL&gt;
&lt;H3&gt;So Are You Just Telling Me I Can't Do It? You're A Bad Person.&lt;/H3&gt;
&lt;P&gt;Yes, I am,&amp;nbsp;and no, I'm not telling you that - I'm saying it doesn't work on its own.&lt;/P&gt;
&lt;P&gt;It's not a zero-setup-cost solution, but it is a block-level solution that lots of smaller companies don't know about or consider - they just switch to Basic authentication, forego the benefits of pre-authentication, and plonk the server in the DMZ.&lt;/P&gt;
&lt;P&gt;That "alternative to fighting" I mentioned earlier is &lt;STRONG&gt;ISA Server 2006&lt;/STRONG&gt;. You plonk ISA Server into the domain, either &lt;STRONG&gt;as&lt;/STRONG&gt; or &lt;STRONG&gt;behind&lt;/STRONG&gt; your outer firewall (depending on number of NICs). Then, you &lt;STRONG&gt;use&amp;nbsp;ISA to publish the website&lt;/STRONG&gt;. (ISA's publishing capabilities are laid out in gory detail &lt;A href="http://www.microsoft.com/technet/isa/2006/deployment/publishing_concepts.mspx" mce_href="http://www.microsoft.com/technet/isa/2006/deployment/publishing_concepts.mspx"&gt;here&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;The website itself doesn't get put anywhere near the Internet, it gets to stay inside the safer part of the network.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://www.tristank.com/blogimages/ISA06ProtTrans.png" mce_src="http://www.tristank.com/blogimages/ISA06ProtTrans.png"&gt; &lt;/P&gt;
&lt;H3&gt;How does that help?&lt;/H3&gt;
&lt;P&gt;ISA has the capability of authenticating a client connection using Basic (Internet friendly!) or Forms authentication (also Internet friendly!) then performing Kerberos Constrained Delegation inside the firewall. &lt;STRONG&gt;It converts one form of authentication into another. &lt;/STRONG&gt;There's a big document on ISA 06 authentication options &lt;A href="https://www.microsoft.com/technet/isa/2006/authentication.mspx" mce_href="https://www.microsoft.com/technet/isa/2006/authentication.mspx"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Once ISA has converted the protocol to Kerberos, &lt;EM&gt;you're free to do whatever you'd normally do in an Intranet scenario, but only with the nominated website&lt;/EM&gt;&amp;nbsp;- the website can then use your pre-existing Kerberos delegation setup to do&amp;nbsp;Native Authentication to a SQL Server, or talk to Active Directory, or, well, whatever.&lt;/P&gt;
&lt;P&gt;You also gain the not-insubstantial added benefit of ISA being able to &lt;EM&gt;pre-authenticate&lt;/EM&gt; and &lt;EM&gt;authorize&lt;/EM&gt; clients - so that by the time the client even touches your actual website, you know who they are (or at the very least, who they've successfully been able to impersonate), and can potentially even restrict the users allowed to hit it to certain groups (keep in mind that this is before they've even seen a "real"&amp;nbsp;web&amp;nbsp;page on your web server - you have had to write zero code for this).&lt;/P&gt;
&lt;P&gt;ISA's the same solution we recommend to help secure our premier applications - Exchange and Sharepoint - so why not use it for yours?&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=667766" 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>NLB Ain't Application-Aware</title><link>http://blogs.technet.com/tristank/archive/2007/03/01/nlb-ain-t-application-aware.aspx</link><pubDate>Thu, 01 Mar 2007 09:04:48 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:666317</guid><dc:creator>tristank</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/tristank/comments/666317.aspx</comments><wfw:commentRss>http://blogs.technet.com/tristank/commentrss.aspx?PostID=666317</wfw:commentRss><description>&lt;p&gt;It's been ages since I touched on anything &lt;a href="http://blogs.technet.com/tristank/search.aspx?q=nlb"&gt;wibbles-related&lt;/a&gt;, but I realized I'd&amp;nbsp;neglected&amp;nbsp;a very common query: &lt;/p&gt; &lt;p&gt;&lt;em&gt;&lt;strong&gt;If one of my&amp;nbsp;applications is under load, will&amp;nbsp;Network Load Balancing&amp;nbsp;route/move/transfer all the additional load to the other server?&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;em&gt;No&lt;/em&gt;&lt;/strong&gt;. As long as the box still lives (or more specifically, the NLB driver is able to send heartbeats and receive incoming IP traffic), NLB will keep on allowing connections.&lt;/p&gt; &lt;p&gt;The load rules are used to govern the rough percentages of connections, but any web developer will tell you that connections don't necessarily map to load.&lt;/p&gt; &lt;p&gt;From NLB's perspective, &lt;em&gt;it doesn't even matter if your application isn't running any more&lt;/em&gt;. It's simply there to filter &lt;em&gt;out&lt;/em&gt; all the traffic you don't want to hit that machine. (Recall that getting NLB working basically means fire-hosing all incoming traffic at all members of the NLB cluster, and relying on each node to know which bits of traffic to ignore, and which they "own").&lt;/p&gt; &lt;p&gt;For Terminal Servers, this means that if one TS is overloaded and can't accept any more connections, NLB doesn't know or care. IIS is similar - if one Web app is chewing 100% CPU, don't expect connections to be balanced to another server based on that fact alone.&lt;/p&gt; &lt;p&gt;This leads to the existence of health-monitoring utilities that will pull a box from&amp;nbsp;an NLB cluster (i.e. DRAINSTOP it) if they detect a problem with a key app (&lt;a href="http://www.microsoft.com/technet/isa/2006/nlb.mspx"&gt;much as ISA Server 2006 and 2004 do when they detect a problem with an array member&lt;/a&gt;).&lt;/p&gt; &lt;p&gt;Technet describes this in more detail &lt;a href="http://technet2.microsoft.com/WindowsServer/en/library/c6c7cd9f-2837-44ab-b7e9-a5ab59bf74931033.mspx?mfr=true"&gt;here&lt;/a&gt;. &lt;/p&gt; &lt;p&gt;(Thanks to 'softie Daniel Taylor for digging up the relevant links and mailing them to me.)&lt;/p&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=666317" 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/Terminal+Server/default.aspx">Terminal 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>