<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>TugaIT - Tuga IT blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/tugait/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/tugait/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:47:49 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>DNS - Forwarders vs Root Hints</title>
      <link>https://docs.microsoft.com/archive/blogs/tugait/dns-forwarders-vs-root-hints</link>
      <pubDate>Tue, 11 Feb 2014 08:25:15 GMT</pubDate>
      <dc:creator><![CDATA[joaot[at]microsoft.com]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/tugait/2014/02/11/dns-forwarders-vs-root-hints/</guid>
      <description><![CDATA[First of all I would like to say that there&#39;s no right configuration...
... but taking in...]]></description>
      <content:encoded><![CDATA[<p>First of all I would like to say that there&#39;s no right configuration...</p>
<p><br />... but taking in consideration the work I&rsquo;ve done during the last years as network and ISA/TMG support engineer I personally recommend the use of forwarders instead of root hints.</p>
<p>When you have TMG/ISA doing requests against a DC this configuration is quite important for having good performance... I had quite some issues related with this.<br />... also based on DNS Best Practice Analyzer Microsoft also recommends the use of forwarders.</p>
<p>I personally recommend to use your ISP DNS servers as forwarders.<br />The main reason for you to use Forwarders is related with performance &ndash; the number of hops required to reach your ISP DNS server is much lower for sure than to access the root hints.<br />The reason for use root hints is reliability, however in my opinion&nbsp;- this is an old idea&hellip;: - most of the Server providers are now reliable and they don&rsquo;t change their DNS server IPs without proper information. 10 Years ago this was not the case&hellip; DNS Server in ISP sometimes were quite problematic and many people suggested and preferred to use Root Hints.<br />We have also another reason to use forwarders &hellip; this reason is related with Firewall configuration, It&rsquo;s easy to allow only DNS external traffic against those specific ISP DNS Server used has forwarders.<br />https://technet.microsoft.com/en-us/library/cc816653(WS.10).aspx<br />Some other forums / discussion topics.<br />https://social.technet.microsoft.com/Forums/windowsserver/en-US/f815e91c-d8e7-42d8-9b1a-42492022b9e4/dns-forwarders?forum=winserverDS<br />https://social.technet.microsoft.com/Forums/windowsserver/en-US/2f35cae2-341c-4bfe-9dac-724ddace6d51/dns-question-root-hints-vs-forwarders?forum=winserverNIS</p>]]></content:encoded>
    </item>
    <item>
      <title>Unable to activate DirectAccess UAG configuration - The adapter configured as external-facing is connected to a domain. This interface cannot be used with UAG DirectAccess.</title>
      <link>https://docs.microsoft.com/archive/blogs/tugait/unable-to-activate-directaccess-uag-configuration-the-adapter-configured-as-external-facing-is-connected-to-a-domain-this-interface-cannot-be-used-with-uag-directaccess</link>
      <pubDate>Wed, 04 Jul 2012 08:13:10 GMT</pubDate>
      <dc:creator><![CDATA[joaot[at]microsoft.com]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/tugait/2012/07/04/unable-to-activate-directaccess-uag-configuration-the-adapter-configured-as-external-facing-is-connected-to-a-domain-this-interface-cannot-be-used-with-uag-directaccess/</guid>
      <description><![CDATA[DESCRIPTION:
Unable to activate DirectAccess UAG configuration - The adapter configured as...]]></description>
      <content:encoded><![CDATA[<h2>DESCRIPTION:</h2>
<p>Unable to activate DirectAccess UAG configuration - The adapter configured as external-facing is connected to a domain. This interface cannot be used with UAG DirectAccess.</p>
<p>July 02, 2012 21:53:10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The adapter configured as external-facing is connected to a domain. This interface cannot be used with UAG DirectAccess.<br />July 02, 2012 21:53:10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The UAG DirectAccess configuration cannot be activated.<br />July 02, 2012 21:53:10&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Error&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DirectAccess could not be activated.</p>
<h2>CAUSE<br />&nbsp;</h2>
<p>How Domain Determination</p>
<p style="padding-left: 30px;">In all cases, detection starts the same way that it does in Windows XP. If the Connection Specific DNS Name matches the &ldquo;HKEY_Local_Machine\Software\Microsoft\Windows\CurrentVersion\Group Policy\History\NetworkName&rdquo; registry key then the machine will attempt to contact a Domain Controller via LDAP. If both these steps succeed, you will get the Domain profile. It is important to note that if the steps succeed, processing stops here. This allows you to roam across multiple access points in the same domain without having to stop and identify each of them individually.</p>
<p>If you restart the UAG you can see that connection from the External IP reach the Internal Domain Controllers.</p>
<p>If you restart the Network Location Awareness again after UAG / TMG fully started&nbsp;no more connections arrive with external IP.</p>
<p>During startup the connection&nbsp;occurs because when you restart UAG or TMG the NLASvc starts faster than the TMG Firewall Service.</p>
<p>During that period the connection from External IP to DC is not controlled and connection is allowed.</p>
<p>&nbsp;</p>
<h2>RESOLUTION:</h2>
<p>Make sure that Network Location Awareness starts only after fwsrv. DependOnService registry key for NLASvc and add fwsrv.</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Unable to access shares or SCCM Remote Control from internal network to the Direct Access(DA) clients</title>
      <link>https://docs.microsoft.com/archive/blogs/tugait/unable-to-access-shares-or-sccm-remote-control-from-internal-network-to-the-direct-accessda-clients</link>
      <pubDate>Fri, 10 Feb 2012 08:16:27 GMT</pubDate>
      <dc:creator><![CDATA[joaot[at]microsoft.com]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/tugait/2012/02/10/unable-to-access-shares-or-sccm-remote-control-from-internal-network-to-the-direct-accessda-clients/</guid>
      <description><![CDATA[DESCRIPTION:
From SCCM machine we were unable to use Remote control against the DA clients that...]]></description>
      <content:encoded><![CDATA[<p><b>DESCRIPTION:</b></p>
<p>From SCCM machine we were unable to use Remote control against the DA clients that connect via UAG.</p>
<p><b>SCENARIO:</b></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/8877.Scenario.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/8877.Scenario.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/8877.Scenario.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/8877.Scenario.jpg" width="222" height="108" /></a>&nbsp;</p>
<p>&nbsp;Lab done based on this.</p>
<p><b>TROUBLESHOOTING DONE:</b></p>
<p>Doing a network trace on the SCCM we were able to see that SCCM tries to connect to FIRST to port 135 and I also saw connection to port 445 when issuing the Remote Control command. However documentation states:</p>
<p>&nbsp;<a href="https://technet.microsoft.com/en-us/library/bb694088.aspx">https://technet.microsoft.com/en-us/library/bb694088.aspx</a></p>
<blockquote>
<p><span style="background-color: #99ccff;">&nbsp;<b>Remote Control</b></span></p>
<p><span style="background-color: #99ccff;">In order to use the remote tools features of Configuration Manager 2007, you need to allow the following ports:</span></p>
<ul>
<li><span style="background-color: #99ccff;">TCP port <b>2701</b></span></li>
<li><span style="background-color: #99ccff;">TCP port <b>2702</b></span></li>
<li><span style="background-color: #99ccff;">TCP port <b>135</b></span></li>
</ul>
</blockquote>
<p>My tests shown TCP/135 and TCP/445 and only after those connections work we see: TCP2701/TCP2702</p>
<p>I believe that this documentation should also have 445 here, actually documentation refers to File and Print sharing....</p>
<p style="padding-left: 60px;" class="subHeading"><span style="background-color: #99ccff; color: #000000;">"Windows Event Viewer, Windows Performance Monitor and Windows Diagnostics</span></p>
<div style="padding-left: 30px;" class="subSection">
<p style="padding-left: 30px;"><span style="background-color: #99ccff; color: #000000;">To enable Windows event viewer, Windows performance monitor and Windows diagnostics to be accessed from the Configuration Manager console, you must enable <strong>File and Printer Sharing</strong> as an exception on the Windows Firewall."</span></p>
</div>
<p>Network traces shows that TCP 445 connections&nbsp;are tried from SCCM to remote DA client.</p>
<p>On the DA Client, there&rsquo;s no point in doing any network trace because all the traffic goes via IPSec Tunnel established between DA Client and UAG.</p>
<p>There&rsquo;s specific ways to get this data using netsh but I didn&rsquo;t follow that.</p>
<p>My goal now was to have port TCP 445 / 135 from internal network to DA clients working. Fact was that:</p>
<p style="padding-left: 30px;">- DC is able to connect to DAClient:</p>
<p style="padding-left: 30px;">- (ICMP) Ping -&gt; work. &nbsp;</p>
<p style="padding-left: 30px;">- (TCP 3389) mstsc -&gt; works</p>
<p style="padding-left: 30px;">- (TCP 445) Access to Share -&gt; Fails from DC or SCCM or any other machine in internal network.</p>
<p style="padding-left: 30px;">&nbsp;</p>
<p>Lot's of configuration tried in the Windows Firewall of the machine without success.</p>
<p>Until something was found:</p>
<p>...by default the Remote IP Scope when you enable (SMB in) in your firewall we got:</p>
<p></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/7608.LocalSubnet.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/7608.LocalSubnet.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/7608.LocalSubnet.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/7608.LocalSubnet.jpg" width="294" height="103" /></a></p>
<p>It was very tricky to find that this was the cause for the problem.</p>
<p>Of course this is wrong -&nbsp;&ldquo;Local Subnet&rdquo;&nbsp;for DA Client&nbsp;cannot be our internal network.</p>
<p>Changing this to &ldquo;Any IP Address&rdquo; started to work in my lab.</p>
<p>On the Windows Firewall of the DA client. I&rsquo;ve configured a Local GPO to allow File and Print Sharing: (You can also set this by a Domain Policy or in GPO UAG Client Access policy.)</p>
<p></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/4314.GPO.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/4314.GPO.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/4314.GPO.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/4314.GPO.jpg" /></a></p>
<p>&nbsp;</p>
<p>We wanted to make sure that we could focus in a specific range. Security is important.</p>
<p>How do we know what range to use?</p>
<p>From a DA Client do a ping to an internal machine and check the reply.</p>
<ol>
<li>2002:WWXX:YYZZ:8000::/49 as the organizational prefix</li>
<li>&nbsp;2002:WWXX:YYZZ:8000::/64 as the ISATAP prefix</li>
<li>&nbsp;2002:WWXX:YYZZ:8001::/96 as the NAT64/DNS64 prefix</li>
<li>&nbsp;2002:WWXX:YYZZ:8100::/56 as the IP-HTTPS prefix</li>
</ol>
<p>Ping reply was:&nbsp;</p>
<p>2002:2700:e9:8000&hellip; etc&hellip; this means ISATAP</p>
<p>So added this range on my DA Client firewall.</p>
<p></p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/8206.SpecificIP.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/8206.SpecificIP.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/8206.SpecificIP.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/8206.SpecificIP.jpg" width="302" height="154" /></a></p>
<p>With customer environment the firewall was 3<sup>rd</sup> party but the logic was the same.</p>
<p>From Da client we did a ping to internal network, we saw reply being ISATAP and we added the entry.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/7853.cu.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/7853.cu.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/7853.cu.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/7853.cu.jpg" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/0820.cu.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/0820.cu.jpg"></a></p>
<p></p>
<p>&nbsp;Shares working</p>
<p>Remote control started to work in production environment</p>
<p>Hope this helps...</p>]]></content:encoded>
    </item>
    <item>
      <title>How to publish a VPN SSTP using your UAG in a HTTPS trunk</title>
      <link>https://docs.microsoft.com/archive/blogs/tugait/how-to-publish-a-vpn-sstp-using-your-uag-in-a-https-trunk</link>
      <pubDate>Wed, 12 Oct 2011 03:59:28 GMT</pubDate>
      <dc:creator><![CDATA[joaot[at]microsoft.com]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/tugait/2011/10/12/how-to-publish-a-vpn-sstp-using-your-uag-in-a-https-trunk/</guid>
      <description><![CDATA[Configuration:
Win7 RDP6.1 10.10.11.88&nbsp;&nbsp; (VPN Network...]]></description>
      <content:encoded><![CDATA[<p><span style="background-color: #000000; color: #ffff00;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/0474.3.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/0474.3.jpg"></a>Configuration:</span></p>
<p style="padding-left: 30px;">Win7 RDP6.1 10.10.11.88&nbsp;&nbsp; (VPN Network 192.168.33.0-192.168.33.255)<br />|<br />10.10.11.252 (UAGhttpsTrunk.allinone.com)<br />UAG<br />10.10.10.252 <br />|<br />----------------------------------10.10.10.0/24-----------------------<br />|<br />DC(10.10.10.12) ex2010all.allinone.com default gateway of the DC is the UAG. If you have other DefaultGateway the</p>
<p>First think to do is to configure the trunk, you need to have a certificate and the CRL&nbsp;for that certificate must be accessible.</p>
<p><span style="background-color: #000000; color: #ffff00;">1) Create the trunk</span></p>
<p style="padding-left: 30px;">So on the UAG console we start by creating the trunk:</p>
<p style="padding-left: 30px;">We go to HTTPS Connections -&gt; RClick -&gt; New Trunk - Portal Trunk</p>
<p style="padding-left: 150px;"></p>
<p style="padding-left: 30px;">I gave the name: UAGHttpsTrunk.allinone.external</p>
<p style="padding-left: 30px;">On the Authentication Server select the internal DC - ex2010all.allinone.com -&gt; Next</p>
<p style="padding-left: 30px;">Select a certificate.</p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/0677.2.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/0677.2.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/0677.2.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/0677.2.jpg" width="286" height="159" /></a></p>
<p style="padding-left: 90px;"><span style="background-color: #000000; color: #ffff00;">Important: (About the certificate, public name and CRL)</span></p>
<p style="padding-left: 90px;">The public name of the certificate must match the name of the External name you are going to access.</p>
<p style="padding-left: 90px;">In my case the VPN connection and trunk are going to be accessed by using the name UAGhttpsTrunk.allinone.external</p>
<p style="padding-left: 90px;">This certificate has the CRL link that can be accessed correctly. This causes problems if not well configured.</p>
<p style="padding-left: 30px;">&nbsp;Next - Endpoint Policies I left the Default</p>
<p style="padding-left: 30px;">Next - Finish</p>
<p style="padding-left: 30px;"><span style="background-color: #000000; color: #ffff00;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/0474.3.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/0474.3.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/0474.3.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/0474.3.jpg" width="278" height="138" /></a></span></p>
<p><span style="background-color: #000000; color: #ffff00;">Creating the VPN SSTP</span></p>
<p style="padding-left: 30px;">On top we go to Admin go to Remote Network Access and then select SSL Network Tunneling(SSTP)</p>
<p style="padding-left: 30px;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/6835.4.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/6835.4.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/6835.4.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/6835.4.jpg" width="407" height="110" /></a></p>
<p style="padding-left: 30px;">&nbsp;Select the Trunk we have created UAGhttpsTrunk</p>
<p style="padding-left: 30px;">&nbsp;Next - on protocols select SSTP</p>
<p style="padding-left: 30px;">Next - Address Assignment I've created a entry where Start Address is 192.168.33.0&nbsp;end address&nbsp;is&nbsp;192.168.33.255 (don't worry about the network 0&nbsp;and mask address 255, UAG takes care of that).</p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/4113.5a.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/4113.5a.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/4113.5a.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/4113.5a.jpg" width="222" height="168" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/0385.5b.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/0385.5b.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/0385.5b.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/0385.5b.jpg" width="313" height="167" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/3755.5c.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/3755.5c.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/3755.5c.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/3755.5c.jpg" width="308" height="167" /></a></p>
<p><span style="background-color: #000000; color: #ffff00;"></span></p>
<p><span style="background-color: #000000;"><span style="color: #ffff00;"></span><span style="color: #ffff00;">&nbsp;ACTIVATE</span></span></p>
<p style="padding-left: 30px;">&nbsp;Save / Activate</p>
<p><span style="background-color: #000000; color: #ffff00;">CLIENT CONFIGURATION</span></p>
<p style="padding-left: 30px;">Control Panel\All Control Panel Items\Network and Sharing Center</p>
<p style="padding-left: 30px;">Setup a new connection or network</p>
<p style="padding-left: 30px;">Next- Create a new connection</p>
<p style="padding-left: 30px;">Next- Use My Internet connection VPN</p>
<p style="padding-left: 30px;">Next - Add the address of the trunk</p>
<p style="padding-left: 30px;">Next - user name and password</p>
<p style="padding-left: 30px;">&nbsp;</p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/4760.6a.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/4760.6a.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/4760.6a.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/4760.6a.jpg" width="378" height="138" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/7824.6b.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/7824.6b.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/7824.6b.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/7824.6b.jpg" width="362" height="138" /></a></p>
<p style="padding-left: 30px;">VPN Connected</p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/7762.6c.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/7762.6c.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/7762.6c.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/7762.6c.jpg" width="382" height="66" /></a></p>
<p style="padding-left: 30px;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/8357.6d.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/8357.6d.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/8357.6d.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-78-03/8357.6d.jpg" /></a></p>
<p style="padding-left: 30px;">You were able to access the internal DNS on the DC 10.10.10.12 with success</p>
<p style="padding-left: 30px;">This is working.</p>]]></content:encoded>
    </item>
    <item>
      <title>Installing Direct Access in WIN2008R2+TMG machine broke SSL publishing rules</title>
      <link>https://docs.microsoft.com/archive/blogs/tugait/installing-direct-access-in-win2008r2tmg-machine-broke-ssl-publishing-rules</link>
      <pubDate>Wed, 29 Jun 2011 09:30:00 GMT</pubDate>
      <dc:creator><![CDATA[joaot[at]microsoft.com]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/tugait/2011/06/29/installing-direct-access-in-win2008r2tmg-machine-broke-ssl-publishing-rules/</guid>
      <description><![CDATA[If you install Direct Access(Calling it DA) in a TMG machine you should be aware that by default...]]></description>
      <content:encoded><![CDATA[<p>If you install Direct Access(Calling it DA) in a TMG machine you should be aware that by default Direct Access is going to bound port 443 to all interfaces.</p>
<p>You get a specific event on eventvwr application log because of this:</p>
<p>Event Source: Microsoft Firewall<br />Event ID: 14090 <br />Server publishing rule [HTTPS] that maps IP:443 TCP to <br />IP:443 for protocol [HTTPS Server] was unable to bind a socket for the server. The server publishing rule cannot be applied.</p>
<p>By doing in command line:</p>
<p>netstat -ano |findstr :443</p>
<p>you are going to get displayed:<br />0.0.0.0:443 <br />[::]:443</p>
<p>System with&nbsp;PID 4 is the owner for these entries.</p>
<p>You should make sure that DA is configured specifically to an External IP not used by any TMG listener otherwise you are going to get the error.</p>
<p>How to do that?</p>
<p><a href="https://www.isaserver.org/tutorials/Microsoft-Forefront-TMG-How-configure-Forefront-TMG-DirectAccess-Server.html">https://www.isaserver.org/tutorials/Microsoft-Forefront-TMG-How-configure-Forefront-TMG-DirectAccess-Server.html</a></p>
<p><a href="https://blogs.technet.com/b/isablog/archive/2009/09/23/forefront-tmg-and-windows-7-directaccess.aspx">https://blogs.technet.com/b/isablog/archive/2009/09/23/forefront-tmg-and-windows-7-directaccess.aspx</a></p>
<p>&nbsp;<b>What was the problem we faced:</b></p>
<p>IP-HTTPS creates a listener that bounds port 443 to all interfaces. We need to make sure that IP-HTTPS uses a specific IP.</p>
<p>This is achieved by doing:</p>
<p><b>netsh http add iplisten ipaddress=&lt;non-conflicting IP address&gt;&rdquo;</b></p>
<p><b>Q. Can I configure IP-HTTPS and Forefront TMG SSL publishing on the same machine?</b></p>
<p style="padding-left: 30px;">A. Both IP-HTTPS and Forefront TMG SSL publishing use port 443 (HTTPS). In order to prevent a port conflict you need to make sure that IP-HTTPS is configured to listen to a different IP address than Forefront TMG.</p>
<p style="padding-left: 30px;">This can be done by running the following command: &ldquo;netsh http add iplisten ipaddress=&lt;non-conflicting IP address&gt;</p>
<p><strong>==</strong></p>
<p><strong>If you want to remove the DA and have TMG publishing rules&nbsp;working as fast as possible:</strong></p>
<p>make sure you have the console installed for DA.</p>
<p>Unconfigure DA.</p>
<p><b>Make sure listener for IP-HTTPS is deleted:</b></p>
<p>netsh http del sslcert 0.0.0.0:443</p>
<p>netsh http del sslcert [::]:443</p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Windows Live Messenger 2011 (WLM2011) and Proxy issues</title>
      <link>https://docs.microsoft.com/archive/blogs/tugait/windows-live-messenger-2011-wlm2011-and-proxy-issues</link>
      <pubDate>Wed, 29 Dec 2010 07:13:00 GMT</pubDate>
      <dc:creator><![CDATA[joaot[at]microsoft.com]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/tugait/2010/12/29/windows-live-messenger-2011-wlm2011-and-proxy-issues/</guid>
      <description><![CDATA[WLM2011 &ndash; Proxy Configuration
When we specific a proxy on IE, the same information appears in...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal"><span lang="PT" style="mso-ansi-language: PT;"><span style="font-size: small;"><span style="font-family: Calibri;"><strong><span style="color: #003300;">WLM2011 &ndash; Proxy Configuration<o:p></o:p></span></strong></span></span></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;">When we specific a proxy on IE, the same information appears in the WLM. File -&gt; Options -&gt; Connection -&gt; Advanced Settings</span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/6443.1.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-78-03/6443.1.jpg" border="0" /></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;">However for some reason we&rsquo;ve noticed via a network trace that a specific component wlidsvc, right now, is ignoring this setting.</span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;">However I&rsquo;ve confirmed that this is working fine if we configure in the IE the proxy for automatically detect settings.</span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt; mso-no-proof: yes;"></span><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/0871.2.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-78-03/0871.2.jpg" border="0" /></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;"></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;">Everything worked for me&nbsp;if we use winhttp proxy + proxy configured IE</span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;"></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/78/03/3808.3.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-78-03/3808.3.jpg" border="0" /></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;"></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;"></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;">In win7 and 2008 you can configure winhttp proxy by doing:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;"></span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;">Right&nbsp;now this two workarounds worked for me. I hope this help you.</span></p>
<p class="MsoNormal"><span style="line-height: 115%; font-family: 'Arial','sans-serif'; color: #1f497d; font-size: 10.5pt;">Best regards and best of luck.<o:p></o:p></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Creating a bootable ISO / bootable CD</title>
      <link>https://docs.microsoft.com/archive/blogs/tugait/creating-a-bootable-iso-bootable-cd</link>
      <pubDate>Tue, 29 Sep 2009 09:58:00 GMT</pubDate>
      <dc:creator><![CDATA[]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/tugait/2009/09/29/creating-a-bootable-iso-bootable-cd/</guid>
      <description><![CDATA[Hello
To create a bootable ISO&nbsp;you need to have a boot sector file, for example "El...]]></description>
      <content:encoded><![CDATA[<BLOCKQUOTE>
<P>Hello</P>
<P>To create a bootable ISO&nbsp;you need to have a boot sector file, for example "El Torito".</P>
<P>Sharing with you how I 'vecreated a bootable ISO / bootable CD&nbsp;</P>
<P>You need to use&nbsp;TWO -&nbsp;3rd party tools.</P>
<P>1st tool - to create the boot sector file from a existent physical bootable CD. <BR>(You may use the .bin file I've created and it's available in attachment).<BR>There are lots tools on the Internet (3rd party tools) that allows the extraction of the boot sector from an existent physical bootable CD.<BR>You can create that Sector File using for example BBIE.<BR>There are many other tools that create the boot sector in many different formats.<BR>I've extracted to a .bin file format.</P>
<P><BR>2nd tool - You need to use another tool to create the ISO.<BR>The tool must be able to add a boot sector file into the ISO.<BR>During the ISO creation you&nbsp;have to&nbsp;specify the option to add the boot sector file.<BR>There are lots of tools&nbsp;that do that.<BR>The tool I used was the (cdimage). This tools requires the boot file in the .bin format.</P>
<P>&nbsp;c:\CDIMAGE\cdimage.exe&nbsp; -bF:\BootSectorFile\BootSectorElTorito.bin WinXPSp3Files XPSP3iso.iso</P>
<P>You may use Virtual PC 2007 attach the media to this ISO and check if the ISO is really bootable. (It should be!)&nbsp;</P>
<P>Then you can use this ISO to burn a CD. The CD&nbsp;is going to&nbsp;be bootable.</P>
<P>I hope this helps.</P>
<P>Best regards,</P></BLOCKQUOTE>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/7803/00/00/03/28/38/58/BootSectorElTorito.zip" original-url="https://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-7803-00-00-03-28-38-58/BootSectorElTorito.zip">BootSectorElTorito.zip</a></p>]]></content:encoded>
    </item>
    <item>
      <title>Creating a ISA filter to replace - Pragma:  no-cache - or Cache-Control:  no-cache</title>
      <link>https://docs.microsoft.com/archive/blogs/tugait/creating-a-isa-filter-to-replace-pragma-no-cache-or-cache-control-no-cache</link>
      <pubDate>Fri, 28 Aug 2009 07:00:00 GMT</pubDate>
      <dc:creator><![CDATA[joaot[at]microsoft.com]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/tugait/2009/08/28/creating-a-isa-filter-to-replace-pragma-no-cache-or-cache-control-no-cache/</guid>
      <description><![CDATA[&nbsp;





Hello,
&nbsp;
I'm writing this post to provide you with the basic information...]]></description>
      <content:encoded><![CDATA[<P class=MsoNormal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-list: l0 level1 lfo1; tab-stops: list .5in"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial','sans-serif'"></SPAN>&nbsp;</P>
<P>
<TABLE class=MsoNormalTable style="MARGIN: auto auto auto 0.5in; mso-cellspacing: 0in; mso-yfti-tbllook: 1184; mso-padding-alt: 0in 0in 0in 0in" cellSpacing=0 cellPadding=0 border=0 minmax_bound="true" class="MsoNormalTable">
<TBODY>
<TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes" minmax_bound="true">
<TD class="" style="BORDER-RIGHT: #d4d0c8; PADDING-RIGHT: 0in; BORDER-TOP: #d4d0c8; PADDING-LEFT: 0in; PADDING-BOTTOM: 0in; BORDER-LEFT: #d4d0c8; WIDTH: 100%; PADDING-TOP: 0in; BORDER-BOTTOM: #d4d0c8; BACKGROUND-COLOR: transparent" width="100%" minmax_bound="true">
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Hello,</SPAN><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">&nbsp;<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">I'm writing this post to provide you with the basic information and an example in how to create a ISA Filter to replace the Pragma:<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN>no-cache - or Cache-Control:<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN>no-cache sent by client(IE, ActiveX etc...).<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">This filter was created by following the Example provided by David Treadwell on July 1997.<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><A href="https://www.microsoft.com/downloads/details.aspx?familyid=16682c4f-7645-4279-97e4-9a0c73c5162e&amp;displaylang=en">https://www.microsoft.com/downloads/details.aspx?familyid=16682c4f-7645-4279-97e4-9a0c73c5162e&amp;displaylang=en</A><o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">\Microsoft ISA 2006 SDK\samples\WebFilters\webresponsemodifier<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">I'm doing further testing regarding this filter, but this is a very good and simple startup.<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">However to develop or alter this filter you need some development skills.<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">I suggest you to read all the information available at:<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><A href="https://msdn.microsoft.com/en-us/library/ms828061.aspx">https://msdn.microsoft.com/en-us/library/ms828061.aspx</A><o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">The entry functions for the Filter are:<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><A href="https://msdn.microsoft.com/en-us/library/ms812622.aspx">https://msdn.microsoft.com/en-us/library/ms812622.aspx</A><o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">•<SPAN minmax_bound="true"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>GetFilterVersion <o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">•<SPAN minmax_bound="true"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>HttpFilterProc <o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">This means that for each http packet reaching ISA, the filter&nbsp;is called. The functions that are&nbsp;called are:GetFilterVersion&nbsp;and HttpFilterProc.</SPAN><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><SPAN minmax_bound="true">You need to be careful with what you write because you can stop Microsoft Firewall very easy.<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">This development should be made in lab environment and fully tested.</SPAN><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">During the development I got the following errors caused by incorrect code.</SPAN><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Event Type:<SPAN minmax_bound="true"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>Error<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Event Source:<SPAN minmax_bound="true"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>Microsoft ISA Server 2006<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Event ID:<SPAN minmax_bound="true"><SPAN style="mso-tab-count: 1"> </SPAN></SPAN>1000<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Description:<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Faulting application wspsrv.exe, version 5.0.5723.493, stamp 48623ea3, faulting module unknown, version 0.0.0.0, stamp 00000000, debug? 0, fault address 0x110e3b8e.<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Event Type:<SPAN minmax_bound="true"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>Error<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Event Source:<SPAN minmax_bound="true"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN>Microsoft ISA Server Control<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Event ID:<SPAN minmax_bound="true"><SPAN style="mso-tab-count: 1"> </SPAN></SPAN>14079<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Description:<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Due to an unexpected error, the service fwsrv stopped responding to all requests. Stop the service or the corresponding process if it does not respond, and then start it again. Check for related error messages.<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">What does this example exactly does?<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">-&gt; For all the request made to ISA and that reached the filter,&nbsp;We check if the website&nbsp;we are&nbsp;accessing is www.ola.com.<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">if it's www.ola.com I change the Pragma:<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN>no-cache - and Cache-Control:<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN>no-cache to Pragma:<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN>none - and Cache-Control:<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN>none.<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">So this will be ignored by ISA and the information will be cached.<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">-&gt; All the debug information is being sent to the Debugger. So I suggest you to use DebugView from Sysinternals for troubleshooting purposes.<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">The function used to send the data to the debugger is:<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">OutputDebugStringA(LPCWSTR)<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Lets go back to the main&nbsp;entry function:<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'">DWORD WINAPI HttpFilterProc (<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><FONT size=3><FONT face=Calibri>PHTTP_FILTER_CONTEXT pfc,<o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><FONT size=3><FONT face=Calibri>DWORD NotificationType,__inout <o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><FONT size=3><FONT face=Calibri>LPVOID pvNotification)<o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">The entry function HttpFilterProc has 3 arguments:<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><B style="mso-bidi-font-weight: normal" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">PHTTP_FILTER_CONTEXT pfc<o:p></o:p></SPAN></B></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; COLOR: black; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Pointer to an <A id=ctl00_MTContentSelector1_mainContentContainer_ctl03 href="https://msdn.microsoft.com/en-us/library/ms890327.aspx" minmax_bound="true" mce_href="https://msdn.microsoft.com/en-us/library/ms890327.aspx"><FONT color=#0033cc>HTTP_FILTER_CONTEXT</FONT></A> structure that is associated with the current, active HTTP transaction</SPAN></SPAN><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN></P><SPAN minmax_bound="true">
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; COLOR: black; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">"The <SPAN style="mso-bidi-font-weight: bold"><SPAN minmax_bound="true">HTTP_FILTER_CONTEXT</SPAN></SPAN> structure is used for passing control and information associated with the current, active HTTP session in event notifications that are sent by the ISA Server Web proxy to Web filters by calling <A id=ctl00_MTContentSelector1_mainContentContainer_ctl01 href="https://msdn.microsoft.com/en-us/library/ms826751.aspx" minmax_bound="true" mce_href="https://msdn.microsoft.com/en-us/library/ms826751.aspx"><SPAN style="mso-bidi-font-weight: bold">HttpFilterProc</SPAN></A> and <A id=ctl00_MTContentSelector1_mainContentContainer_ctl02 href="https://msdn.microsoft.com/en-us/library/ms826752.aspx" minmax_bound="true" mce_href="https://msdn.microsoft.com/en-us/library/ms826752.aspx"><SPAN style="mso-bidi-font-weight: bold"><FONT color=#0033cc>HttpWPXFilterProc</FONT></SPAN></A>."<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><A href="https://msdn.microsoft.com/en-us/library/ms826756.aspx">https://msdn.microsoft.com/en-us/library/ms826756.aspx</A><o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><B style="mso-bidi-font-weight: normal" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">DWORD </SPAN><SPAN minmax_bound="true"><FONT size=3><FONT face=Calibri>NotificationType<o:p></o:p></FONT></FONT></SPAN></B></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; COLOR: black; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Pointer to a bitmask that indicates the type of notification event that is being processed.</SPAN></SPAN><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN></P><SPAN minmax_bound="true">
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">The NotificationType argument, this argument tells you in what situation the function was called.<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">I wanted to change the header when the information reached ISA for the first time so I believe that this happens when the NotificationType is SF_NOTIFY_PREPROC_HEADERS.<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">https://msdn.microsoft.com/en-us/library/ms812625.aspx<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><B style="mso-bidi-font-weight: normal" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">LPVOID </SPAN><SPAN minmax_bound="true"><FONT size=3><FONT face=Calibri>pvNotification<o:p></o:p></FONT></FONT></SPAN></B></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; COLOR: black; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Pointer to a notification-specific structure that contains additional information about the current context of the request. The following table shows the possible notification types and the corresponding structures.</SPAN></SPAN><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p></o:p></SPAN></P><SPAN minmax_bound="true">
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">So when you get this notification type the argument pvNotification that is a Void is used to create a catch to the structure of the type: HTTP_FILTER_PREPROC_HEADERS<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">HTTP_FILTER_PREPROC_HEADERS * pPPH; <o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">pPPH = (HTTP_FILTER_PREPROC_HEADERS*)pvNotification;<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">Important: Each notification may need a specific<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN>catch to be used.<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'">In my code I've:<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes">DWORD WINAPI HttpFilterProc (<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><FONT size=3><FONT face=Calibri>PHTTP_FILTER_CONTEXT pfc,<o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><FONT size=3><FONT face=Calibri>DWORD NotificationType,__inout <o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><FONT size=3><FONT face=Calibri>LPVOID pvNotification<o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes">)<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes">{<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes">pfc-&gt;GetServerVariable(pfc,(LPSTR)String_HTTP_HOST,HTTP_HOST,&amp;HTTP_HOST_LEN);<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes">--&gt; This is used to get the HTTP_HOST. <o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes">if</SPAN></SPAN><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes">(NotificationType == SF_NOTIFY_PREPROC_HEADERS &amp;&amp; strcmp(HTTP_HOST,<SPAN minmax_bound="true"><SPAN style="COLOR: #a31515">"www.ola.com"</SPAN></SPAN>)==0)<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes">{<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><FONT size=3><FONT face=Calibri>--&gt;We will only enter if the HTTP_HOST is www.ola.com and only when the notificationType is SF_NOTIFY_PREPROC_HEADERS.<o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><FONT size=3><FONT face=Calibri>--&gt; We then do a catch from the pvNotification to the correct Structure HTTP_FILTER_PREPROC_HEADERS.<o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><FONT size=3><FONT face=Calibri>--&gt; These structure included a pointer to the SetHeader function and we can use it.<o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes">HTTP_FILTER_PREPROC_HEADERS * pPPH;<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><FONT size=3><FONT face=Calibri>BOOL fResult;<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><FONT size=3><FONT face=Calibri>pPPH = (HTTP_FILTER_PREPROC_HEADERS*)pvNotification;<o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><SPAN style="mso-tab-count: 3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><FONT size=3><FONT face=Calibri>fResult = pPPH-&gt;SetHeader( pfc,<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="COLOR: #a31515"><SPAN minmax_bound="true">"Cache-Control:"</SPAN></SPAN>,<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="COLOR: #a31515"><SPAN minmax_bound="true">"None"</SPAN></SPAN> );<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-layout-grid-align: none" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><FONT size=3><FONT face=Calibri>fResult = pPPH-&gt;SetHeader( pfc,<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="COLOR: #a31515"><SPAN minmax_bound="true">"Pragma:"</SPAN></SPAN>,<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><SPAN style="COLOR: #a31515"><SPAN minmax_bound="true">"None"</SPAN></SPAN> );<SPAN minmax_bound="true"> <SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><SPAN style="mso-tab-count: 2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes">}<o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes">One more note if you compile the code provided in the SDK you will get Firewall stopped in the first HTTP access with error: <SPAN style="BACKGROUND: yellow; mso-highlight: yellow">0x80070057</SPAN><o:p></o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes">BOOL WINAPI GetFilterVersion ( PHTTP_FILTER_VERSION pVer )<BR>{<BR>………………………<BR>………………………<BR>………………………<BR>pVer-&gt;dwFilterVersion = MAKELONG(0,6);}<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"></SPAN><SPAN minmax_bound="true"><FONT size=3><FONT face=Calibri>I hope this helps.<o:p></o:p></FONT></FONT></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P></SPAN>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt" minmax_bound="true"><SPAN minmax_bound="true"><SPAN style="FONT-SIZE: 8pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Arial','sans-serif'; mso-no-proof: yes">Best regards to all.<o:p></o:p></SPAN></P></SPAN></TD></TR></TBODY></TABLE></P>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/telligent.evolution.components.attachments/01/7803/00/00/03/27/78/63/Mywebresponsemodifier.rar" original-url="https://blogs.technet.com/cfs-filesystemfile.ashx/__key/telligent-evolution-components-attachments/01-7803-00-00-03-27-78-63/Mywebresponsemodifier.rar">Mywebresponsemodifier.rar</a></p>]]></content:encoded>
    </item>
  </channel>
</rss>