<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Zelut's Blog</title> <link>http://blog.zelut.org</link> <description>Brain Dump of a Linux Admin</description> <lastBuildDate>Mon, 12 Jul 2010 14:15:55 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=abc</generator> <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/zelut-blog" /><feedburner:info uri="zelut-blog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><image><link>http://creativecommons.org/licenses/by-nc-sa/3.0/</link><url>http://creativecommons.org/images/public/somerights20.gif</url><title>Some Rights Reserved</title></image><feedburner:emailServiceId>zelut-blog</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item><title>Freenode IRC over SSL in Irssi – FreeBSD</title><link>http://feedproxy.google.com/~r/zelut-blog/~3/78Lux3PnMiY/</link> <comments>http://blog.zelut.org/2010/05/29/freenode-irc-over-ssl-in-irssi-freebsd/#comments</comments> <pubDate>Sat, 29 May 2010 17:13:22 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[FreeBSD]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=187</guid> <description><![CDATA[I&#8217;ve been reconfiguring my Irssi installation this morning and wanted to document the steps I took. I use irssi on FreeBSD 8.0-RELEASE. Required Certificates In order to connect securely over SSL to freenode you need to ensure you have the certificate installed. On FreeBSD, this port is ca_root_nss. portmaster security/ca_root_nss Configure the Network and Server [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been reconfiguring my Irssi installation this morning and wanted to document the steps I took. I use irssi on FreeBSD 8.0-RELEASE.</p><p><strong>Required Certificates</strong></p><p>In order to connect securely over SSL to freenode you need to ensure you have the certificate installed. On FreeBSD, this port is ca_root_nss.</p><blockquote><p><code>portmaster security/ca_root_nss</code></p></blockquote><p><strong>Configure the Network and Server</strong></p><blockquote><p><code>/network add -nick 'nick' -realname 'real name' freenode<br /> /server add -auto -ssl_verify -ssl_cafile /usr/local/share/certs/ca-root-nss.crt -network freenode chat.freenode.net 7000<br /> /save</code></p></blockquote><p><em>Note: If the blog wraps the content, there are three commands above, prefixed with /. /network, /server and /save.</em></p><p>Now, when you open irssi, you&#8217;ll automagically connect to Freenode over SSL.</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/NEcPRurYnShoGSNI02hFIJCHO1M/0/da"><img src="http://feedads.g.doubleclick.net/~a/NEcPRurYnShoGSNI02hFIJCHO1M/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/NEcPRurYnShoGSNI02hFIJCHO1M/1/da"><img src="http://feedads.g.doubleclick.net/~a/NEcPRurYnShoGSNI02hFIJCHO1M/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2010/05/29/freenode-irc-over-ssl-in-irssi-freebsd/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.zelut.org/2010/05/29/freenode-irc-over-ssl-in-irssi-freebsd/</feedburner:origLink></item> <item><title>Configure Lighttpd for gitweb on FreeBSD</title><link>http://feedproxy.google.com/~r/zelut-blog/~3/V5YNXTnsi_Y/</link> <comments>http://blog.zelut.org/2010/05/23/configure-lighttpd-for-gitweb-on-freebsd/#comments</comments> <pubDate>Sun, 23 May 2010 21:36:57 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[lighttpd]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=184</guid> <description><![CDATA[I spent some time this afternoon setting up a public git repository for my project, Origami. I had a little bit of trouble getting the repository set up initially, particularly the cgi aspect of it all. Below outlines the steps I took to configure Lighttpd for gitweb, hosted on FreeBSD. Installation First, of course, I [...]]]></description> <content:encoded><![CDATA[<p>I spent some time this afternoon setting up a public git repository for my project, <a title="Origami - The art of Folding@Home" href="http://origami.zelut.org">Origami</a>. I had a little bit of trouble getting the repository set up initially, particularly the cgi aspect of it all. Below outlines the steps I took to configure Lighttpd for gitweb, hosted on FreeBSD.</p><p><strong>Installation</strong></p><p>First, of course, I installed the git port:</p><blockquote><p><code>portmaster devel/git</code></p></blockquote><p>I made sure to select the gitweb option, which is de-activated by default. The other options are up to you.</p><p><strong>Configuration</strong></p><p>Second, I configured Lighttpd in the simplest manner I could find. This solution uses the existing gitweb files in-place. This is contrary to what the pkg-message prescribes, but I like this idea because it&#8217;ll ensure that upgrades are handled automatically. I don&#8217;t plan to run any additional repositories either, so using the one central set of files is preferable in my situation. This is my configuration:</p><blockquote><p><code> $HTTP["host"] =~ "^origami.zelut.org" {<br /> $HTTP["url"] =~ "/gitweb/" {<br /> server.indexfiles = ( "gitweb.cgi" )<br /> }<br /> alias.url += ( "/gitweb/" =&gt; "/usr/local/share/examples/git/gitweb/" ),<br /> cgi.assign = ( ".cgi" =&gt; "/usr/bin/perl" )<br /> }<br /> </code></p></blockquote><p><strong>Repository Configuration</strong></p><p>Lastly, I update the repository configuration in /usr/local/share/examples/git/gitweb/gitweb.cgi to my repository location:</p><blockquote><p><code>our $projectroot = "/path/to/git/repository/"</code></p></blockquote><p><strong>Conclusion</strong></p><p>I find that Lighttpd configuration, once you get used to it, is much simpler than Apache configuration. It&#8217;s all a matter of taking the time to learn the options (and finding examples, like this one) and it gets simpler.</p><p>I think this configuration for gitweb is very clean, requires minimal configuration additions, and is hopefully pretty self explanatory. I hope it works for you as well.</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/U4mjwH8LaKQw2SvxAi6bgPDhheA/0/da"><img src="http://feedads.g.doubleclick.net/~a/U4mjwH8LaKQw2SvxAi6bgPDhheA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/U4mjwH8LaKQw2SvxAi6bgPDhheA/1/da"><img src="http://feedads.g.doubleclick.net/~a/U4mjwH8LaKQw2SvxAi6bgPDhheA/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2010/05/23/configure-lighttpd-for-gitweb-on-freebsd/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.zelut.org/2010/05/23/configure-lighttpd-for-gitweb-on-freebsd/</feedburner:origLink></item> <item><title>Arch Linux 2010.05 Installer Issue [FIXED]</title><link>http://feedproxy.google.com/~r/zelut-blog/~3/TFpDUEk43S0/</link> <comments>http://blog.zelut.org/2010/05/18/arch-linux-2010-05-installer-issue-fixed/#comments</comments> <pubDate>Tue, 18 May 2010 19:20:47 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[Arch]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=181</guid> <description><![CDATA[I reinstalled my Dell Latitude D630 this afternoon using the new Arch Linux installer (2010.05) netinstall. I had an issue however where the live image would start to boot and then I&#8217;d get a blank screen. I quickly realized what the problem was, and found a fix. Note: it looks like it is a similar [...]]]></description> <content:encoded><![CDATA[<p>I reinstalled my Dell Latitude D630 this afternoon using the new Arch Linux installer (2010.05) netinstall. I had an issue however where the live image would start to boot and then I&#8217;d get a blank screen. I quickly realized what the problem was, and found a fix.</p><p>Note: it looks like it is a similar issue to the one found <a href="http://ubuntu-tutorials.com/2010/05/06/ubuntu-10-04-lucid-blank-screen-at-startup-workaround/">here</a>.</p><p>Basically, the fix that I found, was to append the following to the kernel line at the initial boot prompt:</p><blockquote><p>nomodeset</p></blockquote><p>This is done by hitting the [TAB] key at the boot prompt of the installer and appending that text to the end.</p><p>I wanted to get this out in hopes that it&#8217;d help others with the same problem.</p><p>Good luck, and happy Arch&#8217;ing.</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/xvOaK_1HpFNkKW8uJflb22gt8Qo/0/da"><img src="http://feedads.g.doubleclick.net/~a/xvOaK_1HpFNkKW8uJflb22gt8Qo/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/xvOaK_1HpFNkKW8uJflb22gt8Qo/1/da"><img src="http://feedads.g.doubleclick.net/~a/xvOaK_1HpFNkKW8uJflb22gt8Qo/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2010/05/18/arch-linux-2010-05-installer-issue-fixed/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.zelut.org/2010/05/18/arch-linux-2010-05-installer-issue-fixed/</feedburner:origLink></item> <item><title>Configure Serial Console Access on CentOS 5</title><link>http://feedproxy.google.com/~r/zelut-blog/~3/xwpMmn9KBZE/</link> <comments>http://blog.zelut.org/2010/05/05/configure-serial-console-access-on-centos-5/#comments</comments> <pubDate>Thu, 06 May 2010 03:21:42 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[CentOS]]></category> <category><![CDATA[access]]></category> <category><![CDATA[centos5]]></category> <category><![CDATA[console]]></category> <category><![CDATA[serial]]></category> <category><![CDATA[virsh]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=178</guid> <description><![CDATA[Today I built some virtual machines on a KVM platform (Ubuntu 10.04 Server as the host). The three virtual machines are CentOS 5, i386 and will be used primarily for internal application testing. One of the requirements for using these machines in a virtual environment was configuring back-end console access from the host. The virtual [...]]]></description> <content:encoded><![CDATA[<p>Today I built some virtual machines on a KVM platform (Ubuntu 10.04 Server as the host). The three virtual machines are CentOS 5, i386 and will be used primarily for internal application testing. One of the requirements for using these machines in a virtual environment was configuring back-end console access from the host. The virtual machine management tools (virsh) provide custom commands to console into your guest machines, but the guest machines need to be configured to output to the proper console. This article outlines what customizations I made to the CentOS 5 virtual machines in order to console into them from the host using &#8216;virsh console &lt;guest&gt;&#8217;</p><p><strong>GRUB</strong></p><p>The first modifications that I needed to make were in GRUB. On CentOS the GRUB config file can be found at: <code>/boot/grub/menu.lst</code>. Below you&#8217;ll find the changes I made:</p><blockquote><p><code>default=0<br /> timeout=5<br /> #splashimage=(hd0,0)/grub/splash.xpm.gz<br /> serial --unit=0 --speed=115200<br /> terminal --timeout=10 console serial<br /> hiddenmenu</code></p></blockquote><p>I&#8217;m sure if you compare that snippet with your current configuration you&#8217;ll see the changes that I&#8217;ve implemented. Primarily the commenting of the splashimage, and the addition of the serial and terminal lines.</p><p>In addition to these changes you&#8217;ll also need to append some console configurations to each &#8216;kernel&#8217; line. Here is an example:</p><blockquote><p><code>title CentOS (2.6.18-164.15.1.el5)<br /> root (hd0,0)<br /> kernel /vmlinuz-2.6.18-164.15.1.el5 ro root=/dev/SLIM/root console=tty0 console=ttyS0,115200n8<br /> </code></p></blockquote><p>Again, compare this to your current configuration. You&#8217;ll notice I&#8217;ve added <code>console=tty0 console=ttyS0,115200n8</code></p><p><strong>/etc/inittab</strong></p><p>Finally you&#8217;ll need to make a change to the /etc/inittab file, which will allow login via the serial console connection:</p><blockquote><p><code>S0:2345:respawn:/sbin/agetty ttyS0 115200 linux<br /> </code></p></blockquote><p>Once these changes have been applied you should be able to reboot and connect to the console:</p><p><code>virsh console &lt;guest&gt; </code>should then display the GRUB menu, boot output and finally a login.</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/vwK-AOArsuxW6o_nY-4Cq8kb1uc/0/da"><img src="http://feedads.g.doubleclick.net/~a/vwK-AOArsuxW6o_nY-4Cq8kb1uc/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/vwK-AOArsuxW6o_nY-4Cq8kb1uc/1/da"><img src="http://feedads.g.doubleclick.net/~a/vwK-AOArsuxW6o_nY-4Cq8kb1uc/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2010/05/05/configure-serial-console-access-on-centos-5/feed/</wfw:commentRss> <slash:comments>2</slash:comments> <feedburner:origLink>http://blog.zelut.org/2010/05/05/configure-serial-console-access-on-centos-5/</feedburner:origLink></item> <item><title>Lighttpd on FreeBSD : Hard Lock on Upload?</title><link>http://feedproxy.google.com/~r/zelut-blog/~3/T558jRbro3U/</link> <comments>http://blog.zelut.org/2010/05/02/lighttpd-on-freebsd-hard-lock-on-upload/#comments</comments> <pubDate>Sun, 02 May 2010 18:08:46 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[lighttpd]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=172</guid> <description><![CDATA[Anytime I would upload a file to the server (in my case via Wordpress upload form), the server would hard-lock and I'd have to manually bring it back up.]]></description> <content:encoded><![CDATA[<p>I&#8217;ve recently migrated my server(s) to a new VPS, one which offers BSD as a hosting option. I have long been a fan of FreeBSD on my servers, so this was a deal I couldn&#8217;t pass up. I did, however, run into one fairly difficult problem based on my combination of FreeBSD and lighttpd web server. I felt it was important to blog about it so that &#8220;teh internets&#8221; could share the wisdom and, hopefully, others could solve this same issue quickly.</p><p><strong>Problem</strong></p><p>The web server seemed to work great. It was handling traffic efficiently. Logs were going where they were expected. Rewrites were working. All the main things that I would expect to test were working just fine. And then I uploaded a file.</p><p>Hard lock. Panic. Do not pass go. Do not collect $200. This was bad.</p><p>I was even able to reproduce it. Anytime I would upload a file to the server (in my case via WordPress upload form), the server would hard-lock and I&#8217;d have to manually bring it back up.</p><p><strong>Solution</strong></p><p>The solution was to manually define the <em>server.network-backend</em> value, instead of using the auto-detected value. Apparently, at the time of this writing, the auto-detection on FreeBSD is.. less than perfect. The solution that I found was to add the following line to my lighttpd.conf:</p><blockquote><p><code>server.network-backend = "writev"</code></p></blockquote><p>After restarting the lighttpd service things seemed to perform as expected.</p><p><strong>Conclusion</strong></p><p>FreeBSD is a great, stable hosting platform. Lighttpd is a lightweight, efficient web server. Together they provide me with a very efficient, stable web hosting environment. The simple detail is to define the right parameters for the platform in the configuration.</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/5dTmNJxtFsckUREs0ngGd6IVZ4A/0/da"><img src="http://feedads.g.doubleclick.net/~a/5dTmNJxtFsckUREs0ngGd6IVZ4A/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/5dTmNJxtFsckUREs0ngGd6IVZ4A/1/da"><img src="http://feedads.g.doubleclick.net/~a/5dTmNJxtFsckUREs0ngGd6IVZ4A/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2010/05/02/lighttpd-on-freebsd-hard-lock-on-upload/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://blog.zelut.org/2010/05/02/lighttpd-on-freebsd-hard-lock-on-upload/</feedburner:origLink></item> <item><title>Loop Mount .iso in FreeBSD</title><link>http://feedproxy.google.com/~r/zelut-blog/~3/mig_jPVOJUQ/</link> <comments>http://blog.zelut.org/2009/09/29/loop-mount-iso-in-freebsd/#comments</comments> <pubDate>Tue, 29 Sep 2009 15:49:00 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[.iso]]></category> <category><![CDATA[linux]]></category> <category><![CDATA[loop]]></category> <category><![CDATA[mount]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=170</guid> <description><![CDATA[I needed to mount an .iso file this morning, which I&#8217;ve done dozens of times in Linux, and I realized the command I&#8217;d normally use in Linux does not work. For example: Linux mount -o loop image.iso /mnt This works fine in Linux and lets you &#8220;mount&#8221; the .iso file as if it were burned [...]]]></description> <content:encoded><![CDATA[<p>I needed to mount an .iso file this morning, which I&#8217;ve done dozens of times in Linux, and I realized the command I&#8217;d normally use in Linux does not work. For example:</p><p><strong>Linux</strong></p><blockquote><p><code>mount -o loop image.iso /mnt</code></p></blockquote><p>This works fine in Linux and lets you &#8220;mount&#8221; the .iso file as if it were burned and in the drive. This does not work on FreeBSD. You get an error like:</p><blockquote><p>mount: image.iso mount option  is unknown: Invalid argument</p></blockquote><p><strong>FreeBSD</strong></p><p>The solution (the only one I&#8217;ve found so far) is to use a much more in-depth command like:</p><blockquote><p><code>mount_cd9660 -o ro /dev/$(mdconfig -a -t vnode -f /path/to/file.iso) /mount-point</code></p></blockquote><p>Hopefully this little note helps someone else have less trouble than I did in mounting .iso images in FreeBSD.</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/pTmuUwDXm65nL7xytYPUTvpC69A/0/da"><img src="http://feedads.g.doubleclick.net/~a/pTmuUwDXm65nL7xytYPUTvpC69A/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/pTmuUwDXm65nL7xytYPUTvpC69A/1/da"><img src="http://feedads.g.doubleclick.net/~a/pTmuUwDXm65nL7xytYPUTvpC69A/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2009/09/29/loop-mount-iso-in-freebsd/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.zelut.org/2009/09/29/loop-mount-iso-in-freebsd/</feedburner:origLink></item> <item><title>Facebook Fan Check Virus</title><link>http://feedproxy.google.com/~r/zelut-blog/~3/InvBzmobpdI/</link> <comments>http://blog.zelut.org/2009/09/07/facebook-fan-check-virus/#comments</comments> <pubDate>Mon, 07 Sep 2009 21:27:16 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[Interweb]]></category> <category><![CDATA[facebook]]></category> <category><![CDATA[infection]]></category> <category><![CDATA[social engineering]]></category> <category><![CDATA[virus]]></category> <category><![CDATA[windows]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=167</guid> <description><![CDATA[I read an article today regarding an alleged Facebook based virus from the &#8220;Fan Check&#8221; application. I will admit I&#8217;ve been sucked into the Facebook, but to my defense I primarily stick to just a few applications. Reading about this makes me glad that I&#8217;m running Chromium browser on Linux. I think, between the two [...]]]></description> <content:encoded><![CDATA[<p>I read an article today regarding an alleged Facebook based virus from the &#8220;Fan Check&#8221; application. I will admit I&#8217;ve been sucked into the Facebook, but to my defense I primarily stick to just a few applications. Reading about this makes me glad that I&#8217;m running Chromium browser on Linux. I think, between the two of those, my chances of becoming infected are pretty slim. The chances of becoming infected with any kind of virus are pretty limited by using Linux in the first place, but that is pretty obvious.</p><p>What I found interesting about this article and the related &#8220;infection&#8221; is that, so far, there haven&#8217;t been any proven cases of the Facebook application actually directly infecting anyone. The infection is caused by third-party websites provided through search engine results, and then by way of social engineering. Whether from the Facebook application or the third-party websites, this infection does not rely on browser vulnerabilities or outdated software. It is all done with the permission of the user.</p><p>Think about it. Your friend invites you to &#8220;join the fun&#8221; and use a Facebook application. Each application has to be given permission by the end user in order to access required data. If the application itself were the cause of the infection, the user would have to give permission for it to happen.</p><p>In the more roundabout situation the user is afraid they were infected directly by the application (may or may not be the case), so they use a search engine to find a tool that will verify this for them. The search results are then populated by pages telling them they are infected and to download security software immediately. Again, if the user decides to download and install the &#8220;security software&#8221; they have allowed the infection into their machine.</p><p>I decided to try some of these search results to see what it is they tried to do. I was honestly pretty impressed with one of them. If I didn&#8217;t know any better, and if I were running Windows it would surely look legitimate to me. Have a look.</p><p><img class="alignnone size-full wp-image-168" title="fan-check-fake" src="http://blog.zelut.org/wp-content/uploads/2009/09/fan-check-fake.png" alt="fan-check-fake" width="1008" height="630" /></p> 
<p><a href="http://feedads.g.doubleclick.net/~a/FzwXQFwB0iu8scYYfsf_1mqHhQs/0/da"><img src="http://feedads.g.doubleclick.net/~a/FzwXQFwB0iu8scYYfsf_1mqHhQs/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/FzwXQFwB0iu8scYYfsf_1mqHhQs/1/da"><img src="http://feedads.g.doubleclick.net/~a/FzwXQFwB0iu8scYYfsf_1mqHhQs/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2009/09/07/facebook-fan-check-virus/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <feedburner:origLink>http://blog.zelut.org/2009/09/07/facebook-fan-check-virus/</feedburner:origLink></item> <item><title>DVD Playback in Arch Linux</title><link>http://feedproxy.google.com/~r/zelut-blog/~3/9ECpTrlCS38/</link> <comments>http://blog.zelut.org/2009/07/22/dvd-playback-in-arch-linux/#comments</comments> <pubDate>Wed, 22 Jul 2009 14:26:45 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[Arch]]></category> <category><![CDATA[audio]]></category> <category><![CDATA[DVD]]></category> <category><![CDATA[libdvdcss]]></category> <category><![CDATA[libdvdread]]></category> <category><![CDATA[optical]]></category> <category><![CDATA[video]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=165</guid> <description><![CDATA[I find that I run into this problem everytime I reinstall Arch, so I figured it was time to document those pesky missing peices. Considering Arch Linux is more of a &#8220;do-it-yourself&#8221; distribution there are more peices to the puzzle than you might find in Ubuntu or similar. In this short article I&#8217;ll outline everything [...]]]></description> <content:encoded><![CDATA[<p>I find that I run into this problem everytime I reinstall Arch, so I figured it was time to document those pesky missing peices. Considering Arch Linux is more of a &#8220;do-it-yourself&#8221; distribution there are more peices to the puzzle than you might find in Ubuntu or similar. In this short article I&#8217;ll outline everything required to playback DVDs on Arch Linux.</p><p><strong>Required Packages</strong></p><p>As is the problem with any major Linux distribution, DVD playback can&#8217;t be enabled by default for &#8220;<em>potential patent issues</em>&#8220;. The required packages have to be installed manually. This is done using the command:</p><blockquote><p>sudo pacman -S libdvdcss libdvdread</p></blockquote><p><strong>Required Groups</strong></p><p>In order to have required access to the audio, video and optical devices the user needs to be in the required groups. You can ensure your user is in the required groups for DVD playback with the command:</p><blockquote><p>sudo gpasswd -a username audio,video,optical</p></blockquote><p>You&#8217;ll have to logout and back in again for the group changes to take effect. After that you should be able to play DVDs as expected.</p><p><strong>Media Application</strong></p><p>My preferred application for playing back media, including DVD, .avi and general audio, is VLC. VLC works on each major platform and generally does not required extra codecs. You can install VLC using the command:</p><blockquote><p>sudo pacman -S vlc</p></blockquote><p><strong>Conclusion</strong></p><p>Arch Linux requires a little more work to get things going, but the reward for the granular control is nice. Your machine is never exactly like any other machine&#8211;each Arch Linux users installation is different. Enabling DVD playback takes this same amount of granular configuration, but following the required steps makes the process simple.</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/IKKAe983HkDJtFV-mWjnOXaUEjg/0/da"><img src="http://feedads.g.doubleclick.net/~a/IKKAe983HkDJtFV-mWjnOXaUEjg/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/IKKAe983HkDJtFV-mWjnOXaUEjg/1/da"><img src="http://feedads.g.doubleclick.net/~a/IKKAe983HkDJtFV-mWjnOXaUEjg/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2009/07/22/dvd-playback-in-arch-linux/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://blog.zelut.org/2009/07/22/dvd-playback-in-arch-linux/</feedburner:origLink></item> <item><title>Configure FreeBSD To Use Blowfish Password Format</title><link>http://feedproxy.google.com/~r/zelut-blog/~3/Hes9Eh18BUc/</link> <comments>http://blog.zelut.org/2009/07/10/configure-freebsd-to-use-blowfish-password-format/#comments</comments> <pubDate>Fri, 10 Jul 2009 16:29:55 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[blowfish]]></category> <category><![CDATA[md5]]></category> <category><![CDATA[security]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=163</guid> <description><![CDATA[I&#8217;ve been spending a lot of time lately researching FreeBSD security solutions. Topics such as pf (packet filter), system hardening, etc. One of the tips that I thought I&#8217;d share here is a method of configuring your system to use blowfish encryption for passwords as opposed to the default MD5. If you are on a [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;ve been spending a lot of time lately researching FreeBSD security solutions. Topics such as pf (packet filter), system hardening, etc. One of the tips that I thought I&#8217;d share here is a method of configuring your system to use blowfish encryption for passwords as opposed to the default MD5. If you are on a system that has a lot of users it might be prudent to update the encryption type to make your stored passphrase safer.</p><p><strong>Configure /etc/login.conf</strong></p><p>The password format is stored within the <a title="login.conf man page" href="http://www.freebsd.org/cgi/man.cgi?query=login.conf&amp;sektion=5">/etc/login.conf</a> file. The default value being &#8220;md5&#8243;. To update your configuration to use blowfish instead make the following change to your file:</p><blockquote><p>-       :passwd_format=md5:\</p></blockquote><blockquote><p>+       :passwd_format=blf:\</p></blockquote><p>After you&#8217;ve made this change you&#8217;ll need to rehash the login database, which is done using the <a title="cap_mkdb man page" href="http://www.freebsd.org/cgi/man.cgi?query=cap_mkdb&amp;sektion=1&amp;apropos=0&amp;manpath=FreeBSD+7.2-RELEASE">cap_mkdb</a> command:</p><blockquote><p>cap_mkdb /etc/login.conf</p></blockquote><p>At this point any newly assigned passwords will be created using blowfish instead of MD5. Any existing accounts will retain their MD5 password hash until the password is reset.</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/pO0k7_-96NQFYg9ICqEzgMqLyoU/0/da"><img src="http://feedads.g.doubleclick.net/~a/pO0k7_-96NQFYg9ICqEzgMqLyoU/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/pO0k7_-96NQFYg9ICqEzgMqLyoU/1/da"><img src="http://feedads.g.doubleclick.net/~a/pO0k7_-96NQFYg9ICqEzgMqLyoU/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2009/07/10/configure-freebsd-to-use-blowfish-password-format/feed/</wfw:commentRss> <slash:comments>1</slash:comments> <feedburner:origLink>http://blog.zelut.org/2009/07/10/configure-freebsd-to-use-blowfish-password-format/</feedburner:origLink></item> <item><title>pf (packet filter) Documentation</title><link>http://feedproxy.google.com/~r/zelut-blog/~3/MVnm-ahaVSQ/</link> <comments>http://blog.zelut.org/2009/07/06/pf-packet-filter-documentation/#comments</comments> <pubDate>Mon, 06 Jul 2009 19:17:34 +0000</pubDate> <dc:creator>Christer</dc:creator> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[packet filter]]></category> <category><![CDATA[pf]]></category><guid isPermaLink="false">http://blog.zelut.org/?p=160</guid> <description><![CDATA[I&#8217;m looking for some good pf (packet-filter) documentation if anyone has anything to suggest. I&#8217;ve added a second FreeBSD machine to my public-facing network, and may be adding a third soon. I want to make sure that my firewall is setup properly but I&#8217;m not very familiar with pf. Can anyone suggest a book, online [...]]]></description> <content:encoded><![CDATA[<p>I&#8217;m looking for some good pf (packet-filter) documentation if anyone has anything to suggest. I&#8217;ve added a second FreeBSD machine to my public-facing network, and may be adding a third soon. I want to make sure that my firewall is setup properly but I&#8217;m not very familiar with pf. Can anyone suggest a book, online document, etc that has good examples for setting up pf?</p> 
<p><a href="http://feedads.g.doubleclick.net/~a/BuH03daB9FYpw4_JFZdIRV2lPs4/0/da"><img src="http://feedads.g.doubleclick.net/~a/BuH03daB9FYpw4_JFZdIRV2lPs4/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~a/BuH03daB9FYpw4_JFZdIRV2lPs4/1/da"><img src="http://feedads.g.doubleclick.net/~a/BuH03daB9FYpw4_JFZdIRV2lPs4/1/di" border="0" ismap="true"></img></a></p>]]></content:encoded> <wfw:commentRss>http://blog.zelut.org/2009/07/06/pf-packet-filter-documentation/feed/</wfw:commentRss> <slash:comments>3</slash:comments> <feedburner:origLink>http://blog.zelut.org/2009/07/06/pf-packet-filter-documentation/</feedburner:origLink></item> </channel> </rss><!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching using disk

Served from: blog.zelut.org @ 2010-07-25 13:46:01 -->
