<?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>New Gallifreyan Blog &#187; planet.ubuntu.com aggregated</title>
	<atom:link href="http://lordoftime.info/?tag=ubuntu-planet&#038;feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://lordoftime.info</link>
	<description>The Lord of Time.  Master of TrekWeb.  Member of Ubuntu.</description>
	<lastBuildDate>Wed, 08 May 2013 19:05:35 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Opinions on #ubuntu-discuss (IRC)</title>
		<link>http://lordoftime.info/?p=51</link>
		<comments>http://lordoftime.info/?p=51#comments</comments>
		<pubDate>Tue, 13 Nov 2012 14:13:22 +0000</pubDate>
		<dc:creator>The Lord of Time</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu IRC]]></category>
		<category><![CDATA[planet.ubuntu.com aggregated]]></category>

		<guid isPermaLink="false">http://lordoftime.info/?p=51</guid>
		<description><![CDATA[So, this is a short post, but it should be considered. Several IRCC meetings ago, the IRCC decided to try and run an &#8220;experiment&#8221; to move Ubuntu-related non-support out of #ubuntu-offtopic, and into #ubuntu-discuss. While the concept was sound, and was agreed upon in a majority, there&#8217;s some&#8230; operational flaws&#8230; i think need to be <a href='http://lordoftime.info/?p=51' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>So, this is a short post, but it should be considered.</p>
<p>Several IRCC meetings ago, the IRCC decided to try and run an &#8220;experiment&#8221; to move Ubuntu-related non-support out of #ubuntu-offtopic, and into #ubuntu-discuss.</p>
<p>While the concept was sound, and was agreed upon in a majority, there&#8217;s some&#8230; operational flaws&#8230; i think need to be discussed.</p>
<p>The IRCC meeting on November 25, 2012, has a discussion on this in its agenda.  I won&#8217;t be there to provide my views, since i&#8217;m stuck on a bus all day that day.  But, here&#8217;s my opinions:</p>
<ol>
<li>The concept was sound, but there was little to no encouragement for users in #ubuntu to bring ubuntu-related discussion to the discuss channel.</li>
<li>Very little awareness to the community of the -discuss channel resulted in very little usage.</li>
<li>Very little actual discussion was brought up in channels, and where some discussion may have occurred, nobody was there to discuss it</li>
</ol>
<p>That&#8217;s my opinions.  I&#8217;m going to email this to the irc list anyways, so that the IRCC can bring up my statements at the meeting on my behalf.</p>
]]></content:encoded>
			<wfw:commentRss>http://lordoftime.info/?feed=rss2&#038;p=51</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Servers and PHP FPM: The New Method in Quantal</title>
		<link>http://lordoftime.info/?p=39</link>
		<comments>http://lordoftime.info/?p=39#comments</comments>
		<pubDate>Fri, 07 Sep 2012 17:00:09 +0000</pubDate>
		<dc:creator>The Lord of Time</dc:creator>
				<category><![CDATA[php5]]></category>
		<category><![CDATA[Server Packages]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[planet.ubuntu.com aggregated]]></category>

		<guid isPermaLink="false">http://lordoftime.info/?p=39</guid>
		<description><![CDATA[Due to LaunchPad Bug #900620, and Debian Bug 650204, the PHP package was modified in both Debian and Ubuntu (for PHP versions 5.4.0 and newer) to have php5-fpm listen on a UNIX socket by default, running at /var/run/php5-fpm.sock. This had a &#8220;NEWS&#8221; item in debian/NEWS, but was very obscure, and not extremely recent,so this change <a href='http://lordoftime.info/?p=39' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>Due to <a href="https://bugs.launchpad.net/ubuntu/+source/php5/+bug/900620" target="_blank">LaunchPad Bug #900620</a>, and <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650204" target="_blank">Debian Bug 650204</a>, the PHP package was modified in both Debian and Ubuntu (for PHP versions 5.4.0 and newer) to have php5-fpm listen on a UNIX socket by default, running at <span style="font-family: courier new;">/var/run/php5-fpm.sock</span>.</p>
<p>This had a &#8220;NEWS&#8221; item in debian/NEWS, but was very obscure, and not extremely recent,so this change went by semi-stealthily.</p>
<p><strong>Anyone upgrading to Quantal from Precise or earlier which have servers using php5-fpm assuming that it&#8217;ll continue to listen on 127.0.0.1:9000 will need to change their configurations to adapt for this change!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://lordoftime.info/?feed=rss2&#038;p=39</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opinion: Bug Importance &#8211; What makes a package Core or Non-Core?</title>
		<link>http://lordoftime.info/?p=19</link>
		<comments>http://lordoftime.info/?p=19#comments</comments>
		<pubDate>Fri, 03 Aug 2012 15:00:16 +0000</pubDate>
		<dc:creator>The Lord of Time</dc:creator>
				<category><![CDATA[Ubuntu Bugs]]></category>
		<category><![CDATA[planet.ubuntu.com aggregated]]></category>

		<guid isPermaLink="false">http://lordoftime.info/?p=19</guid>
		<description><![CDATA[In the BugSquad documentation on Bug Importance, the concept of &#8220;Core vs. Non-Core&#8221; shows up. In the past couple of months, I have brought up discussion on that topic within the BugSquad mailing list. We seem to have come to determine that anything &#8220;core&#8221; either has a task related to it, or will show up <a href='http://lordoftime.info/?p=19' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>In the <a href="https://wiki.ubuntu.com/Bugs/Importance">BugSquad documentation on Bug Importance</a>, the concept of &#8220;Core vs. Non-Core&#8221; shows up.  In the past couple of months, I have brought up discussion on that topic within the BugSquad mailing list.</p>
<p>We seem to have come to determine that anything &#8220;core&#8221; either has a task related to it, or will show up as a dependency of the ubuntu-desktop, edubuntu-desktop, kubuntu-dekstop, etc. packages for each official derivative of Ubuntu.  For example:</p>
<blockquote><p>I&#8217;d say packages that are a part of a task should be considered core and<br />
most other things non-core.  As an example:</p>
<p>apt-cache show empathy | grep ^Task<br />
Task: ubuntu-desktop, ubuntu-usb, edubuntu-desktop, edubuntu-usb</p>
<p>&#8211; Brian Murray, Ubuntu Bug Master</p></blockquote>
<p>The &#8216;empathy&#8217; package has tasks, specifically for ubuntu-desktop and edubuntu-desktop.  It&#8217;s also listed as a dependency in the ubuntu-desktop package.  That would define it as core, according to Brian Murray.</p>
<p>I happen to fully agree with this.  If it has tasks related to a specific official derivative of Ubuntu, it should be considered core.</p>
<p><strong>Note that the Bug Squad and Bug Control have not yet decided to make this as the determination of a Core or a non-Core package!  This is just my opinion, stating that I agree with Brain Murray&#8217;s determination of how core/non-core should be determined!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://lordoftime.info/?feed=rss2&#038;p=19</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Minimal IPTables Setup: WebServer, MySQL, PHP. (LAMP, for example)</title>
		<link>http://lordoftime.info/?p=11</link>
		<comments>http://lordoftime.info/?p=11#comments</comments>
		<pubDate>Fri, 03 Aug 2012 14:09:15 +0000</pubDate>
		<dc:creator>The Lord of Time</dc:creator>
				<category><![CDATA[iptables]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[planet.ubuntu.com aggregated]]></category>

		<guid isPermaLink="false">http://lordoftime.info/?p=11</guid>
		<description><![CDATA[A few weeks ago, someone posted on Ask Ubuntu asking for a minimal IPtables setup for LAMP servers. As you can guess by the only answer there, I posted the following iptables commands for this: iptables -A INPUT -i lo -j ACCEPT iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT iptables -A INPUT -p <a href='http://lordoftime.info/?p=11' class='excerpt-more'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago, <a href="http://askubuntu.com/questions/160830/minimal-lamp-iptables-setup/160834" target="_blank">someone posted on Ask Ubuntu</a> asking for a minimal IPtables setup for LAMP servers.</p>
<p>As you can guess by the only answer there, I posted the following iptables commands for this:<br />
<code>iptables -A INPUT -i lo -j ACCEPT<br />
iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT<br />
iptables -A INPUT -p tcp --dport 22 -j ACCEPT<br />
iptables -A INPUT -p tcp --dport 80 -j ACCEPT<br />
iptables -A INPUT -p udp --dport 80 -j ACCEPT<br />
iptables -A INPUT -j REJECT --reject-with icmp-host-unreachable</code></p>
<p>The above is <strong>extraordinarily</strong> minimal.  Time to go through this, and figure out what I should have included, and what I intentionally left out.</p>
<p>First, we&#8217;ll look at the first command, <span style="font-family: Courier New;">iptables -A INPUT -i lo -j ACCEPT</span>.  This adds a rule which states that &#8220;Any traffic originating on the loopback interface, or localhost, is allowed.&#8221;.</p>
<p>The next rule, <span style="font-family: Courier New;">iptables -A INPUT -m conntrack &#8211;ctstate ESTABLISHED,RELATED -j ACCEPT</span>, uses a specialized module, called &#8216;conntrack&#8217;, which tracks connection states.  This rule states that pre-established connections, and related connections, are accepted and not blocked.</p>
<p>The next rule, <span style="font-family: Courier New;">iptables -A INPUT -p tcp &#8211;dport 22 -j ACCEPT</span>, accepts all traffic on port 22 (for default SSH installations and setups).</p>
<p>The next two rules, <span style="font-family: Courier New;">iptables -A INPUT -p tcp &#8211;dport 80 -j ACCEPT<br />
</span> and <span style="font-family: Courier New;">iptables -A INPUT -p udp &#8211;dport 80 -j ACCEPT</span>, accept HTTP traffic on Port 80.  Since HTTP traffic is both TCP and UDP, you need to have both.</p>
<p>The last rule in the above set, <span style="font-family: Courier New;">iptables -A INPUT -j REJECT &#8211;reject-with icmp-host-unreachable</span>, uses a specialized target chain called &#8220;REJECT&#8221; which rejects the packets.  The specific ICMP packet that will be used to reject the packet is &#8220;host unreachable&#8221; which terminates the networking connection to the server.</p>
<p>&#8212;</p>
<p>Now apparently, there are a few things I intentionally left out.  Unless your server specifically hosts MySQL databases for external servers, you don&#8217;t need to allow MySQL traffic.  Therefore, I did not add a rule to allow traffic from outside of the server itself related to MySQL (local mysql traffic is handled via the loopback rule that we first added).  PHP has no reason to listen externally for requests, so it listens only on 127.0.0.1:9000 (in PHP 5.3.x, on Ubuntu Precise), or on the UNIX socket /var/run/php-fpm.sock (or similar, in PHP 5.4.x, on Ubuntu Quantal and later).  Therefore, since PHP traffic will only be local, it&#8217;ll also be covered by that first rule, so no rule is needed for the PHP traffic.</p>
<p>I intentionally left out filtering of ICMP packets, such as pings.  For an <strong><em>absolutely minimal</em></strong> setup of IPTables, you probably won&#8217;t want people to send you large pings (Pings of Death), or other ICMP packets outside of local traffic.  I did not add ICMP filtering rules because I generally to not accept ICMP packets such as pings from external networks.  I have a specialized program that establishes a TCP connection via HTTP and Curl automatically from my servers to one central server on an Amazon EC2 instance.  The nginx access.log therefore will actually list those connections, and since I run that connection script every two minutes, its a semi-effective way of determining if the server infrastructure is online or not.  If it&#8217;s not, i&#8217;ve got a nag-script that emails me if one misses a scheduled check-in several times, or if it hasnt responded in the past hour.</p>
]]></content:encoded>
			<wfw:commentRss>http://lordoftime.info/?feed=rss2&#038;p=11</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
