<?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>UnderGrid Network Services</title>
	<atom:link href="http://undergrid.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://undergrid.net</link>
	<description>A fresh alternative for your IT consulting needs!</description>
	<lastBuildDate>Wed, 09 Feb 2011 20:48:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Pardon the dust</title>
		<link>http://undergrid.net/2011/01/pardon-the-dust/</link>
		<comments>http://undergrid.net/2011/01/pardon-the-dust/#comments</comments>
		<pubDate>Fri, 28 Jan 2011 19:00:27 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://undergrid.net/?p=5</guid>
		<description><![CDATA[At this time UnderGrid Network Services is currently undergoing a corporate restructuring. As a result of this some information may be missing but we&#8217;re working diligently to remedy the situation and limit the unavailability. All of this effort is being done in order to provide a better level of service to our clients and expand [...]]]></description>
			<content:encoded><![CDATA[<p>At this time UnderGrid Network Services is currently undergoing a corporate restructuring. As a result of this some information may be missing but we&#8217;re working diligently to remedy the situation and limit the unavailability.</p>
<p>All of this effort is being done in order to provide a better level of service to our clients and expand our value proposition to both existing and new clientele. In the next coming weeks and months look forward to hearing about all the new features and services UnderGrid Network Services will be providing. If you&#8217;ve been working with us in the past, we look forward to doing so in the future and we look forward to working with you that we have not yet had the opportunity to do so.</p>
<iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fundergrid.net%2F2011%2F01%2Fpardon-the-dust%2F&amp;layout=button_count&amp;show_faces=true&amp;width=280&amp;action=recommend&amp;colorscheme=light&amp;height=30' scrolling='no' frameborder='0' style='border:none; overflow:hidden; height:30px' allowTransparency='true'></iframe>]]></content:encoded>
			<wfw:commentRss>http://undergrid.net/2011/01/pardon-the-dust/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby on Rails hosting by Web.com</title>
		<link>http://undergrid.net/2010/02/ruby-on-rails-hosting-by-web-com/</link>
		<comments>http://undergrid.net/2010/02/ruby-on-rails-hosting-by-web-com/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 01:52:42 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[web.com]]></category>

		<guid isPermaLink="false">http://blog.undergrid.net/?p=14</guid>
		<description><![CDATA[Usually in the past I&#8217;ve done my web hosting on either one of the many servers I own or utilizing VPS hosting providers like VPSfarm.com, GrokThis.net or Linode.com, but lately with the economy and a price that can&#8217;t be beat I&#8217;ve been using Web.com&#8216;s Linux Hosting plan to meet my needs. This has met all my [...]]]></description>
			<content:encoded><![CDATA[<p>Usually in the past I&#8217;ve done my web hosting on either one of the many servers I own or utilizing VPS hosting providers like <a href="http://vpsfarm.com" target="_blank">VPSfarm.com</a>, <a href="http://grokthis.net" target="_blank">GrokThis.net</a> or <a href="http://linode.com" target="_blank">Linode.com</a>, but lately with the economy and a price that can&#8217;t be beat I&#8217;ve been using <a href="http://www.web.com" target="_blank">Web.com</a>&#8216;s Linux Hosting plan to meet my needs. This has met all my requirements except one, I couldn&#8217;t run my Ruby on Rails applications that I was working on development for using their services. Well until now that is&#8230; Thanks in part to a great Systems Engineer that I&#8217;ve had the pleasure of working with and knowing great strides had been made to improve the feature set to the level that a power user like myself would appreciate adding even more value to the offering.</p>
<p>Recently there had been work being done to add FastCGI access to the Linux Hosting plan which already offers PHP5, Python 2.4 and Perl 5. Ruby is still not available on the system as a whole; however, that doesn&#8217;t stop you from adding it to your own account which is precisely what I did. Armed with the ability to test out FastCGI I proceeded to work on getting a very simple test RoR app setup and running.</p>
<p><span id="more-42"></span>To start with I needed to get Ruby installed. To do this I simply logged into my shell account (another great feature of Web.com&#8217;s Linux Hosting) and proceeded to download the necessary sources:</p>
<blockquote>
<div>$ wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.gz</div>
<div>$ wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz</div>
</blockquote>
<p>With the source downloaded I then extracted them into the tmp/ directory in my account and built them.</p>
<blockquote>
<div>$ tar -xzf ruby-1.8.7-p174.tar.gz -C tmp/</div>
<div>$ tar -xzf rubygems-1.3.5.tgz -C tmp/</div>
<div>$ cd tmp/ruby-1.8.7-p174/</div>
<div>$ ./configure &#8211;prefix=$HOME</div>
<div>$ make</div>
<div>$ make install</div>
<div>$ cd ~/tmp/rubygems-1.3.5/</div>
<div>$ ruby setup.rb</div>
</blockquote>
<p>With this completed you should have Ruby 1.8.7 and RubyGem 1.3.5 ready to go. You can test by running the following couple of commands:</p>
<blockquote>
<div>$ ruby -v</div>
<div>ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-linux]</div>
<div>$ gem -v</div>
<div>1.3.5</div>
</blockquote>
<p>Now we&#8217;re ready to rock and roll&#8230; We just need a few gems to be thrown in and we&#8217;ll have Ruby on Rails ready to go and be able to use MySQL for the database. So we&#8217;ll start off with the basics&#8230;</p>
<blockquote><p>$ gem install rails mysql fcgi</p></blockquote>
<p>This should install any other gems that are necessary for dependencies and you can check the final list of gems installed running <strong><em>gem list</em></strong> later if you&#8217;re curious to see them all. Now would also be a good time to go ahead and clean-up your tmp/ directory as you won&#8217;t be needing all that source any more so why use up the disk resources.</p>
<p>Now we just need a Rails application to run, so we&#8217;ll start out with building one from scratch although if you have one ready to go then you could just upload it to your home directory. For purposes of this I&#8217;m just going to setup a Rails webapp aptly called &#8220;<strong>test</strong>&#8221; as follows:</p>
<blockquote><p>$ rails -D -d mysql ~/test</p></blockquote>
<p>Now we just need to go create our webapps public/.htaccess file with the necessary configuration settings. For my example I used the following for my .htaccess file:</p>
<blockquote>
<div>Options +FollowSymLinks +ExecCGI</div>
<div>&lt;IfModule mod_fastcgi.c&gt;</div>
<div style="padding-left: 30px;">AddHandler fastcgi-script .fcgi</div>
<div>&lt;/IfModule&gt;</div>
<div>&lt;IfModule mod_rewrite.c&gt;</div>
<div style="padding-left: 30px;">RewriteEngine On</div>
<div style="padding-left: 30px;">RewriteRule ^$ index.html [QSA]</div>
<div style="padding-left: 30px;">RewriteRule ^([^.]+)$ $1.html [QSA]</div>
<div style="padding-left: 30px;">RewriteCond %{REQUEST_FILENAME} !-f</div>
<div style="padding-left: 30px;">RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]</div>
<div>&lt;/IfModule&gt;</div>
</blockquote>
<p>Armed with this we just need to setup the virtual host. I set this up as test.example.com so it ran isolated from my regular non-Rails website. To do this I logged into my support account (outside scope of this entry) and setup <strong>test.example.com</strong> as a website content path as <strong>/test/public</strong>. Then while still logged into the support site created the necessary database tables <strong>test_development</strong> and <strong>test_production</strong>. You could also setup separate database uses at this time for the databases as well if you liked.</p>
<p>Once the databases were created I needed to edit the <strong>test/config/database.yml</strong> file with the necessary database name and credentials. Also set the database host to the appropriate hostname provided for your account. You&#8217;ll then need to setup and migrate the database.</p>
<blockquote>
<div>$ cd ~/test</div>
<div>$ rake db:migrate</div>
<div>$ rake db:setup</div>
</blockquote>
<p>Everything done you&#8217;re now ready to test it out and see if it all works. If you open up your browser and go to <a href="http://test.example.com">http://test.example.com</a> and you should see the default Ruby on Rails welcome page. If you click on the &#8220;About your application&#8217;s environment&#8221; link it should drop-down and show you the version information for your Rails application. From here you&#8217;re ready to begin the rest of your webapp development.</p>
<iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fundergrid.net%2F2010%2F02%2Fruby-on-rails-hosting-by-web-com%2F&amp;layout=button_count&amp;show_faces=true&amp;width=280&amp;action=recommend&amp;colorscheme=light&amp;height=30' scrolling='no' frameborder='0' style='border:none; overflow:hidden; height:30px' allowTransparency='true'></iframe>]]></content:encoded>
			<wfw:commentRss>http://undergrid.net/2010/02/ruby-on-rails-hosting-by-web-com/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GnuPG Key Policy Manager</title>
		<link>http://undergrid.net/2008/07/gnupg-key-policy-manager/</link>
		<comments>http://undergrid.net/2008/07/gnupg-key-policy-manager/#comments</comments>
		<pubDate>Sat, 12 Jul 2008 23:29:30 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[key policy]]></category>
		<category><![CDATA[pgp]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.undergrid.net/?p=5</guid>
		<description><![CDATA[Taking GNU Privacy Guard key usage seriously I have had a published key usage policy that I embed the link into any GPG key signature when signing a key. After years of using PGP/GPG I have found that having an established usage and management policy is nice as it lets others know that you take [...]]]></description>
			<content:encoded><![CDATA[<p>Taking GNU Privacy Guard key usage seriously I have had a published key usage policy that I embed the link into any GPG key signature when signing a key. After years of using PGP/GPG I have found that having an established usage and management policy is nice as it lets others know that you take your key usage seriously.</p>
<p><span id="more-39"></span>Over the years the URL I&#8217;ve used for my key policy has changed, as well the URL itself has evolved with the times. Originally it was simply a text/plain file returned back. I have not turned it into a manager that not only presents the key policy, but also provides links to the detached signatures of the policy and verifies either the MD5 or SHA1 checksum of the policy file if provided.  This policy manager is currently being worked on to be able to provide as both a shareware and licensed versions. As it involves GPG key usage the license will be generated for the users GPG key.</p>
<p>Those interest can feel free to check out <a title="Jeremy T. Bouse GPG Key Policy" href="http://undergrid.net/legal/gpg/" target="_blank">my key policy</a> and watch as it evolves. Those wishing to potentially make use of the policy manager can also inquire further as there is no current targeted date for a general release.</p>
<iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fundergrid.net%2F2008%2F07%2Fgnupg-key-policy-manager%2F&amp;layout=button_count&amp;show_faces=true&amp;width=280&amp;action=recommend&amp;colorscheme=light&amp;height=30' scrolling='no' frameborder='0' style='border:none; overflow:hidden; height:30px' allowTransparency='true'></iframe>]]></content:encoded>
			<wfw:commentRss>http://undergrid.net/2008/07/gnupg-key-policy-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spam be gone</title>
		<link>http://undergrid.net/2008/07/spam-be-gone/</link>
		<comments>http://undergrid.net/2008/07/spam-be-gone/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 08:09:31 +0000</pubDate>
		<dc:creator>Jeremy</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[dkim]]></category>
		<category><![CDATA[domainkeys]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[sender id]]></category>
		<category><![CDATA[sender policy framework]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[spf]]></category>

		<guid isPermaLink="false">http://blog.undergrid.net/?p=4</guid>
		<description><![CDATA[So I&#8217;ve got this serious jonesing love/hate relationship with spam. Personally I&#8217;d love to collect all the spammers of the world in a nice lead lined room and irradiate them with low yield nuclear waste. Not enough to kill them note you, just enough to ensure that they don&#8217;t breed! There are so many methods [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve got this serious jonesing love/hate relationship with spam. Personally I&#8217;d love to collect all the spammers of the world in a nice lead lined room and irradiate them with low yield nuclear waste. Not enough to kill them note you, just enough to ensure that they don&#8217;t breed!</p>
<p>There are so many methods out there to try and curb the amount of spam out there but never seems to be enough adoption of them. I try my best to implement what I can as I&#8217;ve fallen victim of several &#8220;joe jobs&#8221; in the past. As a result of that I looked at Sender Policy Framework (SPF) before it got introduced into the IETF track and became spf2.0/mfrom,pra. I&#8217;m still running my spf1 classic records and it has helped a bit, but I wonder just how many servers really bother to check and honor the policies published.</p>
<p><span id="more-4"></span>Likewise, recently I&#8217;ve taken the time to implement DomainKeys and DKIM on our servers. On our newest domain which hasn&#8217;t even been put to use yet so there are no email addresses in the wild I&#8217;ve actually been working to set the policy stating all emails will be signed. As I maintain the only legitimate servers that should be sending email out with the domain it shouldn&#8217;t be a problem and should hopefully limit the use of it for phishing and spam.</p>
<p>Another tool in the aresenal that has helped considerably has be greylisting. It&#8217;s simple, it works with existing protocols and I&#8217;m surprised more sites don&#8217;t use it. So you incur a small delay in email delivery time but it eliminates untold amounts of spam just by simply delaying the inevitable. For the longest time greylisting and SPF were more than enough to help keep my inboxes clean of most spam although I still dealt with a handful or so.</p>
<p>The other tools I&#8217;ve found invaluable but some consider controversial is use of DNS RBLs. While not all RBLs are created equal there are some very good ones out there that have reputable organizations behind them. I do limit the number of RBLs I check but the ones I check eliminate a fair amount of the spam that once made it through to my mailbox. The composite RBLs are even nicer as they cover more with a single query which helps speed up performance when you have multiple RBLs along with DK, DKIM and SPF all making DNS queries as well.</p>
<p>A good metric that things were working for me was when I had it down to less than a handful of spam messages getting through to my inbox a day. I then updated one of my forwarded email addresses on a server that had no RBLs in use to my regular mailbox address. Within 24 hours the number of spam messages that had gotten through numbered in the hundreds. I worked quickly to get that address using the same blacklists as my main mail servers and the volume of spam nearly disappeared.</p>
<p>Bottom line is with existing technologies it&#8217;s easy to curb the spam if more mail servers made use of them. When we can finally get authoritative authentication with the messages being delivered that will help even more. Although sadly as it&#8217;s already shown all too well, as the technologies advance to reduce the spam the spammers themselves have evolved to get around them.</p>
<p>Never a slow day when you&#8217;re wearing the postmaster/abuse hat but it comes with the job.</p>
<iframe src='http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fundergrid.net%2F2008%2F07%2Fspam-be-gone%2F&amp;layout=button_count&amp;show_faces=true&amp;width=280&amp;action=recommend&amp;colorscheme=light&amp;height=30' scrolling='no' frameborder='0' style='border:none; overflow:hidden; height:30px' allowTransparency='true'></iframe>]]></content:encoded>
			<wfw:commentRss>http://undergrid.net/2008/07/spam-be-gone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

