<?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>ThatJoshGuy.com &#187; duh</title>
	<atom:link href="http://www.thatjoshguy.com/archives/tag/duh/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thatjoshguy.com</link>
	<description>As random as my attention span is short.</description>
	<lastBuildDate>Tue, 07 Sep 2010 23:27:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Firewalls for dummies</title>
		<link>http://www.thatjoshguy.com/archives/124</link>
		<comments>http://www.thatjoshguy.com/archives/124#comments</comments>
		<pubDate>Sun, 24 Jan 2010 13:46:08 +0000</pubDate>
		<dc:creator>thatjoshguy</dc:creator>
				<category><![CDATA[Dislike]]></category>
		<category><![CDATA[Like]]></category>
		<category><![CDATA[Random]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[duh]]></category>
		<category><![CDATA[dumb]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.thatjoshguy.com/archives/124</guid>
		<description><![CDATA[Word to the wise folks. When you&#8217;re installing a firewall on your server due to mysterious login attempts, make sure that you know what IPs you&#8217;re blocking. I ended up driving out to where my server is colocated at 8pm last night because my server wasn&#8217;t reaponding. I had recently installed APF (advanced policy firewall) and BFD (brute force detection) and wad confident in it&#8217;s functionality. Note: I installed and tested it while away from home. Geeky stuff: APF is [...]]]></description>
			<content:encoded><![CDATA[<p>Word to the wise folks. When you&#8217;re installing a firewall on your server due to mysterious login attempts, make sure that you know what IPs you&#8217;re blocking. </p>
<p>I ended up driving out to where my server is colocated at 8pm last night because my server wasn&#8217;t reaponding. I had recently installed APF (advanced policy firewall) and BFD (brute force detection) and wad confident in it&#8217;s functionality. Note: I installed and tested it while away from home. </p>
<p>Geeky stuff: APF is a CLI Frontend for iptables. You can deny/allow IP addresses with simple commands. Pair it with BFD and what you have is a nice little security system that scans server logs every few minutes looking for repeated failed logins and other suspicious activity and automatically blocks access to the offending IP (and tells you what it&#8217;s done in a nicely formatted email. End of geeky stuff.    </p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-5329020190724027";
google_ui_features = "rc:6";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<p>Once I had it up and running I walked away confident in the security of my server. I knew of a few IPs that had been hacking away at me for months, so it was only a matter of time before the emails came telling me they were blocked. I added a few manually just to get the feeling for it. Happy with myself I went out with my lovely wife for dinner and a movie. </p>
<p>Then I tried to access my website from home&#8230;</p>
<p>No http access, no ssh, no FTP, and no reply on pings. Shit.  I call the office and have them reboot my server.  Nothing. </p>
<p>I only live about 10 miles away so I drove out to take a look. Looks like it&#8217;s running&#8230; Better reboot again to make sure it was done right.   A few minutes later and we&#8217;re back in action!  I head home. </p>
<p>Wake up at 6am. No response on my site or email. No FTP. No ssh. DAMMIT!</p>
<p>After a few cups of coffee it dawns on me to try something. I Vpn into my desktop pc at work and pull up my website.  Works fine. Try it again from my local browser, fail. </p>
<p>A feeling starts to nag at me. </p>
<p>I use my remote desktop to SSH into the server. Success. </p>
<p>The feeling gets stronger. </p>
<p>I disable the firewall&#8230;</p>
<p>Everything magically works again. </p>
<p>The feeling begins to redden my cheeks. </p>
<p>I check the firewall rules. </p>
<p>Out of the eight IP adresses I manually denied, my home ip was first on the list. </p>
<p>The day before I installed the firewall I had forgotten that I had changed my password. There were several failed login attempts due to this. </p>
<p>That feeling? Stupidity. I has it. </p>
<p><a href="http://www.thatjoshguy.com/wp-content/uploads/2010/01/l_475_251_13744684-CE21-44AD-9BE9-156BD6FCCB17.jpeg" rel="shadowbox[post-124];player=img;"><img src="http://www.thatjoshguy.com/wp-content/uploads/2010/01/l_475_251_13744684-CE21-44AD-9BE9-156BD6FCCB17.jpeg" alt="" width="300" height="158" class="alignnone size-full wp-image-364" /></a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-5329020190724027";
google_ui_features = "rc:6";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_bg = "FFFFFF";
google_color_link = "0000FF";
google_color_text = "000000";
google_color_url = "008000";

//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
<div class="shr-publisher-124"></div>]]></content:encoded>
			<wfw:commentRss>http://www.thatjoshguy.com/archives/124/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
