<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>scottlinux.com</title>
	<atom:link href="http://scottlinux.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://scottlinux.com</link>
	<description>scottlinux.com - a place to geek out</description>
	<lastBuildDate>Fri, 17 Feb 2012 16:36:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
		<item>
		<title>How to Read a Packet Capture .cap File from Command Line</title>
		<link>http://scottlinux.com/2012/02/17/how-to-read-a-packet-capture-cap-file-from-command-line/</link>
		<comments>http://scottlinux.com/2012/02/17/how-to-read-a-packet-capture-cap-file-from-command-line/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 16:36:31 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[cap]]></category>
		<category><![CDATA[capture file]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[packet capture]]></category>
		<category><![CDATA[pcap]]></category>
		<category><![CDATA[tcpdump]]></category>
		<category><![CDATA[tshark]]></category>
		<category><![CDATA[wireshark]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2909</guid>
		<description><![CDATA[<p> <p></p> <p>There are a couple of ways to read a packet capture .cap file from the command line. I&#8217;ll show you how!</p> </p> <p>tcpdump</p> <p>The tack r filename option for tcpdump will display a capture file onto the <span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2012/02/17/how-to-read-a-packet-capture-cap-file-from-command-line/">How to Read a Packet Capture .cap File from Command Line</a></span>]]></description>
			<content:encoded><![CDATA[<p><br/>
<div align="center">
<img src="http://scottlinux.com/wp-content/uploads/2010/06/terminal.png"></div>
<p><br/></p>
<p><b>There are a couple of ways to read a packet capture .cap file from the command line. I&#8217;ll show you how!</b></p>
<hr/>
<br/></p>
<p><b><a href="http://www.tcpdump.org/">tcpdump</a></b><br/><br/></p>
<p>The tack r <i>filename</i> option for tcpdump will display a capture file onto the screen. Pipe it to less to get something to scroll.<br/><br/></p>
<pre>
$ tcpdump -r mycapturefile.cap | less
</pre>
<p><br/></p>
<pre>
$ tcpdump -r mycapturefile.cap | less
10:24:23.046221 IP 172.16.1.39.15256 > 172.16.1.41.http: Flags [S], seq 1183851371, win 8192, options [mss 1460], length 0
10:24:23.046720 IP 172.16.1.41.http > 172.16.1.39.15256: Flags [S.], seq 3014147598, ack 1183851372, win 5840, options [mss 1460], length 0
10:24:23.046758 IP 172.16.1.39.15256 > 172.16.1.41.http: Flags [R], seq 1183851372, win 0, length 0
10:24:23.062584 IP 172.16.1.39 > 172.16.1.41: ICMP echo request, id 45243, seq 45243, length 16
10:24:23.063028 IP 172.16.1.41 > 172.16.1.39: ICMP echo reply, id 45243, seq 45243, length 16
10:24:23.077375 IP 10.9.122.232.43482 > 192.168.1.16.domain: 58196+ PTR? 41.111.10.10.in-addr.arpa. (43)
10:24:23.078203 IP 192.168.1.16.domain > 10.9.122.232.43482: 58196* 1/9/9 PTR example.com. (491)
10:24:23.341400 IP 172.16.1.39.43482 > 172.16.1.41.solid-mux: UDP, length 1
10:24:23.341977 IP 172.16.1.41 > 172.16.1.39: ICMP 172.16.1.41 udp port solid-mux unreachable, length 37
10:24:23.363537 IP 172.16.1.39.43482 > 172.16.1.41.1024: UDP, length 1
10:24:23.533573 IP 172.16.1.41 > 172.16.1.39: ICMP 172.16.1.41 udp port 1024 unreachable, length 37
10:24:23.533591 IP 172.16.1.39.43482 > 172.16.1.41.12346: UDP, length 1
10:24:23.533600 IP 172.16.1.41 > 172.16.1.39: ICMP 172.16.1.41 udp port 12346 unreachable, length 37
10:24:23.533610 IP 172.16.1.39.43482 > 172.16.1.41.sapv1: UDP, length 1
10:24:23.533619 IP 172.16.1.41 > 172.16.1.39: ICMP 172.16.1.41 udp port sapv1 unreachable, length 37
10:24:23.533628 IP 172.16.1.39.43482 > 172.16.1.41.sitaradir: UDP, length 1
10:24:23.533637 IP 172.16.1.41 > 172.16.1.39: ICMP 172.16.1.41 udp port sitaradir unreachable, length 37
10:24:23.534566 IP 172.16.1.39.43482 > 172.16.1.41.tcp-id-port: UDP, length 1
10:24:23.535087 IP 172.16.1.41 > 172.16.1.39: ICMP 172.16.1.41 udp port tcp-id-port unreachable, length 37
10:24:23.560403 IP 172.16.1.39.43482 > 172.16.1.41.net-assistant: UDP, length 2
10:24:23.689303 IP 172.16.1.39.35243 > 172.16.1.41.https: Flags [.], ack 469674834, win 4096, length 0
10:24:23.689940 IP 172.16.1.41.https > 172.16.1.39.35243: Flags [R], seq 469674834, win 0, length 0
10:24:23.698834 IP 172.16.1.39.7710 > 172.16.1.41.tcpmux: UDP, length 0
10:24:23.698911 IP 172.16.1.39.7710 > 172.16.1.41.20096: UDP, length 0
10:24:23.698958 IP 172.16.1.39.7710 > 172.16.1.41.http: Flags [S], seq 505290270, win 1400, length 0
10:24:23.699016 IP 172.16.1.39 > 172.16.1.41: ICMP echo request, id 7710, seq 7710, length 20
10:24:23.699451 IP 172.16.1.41.http > 172.16.1.39.7710: Flags [S.], seq 3029656434, ack 505290271, win 5840, options [mss 1460], length 0
10:24:23.699484 IP 172.16.1.39.7710 > 172.16.1.41.http: Flags [R], seq 505290271, win 0, length 0
:
</pre>
<p><br/></p>
<hr/><br/><br />
<b><a href="http://www.wireshark.org/">TShark</a></b><br/></p>
<p>tshark, the command line utility that comes with Wireshark also uses tack r <i>filename</i> to open a .cap file.<br />
<br/></p>
<pre>
$ tshark -r mycapturefile.cap | less
</pre>
<p><br/></p>
<pre>
$ tshark -r mycapturefile.cap | less
  1   0.000000 172.16.1.39 -> 172.16.1.41 TCP 58 15256 > http [SYN] Seq=0 Win=8192 Len=0 MSS=1460
  2   0.000499 172.16.1.41 -> 172.16.1.39 TCP 60 http > 15256 [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0 MSS=1460
  3   0.000537 172.16.1.39 -> 172.16.1.41 TCP 54 15256 > http [RST] Seq=1 Win=0 Len=0
  4   0.016363 172.16.1.39 -> 172.16.1.41 ICMP 50 Echo (ping) request  id=0xb0bb, seq=45243/48048, ttl=64
  5   0.016807 172.16.1.41 -> 172.16.1.39 ICMP 60 Echo (ping) reply    id=0xb0bb, seq=45243/48048, ttl=61
  6   0.031154 10.9.122.232 -> 192.168.1.16 DNS 85 Standard query PTR 41.111.10.10.in-addr.arpa
  7   0.031982 192.168.1.16 -> 10.9.122.232 DNS 533 Standard query response PTR example.com
  8   0.295179 172.16.1.39 -> 172.16.1.41 UDP 43 Source port: 43482  Destination port: solid-mux
  9   0.295756 172.16.1.41 -> 172.16.1.39 ICMP 71 Destination unreachable (Port unreachable)
 10   0.317316 172.16.1.39 -> 172.16.1.41 UDP 43 Source port: 43482  Destination port: 1024
 11   0.487352 172.16.1.41 -> 172.16.1.39 ICMP 71 Destination unreachable (Port unreachable)
 12   0.487370 172.16.1.39 -> 172.16.1.41 UDP 43 Source port: 43482  Destination port: 12346
 13   0.487379 172.16.1.41 -> 172.16.1.39 ICMP 71 Destination unreachable (Port unreachable)
 14   0.487389 172.16.1.39 -> 172.16.1.41 SAP/SDP 43 Announcement (v0), with session description
 15   0.487398 172.16.1.41 -> 172.16.1.39 ICMP 71 Destination unreachable (Port unreachable)
 16   0.487407 172.16.1.39 -> 172.16.1.41 UDP 43 Source port: 43482  Destination port: sitaradir
 17   0.487416 172.16.1.41 -> 172.16.1.39 ICMP 71 Destination unreachable (Port unreachable)
 18   0.488345 172.16.1.39 -> 172.16.1.41 UDP 43 Source port: 43482  Destination port: tcp-id-port
 19   0.488866 172.16.1.41 -> 172.16.1.39 ICMP 71 Destination unreachable (Port unreachable)
 20   0.514182 172.16.1.39 -> 172.16.1.41 UDP 44 Source port: 43482  Destination port: net-assistant
 21   0.643082 172.16.1.39 -> 172.16.1.41 TCP 54 35243 > https [ACK] Seq=1 Ack=1 Win=4096 Len=0
 22   0.643719 172.16.1.41 -> 172.16.1.39 TCP 60 https > 35243 [RST] Seq=1 Win=0 Len=0
 23   0.652613 172.16.1.39 -> 172.16.1.41 UDP 42 Source port: 7710  Destination port: tcpmux
 24   0.652690 172.16.1.39 -> 172.16.1.41 UDP 42 Source port: 7710  Destination port: 20096
 25   0.652737 172.16.1.39 -> 172.16.1.41 TCP 54 7710 > http [SYN] Seq=0 Win=1400 Len=0
 26   0.652795 172.16.1.39 -> 172.16.1.41 ICMP 54 Echo (ping) request  id=0x1e1e, seq=7710/7710, ttl=30
 27   0.653230 172.16.1.41 -> 172.16.1.39 TCP 60 http > 7710 [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0 MSS=1460
 28   0.653263 172.16.1.39 -> 172.16.1.41 TCP 54 7710 > http [RST] Seq=1 Win=0 Len=0
 29   0.653272 172.16.1.41 -> 172.16.1.39 ICMP 60 Echo (ping) reply    id=0x1e1e, seq=7710/7710, ttl=61
 30   0.654492 172.16.1.39 -> 172.16.1.41 TCP 58 4564 > ftp-data [SYN] Seq=0 Win=4096 Len=0 MSS=1460
:
</pre>
<p><br/></p>
<p><b>Cool!</b><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2012/02/17/how-to-read-a-packet-capture-cap-file-from-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>cURL Ignore SSL Certificate Warnings</title>
		<link>http://scottlinux.com/2012/02/14/curl-ignore-ssl-certificate-warnings/</link>
		<comments>http://scottlinux.com/2012/02/14/curl-ignore-ssl-certificate-warnings/#comments</comments>
		<pubDate>Tue, 14 Feb 2012 20:13:55 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[ignore certificate warnings]]></category>
		<category><![CDATA[self signed]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[ssl certificate warnings]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2906</guid>
		<description><![CDATA[<p></p> <p>To ignore any ssl certificate warnings with curl, use the tack k option.</p> Here is an example:</p> $ curl -I -k https://scottlinux.com <p></p> $ curl -I -k https://scottlinux.com HTTP/1.1 200 OK Date: Tue, 14 Feb 2012 20:00:03 GMT <span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2012/02/14/curl-ignore-ssl-certificate-warnings/">cURL Ignore SSL Certificate Warnings</a></span>]]></description>
			<content:encoded><![CDATA[<p><br/></p>
<div align="center">
<img src="http://scottlinux.com/wp-content/uploads/2010/06/terminal.png">
</div>
<p><b>To ignore any ssl certificate warnings with curl, use the tack k option.</b><br/></p>
<hr/><br/><br />
Here is an example:</p>
<pre>
$ curl -I -k https://scottlinux.com
</pre>
<p><br/></p>
<pre>
$ curl -I -k https://scottlinux.com
HTTP/1.1 200 OK
Date: Tue, 14 Feb 2012 20:00:03 GMT
Server: Apache
Strict-Transport-Security: max-age=43200; includeSubDomains
X-Frame-Options: SAMEORIGIN
Set-Cookie: bb2_screener_=1329249603+66.202.152.198; path=/
X-Pingback: http://scottlinux.com/xmlrpc.php
Set-Cookie: PHPSESSID=lq5dpvfagbdstib7nlg2b8a0m7; path=/
X-Hello: Hello There
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
</pre>
<p><br/></p>
<hr/>
<b>Without tack k, you&#8217;ll get various SSL certificate problem errors such as:</b><br />
<br/></p>
<pre>
$ curl -I https://scottlinux.com
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
</pre>
<p><br/><br />
<b>Cool!</b><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2012/02/14/curl-ignore-ssl-certificate-warnings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>This account is currently not available</title>
		<link>http://scottlinux.com/2012/02/07/this-account-is-currently-not-available/</link>
		<comments>http://scottlinux.com/2012/02/07/this-account-is-currently-not-available/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 21:41:56 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[account]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[chsh]]></category>
		<category><![CDATA[false]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[nologin]]></category>
		<category><![CDATA[passwd]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[shells]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[valid shell]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2900</guid>
		<description><![CDATA[<p> <p></p> This account is currently not available <p>If you get this message attempting to ssh in or su&#8217;ing as another user, there is no valid shell set for this user.</p> <p>You can quickly inspect this by looking at <span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2012/02/07/this-account-is-currently-not-available/">This account is currently not available</a></span>]]></description>
			<content:encoded><![CDATA[<p><br/>
<div align="center">
<img src="http://scottlinux.com/wp-content/uploads/2010/06/terminal.png">
</div>
<p><br/></p>
<h1>This account is currently not available</h1>
<p>If you get this message attempting to ssh in or su&#8217;ing as another user, there is no valid shell set for this user.<br/><br/></p>
<p>You can quickly inspect this by looking at the /etc/passwd file.<br/><br/></p>
<p>Check for an entry that has something like &#8216;/bin/false&#8217; or &#8216;/bin/nologin&#8217; for the shell:<br/><br/></p>
<pre>
userdude:x:111:113::/home/userdude:/bin/false
</pre>
<p>or<br/></p>
<pre>
userdude:x:111:113::/home/userdude:/bin/nologin
</pre>
<p>or<br/></p>
<pre>
userdude:x:111:113::/home/userdude:/usr/sbin/nologin
</pre>
<p><br/></p>
<hr/>
<h1>How to fix</h1>
<p>To fix this, give the user a valid shell like bash (/bin/bash)<br/><br/></p>
<p>The command <b>chsh</b> can be used to change a shell for a user. This changes the shell to bash:<br/><br/></p>
<pre>
$ sudo chsh -s /bin/bash username
</pre>
<p><br/></p>
<hr /><br/></p>
<p>To see a list of available shells on your machine, check out the file /etc/shells:</p>
<pre>
$ cat /etc/shells
# /etc/shells: valid login shells
/bin/csh
/bin/sh
/usr/bin/es
/usr/bin/ksh
/bin/ksh
/usr/bin/rc
/usr/bin/tcsh
/bin/tcsh
/usr/bin/esh
/bin/dash
/bin/bash
/bin/rbash
/usr/bin/screen
/bin/zsh
/usr/bin/zsh
</pre>
<p><br/><br />
<b>Cool!</b></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2012/02/07/this-account-is-currently-not-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Remote Access Without Opening Ports</title>
		<link>http://scottlinux.com/2012/02/03/remote-access-without-opening-ports/</link>
		<comments>http://scottlinux.com/2012/02/03/remote-access-without-opening-ports/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 14:19:01 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[corporate firewall]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[home router]]></category>
		<category><![CDATA[NAT]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[port forwarding]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[remote access]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[vnc]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2891</guid>
		<description><![CDATA[<p> <p></p> <p>Q. How can I access my computer or family&#8217;s computer remotely without having to open up ports in the firewall? A. Using a [free] third party app is the solution</p> <p>Here are a few free* solutions to <span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2012/02/03/remote-access-without-opening-ports/">Remote Access Without Opening Ports</a></span>]]></description>
			<content:encoded><![CDATA[<p><br/>
<div align="center">
<img src="http://scottlinux.com/wp-content/uploads/2011/04/scottlinux_xsml.png"></div>
<p><br/></p>
<p>Q. <i>How can I access my computer or family&#8217;s computer remotely without having to open up ports in the firewall?</i><br />
<br/><br />
<b>A. Using a [free] third party app is the solution</b><br/><br/></p>
<p>Here are a few free* solutions to connect remotely and keep your home ip &#8216;stealth&#8217;. (*Free for non-commercial use.)<br/><br/></p>
<p>These work with Mac OS X, Windows, or Linux and likewise can remotely access any of those platforms. These work by having a &#8216;middle man&#8217; central third-party server that the two clients talk to as an intermediary. No port forwarding is required from either connecting party.<br/></p>
<hr/><br/></p>
<h1>TeamViewer</h1>
<p><a href="http://www.teamviewer.com">TeamViewer</a> is more widely known as a technical support remote access app, though it can be used to access your own home or family&#8217;s PC as well. TeamViewer has great iOS and Android versions as well. I recommend TeamViewer for something easy to just install, run, and connect. You can create an account to easily manage multiple remote computers as well.</p>
<p><a href="http://www.teamviewer.com/en/download/index.aspx">http://www.teamviewer.com/en/download/index.aspx</a></p>

<a href="http://scottlinux.com/wp-content/gallery/remote_access/teamviewer7_mac.png" title="" class="thickbox" rel="singlepic764" >
	<img class="ngg-singlepic ngg-center" src="http://scottlinux.com/wp-content/gallery/cache/764__320x240_teamviewer7_mac.png" alt="teamviewer7_mac" title="teamviewer7_mac" />
</a>

<hr/>
<h1>Hamachi</h1>
<p><a href="https://secure.logmein.com/products/hamachi/">Hamachi</a> is a long time favorite in the Linux world, and in fact <a href="http://code.google.com/p/quamachi/">many</a> <a href="http://www.haguichi.net/">interfaces</a> have been written to take further advantage of Hamachi in Linux. Hamachi has an arm Linux version as well. If you are primarily a Linux user, or want something like ssh through a VPN, you should use Hamachi.</p>
<p><a href="https://secure.logmein.com/products/hamachi/download.aspx">https://secure.logmein.com/products/hamachi/download.aspx</a></p>
<p><a href="https://secure.logmein.com/labs/">https://secure.logmein.com/labs/</a></p>
<p>
<a href="http://scottlinux.com/wp-content/gallery/remote_access/hamachi_osx.png" title="" class="thickbox" rel="singlepic765" >
	<img class="ngg-singlepic ngg-center" src="http://scottlinux.com/wp-content/gallery/cache/765__320x240_hamachi_osx.png" alt="hamachi_osx" title="hamachi_osx" />
</a>
<br />
<i>Here is Hamachi after a default install. You must first create your own mini-&#8217;network&#8217;.</i></p>
<hr/>
<h1>Remobo</h1>
<p><a href="http://www.remobo.com/">Remobo</a> is another easy to use remote access app, though the free version is more limited that other above choices. Remobo offers a &#8216;pro&#8217; version with more features that a geek may need.</p>
<p><a href="http://www.remobo.com/download">http://www.remobo.com/download</a></p>

<a href="http://scottlinux.com/wp-content/gallery/remote_access/remobo.jpg" title="" class="thickbox" rel="singlepic766" >
	<img class="ngg-singlepic ngg-center" src="http://scottlinux.com/wp-content/gallery/cache/766__320x240_remobo.jpg" alt="remobo" title="remobo" />
</a>

<p><b>Sweet!</b><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2012/02/03/remote-access-without-opening-ports/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Which Linux to Use</title>
		<link>http://scottlinux.com/2012/01/17/which-linux-to-use/</link>
		<comments>http://scottlinux.com/2012/01/17/which-linux-to-use/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 03:15:14 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[desktop linux]]></category>
		<category><![CDATA[distros]]></category>
		<category><![CDATA[enterprise linux]]></category>
		<category><![CDATA[linux releases]]></category>
		<category><![CDATA[linux versions]]></category>
		<category><![CDATA[picking linux version]]></category>
		<category><![CDATA[which linux]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2879</guid>
		<description><![CDATA[<p></p> <p>&#160;</p> <p>A common question I hear is &#8216;Why are there so many different versions of Linux?&#8216; Especially when there is simply &#8216;Windows&#8217;, or &#8216;OS X&#8217;, it seems logical that there could be a single &#8216;Linux&#8217;, but for various <span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2012/01/17/which-linux-to-use/">Which Linux to Use</a></span>]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-2881" title="distros" src="http://scottlinux.com/wp-content/uploads/2012/01/distros.jpg" alt="" width="512" height="378" /></p>
<p>&nbsp;</p>
<p><strong>A common question I hear is</strong> &#8216;<em>Why are there so many different versions of Linux?</em>&#8216; Especially when there is simply &#8216;Windows&#8217;, or &#8216;OS X&#8217;, it seems logical that there could be a single &#8216;Linux&#8217;, but for various reasons that is not the case.</p>
<p>Linux is a multi-purpose operating system used for everything from powering Android phones, Linksys routers, Amazon Kindles, to running large corporation server infrastructures, to simply a nice desktop operating system.</p>
<p>Because of these varied purposes, there are many, many different versions of Linux. There are also many different versions because Linux is free to use and modify by anyone. Different versions of Linux packaged together for use are called distributions, or distros for short.</p>
<p>&nbsp;</p>
<hr />
<p><strong>Major differences in Linux distributions to note are:</strong></p>
<p>- <strong>Release cycle</strong> / <strong>Support cycle</strong> (When are new versions released? How long is a release supported with security updates?)</p>
<p>- <strong>Packages available</strong> (How many software choices and also what kinds of software is available?)</p>
<p>- <strong>Corporate Support</strong> ($$$) or <strong>Community Support</strong> (aka on-your-own) models (Linux is free, but companies offer paid support if needed.)</p>
<p>&nbsp;</p>
<hr />
<h2>Corporations / Academic / Research / Mission Critical</h2>
<p><strong>If you are looking for Linux to run for your company&#8217;s mission critical servers, these are versions you should consider.</strong></p>
<p>The following versions have tested, stable versions of software which is typically behind the bleeding edge so to be more stable and reliable. These versions of Linux are generally tested and developed for two years or more before being released. Linux server versions are generally run &#8216;headless&#8217; with no graphical interface, though it is possible to install and use a graphical environment with these versions as well. Support cycles are often 5-10 years. <em>Note that &#8216;enterprise&#8217; is only a buzz word and does not have any official meaning in the Linux world other than a marketing term.</em></p>
<p>If your boss or C-level exec asked for recommendations on &#8216;Linux&#8217; for your company servers, these are versions you should consider. Or if you are looking to deploy Linux desktops for a company, these versions are a good choice due to the long support cycle and stability of software.</p>
<p>If you &#8220;need&#8221; Red Hat, your company must use Red Hat. If you want Red Hat without the subscription or support, use <strong>CentOS</strong> which is Red Hat without the subscription or logos (free).</p>
<p><strong>I recommend <a href="http://www.ubuntu.com/business/server/overview">Ubuntu Server LTS</a> because of the ease of administration, large number of packages, and long support cycle. Ubuntu offers paid support if that makes the boss or decision makers happy as well.</strong></p>
<p>&nbsp;</p>
<table width="100%" cellspacing="0" cellpadding="4">
<colgroup>
<col width="43*" />
<col width="43*" />
<col width="43*" />
<col width="43*" />
<col width="43*" />
<col width="43*" /> </colgroup>
<tbody>
<tr valign="TOP">
<td width="17%"></td>
<td width="17%">Paid / Community Support</td>
<td width="17%">Support Cycle</td>
<td width="17%">Release Cycle</td>
<td width="17%">Number of packages included</td>
<td width="17%">Upgrade in place</td>
</tr>
<tr valign="TOP">
<td width="17%"><a href="http://www.redhat.com/"><span style="font-family: Arial,sans-serif;"><span style="font-size: x-small;">Red Hat Enterprise Linux</span></span></a></td>
<td width="17%">Paid Subscription</td>
<td width="17%"><a href="https://access.redhat.com/support/policy/updates/errata/">10 years</a></td>
<td width="17%">2-3 years</td>
<td width="17%">7,000</td>
<td width="17%">No</td>
</tr>
<tr valign="TOP">
<td width="17%"><a href="http://centos.org/"><span style="font-family: Arial,sans-serif;"><span style="font-size: x-small;">CentOS</span></span></a></td>
<td width="17%">Community</td>
<td width="17%">10 years</td>
<td width="17%">2-3 years</td>
<td width="17%">7,000</td>
<td width="17%">No</td>
</tr>
<tr valign="TOP">
<td width="17%"><span style="font-family: Arial,sans-serif;"><span style="font-size: x-small;"><a href="http://www.debian.org/">Debian</a> stable</span></span></td>
<td width="17%">Community</td>
<td width="17%">3 years</td>
<td width="17%">2 years</td>
<td width="17%">30,000</td>
<td width="17%">Yes</td>
</tr>
<tr valign="TOP">
<td width="17%"><a href="http://www.suse.com/"><span style="font-family: Arial,sans-serif;"><span style="font-size: x-small;">SUSE Linux Enterprise</span></span></a></td>
<td width="17%">Paid Subscription</td>
<td width="17%">2 years</td>
<td width="17%">2 years</td>
<td width="17%">7,000</td>
<td width="17%">Yes</td>
</tr>
<tr valign="TOP">
<td width="17%"><a href="http://www.ubuntu.com/business/server/overview"><span style="font-family: Arial,sans-serif;"><span style="font-size: x-small;">Ubuntu Server LTS</span></span></a></td>
<td width="17%">Paid or Community</td>
<td width="17%">5 years</td>
<td width="17%">2 years</td>
<td width="17%">30,000</td>
<td width="17%">Yes</td>
</tr>
</tbody>
</table>
<hr />
<h2>Desktop Linux / Non-Mission Critical / General Use</h2>
<p>There are a ton of varied Linux distributions for desktop use. These versions generally have more bleeding edge and current software but also a shorter support cycles of security updates. It is common to have a ~6 month release cycle for desktop releases. If you want to try out Linux on your desktop, use one of these versions though keep in mind you will be frequently updating to the newer release.</p>
<p><strong>Below are the more common distros for desktop use:</strong></p>
<table width="100%" cellspacing="0" cellpadding="4">
<colgroup>
<col width="43*" />
<col width="43*" />
<col width="43*" />
<col width="43*" />
<col width="43*" />
<col width="43*" /> </colgroup>
<tbody>
<tr valign="TOP">
<td width="17%"></td>
<td width="17%">Notes</td>
<td width="17%">Support Cycle</td>
<td width="17%">Release Cycle</td>
<td width="17%">Number of packages included</td>
<td width="17%">Upgrade in place</td>
</tr>
<tr valign="TOP">
<td width="17%"><a href="http://www.ubuntu.com/business/desktop/overview"><span style="font-family: Arial,sans-serif;"><span style="font-size: x-small;">Ubuntu</span></span></a></td>
<td width="17%">Odd default desktop &#8216;Unity&#8217;</td>
<td width="17%">18 months</td>
<td width="17%">6 months</td>
<td width="17%">30,000</td>
<td width="17%">Yes</td>
</tr>
<tr valign="TOP">
<td width="17%"><a href="http://fedoraproject.org/"><span style="font-family: Arial,sans-serif;"><span style="font-size: x-small;">Fedora</span></span></a></td>
<td width="17%">No mp3 or flash video by default</td>
<td width="17%">1 year</td>
<td width="17%">6 months</td>
<td width="17%">7,000</td>
<td width="17%">No</td>
</tr>
<tr valign="TOP">
<td width="17%"><span style="font-family: Arial,sans-serif;"><span style="font-size: x-small;"><a href="http://www.debian.org/">Debian</a> testing</span></span></td>
<td width="17%">Testing or Stable ok for desktop</td>
<td width="17%">3 years</td>
<td width="17%">2 years</td>
<td width="17%">30,000</td>
<td width="17%">Yes</td>
</tr>
<tr valign="TOP">
<td width="17%"><a href="http://linuxmint.com/"><span style="font-family: Arial,sans-serif;"><span style="font-size: x-small;">Linux Mint</span></span></a></td>
<td width="17%">Best desktop Linux distro</td>
<td width="17%">18 months</td>
<td width="17%">1 year</td>
<td width="17%">30,000</td>
<td width="17%">Yes</td>
</tr>
<tr valign="TOP">
<td width="17%"><a href="http://www.opensuse.org"><span style="font-family: Arial,sans-serif;"><span style="font-size: x-small;">OpenSUSE</span></span></a></td>
<td width="17%">Good KDE</td>
<td width="17%">18 months</td>
<td width="17%">8 months</td>
<td width="17%">7,000</td>
<td width="17%">Yes</td>
</tr>
</tbody>
</table>
<p><strong>If you are new to Linux and want to try Linux on your desktop for the first time, use <a href="http://linuxmint.com/">Linux Mint</a>. If you are old to Linux, I also suggest <a href="http://linuxmint.com/">Linux Mint</a>!</strong></p>
<p>&nbsp;</p>
<hr />
<p><strong>More advanced versions which are popular:</strong></p>
<p><a href="http://www.gentoo.org/">Gentoo</a></p>
<p><a href="http://www.archlinux.org/">Arch Linux</a></p>
<p><a href="http://slackware.com/">Slackware</a></p>
<p><a href="http://www.linuxmint.com/download_lmde.php">Linux Mint Debian Edition</a></p>
<p><strong>Cool!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2012/01/17/which-linux-to-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Install aircrack-ng on Debian Linux</title>
		<link>http://scottlinux.com/2012/01/13/install-aircrack-ng-on-debian-linux/</link>
		<comments>http://scottlinux.com/2012/01/13/install-aircrack-ng-on-debian-linux/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 01:28:55 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[aircrack]]></category>
		<category><![CDATA[aircrack-ng]]></category>
		<category><![CDATA[checkout]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[cracking]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[lmde]]></category>
		<category><![CDATA[source]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[wifi]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2858</guid>
		<description><![CDATA[<span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2012/01/13/install-aircrack-ng-on-debian-linux/">Install aircrack-ng on Debian Linux</a></span>]]></description>
			<content:encoded><![CDATA[<p><br/>
<div align="center">
<img src="http://scottlinux.com/wp-content/uploads/2012/01/aircrack.jpg"<br/></p>
<p><img src="http://scottlinux.com/wp-content/uploads/2011/05/debian.png"></div>
<p><br/><br/></p>
<p><i>Q: How do I install aircrack-ng on Debian?</i><br/><br/></p>
<p><a href="http://www.debian.org">Debian</a> does not include <a href="http://www.aircrack-ng.org/">aircrack-ng</a> in its repositories. Compiling aircrack on Debian is not as bad as it sounds. I&#8217;ll show you how!<br/><br/></p>
<hr/>
<p><b>First install these needed packages:</b><br/></p>
<pre>
$ sudo apt-get install build-essential libssl-dev subversion checkinstall
</pre>
<p><br/></p>
<hr/><br/><br />
<b>Next, run the following commands.</b> <br/></p>
<pre>
$ svn co http://trac.aircrack-ng.org/svn/trunk aircrack-ng
$ cd aircrack-ng
</pre>
<p><br/></p>
<pre>
$ make

$ sudo checkinstall
</pre>
<p><br/></p>
<p>Here are example values I used, if you are asked during the checkinstall. These values are not critical if this package is only for you.<br/><br/></p>
<pre>
...snip...
This package will be built according to these values: 

0 -  Maintainer: [ root@brahms ]
1 -  Summary: [ aircrack-ng ]
2 -  Name:    [ aircrack ]
3 -  Version: [ 20120113 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ checkinstall ]
7 -  Architecture: [ amd64 ]
8 -  Source location: [ aircrack-ng ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ aircrack ]
12 - Conflicts: [  ]
13 - Replaces: [  ]

Enter a number to change any of them or press ENTER to continue:
...snip...
</pre>
<hr/><br/><br />
<b>And then we are done! Checkinstall automatically installs the deb which you can cleanly remove at any time.</b><br/></p>
<pre>
**********************************************************************

 Done. The new package has been installed and saved to

 /home/stmiller/Downloads/tmp/aircrack-ng/aircrack_20120113-1_amd64.deb

 You can remove it from your system anytime using: 

      dpkg -r aircrack

**********************************************************************
</pre>
<p><br/><br />
<hr/><br/><br />
<b>One last command to update airodump-ng&#8217;s OUI file:</b><br/></p>
<pre>
$ sudo airodump-ng-oui-update
</pre>
<p><br/></p>
<pre>
$ sudo airodump-ng-oui-update
[*] Downloading IEEE OUI file...
[*] Parsing OUI file...
[*] Airodump-ng OUI file successfully updated
</pre>
<p><br/></p>
<p><b>Sweet!</b><br/></p>
<pre>
$ aircrack-ng --help

  Aircrack-ng 1.1 r2028 - (C) 2006-2010 Thomas d'Otreppe
  Original work: Christophe Devine

http://www.aircrack-ng.org

  usage: aircrack-ng [options] <.cap / .ivs file(s)>

  Common options:

      -a <amode> : force attack mode (1/WEP, 2/WPA-PSK)
      -e <essid> : target selection: network identifier
      -b <bssid> : target selection: access point's MAC
      -p <nbcpu> : # of CPU to use  (default: all CPUs)
      -q         : enable quiet mode (no status output)
      -C <macs>  : merge the given APs to a virtual one
      -l <file>  : write key to file

  Static WEP cracking options:

      -c         : search alpha-numeric characters only
      -t         : search binary coded decimal chr only
      -h         : search the numeric key for Fritz!BOX
      -d <mask>  : use masking of the key (A1:XX:CF:YY)
      -m <maddr> : MAC address to filter usable packets
      -n <nbits> : WEP key length :  64/128/152/256/512
      -i <index> : WEP key index (1 to 4), default: any
      -f <fudge> : bruteforce fudge factor,  default: 2
      -k <korek> : disable one attack method  (1 to 17)
      -x or -x0  : disable bruteforce for last keybytes
      -x1        : last keybyte bruteforcing  (default)
      -x2        : enable last  2 keybytes bruteforcing
      -X         : disable  bruteforce   multithreading
      -y         : experimental  single bruteforce mode
      -K         : use only old KoreK attacks (pre-PTW)
      -s         : show the key in ASCII while cracking
      -M <num>   : specify maximum number of IVs to use
      -D         : WEP decloak, skips broken keystreams
      -P <num>   : PTW debug:  1: disable Klein, 2: PTW
      -1         : run only 1 try to crack key with PTW

  WEP and WPA-PSK cracking options:

      -w <words> : path to wordlist(s) filename(s)

  WPA-PSK options:

      -E <file>  : create EWSA Project file v3
      -J <file>  : create Hashcat Capture file
      -S         : WPA cracking speed test

  Other options:

      -u         : Displays # of CPUs &#038; MMX/SSE support
      --help     : Displays this usage screen
</pre>
<p><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2012/01/13/install-aircrack-ng-on-debian-linux/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>How to Kill Zombie Processes</title>
		<link>http://scottlinux.com/2012/01/13/how-to-kill-zombie-processes/</link>
		<comments>http://scottlinux.com/2012/01/13/how-to-kill-zombie-processes/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 16:04:40 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[child process]]></category>
		<category><![CDATA[parent process]]></category>
		<category><![CDATA[PID]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[zombie]]></category>
		<category><![CDATA[zombie processes]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2847</guid>
		<description><![CDATA[<p></p> <p> Killing zombie processes in Linux or Unix cannot be done, as they are already dead. :) Often the only solution is to restart your machine. However, it is sometimes possible to kill or restart the parent process <span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2012/01/13/how-to-kill-zombie-processes/">How to Kill Zombie Processes</a></span>]]></description>
			<content:encoded><![CDATA[<p><br/></p>
<div align="center">
<img src="http://scottlinux.com/wp-content/uploads/2012/01/zombie.jpg">
</div>
<p><br/><br />
Killing zombie processes in Linux or Unix cannot be done, as they are already dead. :) Often the only solution is to restart your machine. However, it is sometimes possible to kill or restart the parent process which will then often clear out zombie child processes.</p>
<p><br/><br />
<hr/><br/></p>
<p><b>To show parent/child process hierarchy, use the following command:</b></p>
<pre>
$ ps auxwwf
</pre>
<p><br/></p>
<p>You will see output similar to the following. If any child process show up as zombies, you can either kill or restart the <b>parent</b> process. ($ sudo kill -9 PID) Otherwise, your only option may be a reboot.<br/><br/></p>

<a href="http://scottlinux.com/wp-content/gallery/misc/parent_child.png" title="" class="thickbox" rel="singlepic763" >
	<img class="ngg-singlepic ngg-center" src="http://scottlinux.com/wp-content/gallery/cache/763__640x480_parent_child.png" alt="parent_child" title="parent_child" />
</a>

<p><br/><br />
<br/><br />
<b>Cool!</b><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2012/01/13/how-to-kill-zombie-processes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>What&#8217;s New in Ubuntu Server 12.04 LTS</title>
		<link>http://scottlinux.com/2012/01/04/whats-new-in-ubuntu-server-12-04-lts/</link>
		<comments>http://scottlinux.com/2012/01/04/whats-new-in-ubuntu-server-12-04-lts/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 23:51:45 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[canonical]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[LTS]]></category>
		<category><![CDATA[new]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu server]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2833</guid>
		<description><![CDATA[<p></p> <p></p> <p>Ubuntu Server 12.04 will be released on 26 April 2012. Ubuntu 12.04 is supported with security updates until 2017 which makes Ubuntu LTS an attractive choice for use as a server. At the time of this blog <span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2012/01/04/whats-new-in-ubuntu-server-12-04-lts/">What&#8217;s New in Ubuntu Server 12.04 LTS</a></span>]]></description>
			<content:encoded><![CDATA[<p><br/></p>
<div align="center">
<img src="http://scottlinux.com/wp-content/uploads/2011/03/ubuntunew.png">
</div>
<p><br/></p>
<p><a href="http://www.ubuntu.com/download/server/download">Ubuntu Server</a> 12.04 will be released on 26 April 2012. Ubuntu 12.04 is supported with security updates until <a href="https://wiki.ubuntu.com/LTS">2017</a> which makes Ubuntu LTS an attractive choice for use as a server.<br />
<br/><br />
At the time of this blog post, 12.04 is still in <a href="https://wiki.ubuntu.com/PrecisePangolin/ReleaseSchedule">Alpha 1</a> so many changes are still occurring. However, I will give you the scottlinux quick peek to see what you can expect with this upcoming release!<br />
<br/></p>
<hr/>
Daily live isos of Ubuntu Server can be found here:<br/></p>
<p><a href="http://cdimage.ubuntu.com/ubuntu-server/daily/current/<br />
">http://cdimage.ubuntu.com/ubuntu-server/daily/current/</a><br/><br/></p>

<a href="http://scottlinux.com/wp-content/gallery/1204_server/01_1204_server.png" title="" class="thickbox" rel="singlepic761" >
	<img class="ngg-singlepic ngg-center" src="http://scottlinux.com/wp-content/gallery/cache/761__640x480_01_1204_server.png" alt="01_1204_server" title="01_1204_server" />
</a>

<hr/>
<br/></p>
<h1>Packages</h1>
<p>With the exception being the Linux kernel, Ubuntu pulls packages from Debian unstable.<br/><br/></p>
<p><b>Package version highlights for 12.04 server:</b><br/><br/></p>
<p><a href="http://kernelnewbies.org/Linux_3.2">Linux kernel 3.2.0.7.7</a> (i386 server install defaults to PAE kernel)<br/><br/></p>
<p>apache2 (2.2.21-3ubuntu2)<br/><br/></p>
<p>mysql-server (5.5.17-4ubuntu6) MySQL database server<br/><br/></p>
<p>mysql-server-5.1 (5.1.58-1ubuntu3)<br/><br/></p>
<p>postgresql (9.1+128)<br/><br/></p>
<p>php5 (5.3.8.0-1ubuntu3)<br/><br/></p>
<p>postfix (2.8.5-2~build3)<br/><br/></p>
<p>exim4 (4.76-3ubuntu3)<br/><br/></p>
<p>clamav (0.97.3+dfsg-2ubuntu1)<br/><br/></p>
<p>roundcube (0.6+dfsg-1)<br/><br/></p>
<p>samba4 (4.0.0~alpha17.dfsg2-1)<br/><br/></p>
<p>samba (2:3.6.1-3ubuntu2)<br/><br/></p>
<p>bind9 (1:9.7.3.dfsg-1ubuntu5)<br/><br/></p>
<p>drupal6 (6.22-1ubuntu1)<br/><br/></p>
<p>drupal7 (7.9-1)<br/><br/></p>
<p>wordpress (3.3+dfsg-1)<br/><br/></p>
<p>tomcat6 (6.0.35-1)<br/><br/></p>
<p>tomcat7 (7.0.23-1)<br/><br/></p>
<p>openvpn (2.2.1-3ubuntu1)<br/><br/></p>
<p>gcc (4:4.6.2-2ubuntu1)<br/><br/></p>
<p>perl (5.14.2-6ubuntu1)<br/><br/></p>
<p>python (2.7.2-9ubuntu2) default <br/><br/></p>
<p>python3.2 (3.2.2-2ubuntu3)<br/><br/></p>
<p>ruby (4.8) Transitional package for ruby1.8 (<a href="http://www.lucas-nussbaum.net/blog/?p=708">why so old</a>)</p>
<p>openssl (1.0.0e-2ubuntu4)<br/><br/></p>
<p>openssh-server (1:5.9p1-2ubuntu1)<br/><br/></p>
<p>iptables (1.4.12-1ubuntu4)<br/><br/></p>
<p>mod-security-common (2.5.12-1)<br/><br/></p>
<p>zsh (4.3.11-4ubuntu2.is.3ubuntu2)<br/><br/></p>
<p>vim (2:7.3.346-1ubuntu1)<br/><br/></p>
<hr/>
<h1>Default Open Port Configuration</h1>
<p>Ubuntu (both server and desktop) has a no open ports policy by default.<br/><br/></p>
<p>Optionally, during the server install you can manually choose which services you want installed. Note that installing these will then enable those services running by default. <br/><br/></p>
<p>Ex. if you choose to install OpenSSH during the install, port 22 will be open for ssh on the first reboot:<br/></p>
<pre>
$ nc 10.112.12.40 22
SSH-2.0-OpenSSH_5.9p1 Debian-2ubuntu1
</pre>
<p><br/></p>
<hr/>
<h1>Networking</h1>
<p>Significant networking changes are in Ubuntu 12.04, especially for more complex situations.<br/><br/></p>
<p>The best resource is this blog post which outlines some of the features:<br/><br/></p>
<p><a href="http://www.stgraber.org/2012/01/04/networking-in-ubuntu-12-04-lts/">http://www.stgraber.org/2012/01/04/networking-in-ubuntu-12-04-lts/</a><br/><br/></p>
<p>Also good to note is that IPv6 is enabled by default in a large part to be forward-thinking for the next five years of this release.<br/><br/></p>
<p><br/></p>
<hr/>
<h1>File system</h1>
<p>The default file system for Ubuntu 12.04 is Ext4.<br/><br />
(Read about file system changes in Linux 3.2 <a href="http://kernelnewbies.org/Linux_3.2">here</a>.)</p>
<p><br/></p>
<p>Available file systems from the partitioner include:<br/><br/></p>
<pre>
Ext4
Ext3
ReiserFS
btrfs
JFS
XFS
FAT16
FAT32
</pre>
<p><br/><br/></p>

<a href="http://scottlinux.com/wp-content/gallery/1204_server/02_1204_server.png" title="" class="thickbox" rel="singlepic762" >
	<img class="ngg-singlepic ngg-center" src="http://scottlinux.com/wp-content/gallery/cache/762__640x480_02_1204_server.png" alt="02_1204_server" title="02_1204_server" />
</a>

<hr/>
<p><i>So Yay or meh?</i><br />
<br/><br />
Ubuntu Server 12.04 is definitely a yay. The updated 3.2 Linux kernel with improved file system and virtualization support as well as a substantial jump in package versions for the server make this one a go. MySQL 5.5 has some welcomed <a href="http://dev.mysql.com/doc/refman/5.5/en/mysql-nutshell.html">new features</a> as well the fancy new <a href="http://wiki.samba.org/index.php/Samba4">Samba4</a> if you use Ubuntu as a file server.<br/><br/></p>
<p>Ubuntu 12.04 is of course still alpha at this point so it is not for production. Also there is no rush to get off of existing 10.04 deployments as 10.04 is supported until April 2015. However if you are looking to upgrade to the newer packages or looking to make <b>new</b> Ubuntu server deployments in the near future, it is well worth it to test ahead with 12.04 which looks to be a solid release.<br/><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2012/01/04/whats-new-in-ubuntu-server-12-04-lts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Troubleshoot ssh Authentication Failure</title>
		<link>http://scottlinux.com/2012/01/04/troubleshoot-ssh-authentication-failure/</link>
		<comments>http://scottlinux.com/2012/01/04/troubleshoot-ssh-authentication-failure/#comments</comments>
		<pubDate>Wed, 04 Jan 2012 14:42:02 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[auth]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssh key]]></category>
		<category><![CDATA[sshd]]></category>
		<category><![CDATA[troubleshoot]]></category>
		<category><![CDATA[verbosity]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2828</guid>
		<description><![CDATA[<p></p> <p></p> <p>ssh has a built in debug mode from the client side to provide information in troubleshooting a connection. This will provide information such as mismatch in client/server configuration options, key conflicts, permission problems, and various other useful <span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2012/01/04/troubleshoot-ssh-authentication-failure/">Troubleshoot ssh Authentication Failure</a></span>]]></description>
			<content:encoded><![CDATA[<p><br/></p>
<div align="center">
<img src="http://scottlinux.com/wp-content/uploads/2010/06/terminal.png">
</div>
<p><br/></p>
<p><a href="http://en.wikipedia.org/wiki/OpenSSH">ssh</a> has a built in debug mode from the client side to provide information in troubleshooting a connection. This will provide information such as mismatch in client/server configuration options, key conflicts, permission problems, and various other useful tidbits.<br/><br/></p>
<p><b>To connect in debug mode, simply add -vvv to the end. You can use up to three tack v&#8217;s for the most debugging.</b><br/></p>
<pre>
$ ssh user@host -vvv
</pre>
<p><br/></p>
<hr/><br/></p>
<p><b>Key based auth looks like this:</b><br/></p>
<pre>
$ ssh stmiller@10.112.12.34 -vvv
OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.112.12.34 [10.112.12.34] port 22.
debug1: Connection established.
debug3: Not a RSA1 key file /Users/smiller/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /Users/smiller/.ssh/id_rsa type 1
debug1: identity file /Users/smiller/.ssh/id_rsa-cert type -1
debug1: identity file /Users/smiller/.ssh/id_dsa type -1
debug1: identity file /Users/smiller/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.6
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 130/256
debug2: bits set: 503/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: host 10.112.12.34 filename /Users/smiller/.ssh/known_hosts
debug3: check_host_in_hostfile: host 10.112.12.34 filename /Users/smiller/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 10
debug1: Host '10.112.12.34' is known and matches the RSA host key.
debug1: Found key in /Users/smiller/.ssh/known_hosts:10
debug2: bits set: 516/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /Users/smiller/.ssh/id_rsa (0xxxxxxxxxxxxxxx)
debug2: key: /Users/smiller/.ssh/id_dsa (0x0)
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /Users/smiller/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug2: input_userauth_pk_ok: fp xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
debug3: sign_and_send_pubkey: RSA xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
Authenticated to 10.112.12.34 ([10.112.12.34]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug2: callback start
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug1: Sending environment.
debug1: Sending env LC_MONETARY = en_US.utf-8
debug2: channel 0: request env confirm 0
debug3: Ignored env TERM_PROGRAM
debug3: Ignored env GPG_AGENT_INFO
debug3: Ignored env TERM
debug3: Ignored env SHELL
debug3: Ignored env TMPDIR
debug3: Ignored env Apple_PubSub_Socket_Render
debug1: Sending env LC_NUMERIC = en_US.utf-8
debug2: channel 0: request env confirm 0
debug3: Ignored env USER
debug3: Ignored env COMMAND_MODE
debug3: Ignored env SSH_AUTH_SOCK
debug3: Ignored env __CF_USER_TEXT_ENCODING
debug3: Ignored env PATH
debug1: Sending env LC_MESSAGES = en_US.utf-8
debug2: channel 0: request env confirm 0
debug1: Sending env LC_COLLATE = en_US.utf-8
debug2: channel 0: request env confirm 0
debug3: Ignored env PWD
debug1: Sending env LANG = en_US.utf-8
debug2: channel 0: request env confirm 0
debug3: Ignored env SHLVL
debug3: Ignored env COLORFGBG
debug3: Ignored env HOME
debug3: Ignored env LOGNAME
debug1: Sending env LC_CTYPE = en_US.utf-8
debug2: channel 0: request env confirm 0
debug3: Ignored env DISPLAY
debug1: Sending env LC_TIME = en_US.utf-8
debug2: channel 0: request env confirm 0
debug3: Ignored env _
debug2: channel 0: request shell confirm 1
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
Last login: Wed Jan  4 06:14:35 2012 from 10.112.12.42
[stmiller@centos ~]$
</pre>
<p><br/></p>
<p><br/></p>
<p><b>Password based auth looks like this:</b><br/><br/></p>
<pre>
$ ssh stmiller@10.112.12.34 -vvv
OpenSSH_5.6p1, OpenSSL 0.9.8r 8 Feb 2011
debug1: Reading configuration data /etc/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 10.112.12.34 [10.112.12.34] port 22.
debug1: Connection established.
debug3: Not a RSA1 key file /Users/smiller/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /Users/smiller/.ssh/id_rsa type 1
debug1: identity file /Users/smiller/.ssh/id_rsa-cert type -1
debug1: identity file /Users/smiller/.ssh/id_dsa type -1
debug1: identity file /Users/smiller/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
debug1: match: OpenSSH_5.3 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.6
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa-cert-v01@openssh.com,ssh-dss-cert-v01@openssh.com,ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit:
debug2: kex_parse_kexinit: first_kex_follows 0
debug2: kex_parse_kexinit: reserved 0
debug2: mac_setup: found hmac-md5
debug1: kex: server->client aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 126/256
debug2: bits set: 498/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: host 10.112.12.34 filename /Users/smiller/.ssh/known_hosts
debug3: check_host_in_hostfile: host 10.112.12.34 filename /Users/smiller/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 10
debug1: Host '10.112.12.34' is known and matches the RSA host key.
debug1: Found key in /Users/smiller/.ssh/known_hosts:10
debug2: bits set: 518/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /Users/smiller/.ssh/id_rsa (0xxxxxxxxxxxxxx)
debug2: key: /Users/smiller/.ssh/id_dsa (0x0)
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /Users/smiller/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Trying private key: /Users/smiller/.ssh/id_dsa
debug3: no such identity: /Users/smiller/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
stmiller@10.112.12.34's password:
debug3: packet_send2: adding 48 (len 61 padlen 19 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
Authenticated to 10.112.12.34 ([10.112.12.34]:22).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug2: callback start
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug1: Sending environment.
debug1: Sending env LC_MONETARY = en_US.utf-8
debug2: channel 0: request env confirm 0
debug3: Ignored env TERM_PROGRAM
debug3: Ignored env GPG_AGENT_INFO
debug3: Ignored env TERM
debug3: Ignored env SHELL
debug3: Ignored env TMPDIR
debug3: Ignored env Apple_PubSub_Socket_Render
debug1: Sending env LC_NUMERIC = en_US.utf-8
debug2: channel 0: request env confirm 0
debug3: Ignored env USER
debug3: Ignored env COMMAND_MODE
debug3: Ignored env SSH_AUTH_SOCK
debug3: Ignored env __CF_USER_TEXT_ENCODING
debug3: Ignored env PATH
debug1: Sending env LC_MESSAGES = en_US.utf-8
debug2: channel 0: request env confirm 0
debug1: Sending env LC_COLLATE = en_US.utf-8
debug2: channel 0: request env confirm 0
debug3: Ignored env PWD
debug1: Sending env LANG = en_US.utf-8
debug2: channel 0: request env confirm 0
debug3: Ignored env SHLVL
debug3: Ignored env COLORFGBG
debug3: Ignored env HOME
debug3: Ignored env LOGNAME
debug1: Sending env LC_CTYPE = en_US.utf-8
debug2: channel 0: request env confirm 0
debug3: Ignored env DISPLAY
debug1: Sending env LC_TIME = en_US.utf-8
debug2: channel 0: request env confirm 0
debug3: Ignored env _
debug2: channel 0: request shell confirm 1
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
Last login: Wed Jan  4 06:12:07 2012
[stmiller@centos ~]$
</pre>
<p><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2012/01/04/troubleshoot-ssh-authentication-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Check Site for Malware with Google Safe Browsing</title>
		<link>http://scottlinux.com/2011/12/28/check-site-for-malware-with-google-safe-browsing/</link>
		<comments>http://scottlinux.com/2011/12/28/check-site-for-malware-with-google-safe-browsing/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 17:30:29 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[other]]></category>
		<category><![CDATA[check]]></category>
		<category><![CDATA[google safe browsing]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[malware site]]></category>
		<category><![CDATA[phishing site]]></category>
		<category><![CDATA[safe browsing check]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[test]]></category>
		<category><![CDATA[url check]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2817</guid>
		<description><![CDATA[<p></p> <p></p> <p>The following URL can be used to check a site for malware:</p> http://www.google.com/safebrowsing/diagnostic?site=example.com <p> The diagnostic url works to check any site, replacing the domain at the end with the site you wish to check.</p> http://www.google.com/safebrowsing/diagnostic?site=xxxxxxxx.xxx <p></p> <span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2011/12/28/check-site-for-malware-with-google-safe-browsing/">Check Site for Malware with Google Safe Browsing</a></span>]]></description>
			<content:encoded><![CDATA[<p><br/></p>
<div align="center">

<a href="http://scottlinux.com/wp-content/gallery/misc/safe_browsing_warning.png" title="" class="thickbox" rel="singlepic760" >
	<img class="ngg-singlepic ngg-center" src="http://scottlinux.com/wp-content/gallery/cache/760__640x480_safe_browsing_warning.png" alt="safe_browsing_warning" title="safe_browsing_warning" />
</a>

</div>
<p><br/></p>
<p><b>The following URL can be used to check a site for malware:</b><br/></p>
<pre>

http://www.google.com/safebrowsing/diagnostic?site=example.com
</pre>
<p><br/><br/><br />
The diagnostic url works to check any site, replacing the domain at the end with the site you wish to check.</p>
<pre>

http://www.google.com/safebrowsing/diagnostic?site=xxxxxxxx.xxx
</pre>
<p><br/></p>
<div align="center">

<a href="http://scottlinux.com/wp-content/gallery/misc/safebrowsing.png" title="" class="thickbox" rel="singlepic759" >
	<img class="ngg-singlepic ngg-center" src="http://scottlinux.com/wp-content/gallery/cache/759__640x480_safebrowsing.png" alt="safebrowsing" title="safebrowsing" />
</a>
<br />
<a href="http://www.google.com/safebrowsing/diagnostic?site=scottlinux.com">check scottlinux.com</a>
</div>
<p><br/></p>
<hr/><Br/></p>
<h1>Infected?</h1>
<p><i>Eek my site is serving up malware!</i><br />
<br/><br />
<b>This page has some info on what to do if your site has been infected:</b><br/><br/></p>
<p><a href="http://support.google.com/webmasters/bin/answer.py?hl=en&#038;answer=163633">http://support.google.com/webmasters/bin/answer.py?hl=en&#038;answer=163633</a></p>
<hr/><br/></p>
<h1>Reporting malware sites</h1>
<p>Here are some additional links that are helpful to report a site which is serving up malware or a site that is incorrectly listed:<br/><br/></p>
<p><b>Report phishing URLs:</b><br/></p>
<p><a href="http://www.google.com/safebrowsing/report_phish">http://www.google.com/safebrowsing/report_phish</a><br/></p>
<p><b>Report phishing URL false positives:</b><br/></p>
<p><a href="http://www.google.com/safebrowsing/report_error">http://www.google.com/safebrowsing/report_error</a><br/></p>
<p><b>Report malware URLs:</b><br/></p>
<p><a href="http://www.google.com/safebrowsing/report_badware">http://www.google.com/safebrowsing/report_badware</a><br/></p>
<p><b>Report malware URL false positives, or request a review after your site is now clean:</b><br/></p>
<p><a href="http://www.stopbadware.org/home/reviewinfo">http://www.stopbadware.org/home/reviewinfo</a><br/><br/></p>
<p>And if you want to get fancy, there is of course an API to incorporate google&#8217;s database to your own use:<br/><br/></p>
<p><a href="http://code.google.com/apis/safebrowsing">http://code.google.com/apis/safebrowsing</a><br/></p>
<p><br/><br />
<b>Cool!</b><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2011/12/28/check-site-for-malware-with-google-safe-browsing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>BlindElephant &#8211; Web Application Fingerprinting</title>
		<link>http://scottlinux.com/2011/12/27/blindelephant-web-application-fingerprinting/</link>
		<comments>http://scottlinux.com/2011/12/27/blindelephant-web-application-fingerprinting/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 17:14:45 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[cms]]></category>
		<category><![CDATA[detect versions]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[fingerprint]]></category>
		<category><![CDATA[fingerprinting]]></category>
		<category><![CDATA[versions]]></category>
		<category><![CDATA[web application]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2812</guid>
		<description><![CDATA[<p> <p></p> <p>BlindElephant is a nifty python app that fingerprints web applications such as wordpress, drupal, mediawiki, phpbb, joomla, and many others to determine the version of the web application.</p> <p>BlindElephant works via a new trendy technique of fetching <span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2011/12/27/blindelephant-web-application-fingerprinting/">BlindElephant &#8211; Web Application Fingerprinting</a></span>]]></description>
			<content:encoded><![CDATA[<p><br/>
<div align="center">
<img src="http://scottlinux.com/wp-content/uploads/2011/12/blind_elephant.png"></div>
<p><br/></p>
<p><a href="http://blindelephant.sourceforge.net/">BlindElephant</a> is a nifty python app that fingerprints web applications such as wordpress, drupal, mediawiki, phpbb, joomla, and many others to determine the version of the web application.<br/><br/></p>
<p>BlindElephant works via a new trendy technique of fetching static elements of the web app such as .js, .css,  and other core files then running a checksum to compare sizes of those files from released versions.</p>
<p>BlindElephant is available via SVN here:<br/><br/></p>
<p><a href="http://blindelephant.sourceforge.net/<br />
">http://blindelephant.sourceforge.net/</a><br/><br/></p>
<hr/><br/><br />
Here is an example of BlindElephant checking a live drupal site. I replaced the actual site with example.com for privacy:<br/></p>
<pre>
$ BlindElephant.py http://example.com drupal
Loaded /Library/Python/2.7/site-packages/blindelephant/dbs/drupal.pkl with 127 versions, 469 differentiating paths, and 376 version groups.
Starting BlindElephant fingerprint for version of drupal at http://example.com 

Hit http://example.com/CHANGELOG.txt
Possible versions based on result: 6.20

Hit http://example.com/INSTALL.txt
Possible versions based on result: 6.20

Hit http://example.com/misc/drupal.js
Possible versions based on result: 6.14, 6.15, 6.16, 6.17, 6.18, 6.19, 6.20, 6.x-dev

Hit http://example.com/themes/garland/style.css
Possible versions based on result: 6.14, 6.15, 6.16, 6.17, 6.18, 6.19, 6.20, 6.x-dev

Hit http://example.com/database/updates.inc
File produced no match. Error: Error code: 404 (Not Found) 

Hit http://example.com/MAINTAINERS.txt
Possible versions based on result: 6.11, 6.12, 6.13, 6.14, 6.15, 6.16, 6.17, 6.18, 6.19, 6.20, 6.x-dev

Hit http://example.com/database/database.pgsql
File produced no match. Error: Error code: 404 (Not Found) 

Hit http://example.com/misc/drupal.css
File produced no match. Error: Error code: 404 (Not Found) 

Hit http://example.com/misc/autocomplete.js
Possible versions based on result: 6.0, 6.0-rc2, 6.0-rc3, 6.0-rc4, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 6.9, 6.10, 6.11, 6.12, 6.13, 6.14, 6.15, 6.16, 6.17, 6.18, 6.19, 6.20, 6.x-dev

Hit http://example.com/themes/pushbutton/style.css
Possible versions based on result: 6.0, 6.0-rc2, 6.0-rc3, 6.0-rc4, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 6.9, 6.10, 6.11, 6.12, 6.13, 6.14, 6.15, 6.16, 6.17, 6.18, 6.19, 6.20, 6.x-dev

Hit http://example.com/UPGRADE.txt
Possible versions based on result: 6.17, 6.18, 6.19, 6.20

Hit http://example.com/database/database.mysql
File produced no match. Error: Error code: 404 (Not Found) 

Hit http://example.com/misc/textarea.js
Possible versions based on result: 6.0, 6.0-rc3, 6.0-rc4, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 6.9, 6.10, 6.11, 6.12, 6.13, 6.14, 6.15, 6.16, 6.17, 6.18, 6.19, 6.20, 6.x-dev

Hit http://example.com/misc/collapse.js
Possible versions based on result: 6.0, 6.0-rc3, 6.0-rc4, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 6.9, 6.10, 6.11, 6.12, 6.13, 6.14, 6.15, 6.16, 6.17, 6.18, 6.19, 6.20, 6.x-dev

Hit http://example.com/themes/bluemarine/style.css
Possible versions based on result: 6.0, 6.0-rc1, 6.0-rc2, 6.0-rc3, 6.0-rc4, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 6.9, 6.10, 6.11, 6.12, 6.13, 6.14, 6.15, 6.16, 6.17, 6.18, 6.19, 6.20, 6.x-dev

Fingerprinting resulted in:
6.20

Best Guess: 6.20
$
</pre>
<p><br/></p>
<p><b>Cool!</b><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2011/12/27/blindelephant-web-application-fingerprinting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Postfix Empty Mail Queue</title>
		<link>http://scottlinux.com/2011/12/26/postfix-empty-mail-queue/</link>
		<comments>http://scottlinux.com/2011/12/26/postfix-empty-mail-queue/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 20:23:25 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[delete mail queue]]></category>
		<category><![CDATA[empty mail queue]]></category>
		<category><![CDATA[mail queue]]></category>
		<category><![CDATA[mailq]]></category>
		<category><![CDATA[mta]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[sendmail]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2806</guid>
		<description><![CDATA[<p></p> <p></p> <p>To empty / clear / delete the Postfix mail queue, simply issue this command: </p> $ sudo postsuper -d ALL <p> The output will look similar to this:</p> $ sudo postsuper -d ALL postsuper: Deleted: 4 messages <span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2011/12/26/postfix-empty-mail-queue/">Postfix Empty Mail Queue</a></span>]]></description>
			<content:encoded><![CDATA[<p><br/></p>
<div align="center">
<img src="http://scottlinux.com/wp-content/uploads/2011/05/postfix_logo.png">
</div>
<p><br/></p>
<p><b>To empty / clear / delete the <a href="http://www.postfix.org/">Postfix</a> mail queue, simply issue this command:</b><br />
<br/></p>
<pre>
$ sudo postsuper -d ALL
</pre>
<p><br/><br/><br />
The output will look similar to this:<br/><br/></p>
<pre>
$ sudo postsuper -d ALL
postsuper: Deleted: 4 messages
</pre>
<p><br/><br/><br />
<b>That&#8217;s it!</b><br/><br/><br />
<br/></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2011/12/26/postfix-empty-mail-queue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>Banner Grabs with netcat and nmap</title>
		<link>http://scottlinux.com/2011/12/22/banner-grabs-with-netcat-and-nmap/</link>
		<comments>http://scottlinux.com/2011/12/22/banner-grabs-with-netcat-and-nmap/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 17:14:38 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[banner]]></category>
		<category><![CDATA[detection]]></category>
		<category><![CDATA[grab banner]]></category>
		<category><![CDATA[nc]]></category>
		<category><![CDATA[netcat]]></category>
		<category><![CDATA[nmap]]></category>
		<category><![CDATA[service banners]]></category>
		<category><![CDATA[versions]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2795</guid>
		<description><![CDATA[<p> <p></p> <p>netcat can be used to quickly grab a service banner, as well as trusty nmap. I&#8217;ll show you some tips!</p> The netcat command is simply:</p> $ nc [target] [port] <p></p> <p>Add tack v to get more verbosity.</p> <span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2011/12/22/banner-grabs-with-netcat-and-nmap/">Banner Grabs with netcat and nmap</a></span>]]></description>
			<content:encoded><![CDATA[<p><br/>
<div align="center">
<img src="http://scottlinux.com/wp-content/uploads/2010/06/terminal.png">
</div>
<p><br/></p>
<p><a href="http://netcat.sourceforge.net/">netcat</a> can be used to quickly grab a service banner, as well as trusty nmap. I&#8217;ll show you some tips!<br/></p>
<hr/>
<br/><br />
The netcat command is simply:<br/></p>
<pre>
$ nc [target] [port]
</pre>
<p><br/></p>
<p>Add tack v to get more verbosity.<br/><br/></p>
<p>Examples:<br/><br/></p>
<pre>
$ nc -v scottlinux.com 22
Connection to scottlinux.com 22 port [tcp/ssh] succeeded!
SSH-2.0-OpenSSH_5.3p1
</pre>
<p><br/></p>
<pre>
$ nc -v scottlinux.com 80
Connection to scottlinux.com 80 port [tcp/http] succeeded!
HEAD / HTTP/1.1
[enter, enter]

HTTP/1.1 400 Bad Request
Date: Thu, 22 Dec 2011 16:17:19 GMT
Server: Apache
Strict-Transport-Security: max-age=43200; includeSubDomains
Vary: Accept-Encoding
Connection: close
Content-Type: text/html; charset=iso-8859-1
</pre>
<p><br/></p>
<pre>
$ nc -v scottlinux.com 25
Connection to scottlinux.com 25 port [tcp/smtp] succeeded!
220 *************************
</pre>
<p><br/><br />
<hr/>
<b>And of course nmap can be used for banner grabbing as well!</b><br/><br/></p>
<p>The nmap command to use which will scan all open ports and report banners is:<br/></p>
<pre>
$ sudo nmap -sV [target]
</pre>
<p><br/></p>
<pre>
$ nmap -sV scottlinux.com

Starting Nmap 5.51 ( http://nmap.org ) at 2011-12-22 11:37 EST
Nmap scan report for scottlinux.com (173.230.156.66)
Host is up (0.083s latency).
rDNS record for 173.230.156.66: li166-66.members.linode.com
Not shown: 996 filtered ports
PORT    STATE SERVICE  VERSION
22/tcp  open  ssh      OpenSSH 5.3p1 (protocol 2.0)
25/tcp  open  smtp     Cisco PIX sanitized smtpd
80/tcp  open  http     Apache httpd
443/tcp open  ssl/http Apache httpd
Service Info: Device: firewall

Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 22.86 seconds
</pre>
<p><br/></p>
<p><br/></p>
<p><b>Sweet!</b><br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2011/12/22/banner-grabs-with-netcat-and-nmap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
		<item>
		<title>TCP/OS Fingerprinting Tools &#8211; p0f and nmap</title>
		<link>http://scottlinux.com/2011/12/22/tcpos-fingerprinting-tools-p0f-and-nmap/</link>
		<comments>http://scottlinux.com/2011/12/22/tcpos-fingerprinting-tools-p0f-and-nmap/#comments</comments>
		<pubDate>Thu, 22 Dec 2011 14:08:33 +0000</pubDate>
		<dc:creator>scott</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[active]]></category>
		<category><![CDATA[detection]]></category>
		<category><![CDATA[fingerprint]]></category>
		<category><![CDATA[identify]]></category>
		<category><![CDATA[nmap]]></category>
		<category><![CDATA[os detection]]></category>
		<category><![CDATA[OS fingerprinting]]></category>
		<category><![CDATA[p0f]]></category>
		<category><![CDATA[passive]]></category>
		<category><![CDATA[scan]]></category>
		<category><![CDATA[TCP fingerprint]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://scottlinux.com/?p=2781</guid>
		<description><![CDATA[<p></p> <p></p> <p>The particular way an operating system or device sends and receives TCP packets provides a unique fingerprint. TCP header information such as the window size, TTL, overall SYN packet size, MSS, MTU and so forth can help <span style="color:#777"> . . . &#8594; Read More: <a href="http://scottlinux.com/2011/12/22/tcpos-fingerprinting-tools-p0f-and-nmap/">TCP/OS Fingerprinting Tools &#8211; p0f and nmap</a></span>]]></description>
			<content:encoded><![CDATA[<p><br/></p>
<div align="center">
<img src="http://scottlinux.com/wp-content/uploads/2010/06/terminal.png"></div>
<p><br/></p>
<p>The particular way an operating system or device sends and receives TCP packets provides a unique <a href="http://en.wikipedia.org/wiki/TCP/IP_stack_fingerprinting">fingerprint</a>. TCP header information such as the window size, TTL, overall SYN packet size, MSS, MTU and so forth can help identify the OS. This is known as OS fingerprinting. The best known passive TCP fingerprint tool is p0f, while an example of an active fingerprinter is nmap. </p>
<p><br/>I&#8217;ll show you some quick tips on using p0f and also nmap!<br/></p>
<hr/><br/></p>
<h1>Fingerprinting with p0f</h1>
<p>Note: <a href="http://lcamtuf.coredump.cx/p0f.shtml">p0f</a> has unfortunately been abandoned. So it can be used to passively collect fingerprinting information, but it does not have a current database of operating systems or devices to resolve and identify.</p>
<h5><font color="red">Edit!</font> ( <a href="http://lcamtuf.coredump.cx/p0f3/">p0f is back</a>. The new version is a complete re-write. Updated blog post to come shortly.)</h5>
<p><br/><br />
For p0f to work, you must either contact the outside host with a normal action such as web browsing, or have the outside host contact you. Alternatively, p0f can read from a pcap file as well.<br />
<br/><br />
Because of the use of inspecting and capturing packets, p0f needs to be run with sudo.<br />
<br/><br/><br />
<b>Step 1:</b> In one terminal, issue the following command to start p0f listening, and leave that command running:</p>
<p><br/></p>
<pre>
$ sudo p0f -A
[sudo] password for user:
p0f - passive os fingerprinting utility, version 2.0.8
(C) M. Zalewski <lcamtuf@dione.cc>, W. Stearns <wstearns@pobox.com>
p0f: listening (SYN+ACK) on 'eth0', 61 sigs (1 generic, cksum B253FA88), rule: 'all'.
</pre>
<p><br/><br />
<b>Step 2:</b> In another window, browse to a website as an example target.<br/><br />
Output looks like the following. Notice the &#8216;UNKNOWN&#8217; results as this project has been unfortunately abandoned. You can however use the data provided as information gathered for TCP fingerprinting.<br/></p>
<pre>
173.230.156.66:80 - UNKNOWN [S10:64:1:48:M1460,N,N,S:ZA:?:?]
  -> 98.126.63.202:3037 (link: ethernet/modem)
206.12.19.7:80 - UNKNOWN [5792:55:1:60:M1460,S,T,N,W7:ZAT:?:?] (up: 4395 hrs)
  -> 173.230.156.66:32928 (link: ethernet/modem)
128.31.0.51:80 - UNKNOWN [5792:52:1:60:M1460,S,T,N,W6:ZAT:?:?] (up: 1559 hrs)
  -> 173.230.156.66:58958 (link: ethernet/modem)
173.230.156.66:80 - UNKNOWN [14480:64:1:60:M1460,S,T,N,W4:ZAT:?:?] (up: 5906 hrs)
  -> 151.63.225.212:34013 (link: ethernet/modem)
173.230.156.66:80 - UNKNOWN [14480:64:1:60:M1460,S,T,N,W4:ZAT:?:?] (up: 5906 hrs)
  -> 151.63.225.212:34014 (link: ethernet/modem)
173.230.156.66:80 - UNKNOWN [14480:64:1:60:M1460,S,T,N,W4:ZAT:?:?] (up: 5906 hrs)
  -> 151.63.225.212:34015 (link: ethernet/modem)
173.230.156.66:80 - UNKNOWN [14480:64:1:60:M1460,S,T,N,W4:ZAT:?:?] (up: 5906 hrs)
  -> 151.63.225.212:34016 (link: ethernet/modem)
173.230.156.66:80 - UNKNOWN [14480:64:1:60:M1460,S,T,N,W4:ZAT:?:?] (up: 5906 hrs)
  -> 151.63.225.212:34017 (link: ethernet/modem)
173.230.156.66:80 - UNKNOWN [14480:64:1:60:M1460,S,T,N,W4:ZAT:?:?] (up: 5906 hrs)
  -> 151.63.225.212:34018 (link: ethernet/modem)
</pre>
<p><br/></p>
<p><br/></p>
<hr/>
<hr/>
<h1>Fingerprinting with nmap</h1>
<p><a href="http://en.wikipedia.org/wiki/Nmap">nmap</a> has fingerprinting capabilities but note this is an active tool which can potentially be detected by the target host or IDS/IPS. While this can get more accurate results, packet-altering devices such as firewalls or other devices can be problematic for active fingerprinting with nmap. Often results will say &#8216;OS: Cisco IOS&#8217; or similar, where the firewall or network device is responding on behalf of the host you are trying to target.<br/><br/></p>
<p>As such, using nmap for fingerprinting is perhaps best for internal network troubleshooting and auditing with no firewalls in between you and the target host.<br/></p>
<p><b>To detect the operating system with nmap, use tack capital O.</b> (Note: nmap likewise requires sudo to run properly.)<br />
<br/></p>
<pre>
$ sudo nmap -O targethost
</pre>
<p><br/><br/></p>
<p>Here is an example for scottlinux.com which is running Ubuntu Linux (unfortunately a poor example it appears):<br/><br/></p>
<pre>
$ sudo nmap -O 173.230.156.66
Password:

Starting Nmap 5.51 ( http://nmap.org ) at 2011-12-22 08:03 EST
Nmap scan report for li166-66.members.linode.com (173.230.156.66)
Host is up (0.033s latency).
Not shown: 996 filtered ports
PORT    STATE SERVICE
22/tcp  open  ssh
25/tcp  open  smtp
80/tcp  open  http
443/tcp open  https
Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port
Aggressive OS guesses: IBM OS/400 V5R2M0 (93%), Linux 2.6.18 (92%), Raritan Dominion KX II KVM switch (92%), Bay Networks BayStack 450 switch (software version 3.1.0.22) (90%), Bay Networks BayStack 450 switch (software version 4.2.0.16) (90%), Apple iPhone 4 mobile phone (iOS 4.1) (90%), ASUS RT-N11 EZ or D-Link DI-524 WAP (89%), Dell Remote Access Controller (DRAC 5) (89%), Yamaha RX-V3900 audio receiver (89%), Canon PIXMA MP620, MX860, or MX870 printer (88%)
No exact OS matches for host (test conditions non-ideal).

OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 24.45 seconds
</pre>
<p><br/><br />
If desired, use tack v3 to increase verbosity:<br />
<br/></p>
<pre>
$ sudo nmap -O -v3 173.230.156.66

Starting Nmap 5.51 ( http://nmap.org ) at 2011-12-22 08:16 EST
Initiating Ping Scan at 08:16
Scanning 173.230.156.66 [4 ports]
Completed Ping Scan at 08:16, 0.01s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 08:16
Completed Parallel DNS resolution of 1 host. at 08:16, 0.09s elapsed
DNS resolution of 1 IPs took 0.09s. Mode: Async [#: 2, OK: 1, NX: 0, DR: 0, SF: 0, TR: 1, CN: 0]
Initiating SYN Stealth Scan at 08:16
Scanning li166-66.members.linode.com (173.230.156.66) [1000 ports]
Discovered open port 80/tcp on 173.230.156.66
Discovered open port 22/tcp on 173.230.156.66
Discovered open port 25/tcp on 173.230.156.66
Discovered open port 443/tcp on 173.230.156.66
Completed SYN Stealth Scan at 08:16, 13.52s elapsed (1000 total ports)
Initiating OS detection (try #1) against li166-66.members.linode.com (173.230.156.66)
Retrying OS detection (try #2) against li166-66.members.linode.com (173.230.156.66)
Nmap scan report for li166-66.members.linode.com (173.230.156.66)
Host is up (0.042s latency).
Scanned at 2011-12-22 08:16:12 EST for 22s
Not shown: 996 filtered ports
PORT    STATE SERVICE
22/tcp  open  ssh
25/tcp  open  smtp
80/tcp  open  http
443/tcp open  https
Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port
OS fingerprint not ideal because: Missing a closed TCP port so results incomplete
Aggressive OS guesses: IBM OS/400 V5R2M0 (94%), Linux 2.6.18 (93%), Raritan Dominion KX II KVM switch (93%), Bay Networks BayStack 450 switch (software version 3.1.0.22) (92%), Bay Networks BayStack 450 switch (software version 4.2.0.16) (92%), Apple iPhone 4 mobile phone (iOS 4.1) (91%), ASUS RT-N11 EZ or D-Link DI-524 WAP (91%), Sagem My du@l radio 700 Internet radio (91%), Dell Remote Access Controller (DRAC 5) (91%), Yamaha RX-V3900 audio receiver (90%)
No exact OS matches for host (test conditions non-ideal).
TCP/IP fingerprint:
SCAN(V=5.51%D=12/22%OT=22%CT=%CU=%PV=N%G=N%TM=4EF32DB2%P=x86_64-apple-darwin11.2.0)
SEQ(CI=RI)
ECN(R=N)
T1(R=N)
T1(R=Y%DF=N%TG=40%S=O%A=S+%F=AS%RD=0%Q=)
T2(R=Y%DF=N%TG=40%W=0%S=Z%A=S%F=AR%O=%RD=0%Q=)
T3(R=Y%DF=N%TG=40%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)
T4(R=Y%DF=N%TG=40%W=0%S=A%A=S%F=R%O=%RD=0%Q=)
T6(R=Y%DF=N%TG=40%W=0%S=A%A=S%F=R%O=%RD=0%Q=)
T7(R=Y%DF=N%TG=40%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)
U1(R=N)
IE(R=N)
IE(R=Y%DFI=N%TG=40%CD=S)

Read data files from: /opt/local/share/nmap
OS detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 22.66 seconds
           Raw packets sent: 3118 (142.366KB) | Rcvd: 50 (2.862KB)
</pre>
<p><br/><br/></p>
<p>Or I like to use the following options [sudo nmap -O -sV -T4 -d target] which provides the exact TCP/IP Fingerprint output at the bottom:<br />
<br/></p>
<pre>
$ sudo nmap -O -sV -T4 -d 173.230.156.66
[sudo] password for user: 

Starting Nmap 5.00 ( http://nmap.org ) at 2011-12-22 05:38 PST
PORTS: Using top 1000 ports found open (TCP:1000, UDP:0, SCTP:0)
--------------- Timing report ---------------
  hostgroups: min 1, max 100000
  rtt-timeouts: init 500, min 100, max 1250
  max-scan-delay: TCP 10, UDP 1000, SCTP 10
  parallelism: min 0, max 0
  max-retries: 6, host-timeout: 0
  min-rate: 0, max-rate: 0
---------------------------------------------
NSE: Loaded 3 scripts for scanning.
mass_rdns: Using DNS server 74.207.242.5
mass_rdns: Using DNS server 74.207.241.5
Initiating SYN Stealth Scan at 05:38
Scanning li166-66.members.linode.com (173.230.156.66) [1000 ports]
Packet capture filter (device lo): dst host 173.230.156.66 and (icmp or ((tcp or udp or sctp) and (src host 173.230.156.66)))
Discovered open port 25/tcp on 173.230.156.66
Discovered open port 443/tcp on 173.230.156.66
Discovered open port 80/tcp on 173.230.156.66
Discovered open port 587/tcp on 173.230.156.66
Discovered open port 22/tcp on 173.230.156.66
Discovered open port 465/tcp on 173.230.156.66
Discovered open port 4242/tcp on 173.230.156.66
Completed SYN Stealth Scan at 05:38, 0.06s elapsed (1000 total ports)
Overall sending rates: 16963.24 packets / s, 746382.59 bytes / s.
Initiating Service scan at 05:38
Scanning 7 services on li166-66.members.linode.com (173.230.156.66)
Completed Service scan at 05:39, 44.57s elapsed (7 services on 1 host)
Packet capture filter (device lo): dst host 173.230.156.66 and (icmp or (tcp and (src host 173.230.156.66)))
Initiating OS detection (try #1) against li166-66.members.linode.com (173.230.156.66)
OS detection timingRatio() == (1324561142.611 - 1324561142.111) * 1000 / 500 == 1.000
Retrying OS detection (try #2) against li166-66.members.linode.com (173.230.156.66)
OS detection timingRatio() == (1324561144.862 - 1324561144.362) * 1000 / 500 == 1.000
Retrying OS detection (try #3) against li166-66.members.linode.com (173.230.156.66)
OS detection timingRatio() == (1324561147.119 - 1324561146.619) * 1000 / 500 == 1.002
Retrying OS detection (try #4) against li166-66.members.linode.com (173.230.156.66)
OS detection timingRatio() == (1324561150.851 - 1324561150.350) * 1000 / 500 == 1.000
Retrying OS detection (try #5) against li166-66.members.linode.com (173.230.156.66)
OS detection timingRatio() == (1324561153.087 - 1324561152.587) * 1000 / 500 == 1.002
Starting RPC scan against li166-66.members.linode.com (173.230.156.66)
NSE: Script scanning 173.230.156.66.
NSE: Starting runlevel 1 scan
Initiating NSE at 05:39
NSE: NSE Script Threads (1) running:
NSE: Starting skypev2-version against 173.230.156.66:4242.
NSE: Finished skypev2-version against 173.230.156.66:4242.
Completed NSE at 05:39, 0.01s elapsed
NSE: Script Scanning completed.
Host li166-66.members.linode.com (173.230.156.66) is up, received localhost-response (0.000048s latency).
Scanned at 2011-12-22 05:38:17 PST for 57s
Interesting ports on li166-66.members.linode.com (173.230.156.66):
Not shown: 993 closed ports
Reason: 993 resets
PORT     STATE SERVICE  REASON  VERSION
22/tcp   open  ssh      syn-ack OpenSSH 5.3p1 (protocol 2.0)
25/tcp   open  smtp     syn-ack Postfix smtpd
80/tcp   open  http     syn-ack Apache httpd
443/tcp  open  ssl/http syn-ack Apache httpd
465/tcp  open  ssl/smtp syn-ack Postfix smtpd
587/tcp  open  smtp     syn-ack Postfix smtpd
4242/tcp open  unknown  syn-ack
1 service unrecognized despite returning data. If you know the service/version, please submit the following fingerprint at http://www.insecure.org/cgi-bin/servicefp-submit.cgi :
SF-Port4242-TCP:V=5.00%I=7%D=12/22%Time=4EF332CF%P=i686-pc-linux-gnu%r(NUL
SF:L,124,"\x80c\0\0\x00622996\|com\.code42\.messaging\.security\.DHPublicK
SF:eyMessageY\xd4\0\0\0\xe20\x81\xdf0\x81\x97\x06\t\*\x86H\x86\xf7\r\x01\x
SF:03\x010\x81\x89\x02A\0\x91\xe9FAA\xd8G\xb6\xb5\x1fw#hmX\x12%\x90x\xda4\
SF:x9a5\x14EYk_KQ\xf5\x11s\\\xc8\x0b\xd5\xa6\x9e9EC\xc7\xeb\rM\x81\x12\xf8
SF:Th\x1c:\t\xba\xc1\xbe=\xaa\xec\xc0G\x17!\x02@Sf\xd0\x88\x91\"s\xafdY\x7
SF:f\xd5\^\x81\r%nB\x1e&#038;_\x93\x82\xfc\xe3\xd9\x9fZ\x96<\xd0'T\x04\x13\xe5\
SF:$\xf5>\x7f\xbeud\xc2p\xae\x89U\xaa\xcf\x06ERm\xfa\xf6S\xd2\xf9\xaf\xe5\
SF:x02n\(\x02\x02\x01\xff\x03C\0\x02@\"\xc8\x81\x9c\x94&#038;\x05i\xdf\x20\x89#
SF:w\xcd\xd0\[\xd7\xf0\xea\x1f`S\xd9B\xc6\x1d\r\xea\xad\)}\x02S\xd6ne\xa2\
SF:xd9\xe3\x88c\?aDk\xf3\xde\x17\x91\x11\xb7\\\x82'uvnA\xfa\xe5\xc2\xe2\xd
SF:8\xfe")%r(GenericLines,124,"\x80c\0\0\x00622996\|com\.code42\.messaging
SF:\.security\.DHPublicKeyMessageY\xd4\0\0\0\xe20\x81\xdf0\x81\x97\x06\t\*
SF:\x86H\x86\xf7\r\x01\x03\x010\x81\x89\x02A\0\x91\xe9FAA\xd8G\xb6\xb5\x1f
SF:w#hmX\x12%\x90x\xda4\x9a5\x14EYk_KQ\xf5\x11s\\\xc8\x0b\xd5\xa6\x9e9EC\x
SF:c7\xeb\rM\x81\x12\xf8Th\x1c:\t\xba\xc1\xbe=\xaa\xec\xc0G\x17!\x02@Sf\xd
SF:0\x88\x91\"s\xafdY\x7f\xd5\^\x81\r%nB\x1e&#038;_\x93\x82\xfc\xe3\xd9\x9fZ\x9
SF:6<\xd0'T\x04\x13\xe5\$\xf5>\x7f\xbeud\xc2p\xae\x89U\xaa\xcf\x06ERm\xfa\
SF:xf6S\xd2\xf9\xaf\xe5\x02n\(\x02\x02\x01\xff\x03C\0\x02@\"\xc8\x81\x9c\x
SF:94&#038;\x05i\xdf\x20\x89#w\xcd\xd0\[\xd7\xf0\xea\x1f`S\xd9B\xc6\x1d\r\xea\x
SF:ad\)}\x02S\xd6ne\xa2\xd9\xe3\x88c\?aDk\xf3\xde\x17\x91\x11\xb7\\\x82'uv
SF:nA\xfa\xe5\xc2\xe2\xd8\xfe")%r(GetRequest,125,"\x80c\0\0\x00622996\|com
SF:\.code42\.messaging\.security\.DHPublicKeyMessageY\xd4\0\0\0\xe30\x81\x
SF:e00\x81\x97\x06\t\*\x86H\x86\xf7\r\x01\x03\x010\x81\x89\x02A\0\x91\xe9F
SF:AA\xd8G\xb6\xb5\x1fw#hmX\x12%\x90x\xda4\x9a5\x14EYk_KQ\xf5\x11s\\\xc8\x
SF:0b\xd5\xa6\x9e9EC\xc7\xeb\rM\x81\x12\xf8Th\x1c:\t\xba\xc1\xbe=\xaa\xec\
SF:xc0G\x17!\x02@Sf\xd0\x88\x91\"s\xafdY\x7f\xd5\^\x81\r%nB\x1e&#038;_\x93\x82\
SF:xfc\xe3\xd9\x9fZ\x96<\xd0'T\x04\x13\xe5\$\xf5>\x7f\xbeud\xc2p\xae\x89U\
SF:xaa\xcf\x06ERm\xfa\xf6S\xd2\xf9\xaf\xe5\x02n\(\x02\x02\x01\xff\x03D\0\x
SF:02A\0\x8d\|\xe6\x81\x9c`\xe7\x82\x86r\xf7\xb8\xa7\xb4\xc2L\xe1\xdc\xf0\
SF:xb5\xb4\t\x063B\xf7\xacG\xf5\xbe\xa1\$\xaa\xa7NRlh-\x02\x94\xdd\xb2<\xa
SF:a\xb26d\x0fO\xbey\xca\xbb\x96\xfc\xbd\xeb\x06E\xeb\xd1U`")%r(Help,124,"
SF:\x80c\0\0\x00622996\|com\.code42\.messaging\.security\.DHPublicKeyMessa
SF:geY\xd4\0\0\0\xe20\x81\xdf0\x81\x97\x06\t\*\x86H\x86\xf7\r\x01\x03\x010
SF:\x81\x89\x02A\0\x91\xe9FAA\xd8G\xb6\xb5\x1fw#hmX\x12%\x90x\xda4\x9a5\x1
SF:4EYk_KQ\xf5\x11s\\\xc8\x0b\xd5\xa6\x9e9EC\xc7\xeb\rM\x81\x12\xf8Th\x1c:
SF:\t\xba\xc1\xbe=\xaa\xec\xc0G\x17!\x02@Sf\xd0\x88\x91\"s\xafdY\x7f\xd5\^
SF:\x81\r%nB\x1e&#038;_\x93\x82\xfc\xe3\xd9\x9fZ\x96<\xd0'T\x04\x13\xe5\$\xf5>\
SF:x7f\xbeud\xc2p\xae\x89U\xaa\xcf\x06ERm\xfa\xf6S\xd2\xf9\xaf\xe5\x02n\(\
SF:x02\x02\x01\xff\x03C\0\x02@WMP\?`\x12\x0bG;\xbc\xa3\xda\xfe5\xbcJVa\+N\
SF:x87UQ\xd9\*\x1b3}\x90\xb3ku\xa2\x94}\xa2\xda\xae\x960\r\x97\x83\x9d!1Ut
SF:\xbdZ\x85\x1cS\xf9\x8f\xe4\xa5\.\xde\xfe\xe2\xa1\xe4\xc3");
No exact OS matches for host (If you know what OS is running on it, see http://nmap.org/submit/ ).
TCP/IP fingerprint:
OS:SCAN(V=5.00%D=12/22%OT=22%CT=1%CU=39769%PV=N%DS=0%G=Y%TM=4EF33302%P=i686
OS:-pc-linux-gnu)SEQ(SP=103%GCD=1%ISR=10E%TI=Z%CI=Z%II=I%TS=A)OPS(O1=M400CS
OS:T11NW4%O2=M400CST11NW4%O3=M400CNNT11NW4%O4=M400CST11NW4%O5=M400CST11NW4%
OS:O6=M400CST11)WIN(W1=8000%W2=8000%W3=8000%W4=8000%W5=8000%W6=8000)ECN(R=Y
OS:%DF=Y%T=40%W=8018%O=M400CNNSNW4%CC=Y%Q=)T1(R=Y%DF=Y%T=40%S=O%A=S+%F=AS%R
OS:D=0%Q=)T2(R=N)T3(R=Y%DF=Y%T=40%W=8000%S=O%A=S+%F=AS%O=M400CST11NW4%RD=0%
OS:Q=)T4(R=Y%DF=Y%T=40%W=0%S=A%A=Z%F=R%O=%RD=0%Q=)T5(R=Y%DF=Y%T=40%W=0%S=Z%
OS:A=S+%F=AR%O=%RD=0%Q=)T6(R=Y%DF=Y%T=40%W=0%S=A%A=Z%F=R%O=%RD=0%Q=)T7(R=Y%
OS:DF=Y%T=40%W=0%S=Z%A=S+%F=AR%O=%RD=0%Q=)U1(R=Y%DF=N%T=40%IPL=164%UN=0%RIP
OS:L=G%RID=G%RIPCK=G%RUCK=G%RUD=G)IE(R=Y%DFI=N%T=40%CD=S)

Uptime guess: 25.542 days (since Sat Nov 26 16:38:31 2011)
Network Distance: 0 hops
TCP Sequence Prediction: Difficulty=259 (Good luck!)
IP ID Sequence Generation: All zeros
Final times for host: srtt: 48 rttvar: 3  to: 100000

Read from /usr/share/nmap: nmap-os-db nmap-rpc nmap-service-probes nmap-services.
OS and Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 57.09 seconds
           Raw packets sent: 1095 (51.990KB) | Rcvd: 2212 (98.808KB)
</pre>
<p><br/><br/><br />
Note: You can <a href="http://insecure.org/cgi-bin/submit.cgi?new-os">submit OS fingerprints</a> to the nmap database to contribute.<br />
<br/><br/><br />
Also check out the nmap <a href="http://nmap.org/book/man-os-detection.html">doc on OS detection</a> which has <a href="http://nmap.org/book/osdetect.html">more information</a>. It&#8217;s always good to RTFM.<br />
<br/><br/></p>
<hr/>
<hr/>
<h1>OS Detection with ping</h1>
<p>And a good trick to know: a simple ping command can often help determine a target OS. Though if a firewall is responding on behalf of the host, results may vary and be skewed.<br/><br/></p>
<p><b>The TTL for Linux is typically 64 or 255.</b><br/><br/></p>
<p><b>The TTL for Windows is 128.</b><br/><br/></p>
<p>Linux host, see the ttl=64 results:<br/></p>
<pre>
$ ping 192.168.1.215
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.056 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.041 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.029 ms
64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.049 ms
64 bytes from localhost (127.0.0.1): icmp_seq=5 ttl=64 time=0.040 ms
^C
--- localhost ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.029/0.043/0.056/0.009 ms
</pre>
<p><br/></p>
<p>Windows host, see the ttl=128 results:<br/></p>
<pre>
$ ping 10.112.12.30
PING 10.112.12.30 (10.112.12.30): 56 data bytes
64 bytes from 10.112.12.30: icmp_seq=0 ttl=128 time=0.622 ms
64 bytes from 10.112.12.30: icmp_seq=1 ttl=128 time=0.786 ms
64 bytes from 10.112.12.30: icmp_seq=2 ttl=128 time=0.704 ms
64 bytes from 10.112.12.30: icmp_seq=3 ttl=128 time=0.510 ms
64 bytes from 10.112.12.30: icmp_seq=4 ttl=128 time=0.913 ms
^C
--- 10.112.12.30 ping statistics ---
5 packets transmitted, 5 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.510/0.707/0.913/0.138 ms
</pre>
<p><br/><br/></p>
<p><b>Cool!</b><br />
<br/><br/></p>
]]></content:encoded>
			<wfw:commentRss>http://scottlinux.com/2011/12/22/tcpos-fingerprinting-tools-p0f-and-nmap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
	</item>
	</channel>
</rss>

