<?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>Tony Virelli - Web Developer - HTML, xHTML, PHP, MySQL, JavaScript&#187; Networking</title>
	<atom:link href="http://tonyvirelli.com/category/blog/networking/feed/" rel="self" type="application/rss+xml" />
	<link>http://tonyvirelli.com</link>
	<description>Tony Virelli - I share the information I have dealing with web design, technology, the internet and more</description>
	<lastBuildDate>Tue, 31 Jan 2012 14:57:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Using NMAP To Detect Server Type</title>
		<link>http://tonyvirelli.com/slider/using-nmap-to-detect-server-type/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-nmap-to-detect-server-type</link>
		<comments>http://tonyvirelli.com/slider/using-nmap-to-detect-server-type/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 14:33:55 +0000</pubDate>
		<dc:creator>John Hass</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[evil]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[msrpc]]></category>
		<category><![CDATA[nmap]]></category>
		<category><![CDATA[Service Pack 2]]></category>
		<category><![CDATA[smb]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=295</guid>
		<description><![CDATA[When you talk power utilities on any *nix it&#8217;s hard to skip nmap. Ever since it&#8217;s introduction nmap has been used for good and evil. If you&#8217;ve ever had a server hacked chances are they used nmap or some sort of nmap code to get the job done. Just how easy is it to detect [...]]]></description>
			<content:encoded><![CDATA[<p>When you talk power utilities on any *nix it&#8217;s hard to skip nmap. Ever since it&#8217;s introduction nmap has been used for good and evil. If you&#8217;ve ever had a server hacked chances are they used nmap or some sort of nmap code to get the job done.  Just how easy is it to detect the server type from nmap? Try my windows 2003 server (I know kick me in the nuts and call me sally).<br />
<span id="more-295"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nmap</span> <span style="color: #660033;">-A</span> <span style="color: #660033;">-T4</span> 192.168.10.1</pre></div></div>

<p>it took over a minute to get the results, but here is what I got.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Starting Nmap <span style="color: #000000;">5.00</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span> http:<span style="color: #000000; font-weight: bold;">//</span>nmap.org <span style="color: #7a0874; font-weight: bold;">&#41;</span> at <span style="color: #000000;">2009</span>-<span style="color: #000000;">12</span>-<span style="color: #000000;">15</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">42</span> CST
Interesting ports on server1.local.example.com <span style="color: #7a0874; font-weight: bold;">&#40;</span>192.168.10.1<span style="color: #7a0874; font-weight: bold;">&#41;</span>:
Not shown: <span style="color: #000000;">963</span> closed ports
PORT      STATE SERVICE       VERSION
<span style="color: #000000;">21</span><span style="color: #000000; font-weight: bold;">/</span>tcp    open  <span style="color: #c20cb9; font-weight: bold;">ftp</span>           Microsoft ftpd
<span style="color: #000000;">25</span><span style="color: #000000; font-weight: bold;">/</span>tcp    open  smtp          Microsoft ESMTP 6.0.3790.3959
<span style="color: #000000; font-weight: bold;">|</span>  smtp-commands: EHLO example.com Hello <span style="color: #7a0874; font-weight: bold;">&#91;</span>192.168.10.34<span style="color: #7a0874; font-weight: bold;">&#93;</span>, TURN, SIZE, ETRN, PIPELINING, DSN, ENHANCEDSTATUSCODES, 8bitmime, BINARYMIME, CHUNKING, VRFY, X-EXPS GSSAPI NTLM LOGIN, X-EXPS=LOGIN, AUTH GSSAPI NTLM LOGIN, <span style="color: #007800;">AUTH</span>=LOGIN, X-LINK2STATE, XEXCH50
<span style="color: #000000; font-weight: bold;">|</span>_ HELP This server supports the following commands: HELO EHLO STARTTLS RCPT DATA RSET MAIL QUIT HELP AUTH TURN ETRN BDAT VRFY
<span style="color: #000000;">80</span><span style="color: #000000; font-weight: bold;">/</span>tcp    open  http          Microsoft IIS webserver <span style="color: #000000;">6.0</span>
<span style="color: #000000; font-weight: bold;">|</span>_ html-title: Under Construction
<span style="color: #000000;">110</span><span style="color: #000000; font-weight: bold;">/</span>tcp   open  pop3          MS Exchange <span style="color: #000000;">2003</span> pop3d 6.5.7638.1
<span style="color: #000000; font-weight: bold;">|</span>_ pop3-capabilities: USER EXPIRE<span style="color: #7a0874; font-weight: bold;">&#40;</span>NEVER<span style="color: #7a0874; font-weight: bold;">&#41;</span> UIDL PIPELINING TOP SASL<span style="color: #7a0874; font-weight: bold;">&#40;</span>NTLM<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000;">135</span><span style="color: #000000; font-weight: bold;">/</span>tcp   open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">139</span><span style="color: #000000; font-weight: bold;">/</span>tcp   open  netbios-ssn
<span style="color: #000000;">143</span><span style="color: #000000; font-weight: bold;">/</span>tcp   open  imap          Microsoft Exchange Server <span style="color: #000000;">2003</span> imapd 6.5.7638.1
<span style="color: #000000; font-weight: bold;">|</span>_ imap-capabilities: LOGIN-REFERRALS IMAP4 <span style="color: #007800;">AUTH</span>=NTLM IMAP4rev1 MAILBOX-REFERRALS UIDPLUS LITERAL+ IDLE NAMESPACE CHILDREN
<span style="color: #000000;">445</span><span style="color: #000000; font-weight: bold;">/</span>tcp   open  microsoft-ds  Microsoft Windows <span style="color: #000000;">2003</span> microsoft-ds
<span style="color: #000000;">593</span><span style="color: #000000; font-weight: bold;">/</span>tcp   open  ncacn_http    Microsoft Windows RPC over HTTP <span style="color: #000000;">1.0</span>
<span style="color: #000000;">691</span><span style="color: #000000; font-weight: bold;">/</span>tcp   open  resvc         Microsoft Exchange routing server 6.5.7638.138.1
<span style="color: #000000;">993</span><span style="color: #000000; font-weight: bold;">/</span>tcp   open  tcpwrapped
<span style="color: #000000;">995</span><span style="color: #000000; font-weight: bold;">/</span>tcp   open  tcpwrapped
<span style="color: #000000;">1037</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">1073</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">1074</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">1076</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">1088</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">1089</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">1137</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">1801</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  unknown
<span style="color: #000000;">2103</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">2105</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">2107</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">3389</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  microsoft-rdp Microsoft Terminal Service
<span style="color: #000000;">4343</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  ssl<span style="color: #000000; font-weight: bold;">/</span>http      Microsoft IIS webserver <span style="color: #000000;">6.0</span>
<span style="color: #000000; font-weight: bold;">|</span>_ sslv2: server still supports SSLv2
<span style="color: #000000; font-weight: bold;">|</span>  http-auth: HTTP Service requires authentication
<span style="color: #000000; font-weight: bold;">|</span>    Auth <span style="color: #7a0874; font-weight: bold;">type</span>: Negotiate
<span style="color: #000000; font-weight: bold;">|</span>_   Auth <span style="color: #7a0874; font-weight: bold;">type</span>: NTLM
<span style="color: #000000; font-weight: bold;">|</span>_ html-title: You are not authorized to view this page
<span style="color: #000000;">5900</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  vnc           VNC <span style="color: #7a0874; font-weight: bold;">&#40;</span>protocol <span style="color: #000000;">3.8</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000;">6001</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  ncacn_http    Microsoft Windows RPC over HTTP <span style="color: #000000;">1.0</span>
<span style="color: #000000;">6002</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  ncacn_http    Microsoft Windows RPC over HTTP <span style="color: #000000;">1.0</span>
<span style="color: #000000;">6004</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  ncacn_http    Microsoft Windows RPC over HTTP <span style="color: #000000;">1.0</span>
<span style="color: #000000;">8080</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  http          Microsoft IIS webserver <span style="color: #000000;">6.0</span>
<span style="color: #000000; font-weight: bold;">|</span>  http-auth: HTTP Service requires authentication
<span style="color: #000000; font-weight: bold;">|</span>    Auth <span style="color: #7a0874; font-weight: bold;">type</span>: Negotiate
<span style="color: #000000; font-weight: bold;">|</span>_   Auth <span style="color: #7a0874; font-weight: bold;">type</span>: NTLM
<span style="color: #000000; font-weight: bold;">|</span>_ html-title: You are not authorized to view this page
<span style="color: #000000;">8181</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  http          Apache Tomcat<span style="color: #000000; font-weight: bold;">/</span>Coyote JSP engine <span style="color: #000000;">1.1</span>
<span style="color: #000000; font-weight: bold;">|</span>_ html-title: Site doesn<span style="color: #ff0000;">'t have a title (text/html).
8443/tcp  open  ssl/http      Apache Tomcat/Coyote JSP engine 1.1
|_ html-title: Site doesn'</span>t have a title <span style="color: #7a0874; font-weight: bold;">&#40;</span>text<span style="color: #000000; font-weight: bold;">/</span>html<span style="color: #7a0874; font-weight: bold;">&#41;</span>.
<span style="color: #000000;">9000</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  http          Veritas backup <span style="color: #7a0874; font-weight: bold;">exec</span> continuous protection httpd
<span style="color: #000000; font-weight: bold;">|</span>_ html-title: Site doesn<span style="color: #ff0000;">'t have a title (text/xml).
9001/tcp  open  http          Veritas backup exec continuous protection httpd
|_ html-title: Site doesn'</span>t have a title <span style="color: #7a0874; font-weight: bold;">&#40;</span>text<span style="color: #000000; font-weight: bold;">/</span>plain<span style="color: #7a0874; font-weight: bold;">&#41;</span>.
<span style="color: #000000;">9002</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  http          Veritas backup <span style="color: #7a0874; font-weight: bold;">exec</span> continuous protection httpd <span style="color: #7a0874; font-weight: bold;">&#40;</span>unauthorized<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #000000; font-weight: bold;">|</span>_ html-title: Site doesn<span style="color: #ff0000;">'t have a title (text/html).
9003/tcp  open  http          Veritas backup exec continuous protection httpd (unauthorized)
|_ html-title: Site doesn'</span>t have a title <span style="color: #7a0874; font-weight: bold;">&#40;</span>text<span style="color: #000000; font-weight: bold;">/</span>plain<span style="color: #7a0874; font-weight: bold;">&#41;</span>.
<span style="color: #000000;">10000</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  backupexec    Veritas Backup Exec <span style="color: #000000;">9.0</span>
Service Info: OS: Windows
Host script results:
<span style="color: #000000; font-weight: bold;">|</span>  smb-os-discovery: Windows Server <span style="color: #000000;">2003</span> <span style="color: #000000;">3790</span> Service Pack <span style="color: #000000;">2</span>
<span style="color: #000000; font-weight: bold;">|</span>  LAN Manager: Windows Server <span style="color: #000000;">2003</span> <span style="color: #000000;">5.2</span>
<span style="color: #000000; font-weight: bold;">|</span>  Name: example\SERVER1
<span style="color: #000000; font-weight: bold;">|</span>_ System <span style="color: #000000; font-weight: bold;">time</span>: <span style="color: #000000;">2009</span>-<span style="color: #000000;">12</span>-<span style="color: #000000;">15</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">38</span>:06 UTC-<span style="color: #000000;">6</span>
<span style="color: #000000; font-weight: bold;">|</span>_ nbstat: NetBIOS name: SERVER1, NetBIOS user: , NetBIOS MAC: 00:<span style="color: #000000;">11</span>:<span style="color: #000000;">43</span>:e3:d5:f2
Service detection performed. Please report any incorrect results at http:<span style="color: #000000; font-weight: bold;">//</span>nmap.org<span style="color: #000000; font-weight: bold;">/</span>submit<span style="color: #000000; font-weight: bold;">/</span> .
Nmap <span style="color: #000000; font-weight: bold;">done</span>: <span style="color: #000000;">1</span> IP address <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span> host up<span style="color: #7a0874; font-weight: bold;">&#41;</span> scanned <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000;">68.23</span> seconds</pre></div></div>

<p>Surely this can&#8217;t work in Windows Server 2008?</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Starting Nmap <span style="color: #000000;">5.00</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span> http:<span style="color: #000000; font-weight: bold;">//</span>nmap.org <span style="color: #7a0874; font-weight: bold;">&#41;</span> at <span style="color: #000000;">2009</span>-<span style="color: #000000;">12</span>-<span style="color: #000000;">15</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">47</span> CST
Interesting ports on server.local.example.com <span style="color: #7a0874; font-weight: bold;">&#40;</span>192.168.10.5<span style="color: #7a0874; font-weight: bold;">&#41;</span>:
Not shown: <span style="color: #000000;">970</span> closed ports
PORT     STATE SERVICE       VERSION
<span style="color: #000000;">25</span><span style="color: #000000; font-weight: bold;">/</span>tcp   open  smtp          Microsoft ESMTP
<span style="color: #000000; font-weight: bold;">|</span>  smtp-commands: EHLO exchange.example.com Hello <span style="color: #7a0874; font-weight: bold;">&#91;</span>192.168.10.34<span style="color: #7a0874; font-weight: bold;">&#93;</span>, SIZE <span style="color: #000000;">41943040</span>, PIPELINING, DSN, ENHANCEDSTATUSCODES, AUTH, 8BITMIME, BINARYMIME, CHUNKING, XEXCH50
<span style="color: #000000; font-weight: bold;">|</span>_ HELP This server supports the following commands: HELO EHLO STARTTLS RCPT DATA RSET MAIL QUIT HELP AUTH BDAT
<span style="color: #000000;">80</span><span style="color: #000000; font-weight: bold;">/</span>tcp   open  http          Microsoft IIS webserver <span style="color: #000000;">7.0</span>
<span style="color: #000000; font-weight: bold;">|</span>_ html-title: <span style="color: #000000;">403</span> - Forbidden: Access is denied.
<span style="color: #000000;">88</span><span style="color: #000000; font-weight: bold;">/</span>tcp   open  kerberos-sec  Microsoft Windows kerberos-sec
<span style="color: #000000;">110</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  pop3          MS Exchange <span style="color: #000000;">2007</span> pop3d
<span style="color: #000000; font-weight: bold;">|</span>_ pop3-capabilities: USER SASL<span style="color: #7a0874; font-weight: bold;">&#40;</span>NTLM GSSAPI PLAIN<span style="color: #7a0874; font-weight: bold;">&#41;</span> TOP UIDL
<span style="color: #000000;">135</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">139</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  netbios-ssn
<span style="color: #000000;">143</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  imap          Microsoft Exchange <span style="color: #000000;">2007</span> imapd
<span style="color: #000000; font-weight: bold;">|</span>_ imap-capabilities: IMAP4rev1 <span style="color: #007800;">AUTH</span>=GSSAPI LITERAL+ IMAP4 <span style="color: #007800;">AUTH</span>=NTLM <span style="color: #007800;">AUTH</span>=PLAIN NAMESPACE IDLE
<span style="color: #000000;">389</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  ldap
<span style="color: #000000;">443</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  ssl<span style="color: #000000; font-weight: bold;">/</span>http      Microsoft IIS webserver <span style="color: #000000;">7.0</span>
<span style="color: #000000; font-weight: bold;">|</span>_ sslv2: server still supports SSLv2
<span style="color: #000000; font-weight: bold;">|</span>_ html-title: IIS7
<span style="color: #000000;">445</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  microsoft-ds  Microsoft Windows <span style="color: #000000;">2003</span> microsoft-ds
<span style="color: #000000;">464</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  kpasswd5?
<span style="color: #000000;">587</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  smtp          Microsoft ESMTP
<span style="color: #000000; font-weight: bold;">|</span>  smtp-commands: EHLO exchange.example.com Hello <span style="color: #7a0874; font-weight: bold;">&#91;</span>192.168.10.34<span style="color: #7a0874; font-weight: bold;">&#93;</span>, SIZE <span style="color: #000000;">41943040</span>, PIPELINING, DSN, ENHANCEDSTATUSCODES, AUTH GSSAPI NTLM, 8BITMIME, BINARYMIME, CHUNKING
<span style="color: #000000; font-weight: bold;">|</span>_ HELP This server supports the following commands: HELO EHLO STARTTLS RCPT DATA RSET MAIL QUIT HELP AUTH BDAT
<span style="color: #000000;">593</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  ncacn_http    Microsoft Windows RPC over HTTP <span style="color: #000000;">1.0</span>
<span style="color: #000000;">636</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  tcpwrapped
<span style="color: #000000;">993</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  imaps?
<span style="color: #000000;">995</span><span style="color: #000000; font-weight: bold;">/</span>tcp  open  pop3s?
<span style="color: #000000;">1025</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">1026</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">1027</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">1029</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">1030</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  ncacn_http    Microsoft Windows RPC over HTTP <span style="color: #000000;">1.0</span>
<span style="color: #000000;">1031</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">1048</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  msrpc         Microsoft Windows RPC
<span style="color: #000000;">3268</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  ldap
<span style="color: #000000;">3269</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  tcpwrapped
<span style="color: #000000;">3389</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  microsoft-rdp Microsoft Terminal Service
<span style="color: #000000;">6001</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  ncacn_http    Microsoft Windows RPC over HTTP <span style="color: #000000;">1.0</span>
<span style="color: #000000;">6002</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  ncacn_http    Microsoft Windows RPC over HTTP <span style="color: #000000;">1.0</span>
<span style="color: #000000;">6004</span><span style="color: #000000; font-weight: bold;">/</span>tcp open  ncacn_http    Microsoft Windows RPC over HTTP <span style="color: #000000;">1.0</span>
<span style="color: #000000;">2</span> services unrecognized despite returning data. If you know the service<span style="color: #000000; font-weight: bold;">/</span>version, please submit the following fingerprints at http:<span style="color: #000000; font-weight: bold;">//</span>www.insecure.org<span style="color: #000000; font-weight: bold;">/</span>cgi-bin<span style="color: #000000; font-weight: bold;">/</span>servicefp-submit.cgi :
==============NEXT SERVICE FINGERPRINT <span style="color: #7a0874; font-weight: bold;">&#40;</span>SUBMIT INDIVIDUALLY<span style="color: #7a0874; font-weight: bold;">&#41;</span>==============
SF-Port993-TCP:<span style="color: #007800;">V</span>=<span style="color: #000000;">5.00</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #007800;">I</span>=<span style="color: #000000;">7</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #007800;">D</span>=<span style="color: #000000;">12</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">15</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #007800;">Time</span>=4B2803DB<span style="color: #000000; font-weight: bold;">%</span><span style="color: #007800;">P</span>=x86_64-unknown-linux-gnu
SF:<span style="color: #000000; font-weight: bold;">%</span>r<span style="color: #7a0874; font-weight: bold;">&#40;</span>NULL,<span style="color: #000000;">20</span>,<span style="color: #ff0000;">&quot;\*\x20BYE\x20Connection\x20is\x20closed\.\x2014<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;
==============NEXT SERVICE FINGERPRINT <span style="color: #7a0874; font-weight: bold;">&#40;</span>SUBMIT INDIVIDUALLY<span style="color: #7a0874; font-weight: bold;">&#41;</span>==============
SF-Port995-TCP:<span style="color: #007800;">V</span>=<span style="color: #000000;">5.00</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #007800;">I</span>=<span style="color: #000000;">7</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #007800;">D</span>=<span style="color: #000000;">12</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">15</span><span style="color: #000000; font-weight: bold;">%</span><span style="color: #007800;">Time</span>=4B2803DB<span style="color: #000000; font-weight: bold;">%</span><span style="color: #007800;">P</span>=x86_64-unknown-linux-gnu
SF:<span style="color: #000000; font-weight: bold;">%</span>r<span style="color: #7a0874; font-weight: bold;">&#40;</span>NULL,1F,<span style="color: #ff0000;">&quot;-ERR\x20Connection\x20is\x20closed\.\x2013<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;
Service Info: Host: exchange.example.com; OS: Windows
Host script results:
<span style="color: #000000; font-weight: bold;">|</span>_ nbstat: NetBIOS name: SERVER, NetBIOS user: , NetBIOS MAC: 00:<span style="color: #000000;">22</span>:<span style="color: #000000;">19</span>:<span style="color: #000000;">54</span>:ea:4d
<span style="color: #000000; font-weight: bold;">|</span>  smb-os-discovery: Windows Server <span style="color: #7a0874; font-weight: bold;">&#40;</span>R<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">2008</span> Standard <span style="color: #000000;">6001</span> Service Pack <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">|</span>  LAN Manager: Windows Server <span style="color: #7a0874; font-weight: bold;">&#40;</span>R<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">2008</span> Standard <span style="color: #000000;">6.0</span>
<span style="color: #000000; font-weight: bold;">|</span>  Name: example\SERVER
<span style="color: #000000; font-weight: bold;">|</span>_ System <span style="color: #000000; font-weight: bold;">time</span>: <span style="color: #000000;">2009</span>-<span style="color: #000000;">12</span>-<span style="color: #000000;">15</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">42</span>:<span style="color: #000000;">39</span> UTC-<span style="color: #000000;">6</span></pre></div></div>

<p>And Next time, don&#8217;t call me Shirley!</p>
<p>Now I am sure Linux is immune to this though!</p>
<p>Now I don&#8217;t want to brag, but all the linux servers first responded with</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Starting Nmap <span style="color: #000000;">5.00</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span> http:<span style="color: #000000; font-weight: bold;">//</span>nmap.org <span style="color: #7a0874; font-weight: bold;">&#41;</span> at <span style="color: #000000;">2009</span>-<span style="color: #000000;">12</span>-<span style="color: #000000;">15</span> <span style="color: #000000;">15</span>:<span style="color: #000000;">53</span> CST
All <span style="color: #000000;">1000</span> scanned ports on 192.168.10.20 are filtered
Service detection performed. Please report any incorrect results at http:<span style="color: #000000; font-weight: bold;">//</span>nmap.org<span style="color: #000000; font-weight: bold;">/</span>submit<span style="color: #000000; font-weight: bold;">/</span> .
Nmap <span style="color: #000000; font-weight: bold;">done</span>: <span style="color: #000000;">1</span> IP address <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1</span> host up<span style="color: #7a0874; font-weight: bold;">&#41;</span> scanned <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000;">32.04</span> seconds</pre></div></div>

<p>This was from default Ubuntu installs, eventually I did a scan on our webserver</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;">Starting Nmap <span style="color: #cc66cc;">5.00</span> <span style="color: #009900;">&#40;</span> http<span style="color: #339933;">://</span>nmap<span style="color: #339933;">.</span>org <span style="color: #009900;">&#41;</span> at <span style="color: #cc66cc;">2009</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">12</span><span style="color: #339933;">-</span><span style="color: #cc66cc;">15</span> <span style="color: #cc66cc;">15</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">54</span> CST
Interesting ports on mail<span style="color: #339933;">.</span>sipmeeting<span style="color: #339933;">.</span>com <span style="color: #009900;">&#40;</span>example<span style="color: #339933;">.</span>com<span style="color: #009900;">&#41;</span><span style="color: #339933;">:</span>
Not shown<span style="color: #339933;">:</span> <span style="color: #cc66cc;">988</span> closed ports
PORT     STATE SERVICE   VERSION
<span style="color: #cc66cc;">21</span><span style="color: #339933;">/</span>tcp   <span style="color: #000066;">open</span>  ftp       ProFTPD 1<span style="color: #339933;">.</span>3<span style="color: #339933;">.</span>0a
<span style="color: #cc66cc;">22</span><span style="color: #339933;">/</span>tcp   <span style="color: #000066;">open</span>  ssh       OpenSSH <span style="color: #cc66cc;">4.6</span> <span style="color: #009900;">&#40;</span>protocol <span style="color: #cc66cc;">1.99</span><span style="color: #009900;">&#41;</span>
<span style="color: #339933;">|</span>_ sshv1<span style="color: #339933;">:</span> Server supports SSHv1
<span style="color: #339933;">|</span>  ssh<span style="color: #339933;">-</span>hostkey<span style="color: #339933;">:</span> <span style="color: #cc66cc;">2048</span> da<span style="color: #339933;">:</span>5e<span style="color: #339933;">:</span>f2<span style="color: #339933;">:</span>1e<span style="color: #339933;">:</span><span style="color: #cc66cc;">63</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">47</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">14</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">29</span><span style="color: #339933;">:</span>bd<span style="color: #339933;">:</span>f9<span style="color: #339933;">:</span>e3<span style="color: #339933;">:</span>ca<span style="color: #339933;">:</span>aa<span style="color: #339933;">:</span>4e<span style="color: #339933;">:</span>2b<span style="color: #339933;">:</span><span style="color: #cc66cc;">20</span> <span style="color: #009900;">&#40;</span>RSA1<span style="color: #009900;">&#41;</span>
<span style="color: #339933;">|</span>  <span style="color: #cc66cc;">1024</span> 4a<span style="color: #339933;">:</span>6d<span style="color: #339933;">:</span>a3<span style="color: #339933;">:</span><span style="color: #cc66cc;">75</span><span style="color: #339933;">:</span>d9<span style="color: #339933;">:</span>8d<span style="color: #339933;">:</span>c8<span style="color: #339933;">:</span>dc<span style="color: #339933;">:</span><span style="color: #cc66cc;">32</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">82</span><span style="color: #339933;">:</span>6d<span style="color: #339933;">:</span><span style="color: #cc66cc;">81</span><span style="color: #339933;">:</span>d8<span style="color: #339933;">:</span><span style="color: #cc66cc;">39</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">81</span><span style="color: #339933;">:</span>d4 <span style="color: #009900;">&#40;</span>DSA<span style="color: #009900;">&#41;</span>
<span style="color: #339933;">|</span>_ <span style="color: #cc66cc;">2048</span> <span style="color: #cc66cc;">92</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">90</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">42</span><span style="color: #339933;">:</span>06<span style="color: #339933;">:</span><span style="color: #cc66cc;">61</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">70</span><span style="color: #339933;">:</span>f8<span style="color: #339933;">:</span>a0<span style="color: #339933;">:</span><span style="color: #cc66cc;">38</span><span style="color: #339933;">:</span>f6<span style="color: #339933;">:</span>2c<span style="color: #339933;">:</span><span style="color: #cc66cc;">54</span><span style="color: #339933;">:</span><span style="color: #cc66cc;">27</span><span style="color: #339933;">:</span>b2<span style="color: #339933;">:</span>2b<span style="color: #339933;">:</span>a8 <span style="color: #009900;">&#40;</span>RSA<span style="color: #009900;">&#41;</span>
<span style="color: #cc66cc;">25</span><span style="color: #339933;">/</span>tcp   <span style="color: #000066;">open</span>  smtp      Sendmail 8<span style="color: #339933;">.</span>14<span style="color: #339933;">.</span>1<span style="color: #339933;">/</span>8<span style="color: #339933;">.</span>14<span style="color: #339933;">.</span>1
<span style="color: #339933;">|</span>  smtp<span style="color: #339933;">-</span>commands<span style="color: #339933;">:</span> EHLO mail<span style="color: #339933;">.</span>example<span style="color: #339933;">.</span>com Hello <span style="color: #009900;">&#91;</span>1<span style="color: #339933;">.</span>1<span style="color: #339933;">.</span>1<span style="color: #339933;">.</span>1<span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> pleased to meet you<span style="color: #339933;">,</span> ENHANCEDSTATUSCODES<span style="color: #339933;">,</span> PIPELINING<span style="color: #339933;">,</span> 8BITMIME<span style="color: #339933;">,</span> SIZE<span style="color: #339933;">,</span> DSN<span style="color: #339933;">,</span> ETRN<span style="color: #339933;">,</span> AUTH DIGEST<span style="color: #339933;">-</span>MD5 CRAM<span style="color: #339933;">-</span>MD5<span style="color: #339933;">,</span> DELIVERBY<span style="color: #339933;">,</span> HELP
<span style="color: #339933;">|</span>_ HELP 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 This is sendmail version 8<span style="color: #339933;">.</span>14<span style="color: #339933;">.</span>1 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 Topics<span style="color: #339933;">:</span> 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 HELO EHLO MAIL RCPT DATA 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 RSET NOOP QUIT HELP VRFY 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 EXPN VERB ETRN DSN AUTH 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 STARTTLS 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 For more info <span style="color: #000000; font-weight: bold;">use</span> <span style="color: #ff0000;">&quot;HELP &quot;</span><span style="color: #339933;">.</span> 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 To report bugs in the implementation see 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 http<span style="color: #339933;">://</span>www<span style="color: #339933;">.</span>sendmail<span style="color: #339933;">.</span>org<span style="color: #339933;">/</span>email<span style="color: #339933;">-</span>addresses<span style="color: #339933;">.</span>html 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 For <span style="color: #000066;">local</span> information <span style="color: #000066;">send</span> email to Postmaster at your site<span style="color: #339933;">.</span> 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 End of HELP info
<span style="color: #cc66cc;">37</span><span style="color: #339933;">/</span>tcp   <span style="color: #000066;">open</span>  <span style="color: #000066;">time</span>      <span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">32</span> bits<span style="color: #009900;">&#41;</span>
<span style="color: #cc66cc;">80</span><span style="color: #339933;">/</span>tcp   <span style="color: #000066;">open</span>  http      Apache httpd 2<span style="color: #339933;">.</span>2<span style="color: #339933;">.</span>4 <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span>Unix<span style="color: #009900;">&#41;</span> DAV<span style="color: #339933;">/</span><span style="color: #cc66cc;">2</span> PHP<span style="color: #339933;">/</span>5<span style="color: #339933;">.</span>2<span style="color: #339933;">.</span>4<span style="color: #009900;">&#41;</span>
<span style="color: #339933;">|</span>  html<span style="color: #339933;">-</span>title<span style="color: #339933;">:</span> Online Global Resource
<span style="color: #339933;">|</span>_ Requested resource was http<span style="color: #339933;">://</span>example<span style="color: #339933;">.</span>com<span style="color: #339933;">/</span>src<span style="color: #339933;">/</span>login<span style="color: #339933;">.</span>php
<span style="color: #cc66cc;">110</span><span style="color: #339933;">/</span>tcp  <span style="color: #000066;">open</span>  pop3      Openwall popa3d
<span style="color: #339933;">|</span>_ pop3<span style="color: #339933;">-</span>capabilities<span style="color: #339933;">:</span> capa
<span style="color: #cc66cc;">111</span><span style="color: #339933;">/</span>tcp  <span style="color: #000066;">open</span>  rpcbind
<span style="color: #339933;">|</span>  rpcinfo<span style="color: #339933;">:</span>
<span style="color: #339933;">|</span>  <span style="color: #cc66cc;">100000</span>  <span style="color: #cc66cc;">2</span>        <span style="color: #cc66cc;">111</span><span style="color: #339933;">/</span>udp  rpcbind
<span style="color: #339933;">|</span>  <span style="color: #cc66cc;">100011</span>  <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">2</span>      <span style="color: #cc66cc;">929</span><span style="color: #339933;">/</span>udp  rquotad
<span style="color: #339933;">|</span>  <span style="color: #cc66cc;">100003</span>  <span style="color: #cc66cc;">2</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">3</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">4</span>   <span style="color: #cc66cc;">2049</span><span style="color: #339933;">/</span>udp  nfs
<span style="color: #339933;">|</span>  <span style="color: #cc66cc;">100024</span>  <span style="color: #cc66cc;">1</span>      <span style="color: #cc66cc;">55627</span><span style="color: #339933;">/</span>udp  status
<span style="color: #339933;">|</span>  <span style="color: #cc66cc;">100021</span>  <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">3</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">4</span>  <span style="color: #cc66cc;">55629</span><span style="color: #339933;">/</span>udp  nlockmgr
<span style="color: #339933;">|</span>  <span style="color: #cc66cc;">100005</span>  <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">2</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">3</span>  <span style="color: #cc66cc;">55630</span><span style="color: #339933;">/</span>udp  mountd
<span style="color: #339933;">|</span>  <span style="color: #cc66cc;">100000</span>  <span style="color: #cc66cc;">2</span>        <span style="color: #cc66cc;">111</span><span style="color: #339933;">/</span>tcp  rpcbind
<span style="color: #339933;">|</span>  <span style="color: #cc66cc;">100011</span>  <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">2</span>      <span style="color: #cc66cc;">932</span><span style="color: #339933;">/</span>tcp  rquotad
<span style="color: #339933;">|</span>  <span style="color: #cc66cc;">100003</span>  <span style="color: #cc66cc;">2</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">3</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">4</span>   <span style="color: #cc66cc;">2049</span><span style="color: #339933;">/</span>tcp  nfs
<span style="color: #339933;">|</span>  <span style="color: #cc66cc;">100024</span>  <span style="color: #cc66cc;">1</span>      <span style="color: #cc66cc;">50902</span><span style="color: #339933;">/</span>tcp  status
<span style="color: #339933;">|</span>  <span style="color: #cc66cc;">100021</span>  <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">3</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">4</span>  <span style="color: #cc66cc;">51522</span><span style="color: #339933;">/</span>tcp  nlockmgr
<span style="color: #339933;">|</span>_ <span style="color: #cc66cc;">100005</span>  <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">2</span><span style="color: #339933;">,</span><span style="color: #cc66cc;">3</span>  <span style="color: #cc66cc;">60993</span><span style="color: #339933;">/</span>tcp  mountd
<span style="color: #cc66cc;">143</span><span style="color: #339933;">/</span>tcp  <span style="color: #000066;">open</span>  imap      UW imapd <span style="color: #cc66cc;">2004.357</span>
<span style="color: #339933;">|</span>_ imap<span style="color: #339933;">-</span>capabilities<span style="color: #339933;">:</span> BINARY THREAD<span style="color: #339933;">=</span>ORDEREDSUBJECT IMAP4REV1 STARTTLS LOGIN<span style="color: #339933;">-</span>REFERRALS UNSELECT SCAN SASL<span style="color: #339933;">-</span>IR THREAD<span style="color: #339933;">=</span>REFERENCES MAILBOX<span style="color: #339933;">-</span>REFERRALS SORT AUTH<span style="color: #339933;">=</span>LOGIN LITERAL<span style="color: #339933;">+</span> IDLE NAMESPACE MULTIAPPEND
<span style="color: #cc66cc;">587</span><span style="color: #339933;">/</span>tcp  <span style="color: #000066;">open</span>  smtp      Sendmail 8<span style="color: #339933;">.</span>14<span style="color: #339933;">.</span>1<span style="color: #339933;">/</span>8<span style="color: #339933;">.</span>14<span style="color: #339933;">.</span>1
<span style="color: #339933;">|</span>  smtp<span style="color: #339933;">-</span>commands<span style="color: #339933;">:</span> EHLO mail<span style="color: #339933;">.</span>example<span style="color: #339933;">.</span>com Hello <span style="color: #009900;">&#91;</span>1<span style="color: #339933;">.</span>1<span style="color: #339933;">.</span>1<span style="color: #339933;">.</span>1<span style="color: #009900;">&#93;</span><span style="color: #339933;">,</span> pleased to meet you<span style="color: #339933;">,</span> ENHANCEDSTATUSCODES<span style="color: #339933;">,</span> PIPELINING<span style="color: #339933;">,</span> 8BITMIME<span style="color: #339933;">,</span> SIZE<span style="color: #339933;">,</span> DSN<span style="color: #339933;">,</span> AUTH DIGEST<span style="color: #339933;">-</span>MD5 CRAM<span style="color: #339933;">-</span>MD5<span style="color: #339933;">,</span> DELIVERBY<span style="color: #339933;">,</span> HELP
<span style="color: #339933;">|</span>_ HELP 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 This is sendmail version 8<span style="color: #339933;">.</span>14<span style="color: #339933;">.</span>1 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 Topics<span style="color: #339933;">:</span> 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 HELO EHLO MAIL RCPT DATA 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 RSET NOOP QUIT HELP VRFY 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 EXPN VERB ETRN DSN AUTH 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 STARTTLS 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 For more info <span style="color: #000000; font-weight: bold;">use</span> <span style="color: #ff0000;">&quot;HELP &quot;</span><span style="color: #339933;">.</span> 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 To report bugs in the implementation see 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 http<span style="color: #339933;">://</span>www<span style="color: #339933;">.</span>sendmail<span style="color: #339933;">.</span>org<span style="color: #339933;">/</span>email<span style="color: #339933;">-</span>addresses<span style="color: #339933;">.</span>html 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 For <span style="color: #000066;">local</span> information <span style="color: #000066;">send</span> email to Postmaster at your site<span style="color: #339933;">.</span> 2<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>0 End of HELP info
<span style="color: #cc66cc;">2000</span><span style="color: #339933;">/</span>tcp <span style="color: #000066;">open</span>  callbook<span style="color: #339933;">?</span>
<span style="color: #cc66cc;">2049</span><span style="color: #339933;">/</span>tcp <span style="color: #000066;">open</span>  rpcbind
<span style="color: #cc66cc;">3306</span><span style="color: #339933;">/</span>tcp <span style="color: #000066;">open</span>  mysql     MySQL 5<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>37
<span style="color: #339933;">|</span>  mysql<span style="color: #339933;">-</span>info<span style="color: #339933;">:</span> Protocol<span style="color: #339933;">:</span> <span style="color: #cc66cc;">10</span>
<span style="color: #339933;">|</span>  Version<span style="color: #339933;">:</span> 5<span style="color: #339933;">.</span>0<span style="color: #339933;">.</span>37
<span style="color: #339933;">|</span>  Thread ID<span style="color: #339933;">:</span> <span style="color: #cc66cc;">2757516</span>
<span style="color: #339933;">|</span>  Some Capabilities<span style="color: #339933;">:</span> Connect with DB<span style="color: #339933;">,</span> Compress<span style="color: #339933;">,</span> Transactions<span style="color: #339933;">,</span> Secure Connection
<span style="color: #339933;">|</span>  Status<span style="color: #339933;">:</span> Autocommit
<span style="color: #339933;">|</span>_ Salt<span style="color: #339933;">:</span> qD<span style="color: #0000ff;">@R</span><span style="color: #0000ff;">\V</span><span style="color: #009900;">&#123;</span><span style="color: #339933;">,</span>c2kG_<span style="color: #339933;">+</span>SA<span style="color: #339933;">/</span>b<span style="color: #666666; font-style: italic;">#%</span>
Service Info<span style="color: #339933;">:</span> Host<span style="color: #339933;">:</span> mail<span style="color: #339933;">.</span>example<span style="color: #339933;">.</span>com<span style="color: #339933;">;</span> OS<span style="color: #339933;">:</span> Unix
Service detection performed<span style="color: #339933;">.</span> Please report any incorrect results at http<span style="color: #339933;">://</span>nmap<span style="color: #339933;">.</span>org<span style="color: #339933;">/</span>submit<span style="color: #339933;">/</span> <span style="color: #339933;">.</span>
Nmap done<span style="color: #339933;">:</span> <span style="color: #cc66cc;">1</span> IP address <span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">1</span> host up<span style="color: #009900;">&#41;</span> scanned in <span style="color: #cc66cc;">31.31</span> seconds</pre></div></div>

<p>It was only able to detect Unix not Slackware Linux. Have fun and don&#8217;t do anything I wouldn&#8217;t do!</p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/slider/using-nmap-to-detect-server-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test Your Network With Ping</title>
		<link>http://tonyvirelli.com/slider/test-your-network-with-ping/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=test-your-network-with-ping</link>
		<comments>http://tonyvirelli.com/slider/test-your-network-with-ping/#comments</comments>
		<pubDate>Wed, 23 Dec 2009 14:30:05 +0000</pubDate>
		<dc:creator>John Hass</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=289</guid>
		<description><![CDATA[Ping is a great utility to use to test if a server is up or if a server is responding in the correct time, but what if you could use ping to actually test your network infrastructure. Lets call it a &#8220;poor mans test&#8221;. Linux ping allows you to specify the number of bytes that [...]]]></description>
			<content:encoded><![CDATA[<p>Ping is a great utility to use to test if a server is up or if a server is responding in the correct time, but what if you could use ping to actually test your network infrastructure.  Lets call it a <em>&#8220;poor mans test&#8221;</em>.</p>
<p>Linux ping allows you to specify the number of bytes that are sent to the server your pinging.<br />
<span id="more-289"></span></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ping</span> <span style="color: #660033;">-s</span>  127.0.0.1</pre></div></div>

<p>The maximum packet size it 65507, this is 63.9990234 kilobytes, not a very big packet at all, but what if you sent hundreds of them a second?</p>
<p>Enter ping flood.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ping</span> <span style="color: #660033;">-s</span> <span style="color: #000000;">65507</span> <span style="color: #660033;">-f</span> 127.0.0.1</pre></div></div>

<p>To quote the ping man page:</p>
<blockquote><p>Flood ping. For every ECHO_REQUEST sent a period &#8220;.&#8221; is printed, while for ever ECHO_REPLY received a backspace is printed.  This provides a rapid display of how  many  packets are being dropped.  If interval is not given, it sets interval to zero and outputs packets as fast as they come back or one hundred times per second, whichever is more.  Only the super-user may use this option with zero interval.</p></blockquote>
<p>Here is an example of the output</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ping</span> 192.168.10.27 <span style="color: #660033;">-s</span> <span style="color: #000000;">65507</span> <span style="color: #660033;">-f</span>
PING 192.168.10.27 <span style="color: #7a0874; font-weight: bold;">&#40;</span>192.168.10.27<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000;">65507</span><span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">65535</span><span style="color: #7a0874; font-weight: bold;">&#41;</span> bytes of data.
.
<span style="color: #660033;">---</span> 192.168.10.27 <span style="color: #c20cb9; font-weight: bold;">ping</span> statistics <span style="color: #660033;">---</span>
<span style="color: #000000;">267</span> packets transmitted, <span style="color: #000000;">266</span> received, <span style="color: #000000;">0</span><span style="color: #000000; font-weight: bold;">%</span> packet loss, <span style="color: #000000; font-weight: bold;">time</span> 4321ms
rtt min<span style="color: #000000; font-weight: bold;">/</span>avg<span style="color: #000000; font-weight: bold;">/</span>max<span style="color: #000000; font-weight: bold;">/</span>mdev = <span style="color: #000000;">11.476</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">14.489</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">30.344</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">5.301</span> ms, pipe <span style="color: #000000;">3</span>, ipg<span style="color: #000000; font-weight: bold;">/</span>ewma <span style="color: #000000;">16.245</span><span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">11.551</span> ms</pre></div></div>

<p>If I had lost a packet it should show a packet loss. As you can see, the server is sitting on the same switch as my desktop. It dropped 0 packets and had a rtt of 11.476 ms.</p>
<p><strong>Not bad!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/slider/test-your-network-with-ping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Key Sharing</title>
		<link>http://tonyvirelli.com/slider/ssh-key-sharing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ssh-key-sharing</link>
		<comments>http://tonyvirelli.com/slider/ssh-key-sharing/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 14:30:27 +0000</pubDate>
		<dc:creator>John Hass</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[sharing]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=286</guid>
		<description><![CDATA[SSH allows you to do key sharing which allows you to log into a machine without typing your password, or even for that matter, having a password at all. Best of all, it does the key sharing completely encrypted, so the chance of you losing your keys in the process is very unlikely. In my [...]]]></description>
			<content:encoded><![CDATA[<p>SSH allows you to do key sharing which allows you to log into a machine without typing your password, or even for that matter, having a password at all. Best of all, it does the key sharing completely encrypted, so the chance of you losing your keys in the process is very unlikely.</p>
<p>In my example I have 2 machines. A desktop and server.  I want to be able to connect to server without entering my password.<br />
<span id="more-286"></span><br />
On Desktop (there is no need to be root)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh-keygen</span> <span style="color: #660033;">-b</span> <span style="color: #000000;">2048</span> <span style="color: #660033;">-t</span> rsa</pre></div></div>

<p>A message will prompt you for the location: leave it the default.<br />
The next menu will ask you for a pass phrase: leave it blank.<br />
Leave the next pass phrase blank as well.</p>
<p>Your keys will now be generated in ~/.ssh<br />
you can &#8220;cd ~/.ssh&#8221;<br />
type &#8220;cat id_rsa.pub&#8221;<br />
You will now see your public key this is the key you share with everyone.  The other is your private you share this with no one.</p>
<p>The next step is to get your key over to server</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">scp</span> id_rsa.pub username<span style="color: #000000; font-weight: bold;">@</span>server:~<span style="color: #000000; font-weight: bold;">/</span>username_id_rsa.pub</pre></div></div>

<p>Then you must put the info in ~/.ssh/authorized_keys2</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> username<span style="color: #000000; font-weight: bold;">@</span>server <span style="color: #ff0000;">&quot;cat ~/username_id_rsa.pub &gt;&gt; ~/.ssh/authorized_keys2&quot;</span></pre></div></div>

<p>You will now be able to ssh to server without entering your password.</p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/slider/ssh-key-sharing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using SSH To Get Around Those Pesky Firewalls</title>
		<link>http://tonyvirelli.com/slider/using-ssh-to-get-around-those-pesky-firewalls/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-ssh-to-get-around-those-pesky-firewalls</link>
		<comments>http://tonyvirelli.com/slider/using-ssh-to-get-around-those-pesky-firewalls/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 14:30:34 +0000</pubDate>
		<dc:creator>John Hass</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[slider]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://tonyvirelli.com/?p=282</guid>
		<description><![CDATA[Firewalls are important for safety on the internet, but sometimes they just get in the way, so why not remedy that by using what you can to your advantage. At my home I am required to have an SSH connection back to the office. The office is able to connect to all of our remote [...]]]></description>
			<content:encoded><![CDATA[<p>Firewalls are important for safety on the internet, but sometimes they just get in the way, so why not remedy that by using what you can to your advantage. At my home I am required to have an SSH connection back to the office. The office is able to connect to all of our remote sites, but  I am not able to have VNC to my home, so I must tunnel VNC. In order to do that I do a SSH local port forward</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> john<span style="color: #000000; font-weight: bold;">@</span>example.com -L8080:127.0.0.1:<span style="color: #000000;">5590</span></pre></div></div>

<p><span id="more-282"></span><br />
This will connect to my desktop at work and create a tunnel. The tunnel is from the machine I am sshing from to my desktop at work on port 5590.  So to connect to VNC I just do:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">vncviewer 127.0.0.1:<span style="color: #000000;">8080</span></pre></div></div>

<p>Then I am connected via the ssh tunnel to work.</p>
<p>Now lets say you wanted to connect off site to somewhere else, but your always having to ssh to work then to the site so:</p>
<p>Laptop ====&gt; work (example.com)====&gt; site (site.com)</p>
<p>and you have to ssh in 3 times to run different processes or view logs. Why not create a tunnel to do all the work?</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;">ssh john<span style="color: #0000ff;">@example</span><span style="color: #339933;">.</span>com <span style="color: #339933;">-</span>L8080<span style="color: #339933;">:</span>site<span style="color: #339933;">.</span>com<span style="color: #339933;">:</span><span style="color: #cc66cc;">22</span></pre></div></div>

<p>You can then ssh right into site.com by typing</p>

<div class="wp_syntax"><div class="code"><pre class="perl" style="font-family:monospace;">ssh john<span style="color: #0000ff;">@localhost</span> <span style="color: #339933;">-</span>P <span style="color: #cc66cc;">8080</span></pre></div></div>

<p>this is because the connection is tunneled.</p>
<p>I will get into more ssh stuff as needed like remote port sharing and sharing keys, but the above example really does show the power of ssh.</p>
]]></content:encoded>
			<wfw:commentRss>http://tonyvirelli.com/slider/using-ssh-to-get-around-those-pesky-firewalls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

