<?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>LinuxNiche &#187; Linux</title>
	<atom:link href="http://blog.linuxniche.net/category/aboutlinux/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.linuxniche.net</link>
	<description>The ramblings of a linux geek..</description>
	<lastBuildDate>Wed, 29 Dec 2010 14:14:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Remove black borders/bars in ps3mediaserver</title>
		<link>http://blog.linuxniche.net/2010/12/remove-black-borders-in-ps3mediaserver/</link>
		<comments>http://blog.linuxniche.net/2010/12/remove-black-borders-in-ps3mediaserver/#comments</comments>
		<pubDate>Tue, 28 Dec 2010 05:04:15 +0000</pubDate>
		<dc:creator>FatalSaint</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.linuxniche.net/?p=588</guid>
		<description><![CDATA[Hey all, welcome back. Recently I picked myself up a PS3 (Ok, so I bought it for the &#8220;kid&#8221; for &#8220;christmas&#8221; ;)), and wanted to serve my video files to my 42&#8243; HDTV. Now, I think there are three kinds of people when it comes to watching videos on these HDTV&#8217;s. You&#8217;ve got those that [...]]]></description>
			<content:encoded><![CDATA[<p>Hey all, welcome back.</p>
<p>Recently I picked myself up a PS3 (Ok, so I bought it for the &#8220;kid&#8221; for &#8220;christmas&#8221; ;)), and wanted to serve my video files to my 42&#8243; HDTV.  Now, I think there are three kinds of people when it comes to watching videos on these HDTV&#8217;s.  You&#8217;ve got those that want a film to be stretched to fit width-wise, maintaining it&#8217;s aspect ratio, and just adding the black borders to the top and bottom as filler.  This preserves the &#8220;look&#8221; of the video so that nothing is misproportioned.  Then you have those, like me, that don&#8217;t mind if people get a little taller and skinnier, but just can&#8217;t stand having half the screen be wasted black space.  The third is those that don&#8217;t care.  There&#8217;s always a group for those that don&#8217;t care :D.  <span id="more-588"></span></p>
<p>So anyway, google didn&#8217;t turn up a readily available solution to the problem either.  It&#8217;s been <a href="http://ps3mediaserver.org/forum/viewtopic.php?f=7&#038;t=5636" target="__blank">asked</a> a few times on the ps3mediaserver forums but the answers I saw either didn&#8217;t understand the question, or said the only way is to use &#8220;zoom&#8221; on either the PS3, or your TV.  That&#8217;s just silly.. you lose portions of the video on the left and right.  May as well have a standard non-widescreen tv in that case.  The other ones suggest to use -vf scale, which didn&#8217;t work for me (as it turned out, was only half the answer).  Or using -vf crop in conjunction with -vf scale, which still doesn&#8217;t work for me because I am streaming videos of all sizes and types and I don&#8217;t know where to crop (most of my encodes have the borders removed in the original anyway and there is nothing to crop).</p>
<p>So, playing with mencoders transcoding settings I&#8217;ve come up with this simple little addition inside the Transcoding Settings->Video Files Engine->MEncoder->Expert Settings : Codecs Specific Parameters:<br />
<code><br />
:: -vf scale=1920:1080,dsize=1920:1080<br />
</code></p>
<p>Note the beginning &#8220;::&#8221; as that is telling the ps3mediaserver to apply it to ALL videos.  Obviously, you&#8217;ll replace the 1920:1080 with whatever your television resolution is.  1920&#215;1080 is standard 1080p.  </p>
<p>Anyway, this forces the encoder to fill your screen and not lose the left and right edges of the screen like &#8220;Zoom&#8221; does.  You get the full picture, but if you line it up side by side with the original version you&#8217;ll see the people are a little stretched, etc.  Also note, that if your original has the black borders encoded into the film (watch it non fullscreen on the PC with something like mplayer, if there&#8217;s black borders it&#8217;s probably in the video.) then this won&#8217;t work.  You&#8217;ll need the above with a crop to crop the borders off the original so you&#8217;ll have to figure out whether mencoder has an autocrop feature for that.  Mplayer does, just not sure about mencoder.  Previously, I had to use my <a href="http://blog.linuxniche.net/2009/09/updated-mencoder-script/" target="__blank">own</a> scripts for that.</p>
<p>So, the option is out there for those of you that want to do it.  For those that don&#8217;t, why did you click the link? ;)</p>
<p><strong>Happy Streaming!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.linuxniche.net/2010/12/remove-black-borders-in-ps3mediaserver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04 install with LVM on Raid 1 using Graphical LiveCD</title>
		<link>http://blog.linuxniche.net/2010/09/ubuntu-10-04-install-with-lvm-on-raid-1-using-graphical-livecd/</link>
		<comments>http://blog.linuxniche.net/2010/09/ubuntu-10-04-install-with-lvm-on-raid-1-using-graphical-livecd/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 04:44:26 +0000</pubDate>
		<dc:creator>FatalSaint</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.linuxniche.net/?p=524</guid>
		<description><![CDATA[Hello World! It&#8217;s been a few months since my last post.. I&#8217;ve definitely let my blog go by the wayside.  It just seems I&#8217;ve been running out of things to tinker with.  But, when I do get around to doing something that I can&#8217;t find much information on while googling I try and document it [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Hello World!</strong></p>
<p>It&#8217;s been a few months since my last post.. I&#8217;ve definitely let my blog go by the wayside.  It just seems I&#8217;ve been running out of things to tinker with.  But, when I do get around to doing something that I can&#8217;t find much information on while googling I try and document it somewhere.</p>
<p><span id="more-524"></span>Recently, I acquired a 1TB drive for my <a href="http://blog.linuxniche.net/?p=246" target="_blank">Gaming Desktop</a>.  I wasn&#8217;t able to afford additional hard drives when I purchased that system and as such have just been running with a 2GB swap, 20GB root, and ~478GB for a home.  No <a href="http://en.wikipedia.org/wiki/Fault-tolerant_system" target="_blank">fault tolerance</a>, and no way to add more space when my home gets full aside adding a new drive and making a new partition and mount-point.  So, when I got the 1TB drive I came up with the best I could do under the circumstances (I believe).</p>
<p>Optimally, you want the same size hard drives for a RAID array.  However, with <a href="http://tldp.org/HOWTO/Software-RAID-HOWTO.html" target="_blank">linux software raid</a> it&#8217;s really irrelevant as it just uses partitions of a drive, not whole drives themselves.  So I should be able to RAID 1 a 500GB partition on the 500GB drive (whole disk) and a 500GB partition on the 1TB drive (so half the drive) and put an LVM on top for future expansion.  Now, googling for <a href="https://help.ubuntu.com/community/Installation/RAID1%2BLVM" target="_blank">LVM on Raid for Ubuntu </a>will invariably get you lots of results, like <a href="https://help.ubuntu.com/community/Installation/RAID1%2BLVM" target="_blank">this one</a> or <a href="http://forums.techarena.in/guides-tutorials/1204944.htm" target="_blank">this one</a>.</p>
<p>Unfortunately, almost all of the documentation is old with 9.04 or previous being the ones setup on, and typically using LILO if true LVM on Raid or having a /boot outside the LVM for grub and most using the alternative installer CD.  With 9.10 and up getting grub2 by default it&#8217;s supposed to have support for booting directly to LVM partitions now negating the need for a separate /boot or LILO.</p>
<p>I wanted to know if it would be possible to manually setup my drives using the standard mdadm and lvm2 commands, and then use the graphical installer to select my LVM&#8217;s, install, and boot.  This is what I did.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.linuxniche.net/2010/09/ubuntu-10-04-install-with-lvm-on-raid-1-using-graphical-livecd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Miss Me?</title>
		<link>http://blog.linuxniche.net/2010/03/miss-me/</link>
		<comments>http://blog.linuxniche.net/2010/03/miss-me/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 14:33:39 +0000</pubDate>
		<dc:creator>FatalSaint</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[N810]]></category>
		<category><![CDATA[N900]]></category>
		<category><![CDATA[Nokia N810]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[WOW]]></category>

		<guid isPermaLink="false">http://blog.linuxniche.net/?p=518</guid>
		<description><![CDATA[Hello World! I know I&#8217;ve been missing lately; I have gotten myself pretty busy between WoW, setting up an HA/LB (High Availability/Load Balancing) web and database server(s) for a client and just time with the family. If you haven&#8217;t seen it before, Ultra Monkey is quite a simple and nice set of tools to manage [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Hello World!</strong></p>
<p>I know I&#8217;ve been missing lately; I have gotten myself pretty busy between WoW, setting up an HA/LB (High Availability/Load Balancing) web and database server(s) for a client and just time with the family.</p>
<p>If you haven&#8217;t seen it before, <a href="http://www.ultramonkey.org/3/topologies/" target="_blank">Ultra Monkey</a> is quite a simple and nice set of tools to manage an HA/LB configuration &#8211; and it has several good example configurations to get you started.<br />
<span id="more-518"></span></p>
<p>If you have read my previous articles you may have seen that I have an N810 internet tablet.  There is a new device out now that is the successor to that, the N900 cell phone.  I have written a small PyQt4 application for the N900 called <a href="http://maemo.org/packages/view/pypianobar/" target="_blank">pyPianobar</a>.  Because this is PyQt4, if you grab the deb and extract it on your Linux Desktop (such as Ubuntu), you can actually use it there too! (You&#8217;ll need to install <a href="http://github.com/PromyLOPh/pianobar" target="_blank">pianobar</a> first)  This gives you Pandora Radio on your desktop, or your N900 :).</p>
<p>I&#8217;m currently trying to save up for an N900 so I can do some more tinkering, but also been waiting to see what will come of the new <a href="http://meego.com/" target="_blank">MeeGo</a> (what a horrible name) that spawned as the result of an Intel (Moblin)/Nokia (Maemo) drunken one-night stand.</p>
<p>I&#8217;ve setup and been using <a href="http://moblin.org/" target="_blank">Moblin</a> on my <a href="http://blog.linuxniche.net/?tag=aspire" target="_blank">Acer Aspire One</a> &#8211; and it&#8217;s not <strong>too</strong> bad.  It&#8217;s childish, but so is everything now days (ever seen an iPhone? Ugh.)  Once I see for sure that the community will get a decent MeeGo port over to the N900 that is likely to be my next phone, even if it is <a href="http://www.newegg.com/Product/Product.aspx?Item=N82E16875205178&amp;cm_re=N900-_-75-205-178-_-Product" target="_blank">$500+</a>.  Yes, I&#8217;m saying it&#8217;s worth it :).</p>
<p>I don&#8217;t want the next Nokia device because they&#8217;ve already said it will be a capacitive touch screen like the Android and iPhone mess and capacitive is just not as accurate as resistive.  I also like using a Stylus when I want to be particular.  As an example, watch <a href="http://www.youtube.com/watch?v=SRbnn7D3qbI" target="_blank">this</a> &#8211; specifically the very last 30 seconds of the video or so.  It shows a very nice Avatar drawing done with the default Sketch app on the phone.  I just don&#8217;t think something like that is possible on capacitive.. and I don&#8217;t need multi-touch.</p>
<p>On the WoW front, I&#8217;ve written a small addon for <a href="http://www.wowinterface.com/downloads/info16168-1.1.html" target="_blank">Feral Druid&#8217;s </a>that uses the <a href="http://www.wowinterface.com/downloads/info14924-Faceroller.html" target="_blank">Faceroller </a>mod.  It will show a decent kitty rotation for high-DPS making it quite a bit simpler to keep track of everything.  The next update, which hopefully will be soon, will include a minor prediction system and a bear rotation for tanking.</p>
<p>As you can see, I keep myself entertained :).  I never can just &#8220;do&#8221; something, I have to toy with it &#8211; code something for it, tinker with it&#8230; eventually break it :D.  I still haven&#8217;t gotten the hang of the whole Blogging scene though and as such my blog tends to fall by the way-side.  There&#8217;s already so many out there on any given topic that it&#8217;s usually just a waste for me to add yet another reference or complaint for XYZ in yet another blog.</p>
<p>Anyway, hope you enjoyed the update &#8211; check out the N900, WoW and Ultra Monkey someday :).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.linuxniche.net/2010/03/miss-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Random Ramblings</title>
		<link>http://blog.linuxniche.net/2009/12/random-ramblings/</link>
		<comments>http://blog.linuxniche.net/2009/12/random-ramblings/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 19:39:53 +0000</pubDate>
		<dc:creator>FatalSaint</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.linuxniche.net/?p=508</guid>
		<description><![CDATA[Welcome! I realized that I have been somewhat neglecting my blog of late.  I have a very valid and perfectly acceptable excuse however &#8211; I have re-addicted myself to WoW.   World of Warcraft has, of course, become a perfectly acceptable reason to miss work, ignore your spouse, neglect your kids, and make new &#8220;real&#8221; friends [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Welcome!</strong></p>
<p>I realized that I have been somewhat neglecting my blog of late.  I have a very valid and perfectly acceptable excuse however &#8211; I have re-addicted myself to WoW.   World of Warcraft has, of course, become a perfectly acceptable reason to miss work, ignore your spouse, neglect your kids, and make new &#8220;real&#8221; friends that are approximately the size of my pinky.</p>
<p><span id="more-508"></span></p>
<p>Personally, I&#8217;ll never quite have the character or personal fortitude and dedication that my fellow (WoWites?  WoWers?&#8230; Idiots?) have.  While I will admit to sometimes being sucked in and staying awake until 2 AM in the morning&#8230; somehow I manage to pull my lazy ass out of bed at 6:30 and still make it to work on time.  Every night, somewhere between the hours of 6-8 pm, I even manage to get off the computer and go sit with my wife and kids around the dinner table and eat something so I don&#8217;t wind up being found dead at my computer from starvation.</p>
<p>Maybe it&#8217;s just me&#8230; but I seem to be perfectly capable of leading a normal, everyday, life outside of Azeroth.  It&#8217;s called self-control people.</p>
<p>Unfortunately&#8230;. my blog did suffer :).  So, while my real life has remained in tact, my online life has shifted from re-compiling software, breaking internet tablets, reloading ATI graphics drivers on my Gamer for the millionth time, and blogging&#8230; to looking at the ass of a cartoon character running around pretending to be bad as hell.</p>
<p>To add a note and further nerdify myself I shall say that I actually preferred Everquest 2 to WoW; but unfortunately everyone I know plays WoW and I&#8217;ve heard that saying &#8220;When in Rome&#8230;&#8221; and all that.  Guess I&#8217;m becoming a conformist.</p>
<p>On a more serious note, I have managed to switch myself to HandBrake instead of using my custom mencoder scripts mentioned in some previous articles &#8211; but it required compiling the SVN version as the released version doesn&#8217;t support Karmic Koala.  Or at least didn&#8217;t&#8230; it appears that they now have a 9.10 deb available and ready on their download site.  Mayhaps I&#8217;ll try it.  Anyway, HandBrake has proved quite easy in selecting my MKV specifications and ripping movies.</p>
<p>I missed the update last month to the ATI drivers, hard to keep track now that Ubuntu has permitted me to be a lazy bastard and get my drivers direct from the Karmic repositories.  No more compiling or manual installing hassle anymore.  That also means though that I no longer have to keep refreshing ATI&#8217;s website waiting for the &#8220;next release&#8221; to fix some glitch.  For the past couple months my Gamer has been running flawless&#8230;&#8230;&#8230;&#8230;. playing WoW :).</p>
<p>Oh, I don&#8217;t think I blogged this so I shall mention it here:  I finally got a stable overclock with my Gamer that I am content with!  After many, many, many&#8230;.. and many more&#8230;. reboots changing between every possible combination of FSB, voltages, and Memory timings (since I do not have an AMD Black Edition processor) that I could think of I finally got it.  Initially I was *very* conservative about my CPU voltages which was causing my instability problems.. I did not want to go too far into the &#8220;red&#8221; according to my motherboard on the stock cooler.  I feared I&#8217;d cause some real damage.</p>
<p>I broke down and to ease my mind I bought a Xigmatek Dark Knight with an AM2 Type-X Adapter to allow me to mount it horizontally on the processor.  After this I cranked up the voltages.  I ended up with a FSB of 250@1.5v, the cpu multi dropped to x14.5, my memory set to 1333mhz with 6-6-6-24 timings giving me a 3.625ghz.  So I basically have an AMD Phenom II 945 acting as a 965 but without the Black Edition.  Probably should have just bought the 965 :).  My temperatures now never break 40c, even under a torture test.  It gives me great joy just thinking about that :).</p>
<p>Let&#8217;s see.. is there any other nonsense that most of you won&#8217;t care about anyway?  Oh, I wrote a small &#8220;Texts from Last Night&#8221; RSS app for the Android phone I have, but I haven&#8217;t added any finishing touches to it or published it to the market yet.  All it is currently is an RSS feed that pulls only from TFLN, may as well get a normal RSS feed app and just add TFLN&#8217;s URL to it :).  It was more of a proof of concept for me anyway, as I haven&#8217;t fully decided if I want to get into the whole mobile phone development scene.  So much work, all my stuff would be free so very little profit, and&#8230; I got WoW to play damnit!</p>
<p>So there we have it&#8230; I easily could have filled 3-4 whole blog posts with each of those topics individually if I was truly an attention whore&#8230; but I&#8217;m not completely.  Honest.  So instead we get a single blog post spanning several completely unrelated topics and jumbles together into an incoherent mess!!!  I blame WoW&#8230;. everyone else does!</p>
<p><strong>Go play WoW!  Maybe you too can join the thousands of people that seem to ruin their lives over a damned game!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.linuxniche.net/2009/12/random-ramblings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Need a Firewall?  Part 2.</title>
		<link>http://blog.linuxniche.net/2009/09/need-a-firewall-part-2/</link>
		<comments>http://blog.linuxniche.net/2009/09/need-a-firewall-part-2/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 03:55:08 +0000</pubDate>
		<dc:creator>FatalSaint</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[endian]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[ipcop]]></category>
		<category><![CDATA[pfsense]]></category>

		<guid isPermaLink="false">http://blog.linuxniche.net/?p=485</guid>
		<description><![CDATA[Welcome Back!! In the last article regarding firewalls I gave you the links and some basic information regarding three different firewall options.  I had intended to try all three and let you know how it went but I was enjoying messing with the Endian firewall too much to lose it!  Well, I recently got bored [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Welcome Back!!</strong></p>
<p>In the <a href="http://blog.linuxniche.net/?p=235" target="_blank">last article</a> regarding firewalls I gave you the links and some basic information regarding three different firewall options.  I had intended to try all three and let you know how it went but I was enjoying messing with the Endian firewall too much to lose it!  Well, I recently got bored and decided what the hell &#8211; time to try something new.  So I went to the next in the list:  <a href="http://www.pfsense.com/" target="_blank"><strong>pfSense</strong></a>.</p>
<p><span id="more-485"></span>So in this article I&#8217;ll give you a brief overview of what pfSense can do.  This article is going to be a lot more technical than the last article because to be honest &#8211; pfSense required me to be more technical than either Endian or IPCOP for what I needed.  If you do not run a DMZ at your house and are just looking for a quick, cheap firewall to turn your old computer into something useful &#8211; pfSense can do that with not a lot of work on your part, and the majority of this article will not be for you.  If you do run a DMZ &#8211; you&#8217;ll need to read this :).</p>
<p>So I downloaded the LiveCD installer option, printed out my port configuration page from my Endian setup, and rebooted the firewall.  It booted directly into a fully working system in just a few minutes &#8211; which is expected when using a &#8220;LiveCD&#8221;.</p>
<p>In the pfSense documentation it recommended to configure the firewall before installing to the hard drive so I did just that.  I logged into the website, which in my opinion is a fairly professional and clean interface, and started configuring my network cards and subnets.</p>
<p>Everything went pretty smoothly at the beginning and eventually I got to the point of installing to the hard drive.  This was again, totally uneventful and worked perfectly.  The installation was a little more difficult, or seemed to be, than the others I have tried (Smoothwall, IPCop, Endian) because the installer wouldn&#8217;t really do anything for you (like partition the hard drive).  I&#8217;m not <strong>too</strong> surprised by this, as this firewall is based on a BSD kernel and not Linux &#8211; which in my experience the BSD distributions tend not to be as user-friendly as their Linux counterparts.  BSD derivatives make up for it, however, (again in my experience), by being a little more stable and secure out of the box than Linux is.</p>
<p>To be fair, that&#8217;s usually because out of the box a BSD system has less 3rd party software, which leads again to the non-user friendliness :).  Anyway, back on point, after selecting my options for the installation I ejected the CD and rebooted into pfSense.</p>
<p>As advertised, it saved all my configuration details and most of my LAN worked as is.  Now I got to the point of the more difficult things like checking the firewall port forwarding and setting up my DMZ.  This is where pfSense got to be a little more difficult..</p>
<p>In IPCOP, it automatically asks you if you have/want an Orange interface, and then automatically configures you a nice default set of rules that allow pretty much anything out to the internet but not to your Green or Blue networks.  This works well, is point/click easy, and takes all of 10 minutes to start forwarding your ports to your DMZ and off you go.</p>
<p>In Endian, it also wants to know if you want a Orange network, and it also automatically configures a nice default set of firewall rules that are much more restrictive than in the IPCOP defaults.  This is good for security, and requires the admin to open up only what he or she wants.</p>
<p>In pfSense.. it wants to know why you want to use a third interface and tells you to go stick it.  Well ok, not really.  It is however much less intuitive.  During installation it will ask you for a LAN interface, fair enough, then it asks for an internet interface, good good, and then it just goes on to ask for &#8220;Optional Interfaces&#8221; that it duely names &#8220;OPT1, OPT2, OPT3.. etc&#8221; until you decide you&#8217;re done adding interfaces.  Once the interface is then added, you have to go into the web interface and actually enable it (because.. you may have just been adding random nonexistant interfaces for fun) and then you go to the firewall rules area and find&#8230;. nothing.  This is great for just being annoying :).</p>
<p>Under the pfSense firewall rules you have different tabs per interface and you do have of course a tab for the new interface but NO default rules are added.  No DNS, no web, nada.  So you get to add everything you need, including basic &#8220;make this subnet work&#8221; rules by hand.</p>
<p>On the other hand.. pfSense does have a rule that Endian opted to skip: The Any-&gt;Any Allow rule for your LAN network.  You know, that&#8217;s the easy rule I described in my last article that makes ipcop a great new or inexperienced user&#8217;s firewall setup.  You don&#8217;t have to mess with anything to get all of the internet at your fingertips, while securing the malicious traffic from the outside. Again this is a complete trade-off on how you want to setup your network: Access control for employee&#8217;s or children, or easy configuration with minimal fuss.</p>
<p>Now, Endian and pfSense each take a different road by default, but can each be made like the other due to support for bi-directional (incoming and outgoing traffic) firewalling&#8230; IPCOP on the other hand takes the easy road, with no default options to change it.  With IPCOP you have to install an addon that allows you to block outgoing traffic &#8211; again solidifying IPCOP&#8217;s role as the user-friendly easy firewall with limited advanced options (without addons).</p>
<p>Like IPCOP, however, pfSense comes with nearly no additional software beyond your default firewall/router/nat configuration.  It does have some advanced things: Loadbalancing with another pfSense firewall, PPoE server, etc.. but no Proxies, anti-virus, content filters, etc.  Endian came default with these.  Unlike IPCOP, however, the pfSense package/addon interface seems <strong>much</strong> simpler.  It&#8217;s already there in your menu, ready to go, just click &#8220;install&#8221; on any particular addon and it automatically fetches, installs and configures it.  Using these you can add all the missing functionality you need.  In IPCOP, this requires you to install the basic addon interface first (via a command line in SSH), and then you can browse to &#8220;Addons&#8221; in the web interface, pick an addon where you have to go download the package to your computer, then go back to the web interface and &#8220;upload&#8221; the package to IPCOP.  This whole procedure breaks the &#8220;easy&#8221; that IPCOP&#8217;s entire foundation lives on.</p>
<p>Going back to the port forwarding in the DMZ, I was presented with a different problem.  First, what was obvious to me but may not be to some (or most?), was that because the firewall interface is broken up by interface (LAN, WAN, DMZ) you can&#8217;t just create one bi-directional rule for port forward, but instead have to go create one rule on the WAN to allow it coming in, and one rule on the DMZ to allow it going out.</p>
<p>Normally this would create double the work, if it weren&#8217;t for a hidden specialty that pfSense has and I will get to in a minute.  Second, after spending an hour banging my head against the wall and searching through pages of forum posts online trying to figure out why my port forwards still weren&#8217;t working for my DMZ.. I found a post that explained you needed to actually add specific NAT rules for each port as well.</p>
<p>Holy Hell pfSense, so let&#8217;s get this right: what you can do in one rule in Endian and IPCOP, takes 3 rules in 3 different pages for pfSense?!? One in Firewall-&gt;NAT, one in Firewall-&gt;Rules-&gt;WAN, and one in Firewall-&gt;Rules-&gt;DMZ &#8211; AND they are all different.  So basically, if I have 20 rules in Endian for 20 ports I need to forward &#8211; then doing it this way would have taken <strong>60 bloody rules</strong>!  To be fair, if you do the NAT one first it has a checkbox that will automatically create a rule for the WAN &#8211; but still, that&#8217;s just nonsense!</p>
<p>Now, not all servers need this: Web servers for example don&#8217;t need to get &#8220;out&#8221; port 80 due to the nature of the stateful firewall &#8211; it allows &#8220;responses&#8221; from your webserver to the client; however mail servers on the other hand obviously need to get &#8220;out&#8221; port 25 to talk to other mail servers &#8211; my example of 60 represents a &#8220;worst case scenario&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.linuxniche.net/2009/09/need-a-firewall-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

