<?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>IT a digital life &#187; Networking</title>
	<atom:link href="http://www.digitallachance.com/blog/category/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.digitallachance.com/blog</link>
	<description>Thoughts and notes mostly about computer related stuff</description>
	<lastBuildDate>Sun, 23 May 2010 23:18:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Web content filtering without installing any software</title>
		<link>http://www.digitallachance.com/blog/2009/02/web-content-filtering-without-installing-any-software/</link>
		<comments>http://www.digitallachance.com/blog/2009/02/web-content-filtering-without-installing-any-software/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 18:00:24 +0000</pubDate>
		<dc:creator>Francois</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[conficker]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[downadup]]></category>

		<guid isPermaLink="false">http://www.digitallachance.com/blog/?p=51</guid>
		<description><![CDATA[Free protection without installing any software.  The solution is simple, just use the right DNS to prevent the traffic from entering your network in the first place.]]></description>
			<content:encoded><![CDATA[<p>If you could protect your whole network from malware, adware, porn and other web sites that should not ever be viewed by employees or children, wouldn&#8217;t you do it?  What if I told  you that you can, and you don&#8217;t even have to install any software anywhere in your network?  I usually go by the old adage that if it sounds to good to be true, it probably is.  This is one time where that&#8217;s not true.</p>
<p>My secret weapon is called <a href="http://www.opendns.com" target="_blank">OpenDNS</a>.  I use <a href="http://www.pfsense.com/" target="_blank">pfSense</a> firewall at home and I also have installed this great freeBSD based firewall at three other customer&#8217;s sites.  Although the ISP for each of these sites supply their own DNS server, I do not point the firewall to their DNS.  I simply set the DNS server address on the General Setup page to point to</p>
<ul>
<li>208.67.222.222</li>
<li>208.67.222.220</li>
</ul>
<p>Using OpenDNS does not really slow things down in any way (not that anybody can truly notice anyway).  Also, OpenDNS is introducing a free service to protect you from the Conficker worm.  Read <a href="http://www.theregister.co.uk/2009/02/07/opendns_conficker_protection/" target="_blank">this post</a> from The Register to see all of the details.  Go on and create yourself an account on OpenDNS.  You&#8217;ll be able to do filtering based on 27 categories.  The service you get for free from these guys is top notch.</p>
<p><strong>Update:</strong> Looks like has just published a very concise page about the Conficker worm and how to deal with it.  Check it out at <a href="http://technet.microsoft.com/en-us/security/dd452420.aspx" target="_blank">http://technet.microsoft.com/en-us/security/dd452420.aspx</a></p>
<p><strong>Update (Feb. 10): </strong>Looks like <a title="Stats are back; and we're blocking Conficker" href="http://blog.opendns.com/2009/02/09/stats-are-back-and-conficker/" target="_blank">OpenDNS official blog</a> has more information about their new feature.</p>
<p><!-- OpenDNS button --><br />
<a title="Use OpenDNS to make your Internet faster, safer, and smarter." href="http://www.opendns.com/share/"><img src="http://images.opendns.com/buttons/use_opendns_150x40.gif" width="150" height="40" style="border:0;" alt="Use OpenDNS" /></a><br />
<!-- / end OpenDNS button --></p>
<p><a href="http://www.mippin.com/link/mippit.jsp?id=50252"><img src="http://www.mippin.com/app/images/blogger_button.gif" border="0" alt="Add IT a digital life Mippin widget" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.digitallachance.com/blog/2009/02/web-content-filtering-without-installing-any-software/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Should you kill NetBIOS from your network?</title>
		<link>http://www.digitallachance.com/blog/2009/02/should-you-kill-netbios-from-your-network/</link>
		<comments>http://www.digitallachance.com/blog/2009/02/should-you-kill-netbios-from-your-network/#comments</comments>
		<pubDate>Mon, 02 Feb 2009 03:27:21 +0000</pubDate>
		<dc:creator>Francois</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[NetBIOS]]></category>

		<guid isPermaLink="false">http://www.digitallachance.com/blog/?p=9</guid>
		<description><![CDATA[In a Windows XP network, NetBIOS is on by default. There are some misconceptions regarding whether NetBIOS is required in order to have file sharing working. In fact, that is not the case. This post will explain what I found out when investigating the impact of removing NetBIOS from our corporate network.]]></description>
			<content:encoded><![CDATA[<p>Do you still have NetBIOS turned on on all of your workstations and servers in your corporate LAN?  This old network protocol puts you at risk and should be killed without prejudice!</p>
<p>There are quite a few reasons why NetBIOS is bad for your network.</p>
<ol>
<li>NetBIOS is an inneficient protocol.  It is very chatty with lots of broadcasts.</li>
<li>When used with its defaults settings, it can be used by the bad guys to gather information about your network and users.  This is done through null sessions.  An excellent source of information on null session can be found in the (old, but still true) page titled <a href="http://puna.net.nz/archives/Hacking/NetBIOS%20Null%20Sessions%20The%20Good,%20The%20Bad,%20and%20The%20Ugly.htm" target="_blank">NetBIOS Null Sessions: The Good, The Bad, and The Ugly</a>.</li>
<li>Although it can now be routed across LANs by using NetBIOS over TCP/IP (NetBT), it was never meant to be used in a WAN environment.</li>
<li>The original design of NetBIOS was actually for a LAN of about 70 users.</li>
</ol>
<p>One of the major misconception about NetBIOS is the fact that people think that it has to be there in order for you to have a file share to serve files to your network users.  <a title="Direct hosting of SMB over TCP/IP" href="http://support.microsoft.com/kb/204279" target="_blank">That is actually not the case</a>.</p>
<h2>File sharing on your LAN</h2>
<p>NetBIOS uses these ports:</p>
<ul type="disc">
<li>UDP 137: NetBIOS name service</li>
<li>UDP 138: NetBIOS datagram service</li>
<li>TCP 139: NetBIOS session service</li>
</ul>
<p>In actual fact, a workstation that tries to connect to a file share might start by trying using those ports.  Windows will automatically fall back to using SMB, which is on port TCP 445.  You might have heard of SMB (Server Message Blocks) and CIFS (Common Internet File System) in the same conversation.  That&#8217;s because <a href="http://msdn.microsoft.com/en-us/library/aa365233.aspx" target="_blank">CIFS is actually a dialect of SMB</a>.</p>
<h2>The downside of disabling NetBIOS</h2>
<p>I found only two problems that you might run into if you disable NetBIOS.  Another side effect is that this will <a title="NETBIOS: Leave On or Turn Off?" href="http://www.windowsnetworking.com/kbase/WindowsTips/Windows2003/AdminTips/Network/NETBIOSLeaveOnorTurnOff.html" target="_blank">affect trusts between forests</a>.  This is definitely true for domains at the Windows 2000 functional level or even a Windows NT to Windows 2003 trust.  In a simpler network with only one domain in your forest, this will not be an issue.</p>
<p>The other negative impact that I found is the fact that you no longer browse for computer in <em>Network Neighborhood </em>(Windows 98) or <em>Microsoft Windows Network</em> (Windows XP). When NetBIOS is enabled in your network, the master browser collects information about all the computers in the network.  That information is then propagated every 12 minutes to all workstations.  This can be displayed in the network neighborhood or using the NET VIEW command.  In effect, this is how name resolution was done, by using the list maintained by the master browser. WINS is the other name resolution method in the NetBIOS world.  This method is <a title="Description of the Microsoft Computer Browser Service" href="http://support.microsoft.com/kb/188001" target="_blank">no longer used by Microsoft</a> OS since Windows 2000.</p>
<h2>How to deal with NetBIOS</h2>
<p>The best thing to do, is simply to eliminate NetBIOS.  You probably won&#8217;t miss it.  Most likely, if your network has more than a few computers in it, you are using DHCP.  You can use <a href="http://support.microsoft.com/kb/313314" target="_blank">DHCP to easily disable NetBIOS</a> on your workstations.  In a smaller setting, you can change the configuration on each computer in your network by doing the following (instructions for Windows XP):</p>
<ol>
<li>Click <strong>Start</strong>, point to <strong>Settings</strong>, and then click <strong class="uiterm">Network and Dial-up Connection</strong>.</li>
<li>Right-click <strong>Local Area Connection</strong>, and then click <strong>Properties</strong>.</li>
<li>Click <strong>Internet Protocol (TCP/IP)</strong>, and then click <strong>Properties</strong>.</li>
<li>Click <strong>Advanced</strong>.</li>
<li>Click the <strong>WINS</strong> tab, and then click <strong class="uiterm">Disable NetBIOS over 				TCP/IP</strong>.</li>
</ol>
<p>This method disables NetBIOS Session Service (which listens on TCP port 139). It does not disable NetBIOS completely.  If you do not want to have SMB enabled, you can disable it all at once by using the following instructions:</p>
<ol>
<li>From the <strong>Start</strong> menu, right-click <strong>My Computer</strong>, and then click <strong>Manage</strong>.</li>
<li>Expand <strong>System Tools</strong>, and then clear the <strong>Device Manager</strong> check box.</li>
<li>Right-click <strong>Device Manager</strong>, point to <strong>View</strong>, and then select <strong>Show hidden devices</strong>.</li>
<li>Expand <strong>Non-Plug and Play Drivers</strong>.</li>
<li>Right-click <strong>NetBios over TCP/IP</strong>, and then click <strong>Disable</strong>.</li>
</ol>
<p>This disables the SMB direct host listener on TCP/445 and UDP 445.</p>
<h2>Final Thoughts</h2>
<p>Before you make such an important change in your network, you need to do some serious testing.  This is especially true if you have a lot of different servers and applications.  I intend to post again with the result of my testing and the effect that disabling NetBIOS had on our network.</p>
<h2>Related links</h2>
<ul>
<li><a href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;323357" target="_blank">How To Configure TCP/IP Networking While NetBIOS Is Turned Off on a Server Running Windows Server 2003</a></li>
<li><a href="http://support.microsoft.com/default.aspx?scid=kb;RU;299977" target="_blank">How To Configure TCP/IP Networking While NetBIOS Is Disabled in Windows 2000 Server</a></li>
<li><a href="http://support.microsoft.com/kb/204279" target="_blank">Direct hosting of SMB over TCP/IP</a></li>
<li><a href="http://msdn.microsoft.com/en-us/library/ms143696.aspx" target="_blank">How to: Disable NetBIOS over TCP/IP</a></li>
<li><a title="How to disable NetBIOS over TCP/IP by using DHCP server options" href="http://support.microsoft.com/kb/313314" target="_blank">How to disable NetBIOS over TCP/IP by using DHCP server options</a></li>
<li><a href="NETBIOS: Leave On or Turn Off?" target="_blank">NETBIOS: Leave On or Turn Off?</a></li>
<li><a href="http://support.microsoft.com/kb/325874">How to establish trusts with a Windows NT-based domain in Windows Server 2003</a></li>
<li><a href="http://support.microsoft.com/kb/188001" target="_blank">Description of the Microsoft Computer Browser Service</a></li>
<li><a href="http://www.windowsdevcenter.com/pub/a/windows/2004/05/11/netbios.html" target="_blank">Understanding NetBIOS and Windows Server 2003</a></li>
<li><a href="http://msdn.microsoft.com/en-us/library/ms143696.aspx" target="_blank">How to: Disable NetBIOS over TCP/IP</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.digitallachance.com/blog/2009/02/should-you-kill-netbios-from-your-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
