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

<channel>
	<title>WebSpy Blog&#187; MSFW &#8211; WebSpy Blog</title>
	<atom:link href="http://www.webspy.com.au/blogs/index.php/tag/msfw/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webspy.com.au/blogs</link>
	<description>For when WebSpyrians have something to say.</description>
	<lastBuildDate>Fri, 09 Dec 2011 01:18:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Accessing Microsoft Forefront TMG&#8217;s Log Files (SQL Express)</title>
		<link>http://www.webspy.com.au/blogs/index.php/accessing-microsoft-forefront-tmgs-log-files-sql-express/</link>
		<comments>http://www.webspy.com.au/blogs/index.php/accessing-microsoft-forefront-tmgs-log-files-sql-express/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 06:54:59 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Firewall Analysis]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Loaders]]></category>
		<category><![CDATA[Log File Analysis]]></category>
		<category><![CDATA[Microsoft Threat Management Gateway]]></category>
		<category><![CDATA[Vantage]]></category>
		<category><![CDATA[Web Browsing Analysis]]></category>
		<category><![CDATA[WebSpy]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[FTMG]]></category>
		<category><![CDATA[Import]]></category>
		<category><![CDATA[microsoft Forefront TMG]]></category>
		<category><![CDATA[MSFW]]></category>
		<category><![CDATA[protocols]]></category>
		<category><![CDATA[SQL Express]]></category>
		<category><![CDATA[SQL Server Configuration Manager]]></category>
		<category><![CDATA[Web Proxy]]></category>

		<guid isPermaLink="false">http://www.webspy.com.au/blogs/?p=1557</guid>
		<description><![CDATA[If you need to analyze and report on Microsoft Forefront Threat Management Gateway log files, the most common stumbling block is enabling access to the default SQL Express databases that contains the firewall and web proxy log files.
The log databases are stored in an SQL Express instance named MSFW. By default these databases cannot be [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to analyze and report on Microsoft Forefront Threat Management Gateway log files, the most common stumbling block is enabling access to the default SQL Express databases that contains the firewall and web proxy log files.</p>
<p>The log databases are stored in an SQL Express instance named <strong>MSFW</strong>. By default these databases cannot be accessed by a remote computer. I&#8217;d first like to say that we recommend <a title="Changing Forefront TMG's logging to W3C Text Files" href="http://technet.microsoft.com/en-us/library/cc995312.aspx" target="_blank">changing TMG&#8217;s logging to W3C text files</a>, as these logs are about 5-6 times faster to import, and you don&#8217;t need to worry about the steps below.</p>
<p>But if you need to stick with the SQL Express logging, here are the basic steps to enable access to the logs from a remote computer:<span id="more-1557"></span></p>
<h3>Enable TCP access to the MSFW instance</h3>
<p>To do this:</p>
<ol>
<li>Log into your Forefront TMG server using administrator credentials.</li>
<li>Select <strong>Start | All Programs | Microsoft SQL Server 2008 | Configuration Tools | SQL Server Configuration Manager</strong>.</li>
<li>Expand <strong>SQL Server Network Configuration</strong> and select <strong>Protocols for MSFW</strong></li>
<li>Right-click <strong>TCP/IP</strong> and select <strong>Enable</strong></li>
<li>Click <strong>OK </strong>on the Warning dialog informing you that &#8220;changes will not take effect until the service is stopped and restarted.&#8221;</li>
</ol>
<div id="attachment_1559" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webspy.com.au/blogs/wp-content/uploads/2010/05/tmgconfig01_enabletpcip.png"><img class="size-medium wp-image-1559" title="Enabling TCP/IP on the MSFW instance" src="http://www.webspy.com.au/blogs/wp-content/uploads/2010/05/tmgconfig01_enabletpcip-300x140.png" alt="Enabling TCP/IP on the MSFW instance" width="300" height="140" /></a><p class="wp-caption-text">Enabling TCP/IP on the MSFW instance</p></div>
<h3>Set the listening Port on the MSFW instance</h3>
<p>Once TCP/IP is enabled on the MSFW instance, you need to set it to listen on port 1433</p>
<ol>
<li>Select <strong>Protocols for MSFW </strong>under SQL Server Network Configuration</li>
<li>Right-click <strong>TCP/IP</strong> and select <strong>Properties</strong>.</li>
<li>Click the <strong>IP Addresses</strong> tab and scroll to the <strong>IPAll</strong> section at the bottom of the list.</li>
<li>Change the TCP Port to <strong>1433</strong> and ensure nothing is entered in TCP Dynamic Ports (Delete the &#8216;0&#8242; value  if present). Click <strong>OK and </strong>click <strong>OK</strong> on the Warning dialog.</li>
</ol>
<div id="attachment_1561" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webspy.com.au/blogs/wp-content/uploads/2010/05/tmgconfig02_setmsfwport.png"><img class="size-medium wp-image-1561" title="Setting the Port on the MSFW instance" src="http://www.webspy.com.au/blogs/wp-content/uploads/2010/05/tmgconfig02_setmsfwport-300x247.png" alt="Setting the Port on the MSFW instance" width="300" height="247" /></a><p class="wp-caption-text">Setting the Port on the MSFW instance</p></div>
<h3>Change the listening port on the ISARS instance</h3>
<p>The ISARS SQL instance also listens on port 1433 and this can cause connection issues. Change this instance to use port 1434:</p>
<ol>
<li>Still in SQL Server Configuration Manager, select Protocols for ISARS under SQL Server Network Configuration</li>
<li>Right-click <strong>TCP/IP</strong> and select <strong>Properties</strong>.</li>
<li>Click the <strong>IP Addresses</strong> tab and scroll to the IPAll section at the bottom of the list.</li>
<li>Change the TCP Port to <strong>1434 </strong>and ensure nothing is entered in TCP Dynamic Ports. Click <strong>OK </strong>and click <strong>OK </strong>on the Warning dialog.</li>
</ol>
<div id="attachment_1562" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.webspy.com.au/blogs/wp-content/uploads/2010/05/tmgconfig02_changeisarsport.png"><img class="size-medium wp-image-1562" title="Changing the port on the ISARS instance" src="http://www.webspy.com.au/blogs/wp-content/uploads/2010/05/tmgconfig02_changeisarsport-300x248.png" alt="Changing the port on the ISARS instance" width="300" height="248" /></a><p class="wp-caption-text">Changing the port on the ISARS instance</p></div>
<h3>Restart the Services</h3>
<p>For the above changes to take effect, you need to restart the SQL Server (ISARS) and then the SQL Server (MSFW) services in that order.</p>
<ol>
<li>Go to <strong>Start | Administrative Tools | Services</strong></li>
<li>Right-click the <strong>SQL Server (ISARS)</strong> service and select <strong>Restart</strong>.</li>
<li>Right-click the <strong>SQL Server (MSFW)</strong> service and select <strong>Restart</strong>.</li>
</ol>
<h3>Test the connection from the WebSpy machine</h3>
<p>You should now be able to connect to the MSFW databases from a remote computer. To test the connection, we recommend that you install SQL Management Studio on the machine running WebSpy and try to connect to &lt;TMGservername&gt;\MSFW, 1433 <em>(replace &lt;TMGservername&gt; with your actual server name or IP address)</em>. For example TMGServer\MSFW, 1433 or 192.168.0.10\MSFW, 1433.</p>
<p>As long as you are logged into Windows with a user account that is a local administrator on the TMG server, you should be able to connect without issue.</p>
<h3>Importing the TMG Log files into WebSpy Vantage</h3>
<p>Once you have established a connection, you can import your logs using WebSpy Vantage like so:</p>
<div id="attachment_1583" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-1583" title="Importing Microsoft Forefront TMG SQL Express Log Files - Storage Name" src="http://www.webspy.com.au/blogs/wp-content/uploads/2010/06/TMGSQLe01-300x225.png" alt="Importing Microsoft Forefront TMG SQL Express Log Files Importing Microsoft Forefront TMG SQL Express Log Files - Storage Name" width="300" height="225" /><p class="wp-caption-text">Create a new Storage</p></div>
<div id="attachment_1584" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-1584" title="Importing Microsoft Forefront TMG SQL Express Log Files - Select Database Connection" src="http://www.webspy.com.au/blogs/wp-content/uploads/2010/06/TMGSQLe02-300x225.png" alt="Importing Microsoft Forefront TMG SQL Express Log Files - Select Database Connection" width="300" height="225" /><p class="wp-caption-text">Select Database Connection</p></div>
<div id="attachment_1585" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-1585" title="Importing Microsoft Forefront TMG SQL Express Log Files - Select Microsoft FTMG" src="http://www.webspy.com.au/blogs/wp-content/uploads/2010/06/TMGSQLe03-300x225.png" alt="Importing Microsoft Forefront TMG SQL Express Log Files - Select Microsoft FTMG" width="300" height="225" /><p class="wp-caption-text">Select the Microsoft FTMG Loader</p></div>
<div id="attachment_1587" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-1587" title="Importing Microsoft Forefront TMG SQL Express Log Files - Click Add" src="http://www.webspy.com.au/blogs/wp-content/uploads/2010/06/TMGSQLe4a-300x225.png" alt="Importing Microsoft Forefront TMG SQL Express Log Files - Click Add" width="300" height="225" /><p class="wp-caption-text">Click Add</p></div>
<div id="attachment_1586" class="wp-caption aligncenter" style="width: 225px"><img class="size-medium wp-image-1586" title="Importing Microsoft Forefront TMG SQL Express Log Files - Enter Server Details" src="http://www.webspy.com.au/blogs/wp-content/uploads/2010/06/TMGSQLe04-215x300.png" alt="Importing Microsoft Forefront TMG SQL Express Log Files - Enter Server Details" width="215" height="300" /><p class="wp-caption-text">Enter TMGServer\MSFW and port 1433</p></div>
<div id="attachment_1588" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-1588" title="Importing Microsoft Forefront TMG SQL Express Log Files - Successfully Imported WebProxy Logs" src="http://www.webspy.com.au/blogs/wp-content/uploads/2010/06/TMGSQLe05-300x187.png" alt="Importing Microsoft Forefront TMG SQL Express Log Files - Successfully Imported WebProxy Logs" width="300" height="187" /><p class="wp-caption-text">Successfully Imported WebProxy Logs</p></div>
<p>The screenshots above also illustrate using a database mask of *WEB* to only import the WebProxy logs. If you only want to import the Firewall logs, set the database mask to *FWS*. If you want to import both the WebProxy and Firewall logs, leave the database and table masks set to *.</p>
<p>Now that you have your log files imported, you can run a quick ad-hoc analysis on the Summaries screen or generate any of Vantage&#8217;s default web of firewall reports. M</p>
<p>Make sure you also download our <a title="Microsoft Forefront TMG Report Template and Aliases" href="http://www.webspy.com/vendors/microsoft-ftmg/FTMG-Template-and-Aliases.zip">Forefront TMG specific Aliases and report template</a>. For more information, see our <a title="How to Import and Analyze Microsoft Forefront Threat Management Gateway Log Files" href="http://www.webspy.com/vendors/microsoft-ftmg/howto.aspx" target="_blank">Forefront TMG How To page</a>.</p>
<p>If you have any questions or encounter any hurdles, please leave a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.webspy.com.au/blogs/index.php/accessing-microsoft-forefront-tmgs-log-files-sql-express/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vantage Update 2.2.0.27 &#8211; Fix for Microsoft FTMG SQL Import</title>
		<link>http://www.webspy.com.au/blogs/index.php/vantage-update-22027-fix-for-microsoft-ftmg-sql-import/</link>
		<comments>http://www.webspy.com.au/blogs/index.php/vantage-update-22027-fix-for-microsoft-ftmg-sql-import/#comments</comments>
		<pubDate>Tue, 02 Mar 2010 15:58:13 +0000</pubDate>
		<dc:creator>Scott</dc:creator>
				<category><![CDATA[Loaders]]></category>
		<category><![CDATA[Log File Analysis]]></category>
		<category><![CDATA[Microsoft ISA Server]]></category>
		<category><![CDATA[Microsoft Threat Management Gateway]]></category>
		<category><![CDATA[Software Updates]]></category>
		<category><![CDATA[Vantage]]></category>
		<category><![CDATA[Web Module]]></category>
		<category><![CDATA[WebSpy]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Forefront]]></category>
		<category><![CDATA[FTMG]]></category>
		<category><![CDATA[Import]]></category>
		<category><![CDATA[Importing]]></category>
		<category><![CDATA[logs]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MSFW]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[Specified Cast Invalid]]></category>
		<category><![CDATA[SQL Express]]></category>
		<category><![CDATA[Threat Management Gateway]]></category>
		<category><![CDATA[TMG]]></category>
		<category><![CDATA[Update]]></category>

		<guid isPermaLink="false">http://www.webspy.com.au/blogs/?p=1272</guid>
		<description><![CDATA[Our support for Microsoft Forefront Threat Management Gateway is quite new and we’ve just fixed a couple of issues that we haven’t yet released as a public update yet. In particular, this update fixes the "specified cast invalid error" that occurs when importing the Web Proxy database logs.]]></description>
			<content:encoded><![CDATA[<p>Our support for Microsoft Forefront Threat Management Gateway is quite new and we’ve just fixed a couple of issues in build 2.2.0.27. In particular, this update fixes the &#8220;specified cast invalid error&#8221; that occurs when importing the Web Proxy database logs.</p>
<p>Check your version in Help | About. If you are running 2.2.0.27 or above, then you already have this update. If not, make sure you update to your software by selecting <strong>Tools | Check for updates.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.webspy.com.au/blogs/index.php/vantage-update-22027-fix-for-microsoft-ftmg-sql-import/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

