<?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>Eddie On Everything &#187; networking</title>
	<atom:link href="http://www.eddieoneverything.com/tag/networking/feed" rel="self" type="application/rss+xml" />
	<link>http://www.eddieoneverything.com</link>
	<description>Tips &#38; tricks on things that interest me</description>
	<lastBuildDate>Wed, 11 Jan 2012 08:29:23 +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>How to Scan a Computer for Open Ports</title>
		<link>http://www.eddieoneverything.com/articles/how-to-scan-a-computer-for-open-ports.php</link>
		<comments>http://www.eddieoneverything.com/articles/how-to-scan-a-computer-for-open-ports.php#comments</comments>
		<pubDate>Fri, 08 Apr 2011 21:27:13 +0000</pubDate>
		<dc:creator>eddie</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[red had]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.eddieoneverything.com/articles/how-to-scan-a-computer-for-open-ports.php</guid>
		<description><![CDATA[There are a bunch of GUI utilities for conducting port scans, but I prefer to work from a command line shell.&#160; 
In the past, I’ve used a custom script for scanning a machine for open ports from the command line, but I recently needed to get a little more information from a scan than my [...]]]></description>
			<content:encoded><![CDATA[<p>There are a bunch of GUI utilities for conducting port scans, but I prefer to work from a command line shell.&#160; </p>
<p>In the past, I’ve used a custom script for scanning a machine for open ports from the command line, but I recently needed to get a little more information from a scan than my meager little script provides.</p>
<p>I did some research and found <a href="http://ubuntuforums.org/showthread.php?t=202472" target="_blank">this useful tidbit on a Ubuntu forums</a> site.</p>
<p>If you have any flavor of Linux, you should be able to use nmap to produce a map of open ports on a remote machine.</p>
<p>The command:</p>
<p>  <code>nmap -sS -sV –O&#160; &lt;IP ADDRESS&gt; </code>
<p>Where the flags mean:</p>
<p>-sS: TCP SYN (Half-open) scan</p>
<p>-sV: Probe open ports to determine service/version info</p>
<p>-O: Enable OS detection</p>
<p>And example of the output:</p>
<p>  <code><a href="mailto:root@frolicanddetour:/home/eddie/bin">root@frolicanddetour:/home/eddie/bin</a># nmap -sS -sV -O localhost</p>
<p>Starting Nmap 5.00 ( <a href="http://nmap.org">http://nmap.org</a> ) at 2011-04-08 16:40 CDT     <br />Interesting ports on localhost (127.0.0.1):     <br />Not shown: 991 closed ports     <br />PORT&#160;&#160;&#160;&#160; STATE SERVICE&#160;&#160;&#160;&#160; VERSION     <br />22/tcp&#160;&#160; open&#160; ssh&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; OpenSSH 5.3p1 Debian 3ubuntu4 (protocol 2.0)     <br />25/tcp&#160;&#160; open&#160; smtp&#160;&#160;&#160;&#160;&#160;&#160;&#160; Postfix smtpd     <br />80/tcp&#160;&#160; open&#160; http&#160;&#160;&#160;&#160;&#160;&#160;&#160; Apache httpd 2.2.14 ((Ubuntu))     <br />139/tcp&#160; open&#160; netbios-ssn Samba smbd 3.X (workgroup: GINGERALE)     <br />443/tcp&#160; open&#160; ssl/http&#160;&#160;&#160; Apache httpd 2.2.14 ((Ubuntu))     <br />445/tcp&#160; open&#160; netbios-ssn Samba smbd 3.X (workgroup: GINGERALE)     <br />631/tcp&#160; open&#160; ipp&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; CUPS 1.4     <br />3306/tcp open&#160; mysql&#160;&#160;&#160;&#160;&#160;&#160; MySQL 5.1.41-3ubuntu12.6     <br />5901/tcp open&#160; tcpwrapped</code>
<p>You will have to be logged in as root to run this scan.&#160; I like to set up an alias on my standard user account that employs sudo, like so:</p>
<p>  <code>alias portscan=&quot;sudo nmap -sS -sV -O $1&quot;</code></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.eddieoneverything.com/articles/the-zen-of-taco-bell-programming-using-unix-tools-to-prevent-reinventing-the-wheel.php" title="The Zen of Taco Bell Programming &#8211; Using Unix Tools to Prevent Reinventing the Wheel">The Zen of Taco Bell Programming &#8211; Using Unix Tools to Prevent Reinventing the Wheel</a></li><li><a href="http://www.eddieoneverything.com/linux/argument-list-too-long-from-rm-command-a-perl-script-to-get-around-the-problem.php" title="&#8220;Argument list too long&#8221; from rm command.   A Perl Script to Get Around the Problem">&#8220;Argument list too long&#8221; from rm command.   A Perl Script to Get Around the Problem</a></li><li><a href="http://www.eddieoneverything.com/linux/rotating-backup-directories-using-cp-al-hardlinks-to-save-disk-space.php" title="Rotating Backup Directories using cp -al (hardlinks) to Save Disk Space">Rotating Backup Directories using cp -al (hardlinks) to Save Disk Space</a></li><li><a href="http://www.eddieoneverything.com/articles/linux-forward-file-not-working-make-sure-you-have-the-permissions-set-correctly.php" title="Linux .forward file not working?  Make sure you have the permissions set correctly">Linux .forward file not working?  Make sure you have the permissions set correctly</a></li><li><a href="http://www.eddieoneverything.com/articles/managing-server-load-when-unzipping-many-large-files.php" title="Managing Server Load when unzipping many large files">Managing Server Load when unzipping many large files</a></li><li><a href="http://www.eddieoneverything.com/linux/caution-filename-not-matched-error-when-unzipping-multiple-files-workaround.php" title="Caution: filename not matched error when unzipping multiple files workaround">Caution: filename not matched error when unzipping multiple files workaround</a></li><li><a href="http://www.eddieoneverything.com/linux/how-to-keep-an-ssh-connection-alive-in-linux.php" title="How To Keep An SSH Connection Alive in Linux">How To Keep An SSH Connection Alive in Linux</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.eddieoneverything.com/articles/how-to-scan-a-computer-for-open-ports.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use your Netgear (or Linksys, or D-Link) wireless router as a Hub</title>
		<link>http://www.eddieoneverything.com/internet/how-to-use-your-netgear-or-linksys-or-d-link-wireless-router-as-a-hub.php</link>
		<comments>http://www.eddieoneverything.com/internet/how-to-use-your-netgear-or-linksys-or-d-link-wireless-router-as-a-hub.php#comments</comments>
		<pubDate>Tue, 10 Nov 2009 19:52:56 +0000</pubDate>
		<dc:creator>eddie</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[netgear]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.eddieoneverything.com/internet/how-to-use-your-netgear-or-linksys-or-d-link-wireless-router-as-a-hub.php</guid>
		<description><![CDATA[Ok, here&#8217;s the deal:  
I have 2 wireless routers, a Cisco and a Netgear.  
The house&#8217;s primary router, a DD-WRT-based Cisco, is in my first-floor office. Unfortunately, the signal isn&#8217;t strong enough to make it to the third floor of my house. 
I wanted to run a wire to the third floor of [...]]]></description>
			<content:encoded><![CDATA[<p><!--adsense-->Ok, here&#8217;s the deal:  </p>
<p>I have 2 wireless routers, a Cisco and a Netgear.  </p>
<p>The house&#8217;s primary router, a DD-WRT-based Cisco, is in my first-floor office. Unfortunately, the signal isn&#8217;t strong enough to make it to the third floor of my house. </p>
<p>I wanted to run a wire to the third floor of my home &amp; use the Netgear router as a hub (both wired and wireless) on the third floor, letting the DD-WRT router continue to handle the firewall, DHCP, etc., for the entire house.</p>
<p>The problem was &#8211; there&#8217;s no setting in the Netgear WRT-642g configuration page for &#8220;hub mode.&#8221;</p>
<p>Searching yielded little helpful information. A few nuggets led me to do a bit of experimentation, and I discovered a working solution.</p>
<p>The trick: Connect the second router (the one you want to use as a hub) to the first using one of the second&#8217;s LAN ports, not it&#8217;s WAN port.  That is, <strong>don&#8217;t</strong> use the port you would use to connect this router to your cable modem.  <em>Instead, use one of the other ports, usually labeled 1-4</em>.</p>
<p>Doing this allowed me to use my Netgear router as a hub, even though it&#8217;s not officially supported.</p>
<p>Happy surfing!</p>
<p><!--adsense#largerectanglenowrap--></p>
<h2  class="related_post_title">Related Posts</h2><ul class="related_post"><li><a href="http://www.eddieoneverything.com/articles/computer-fan-too-loud-fix-it-by-cleaning-out-the-dust-dirt.php" title="Computer Fan Too Loud?  Fix It By Cleaning Out the Dust &amp; Dirt">Computer Fan Too Loud?  Fix It By Cleaning Out the Dust &amp; Dirt</a></li><li><a href="http://www.eddieoneverything.com/articles/how-to-scan-a-computer-for-open-ports.php" title="How to Scan a Computer for Open Ports">How to Scan a Computer for Open Ports</a></li><li><a href="http://www.eddieoneverything.com/articles/use-custom-background-images-as-screen-savers-on-the-kindle.php" title="Use Custom Background Images as Screen Savers on the Kindle">Use Custom Background Images as Screen Savers on the Kindle</a></li><li><a href="http://www.eddieoneverything.com/how-to/how-to-fix-your-kindle-2-when-it-wont-charge.php" title="How To Fix Your Kindle 2 When It Won&#8217;t Charge">How To Fix Your Kindle 2 When It Won&#8217;t Charge</a></li><li><a href="http://www.eddieoneverything.com/internet/how-to-watch-flash-videos-full-screen-on-dual-monitor-setup.php" title="How To Watch Flash Videos Full-Screen on Dual Monitor Setup">How To Watch Flash Videos Full-Screen on Dual Monitor Setup</a></li><li><a href="http://www.eddieoneverything.com/internet/how-to-reveal-stored-passwords-in-firefox-chrome-safari-and-ie.php" title="How To Reveal Stored Passwords in Firefox, Chrome, Safari, and IE">How To Reveal Stored Passwords in Firefox, Chrome, Safari, and IE</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.eddieoneverything.com/internet/how-to-use-your-netgear-or-linksys-or-d-link-wireless-router-as-a-hub.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

