<?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>Racker Hacker &#187; debian</title>
	<atom:link href="http://rackerhacker.com/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://rackerhacker.com</link>
	<description>Words of wisdom from a server administrator</description>
	<lastBuildDate>Wed, 16 May 2012 12:55:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Automatically loading iptables rules on Debian/Ubuntu</title>
		<link>http://rackerhacker.com/2009/11/16/automatically-loading-iptables-on-debianubuntu/</link>
		<comments>http://rackerhacker.com/2009/11/16/automatically-loading-iptables-on-debianubuntu/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 04:39:52 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/?p=1039</guid>
		<description><![CDATA[If you want your iptables rules automatically loaded every time your networking comes up on your Debian or Ubuntu server, you can follow these easy steps. First, get your iptables rules set up the way you like them. Once you've verified that everything works, save the rules: iptables-save &#62; /etc/firewall.conf Next, open up /etc/network/if-up.d/iptables in [...]<p><a href="http://rackerhacker.com/2009/11/16/automatically-loading-iptables-on-debianubuntu/">Automatically loading iptables rules on Debian/Ubuntu</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>If you want your iptables rules automatically loaded every time your networking comes up on your Debian or Ubuntu server, you can follow these easy steps.</p>
<p>First, get your iptables rules set up the way you like them.  Once you've verified that everything works, save the rules:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">iptables-save &gt; /etc/firewall.conf</pre></div></div>

<p>Next, open up <code>/etc/network/if-up.d/iptables</code> in your favorite text editor and add the following:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
iptables-restore <span style="color: #000000; font-weight: bold;">&lt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>firewall.conf</pre></div></div>

</pre>
<p>Once you save it, make it executable:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">chmod +x /etc/network/if-up.d/iptables</pre></div></div>

<p>Now, the rules will be restored each time your networking scripts start (or restart).  If you need to save changes to your rules in the future, you can manually edit <code>/etc/firewall.conf</code> or you can adjust your rules live and run:</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">iptables-save &gt; /etc/firewall.conf</pre></div></div>

<p><em>Thanks to <a href="http://twitter.com/ajmesserli">Ant</a> for this handy tip.</em></p>
<p><a href="http://rackerhacker.com/2009/11/16/automatically-loading-iptables-on-debianubuntu/">Automatically loading iptables rules on Debian/Ubuntu</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2009/11/16/automatically-loading-iptables-on-debianubuntu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Upgrade Debian etch to lenny</title>
		<link>http://rackerhacker.com/2009/02/18/upgrade-debian-etch-to-lenny/</link>
		<comments>http://rackerhacker.com/2009/02/18/upgrade-debian-etch-to-lenny/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 13:28:39 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/?p=791</guid>
		<description><![CDATA[I've tested this Debian etch to lenny upgrade process a few times so far, and it seems to be working well. sudo vim /etc/apt/sources.list [change 'etch' -&#62; 'lenny'] sudo aptitude update sudo aptitude install apt dpkg aptitude sudo aptitude full-upgrade Upgrade Debian etch to lenny is a post from: Major Hayden's Racker Hacker blog. Thanks [...]<p><a href="http://rackerhacker.com/2009/02/18/upgrade-debian-etch-to-lenny/">Upgrade Debian etch to lenny</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>I've tested this Debian etch to lenny upgrade process a few times so far, and it seems to be working well.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">sudo vim /etc/apt/sources.list     [change 'etch' -&gt; 'lenny']
sudo aptitude update
sudo aptitude install apt dpkg aptitude
sudo aptitude full-upgrade</pre></div></div>

<p><a href="http://rackerhacker.com/2009/02/18/upgrade-debian-etch-to-lenny/">Upgrade Debian etch to lenny</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2009/02/18/upgrade-debian-etch-to-lenny/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New Linux security advisory Twitter bots</title>
		<link>http://rackerhacker.com/2009/02/05/new-linux-security-advisory-twitter-bots/</link>
		<comments>http://rackerhacker.com/2009/02/05/new-linux-security-advisory-twitter-bots/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 17:00:03 +0000</pubDate>
		<dc:creator>Major Hayden</dc:creator>
				<category><![CDATA[Blog Posts]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://rackerhacker.com/?p=762</guid>
		<description><![CDATA[Thanks to the simplicity of ruby as well as the twitter and httparty gems, I've whipped up some Twitter bots today. The three bots will alert you when there are Red Hat, Ubuntu, or Debian security advisories. I'd set one up for Fedora, but their feed is broken today. @redhaterrata - Red Hat Errata Updates [...]<p><a href="http://rackerhacker.com/2009/02/05/new-linux-security-advisory-twitter-bots/">New Linux security advisory Twitter bots</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></description>
			<content:encoded><![CDATA[<p>Thanks to the simplicity of <a href="http://ruby-lang.org/">ruby</a> as well as the <a href="http://twitter.rubyforge.org/">twitter</a> and <a href="http://github.com/jnunemaker/httparty/tree/master">httparty</a> gems, I've whipped up some Twitter bots today.  The three bots will alert you when there are Red Hat, Ubuntu, or Debian security advisories.  I'd set one up for Fedora, but their feed is broken today.</p>
<p><strong><a href="http://twitter.com/redhaterrata/">@redhaterrata</a></strong> - Red Hat Errata Updates<br />
<strong><a href="http://twitter.com/ubuntusecurity/">@ubuntusecurity</a></strong> - Ubuntu Security Notifications<br />
<strong><a href="http://twitter.com/debiansecurity/">@debiansecurity</a></strong> - Debian Security Advisories</p>
<p>As always, you can <a href="http://twitter.com/rackerhacker/">let me know</a> if you have any suggestions for improvements, or other bots you'd like to see.</p>
<p><a href="http://rackerhacker.com/2009/02/05/new-linux-security-advisory-twitter-bots/">New Linux security advisory Twitter bots</a> is a post from: Major Hayden's <a href="http://rackerhacker.com">Racker Hacker</a> blog. 
<p>Thanks for following the blog via the RSS feed. Please don't copy my posts or quote portions of them without attribution.</p></p>
]]></content:encoded>
			<wfw:commentRss>http://rackerhacker.com/2009/02/05/new-linux-security-advisory-twitter-bots/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

