<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mr Chuckles dot net &#187; Geek</title>
	<atom:link href="http://www.mrchuckles.net/tag/geek/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mrchuckles.net</link>
	<description>So much tech, so little time...</description>
	<lastBuildDate>Sat, 29 Mar 2008 13:26:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ISA Server and slow SSL</title>
		<link>http://www.mrchuckles.net/2005/04/21/isa-server-and-slow-ssl/</link>
		<comments>http://www.mrchuckles.net/2005/04/21/isa-server-and-slow-ssl/#comments</comments>
		<pubDate>Thu, 21 Apr 2005 21:13:02 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mrchuckles.net/archives/2005/04/13/isa-server-and-slow-ssl</guid>
		<description><![CDATA[Over the last 4 months I&#8217;ve been attempting to track down and solve a problem with ISA Server and an SSL web service we were using.  Initial access to the site was fine, but about 3 or 4 pages in, access would become painfully slow and page elements or entire pages would fail to [...]]]></description>
			<content:encoded><![CDATA[<p>Over the last 4 months I&#8217;ve been attempting to track down and solve a problem with <a href="http://www.microsoft.com/isa">ISA Server</a> and an SSL web service we were using.  Initial access to the site was fine, but about 3 or 4 pages in, access would become painfully slow and page elements or entire pages would fail to load.  This problem was most evident in <a href="http://www.microsoft.com/ie">Internet Explorer</a>, but would also appear in <a href="http://www.mozilla.org/products/firefox">Firefox</a>.  It was also most visible on this one particular web service we use, but at times showed up on many other SSL-enabled sites.  Last Monday I finally figured out what was happening and solved the problem.  It was right in my face the whole time.<br />
<span id="more-265"></span></p>
<div class="alert">
<h3>Update 14 Jul 2005</h3>
<p>It would seem that this entry has become quite popular on the &#8216;net.  It is, in fact, the number 1 hit on Google for anyone searching on &quot;ISA slow SSL&quot;, or variations thereof.  Therefore, I felt some clarifications are in order.  Read on:
<ol>
<li>This entry only applies to ISA 2004.  I never had this problem on ISA 2000, but I wasn&#8217;t using per-user controls under ISA 2000.  If you&#8217;re having similar issues with ISA 2000, you may want to check out www.isaserver.org or the Microsoft public newsgroups for ISA Server.  I don&#8217;t have ISA 2000 installed anywhere, so I can&#8217;t really offer much assistance on that front.</li>
<li>Following up on #1, this entry has nothing to do with MS Proxy 2.0.  While ISA is the replacement for MS Proxy server, they are two totally different animals.  In addition, I haven&#8217;t touched Proxy Server 2 since 1999, so I can&#8217;t really offer much assistance on that front either.  (As an aside, if you&#8217;re still running Proxy Server 2, please replace it.  It&#8217;s really a terrible product).</li>
<li>This solution really only has an effect if you&#8217;re running your ISA Server with per-user access controls.  If that&#8217;s not the case, I would look at other areas of your configuration.  ISAServer.org is a great resource for this type of information.</li>
<li>Please continue to post comments if you have questions or other problems.  I will do my best to help you, but again keep in mind I&#8217;m on ISA now.  My knowledge of Proxy Server 2 has long since faded (for the better, I assure you).</li>
</ol>
</div>
<h3>The background</h3>
<p>We run a Microsoft ISA Server 2004 firewall to provide Internet access and security for all computers on campus.  ISA Server is known for its strong per-user authentication features, and we make heavy use of them.  All outbound connections from our workstations must be authenticated, which is handled by the Firewall Client that is installed through group policy.  We also use the web caching feature of ISA, so all of our browsers are configured to use the ISA Server as a proxy through the auto-configuration script.</p>
<h3>The symptoms</h3>
<p>Initial site access was fine, and load times were quick.  Subsequent page loads from the same site would begin to slow down, and some page elements (read: images) would fail to load.  Once that happened, future attempts to access the site would fail with timeout errors.</p>
<h3>The investigation</h3>
<p>When testing this problem, I noticed the problem was much more prevalent in Internet Explorer, so I switched this particular user to Firefox for this one site.  Things seemed to work better, but reports of page failures still would come in.  Other attempts at resolving the problem, including removing proxy settings from Firefox and disabling caching for the site, provided initial but ultimately false hope.  Finally, as a desperation attempt, I added a rule to our ISA server to allow any request to the site without authentication or HTTP content checks.  I even bumped this rule to the top of the list, to reduce the amount of time the firewall was involved in the transaction.  In short, these blind fix attempts proved fruitless.</p>
<p>It was time to take it up a notch, so I busted out network monitor.  Traffic between the ISA server and the site appeared to be normal, with no unusual packets or headers to throw things off.  Of course, much of the traffic was encrypted with SSL, so network monitor was next to useless.  I then began to monitor the log files from the ISA console while troubleshooting the issue, and initially everything seemed to be normal.  Then I saw something.</p>
<h3>The realization</h3>
<p>I noticed that the connections to the site were staying open, even after all the data for that connection was transferred.  After ISA&#8217;s connection timeout limit was reached, the connections would then close.  Strange.  I also began to notice that once I got locked out of this site, I was locked out of any type of Internet access for about two minutes.  Two minutes, the exact amount of ISA&#8217;s timeout limit.  Then the clincher, connection attempts to port 8080 and 1745 on the firewall were being denied from my machine.  For those of you not familiar with ISA Server, port 8080 is used for the proxy/cache portion of ISA, and port 1745 is the Microsoft Firewall Client communication port.  Every single new connection my machine was making to the ISA server was being denied.  I began to pore over my ISA settings looking for something that could explain this.  I soon found it.</p>
<h3>The solution</h3>
<p>ISA ships with a pre-defined per-machine connection limit of 40.  Once a machine makes 40 simultaneous connections to the ISA server, any new connections are denied.  Because the HTTP and SSL connections were being left open, jumping around various pages on this site quickly brought the number of connections to 40.  Raising the per-machine connection limit to 160, 4x the default, as well as reducing the timeout to 60 seconds has solved these problems.  I&#8217;m not quite certain why connections to this site are being left open after all the data for the connection has been transferred, nor have I determined if this problem is specific to this site.  I&#8217;ll have to break out my TCP/IP book and do a little RFC reading to get that fully figured out.  I&#8217;m just glad to have finally solved this problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrchuckles.net/2005/04/21/isa-server-and-slow-ssl/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Making the most of VIM</title>
		<link>http://www.mrchuckles.net/2004/12/04/making-the-most-of-vim/</link>
		<comments>http://www.mrchuckles.net/2004/12/04/making-the-most-of-vim/#comments</comments>
		<pubDate>Sat, 04 Dec 2004 15:47:52 +0000</pubDate>
		<dc:creator>Steven</dc:creator>
				<category><![CDATA[Geek]]></category>

		<guid isPermaLink="false">http://www.mrchuckles.net/?p=254</guid>
		<description><![CDATA[I&#8217;ve long considered vim to be one of best editors on the planet, and it&#8217;s been my preferred editor for a little over 4 years now. The funny thing is, after 4 years of using it, I still consider myself a beginner with it.  That&#8217;s how powerful this program is.
In an effort to further [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve long considered <a href="http://www.vim.org">vim</a> to be one of best editors on the planet, and it&#8217;s been my preferred editor for a little over 4 years now. The funny thing is, after 4 years of using it, I still consider myself a beginner with it.  That&#8217;s how powerful this program is.</p>
<p>In an effort to further school myself in this program, I stumbled upon an excellent guide called <a href="http://jmcpherson.org/editing.html">Efficient Editing With vim</a> over at <a href="http://jmcpherson.org">Jonathan McPherson&#8217;s</a> home page.  This is an excellent guide to for someone familiar with vim&#8217;s basic editing tasks, who is looking to increase their efficient in moving around a file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrchuckles.net/2004/12/04/making-the-most-of-vim/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
