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

<channel>
	<title>nklein software &#187; debugging</title>
	<atom:link href="http://nklein.com/tags/debugging/feed/" rel="self" type="application/rss+xml" />
	<link>http://nklein.com</link>
	<description>software development and consulting</description>
	<lastBuildDate>Wed, 30 Jun 2010 14:00:59 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Who&#8217;s Knocking On My Disk Drive?</title>
		<link>http://nklein.com/2009/05/whos-knocking-on-my-disk-drive/</link>
		<comments>http://nklein.com/2009/05/whos-knocking-on-my-disk-drive/#comments</comments>
		<pubDate>Thu, 28 May 2009 22:32:35 +0000</pubDate>
		<dc:creator>pat</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://nklein.com/?p=457</guid>
		<description><![CDATA[I rebooted my Linux box into Windows Vista several times in the last two days while moving things over to VMWare Fusion.  All day today, my disk drive has given a little spin every two or three seconds.
When I first noticed it, I tried searching around with iostat and top to see if I [...]]]></description>
			<content:encoded><![CDATA[<p>I rebooted my Linux box into Windows Vista several times in the last two days while moving things over to VMWare Fusion.  All day today, my disk drive has given a little spin every two or three seconds.</p>
<p>When I first noticed it, I tried searching around with <strong>iostat</strong> and <strong>top</strong> to see if I had some process run amok.  Finding nothing, I tried rebooting.</p>
<p>The magical reboot was not so magical.  My machine was still merrily hitting the disk every couple seconds.</p>
<p>I searched around the web for <strong>&#8220;disk activity&#8221; linux</strong> and <strong>&#8220;disk activity&#8221; ubuntu</strong>.  I found recommendations that I:
<ul>
<li><a href="http://www.linuxforums.org/forum/linux-newbie/14496-continuous-hard-disk-activity-files-touched-every-2-seconds.html">Kill processes that poll for new media</a></li>
<li><a href="http://ubuntuforums.org/showthread.php?t=839998">Eliminate access time tracking</a> on my filesystem, and</li>
<li><a href="http://www.ulverston.myzen.co.uk/mini-itx/pages/tuning.htm#Reduce_hard_drive_activity_when_server_is_idle">Set syslog not to flush</a> some of its logs</li>
</ul>
<p>All of those seemed bogus to me.  None of them seemed like anything that would have changed yesterday or today.  But, the last one got me thinking.  What logs do I have that do get flushed on every message?  Are any of them going batty today?</p>
<p>Sure enough, <strong>/var/log/auth.log</strong> was getting hit every two or three seconds.  Someone was trying to guess logins on my machine.</p>
<div class="codecolorer-container text blackboard" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">May 28 04:57:57 evariste sshd[6966]: pam_unix(sshd:auth): authentication failure<br />
; logname= uid=0 euid=0 tty=ssh ruser= rhost=nitro.xyzdns.net &nbsp;user=backup<br />
May 28 04:57:59 evariste sshd[6966]: Failed password for backup from 209.51.159.<br />
194 port 54874 ssh2<br />
May 28 04:57:59 evariste sshd[6968]: Invalid user guest from 209.51.159.194<br />
May 28 04:57:59 evariste sshd[6968]: pam_unix(sshd:auth): check pass; user unkno<br />
wn<br />
May 28 04:57:59 evariste sshd[6968]: pam_unix(sshd:auth): authentication failure<br />
; logname= uid=0 euid=0 tty=ssh ruser= rhost=nitro.xyzdns.net <br />
May 28 04:58:01 evariste sshd[6968]: Failed password for invalid user guest from<br />
&nbsp;209.51.159.194 port 54992 ssh2</div></div>
<p>Looking back through the last week, I&#8217;ve had a few spats of bogus login attempts.  Most of them were just four or five attempts in a row.  This one today had gone for twelve hours.</p>
<p>I threw that IP address into <strong>/etc/hosts.deny</strong>.  Now, all is quiet.  Well, except my need to make sure I don&#8217;t let things go for twelve hours again&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://nklein.com/2009/05/whos-knocking-on-my-disk-drive/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
