<?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>Richard Barker - Forefront Edge</title><link>http://blogs.technet.com/b/rickbar/</link><description>Discuss technical issues related to Microsoft Forefront Edge products including TMG and UAG.</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Behavior of the “Logoff URL” option</title><link>http://blogs.technet.com/b/rickbar/archive/2012/05/11/behavior-of-the-logoff-url-option.aspx</link><pubDate>Fri, 11 May 2012 17:07:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3497515</guid><dc:creator>Richard Barker - MSFT</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/rickbar/rsscomments.aspx?WeblogPostID=3497515</wfw:commentRss><comments>http://blogs.technet.com/b/rickbar/archive/2012/05/11/behavior-of-the-logoff-url-option.aspx#comments</comments><description>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Symptoms:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;You’ve published an internal Web resource. Your users can successfully authenticate and access the site. However, they may discover that selecting any link from a particular page in the site inadvertently sends them back to the initial UAG login form. If they provide their credentials again, the select page loads correctly. If they navigate back to the page in question and again select any link on the page, they are again sent back to the UAG login form.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Potential Cause:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;UAG has detected a request that contains your custom “Logoff URL” and has terminated the session and is now un-authenticated. Any continued access to the site will need to be authenticated again.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;More information:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;In the Trunk configuration properties page, under the Authentication tab, you’ll find the “Logoff URL” setting. The default Logoff URL is “/InternalSite/LogoffMsg.asp”. If UAG detects a client request that contains this URL, UAG will terminate the clients’ session.&lt;/p&gt;  &lt;p&gt;This setting is configurable and you can specify a custom value to be used as the logoff mechanism. For instance, if your published web application has its own logoff option, you can specify your applications’ logoff URL to terminate the session. For example, your applications’ logoff may be something like “logoff.jsp”. So you might enter “logoff.jsp” as the “Logoff URL” option.&amp;#160; With this value in place, the expectation is that the session will not be terminated until the client makes a request for “logoff.jsp” (or the session times out&amp;quot;).&lt;/p&gt;  &lt;p&gt;This still doesn’t explain why your users are inexplicably required to re-authenticate when selecting various links in the page. After all, they’re not selecting the applications’ logoff option.&amp;#160; In fact, you may have trouble-shot the issue using a web capture tool such as HTTPWatch or Fiddler…and you have verified that the client does not send a request for “logoff.jsp”, yet you can see that the session has ended and user is required to re-authenticate.&lt;/p&gt;  &lt;p&gt;The root of the problem lies in the fact that UAG treats the “Logoff URL” value as a string. Therefore, any client request that contains this “string” will terminate the session. Even if the value you specify for “Logoff URL” is a substring contained in a client request, the session will be terminated.&lt;/p&gt;  &lt;p&gt;For example:&lt;/p&gt;  &lt;p&gt;The “Logoff URL” value entered is “logoff.jsp”. Logoff.jsp resides in the following location on the server:&lt;/p&gt;  &lt;p&gt;/folderA/logoff.jsp&lt;/p&gt;  &lt;p&gt;The client sends a request for the following:&lt;/p&gt;  &lt;p&gt;/folderB/ignorelogoff.jsp&lt;/p&gt;  &lt;p&gt;UAG detects the string “logoff.jsp” in the request for “/folder/ignorelogoff.jsp” and terminates the session.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Resolution:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Make sure your custom “Logoff URL” value is not a sub-string of any other client request. For example, using the above scenario, you could specify “/logoff.jsp” (i.e. add a forward slash) as your “Logoff URL”.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;Author&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Richard Barker - Sr Security Support Escalation Engineer, Microsoft CSS Forefront Security Edge Team&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3497515" width="1" height="1"&gt;</description></item><item><title>UAG Web Monitor shows “There are no events to display”</title><link>http://blogs.technet.com/b/rickbar/archive/2012/05/11/uag-web-monitor-shows-there-are-no-events-to-display.aspx</link><pubDate>Fri, 11 May 2012 16:57:26 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3497513</guid><dc:creator>Richard Barker - MSFT</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/rickbar/rsscomments.aspx?WeblogPostID=3497513</wfw:commentRss><comments>http://blogs.technet.com/b/rickbar/archive/2012/05/11/uag-web-monitor-shows-there-are-no-events-to-display.aspx#comments</comments><description>&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Symtoms:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;When starting Web Monitor and selecting any option under the Event Viewer category, the Web Monitor displays the following message:&lt;/p&gt;  &lt;p&gt;&lt;i&gt;&amp;quot;There are no events to display&amp;quot;&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;Additionally, if you have a UAG Array and you select &amp;quot;Current Status&amp;quot; under the Array Monitor category, you may see that the UAG nodes show a Synchronization Status of &amp;quot;error&amp;quot;.&lt;/p&gt;  &lt;p&gt;While troubleshooting the issue, the UAG tracing output may show an entry similar to the following:&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;[0]21FC.2F28::&amp;lt;Date/Time&amp;gt; [MonitorHelper]The dummy request failed: System.Net.WebException: Unable to connect to the remote server ---&amp;gt; System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it &amp;lt;UAG server internal IP address&amp;gt;:50002&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;Note: For more information on UAG tracing, please see my teammate Ben Ari’s blog on UAG Tracing:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/b/ben/archive/2010/09/03/uag-tracing-made-simple.aspx"&gt;http://blogs.technet.com/b/ben/archive/2010/09/03/uag-tracing-made-simple.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;More information:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;By default, UAG servers are configured to log UAG related events to the following location:&lt;/p&gt;  &lt;p&gt;&lt;i&gt;&amp;lt;UAG install folder&amp;gt;\logs\Events&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;You can then use Web Monitor to view and filter those logged events. See the following TechNet article for more information related to UAG logging:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/ee428828.aspx"&gt;http://technet.microsoft.com/en-us/library/ee428828.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;By default, both the LOGS folder and EVENTS folder have the following Security Permissions:&lt;/p&gt;  &lt;p&gt;SYSTEM - Full Control&lt;/p&gt;  &lt;p&gt;NETWORK SERVICE - Full Control&lt;/p&gt;  &lt;p&gt;Administrators (&amp;lt;localserver&amp;gt;\Administrators) - Full Control&lt;/p&gt;  &lt;p&gt;Users (&amp;lt;localserver&amp;gt;\Users) - Read &amp;amp; execute, List folder contents and Read&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Cause:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;You may see the above Web Monitor errors if the NETWORK SERVICE does not have the proper permissions for the Logs and/or Events folders.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Resolution:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Make sure that the NETWORK SERVICE has Full Control permissions for the Logs and/or Events folders (including subfolders and files).&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;Author&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Richard Barker - Sr Security Support Escalation Engineer, Microsoft CSS Forefront Security Edge Team&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3497513" width="1" height="1"&gt;</description></item><item><title>DirectAccess Connectivity Assistant polling interval</title><link>http://blogs.technet.com/b/rickbar/archive/2011/12/20/directaccess-connectivity-assistant-polling-interval.aspx</link><pubDate>Tue, 20 Dec 2011 14:01:04 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3472189</guid><dc:creator>Richard Barker - MSFT</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/rickbar/rsscomments.aspx?WeblogPostID=3472189</wfw:commentRss><comments>http://blogs.technet.com/b/rickbar/archive/2011/12/20/directaccess-connectivity-assistant-polling-interval.aspx#comments</comments><description>&lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;We have recently had a number of customers inquire about the default polling interval for the DCA client. The polling interval of the DCA client is 30 seconds.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;More Info&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;One of the primary functions of the DirectAccess Connectivity Assistant is to indicate the operational status of DirectAccess by using an icon in the notification area. The DCA client is deployed with connectivity verifiers that are configured to poll specified internal resources. These resources can consist of a combination of HTTP/HTTPS and File/SMB resources. &lt;/p&gt;  &lt;p&gt;The DCA client polls these resources once every 30 seconds to verify connectivity. The polling interval is not configurable and is not “auto-adjusted” by the DCA client. For more information on the DirectAccess Connectivity Assistance, please see the following article:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://technet.microsoft.com/en-us/library/gg502552.aspx" target="_blank"&gt;DirectAccess Connectivity Assistant 1.5 Deployment Guide&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;Author&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Richard Barker - Sr Security Support Escalation Engineer, Microsoft CSS Forefront Security Edge Team&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3472189" width="1" height="1"&gt;</description></item><item><title>The UAG DirectAccess Web Monitor shows “Network Security” as Not Healthy</title><link>http://blogs.technet.com/b/rickbar/archive/2011/12/08/the-uag-directaccess-web-monitor-shows-network-security-as-not-healthy.aspx</link><pubDate>Thu, 08 Dec 2011 15:48:07 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3469788</guid><dc:creator>Richard Barker - MSFT</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.technet.com/b/rickbar/rsscomments.aspx?WeblogPostID=3469788</wfw:commentRss><comments>http://blogs.technet.com/b/rickbar/archive/2011/12/08/the-uag-directaccess-web-monitor-shows-network-security-as-not-healthy.aspx#comments</comments><description>&lt;p&gt;&lt;b&gt;Symptom:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;When checking the Current Status of DirectAccess using the Web Monitor, you may find that the report shows “Network Security” as Not Healthy.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-79-metablogapi/0121.image_5F00_3A014657.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-79-metablogapi/3348.image_5F00_thumb_5F00_69DBE818.png" width="630" height="218" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;More Information:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;When activating the UAG DirectAccess configuration, the internal interface selected in the UAG DirectAccess wizard is configured with IPsec Denial of Service Protection (DoSP or ipsecdos). DoSP helps to prevent internal computers from being affected by denial of service attack against IPv6-based IPsec computers on your network (i.e. DA clients)&lt;/p&gt;  &lt;p&gt;DoSP typically runs on a computer that connects to two or more network, where the networks are Public or Private. If IPSec Denial of Server Protection is not enabled on the interface, the DirectAccess Web Monitor status may show “Network Security” as Not Healthy.&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;Possible causes:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;1. &lt;/b&gt;&lt;b&gt;IPSecdos may not be enabled on the Internal ISATAP interface&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Running ‘netsh ipsecdos show interface’ will the display the list of interfaces with IPSecdos enabled.&lt;/p&gt;  &lt;p&gt;For example:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-79-metablogapi/0131.image_5F00_67BEE94F.png"&gt;&lt;img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-91-79-metablogapi/7077.image_5F00_thumb_5F00_26B069EB.png" width="549" height="156" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;However, you may find that no “Internal interfaces” are listed in the output. If there is no internal ISATAP interface listed, this may be the cause of the problem. To alleviate this problem, you first need to determine the servers’ internal ISATAP interface. Running ‘ipconfig/all’ will display all of the active/usable interfaces on the machine. The internal ISATAP interface will typical have an IPv4 DNS server configured. Once you’ve determined the internal ISATAP interface, run the following command:&lt;/p&gt;  &lt;p&gt;Netsh ipsecdos add interface name=”&amp;lt;Friendly name of the interface&amp;gt;” type=internal&lt;/p&gt;  &lt;p&gt;Note: Following my example above, the friendly name would equal “isatap.&amp;lt;2DED6CDA-E410-46BE-B358-36B488D4797C”&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;2. &lt;/b&gt;&lt;b&gt;The UAG servers 6to4 and/or ISATAP interfaces are missing/unusable.&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;An issue existed in Windows 2008 R2 RTM where, under certain reboot scenarios, a new 6to4 and/or ISATAP adapter may be created. Essentially, when the computer restarts, the Plug and Play service shuts down before the process to enable the “reuse” of the 6to4/ISATAP adapter occurs. Therefore, the 6to4/ISATAP adapter cannot be reused after startup so a new, additional 6to4/ISATAP adapter is created.&lt;/p&gt;  &lt;p&gt;Normally, the UAG server should have one virtual 6to4 adapter and three ISATAP adapters (one for each of the two physical NICs and one for the SSL tunnel adapter).&lt;/p&gt;  &lt;p&gt;If your computer has experienced this issue, you may notice multiple 6to4 and/or ISATAP virtual adapters listed when running ‘ipconfig /all’. If you notice multiple 6to4 adapters listed, you may find that one or more of them may have a Media State of “Media Disconnected”. Additionally, you may notice multiple ISATAP adapters (i.e. 4 or more).&lt;/p&gt;  &lt;p&gt;So why does this cause so much grief for UAG DirectAccess? When UAG DirectAccess is configured, Enabled and Activated, it queries the available adapters and creates the DA policy and forwarding statements based on these interfaces. This includes the ‘useable’ 6to4 and ISATAP interfaces that are available when DirectAccess is Enabled.&lt;/p&gt;  &lt;p&gt;If your server experiences this issue during a reboot, the new ‘reusable’ interfaces that are created do not have ipsecdos enabled by default. &lt;/p&gt;  &lt;p&gt;&lt;b&gt;Steps to correct the issue:&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Typically, there are two avenues you can take. The first is to ‘clean up’ all the 6to4 and ISATAP interfaces, and allow them to be recreated. The second is to configure DirectAccess to make use of new “useable” interface&amp;lt;s&amp;gt; available; while leaving the original ‘non-reusable” interface intact. Both of these steps will enable ipsecdos on the new ‘reusable’ interface&amp;lt;s&amp;gt;.&lt;/p&gt;  &lt;p&gt;1. Clean up the interfaces&lt;/p&gt;  &lt;p&gt;a. Open the UAG console, select DirectAccess and click the Disable button. After DirectAccess is disabled, Activate and then close the UAG console.&lt;/p&gt;  &lt;p&gt;b. At an Administrative command prompt, run the following command: ‘set devmgr_show_nonpresent_device=1’&lt;/p&gt;  &lt;p&gt;c. Open Device Manager and select View-Show hidden devices. Then expand ‘Network Adapters’ and delete all 6to4 and ISTAP adapters listed.&lt;/p&gt;  &lt;p&gt;d. Open the UAG console, select DirectAccess and click the Enable button. After DirectAccess is enabled, Activate the configuration.&lt;/p&gt;  &lt;p&gt;2. Configure UAG to make use of the new (i.e. reusable) interfaces&amp;lt;s&amp;gt;&lt;/p&gt;  &lt;p&gt;a. Open the UAG console, select DirectAccess and click Disable button. After DirectAccess is disabled, Activate the configuration.&lt;/p&gt;  &lt;p&gt;b. In the UAG console, select DirectAccess and client the Enable button. After DirectAccess is enabled, Activate the configuration.&lt;/p&gt;  &lt;p&gt;Additional information:&lt;/p&gt;  &lt;p&gt;This Windows 2008 R2 RTM issue has been addressed in Windows 2008 R2 Service Pack 1. However, it should be noted that process of installing Service Pack 1 and rebooting may put the server in this state again. If so, follow the steps above again to correct the behavior. The issue should then be alleviated moving forward.&lt;i&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;u&gt;Author&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p&gt;Richard Barker - Sr Security Support Escalation Engineer, Microsoft CSS Forefront Security Edge Team&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3469788" width="1" height="1"&gt;</description></item></channel></rss>