<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Hacking Life - Unix</title>
    <link>http://www.kungfu-hackers.net/</link>
    <description>Random Thoughts</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.2 - http://www.s9y.org/</generator>
    <pubDate>Fri, 18 Apr 2008 19:31:30 GMT</pubDate>

    <image>
        <url>http://www.kungfu-hackers.net/templates/competition/img/s9y_banner_small.png</url>
        <title>RSS: Hacking Life - Unix - Random Thoughts</title>
        <link>http://www.kungfu-hackers.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Finally  !! OpenBSD will have WPA &amp; WPA2 for the next release</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/124-Finally-!!-OpenBSD-will-have-WPA-WPA2-for-the-next-release.html</link>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/124-Finally-!!-OpenBSD-will-have-WPA-WPA2-for-the-next-release.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=124</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=124</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    Undeadly.org &lt;a href=&quot;http://undeadly.org/cgi?action=article&amp;sid=20080416195151&quot;&gt;&lt;u&gt;anounced&lt;/u&gt;&lt;/a&gt; that the (for BSD fans) well known developer Damien Bergamini, who wrote a lot of wireless device drivers for various BSDs, took a break from his reverse engineering efforts and commited some code magic to finally support WPA PSK &amp;amp; WPA2 PSK in OpenBSD. As always, this commit is done on &quot;current&quot;, so it will not be available for the next release 4.3, which is basically only a few days away. However, if there are no major issues with this implementation, which from my previous experiences with software, done by Damien, is not very likely, this will be part of the next release 4.4, which will then be published in 6 months. &lt;br /&gt;
&lt;br /&gt;
All enthusiasts, who are not willing to wait until the next release and are capable of running &quot;current&quot; are encouraged to give this a try. Thank you Damien, for realizing this very often requested feature for the OpenBSD community. 
    </content:encoded>

    <pubDate>Fri, 18 Apr 2008 19:16:50 +0200</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/124-guid.html</guid>
    
</item>
<item>
    <title>Beware of Karl Klammer</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/120-Beware-of-Karl-Klammer.html</link>
            <category>Fun</category>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/120-Beware-of-Karl-Klammer.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=120</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=120</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    Karl Klammer is the German name for that dumb office assistant resembling a paper clip and trying to guess what you are currently doing. It usually starts annoying users soon and gets switched off faster than the Lollipop colors of the MS OS default installation.&lt;br /&gt;
&lt;br /&gt;
Now imagine, Microsoft had developed the worlds most famous editor. Can&#039;t imagine that ? &lt;u&gt;&lt;a href=&quot;http://blogs.sun.com/marigan/entry/how_the_vi_editor_would&quot;&gt;Here&lt;/a&gt;&lt;/u&gt; is what it would look like.&lt;br /&gt;
&lt;br /&gt;
For people, who are still willing to risk getting addicted to &lt;strong&gt;vi&lt;/strong&gt;. &lt;a href=&quot;http://www.viemu.com/a-why-vi-vim.html&quot;&gt;&lt;u&gt;Here&lt;/u&gt;&lt;/a&gt;, is where I found that juwel. But be warned the &lt;u&gt;&lt;a   rel=&quot;lightbox&quot; href=&quot;http://www.bemroses.net/images/curves.jpg&quot;&gt;learning curve&lt;/a&gt;&lt;/u&gt; is steep ! 
    </content:encoded>

    <pubDate>Fri, 04 Jan 2008 10:21:24 +0100</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/120-guid.html</guid>
    
</item>
<item>
    <title>My OpenBSD website internal linkpage</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/107-My-OpenBSD-website-internal-linkpage.html</link>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/107-My-OpenBSD-website-internal-linkpage.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=107</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=107</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    &lt;strong&gt;NOTE: &lt;/strong&gt;This is for myself rather than somebody else, but you may use it as a starting point when searching for something specific.&lt;br /&gt;
&lt;br /&gt;
Blogposts&lt;br /&gt;
&lt;a href=&quot;http://www.kungfu-hackers.net/index.php?/blog/OpenBSD-on-HP-workstations.html&quot;&gt;http://www.kungfu-hackers.net/index.php?/blog/OpenBSD-on-HP-workstations.html&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.kungfu-hackers.net/index.php?/blog/My-Software-Wishlist-for-OpenBSD.html&quot;&gt;http://www.kungfu-hackers.net/index.php?/blog/My-Software-Wishlist-for-OpenBSD.html&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.kungfu-hackers.net/index.php?/blog/Installing-the-encrypted-file-system-CFS.html&quot;&gt;http://www.kungfu-hackers.net/index.php?/blog/Installing-the-encrypted-file-system-CFS.html&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.kungfu-hackers.net/index.php?/blog/Using-the-encrypted-file-system-CFS.html&quot;&gt;http://www.kungfu-hackers.net/index.php?/blog/Using-the-encrypted-file-system-CFS.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Articles&lt;br /&gt;
&lt;a href=&quot;http://www.kungfu-hackers.net/index.php?/articles/tracking_stable.html&quot;&gt;http://www.kungfu-hackers.net/index.php?/articles/tracking_stable.html&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.kungfu-hackers.net/index.php?/articles/network_tools.html&quot;&gt;http://www.kungfu-hackers.net/index.php?/articles/network_tools.html&lt;/a&gt; 
    </content:encoded>

    <pubDate>Thu, 01 Nov 2007 15:01:26 +0100</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/107-guid.html</guid>
    
</item>
<item>
    <title>OpenBSD on HP workstations</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/104-OpenBSD-on-HP-workstations.html</link>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/104-OpenBSD-on-HP-workstations.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=104</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=104</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    &lt;a  class=&#039;serendipity_image_link&#039;  rel=&#039;lightbox&#039; href=&#039;http://www.kungfu-hackers.net/uploads/images/OpenBSDhppa.jpg&#039;&gt;&lt;!-- s9ymdb:30 --&gt;&lt;img width=&quot;55&quot; height=&quot;41&quot; style=&quot;float: left; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://www.kungfu-hackers.net/uploads/images/OpenBSDhppa.serendipityThumb.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
A friend of mine recently sent me this via MMS. &lt;br /&gt;
&lt;br /&gt;
This shows OpenBSD running on a HP Visualize workstation C3600, which he found somewhere collecting dust.&lt;br /&gt;
 &lt;br /&gt;
Not long ago, Debian and Gentoo linux were the only ones supporting these once powerful graphics workstations, more or less broken, with quite a few kernel panics every now and then and no application really working properly.&lt;br /&gt;
&lt;br /&gt;
Now this beast runs happily under OpenBSD, increasing the noise level in their office :D 
    </content:encoded>

    <pubDate>Tue, 30 Oct 2007 15:56:16 +0100</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/104-guid.html</guid>
    
</item>
<item>
    <title>How to summarize your network traffic</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/94-How-to-summarize-your-network-traffic.html</link>
            <category>Network</category>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/94-How-to-summarize-your-network-traffic.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=94</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=94</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    In case you want to create firewall rules and don&#039;t know what type of traffic you have in your network, you will need to find out by sniffing it off the wire. &lt;a href=&quot;http://isc.sans.org/diary.html?storyid=3018&amp;rss&quot; &gt;This article&lt;/a&gt; outlines a very basic, but also very easy method to summarise your network traffic by looking at the TCP SYN ACK packets. Obviously, this doesn&#039;t catch everything you might have in your network, but if you need more, you can easily adapt this method to fit to your requirements. 
    </content:encoded>

    <pubDate>Fri, 22 Jun 2007 13:46:23 +0200</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/94-guid.html</guid>
    
</item>
<item>
    <title>Happy Birthday</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/87-Happy-Birthday.html</link>
            <category>Network</category>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/87-Happy-Birthday.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=87</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=87</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    A while ago, I installed an OpenBSD gateway router for accessing a private network via a single IP address, which inspired me to write this &lt;a href=&quot;http://www.kungfu-hackers.net/index.php?/articles/ssh.html&quot; &gt;article&lt;/a&gt;. Today, this router is up and running flawlessly for 100 days. This is, in my mind, worth noticing. Thanks to the OpenBSD team for providing me with such a decent operating system, that makes my life as a networker so much easier.&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
# uname -a&lt;br /&gt;
OpenBSD gateway 4.0 GENERIC#625 sparc&lt;br /&gt;
# uptime&lt;br /&gt;
12:07PM  up 100 days, 23:07, 1 user, load averages: 0.13, 0.10, 0.08&lt;br /&gt;
&lt;/blockquote&gt; 
    </content:encoded>

    <pubDate>Fri, 18 May 2007 12:14:42 +0200</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/87-guid.html</guid>
    
</item>
<item>
    <title>Using the encrypted file system CFS</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/84-Using-the-encrypted-file-system-CFS.html</link>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/84-Using-the-encrypted-file-system-CFS.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=84</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=84</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.kungfu-hackers.net/index.php?/articles/obsdserver.html&quot; &gt;OpenBSD server full story&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&gt;&gt;&gt; becoming the testuser&lt;br /&gt;
&lt;pre&gt;&lt;div font-size = normal&gt;&lt;b&gt;
# su - testuser
&lt;/b&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;
&gt;&gt;&gt; creating the encrypted directory (this is where the encrypted content is stored, you will not directly write to this directory). The key will need to be at least 16 characters long.&lt;br /&gt;
&lt;pre&gt;&lt;div font-size = normal&gt;&lt;b&gt;
$ cmkdir cryptotest
Key:
Again:
&lt;/b&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;
&gt;&gt;&gt; attaching the the encrypted directory. You will need to enter the &lt;br /&gt;
key used during the creation of it.&lt;br /&gt;
&lt;pre&gt;&lt;div font-size = normal&gt;&lt;b&gt;
$ cattach cryptotest
Key:
&lt;/b&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;
&gt;&gt;&gt; The directory will be mounted under /crypt/yourdirectoryname&lt;br /&gt;
&lt;pre&gt;&lt;div font-size = normal&gt;&lt;b&gt;
$ ls -l /crypt/
total 4
drwx------  2 testuser  users  512 Apr 24 17:52 cryptotest
&lt;/b&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;
&gt;&gt;&gt; It is handy, to have a symlink to /crypt/yourdirectoryname in your home folder in order to easily access it.&lt;br /&gt;
&lt;pre&gt;&lt;div font-size = normal&gt;&lt;b&gt;
$ ls -l
total 8
lrwxr-xr-x  1 testuser  users   17 Apr 24 17:51 crypto -&gt; /crypt/cryptotest
-rw-r--r--  1 testuser  users  473 Apr 24 18:05 cryptodemo.txt
drwxr-xr-x  2 testuser  users  512 Apr 24 17:52 cryptotest
&lt;/b&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;
&gt;&gt;&gt; you can now use the attached directory similar to normal &lt;br /&gt;
directories. All files and folders will be displayed normally.&lt;br /&gt;
&gt;&gt;&gt;&gt; listing and display files&lt;br /&gt;
&lt;pre&gt;&lt;div font-size = normal&gt;&lt;b&gt;
$ ls -l crypto/
total 4
-rw-r--r--  1 testuser  users  28 Apr 24 17:53 testuserstest.txt
$ more crypto/testuserstest.txt
coolio
testing cfs 
blabla
&lt;/b&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;
&gt;&gt;&gt;&gt; creating new files&lt;br /&gt;
&lt;pre&gt;&lt;div font-size = normal&gt;&lt;b&gt;
$ echo &quot;Here is the testtext&quot; &gt; crypto/anothertest.txt
$ ls -l crypto/
anothertest.txt     testuserstest.txt   
$ ls -l crypto/anothertest.txt
-rw-r--r--  1 testuser  users  21 Apr 24 18:06 crypto/anothertest.txt
$ more crypto/anothertest.txt
here is the testtext
&lt;/b&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;
&gt;&gt;&gt; Detaching the encrypted folder&lt;br /&gt;
&lt;pre&gt;&lt;div font-size = normal&gt;&lt;b&gt;
$ cdetach cryptotest
&lt;/b&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;
&gt;&gt;&gt; displaying the content of the encrypted folder&lt;br /&gt;
&lt;pre&gt;&lt;div font-size = normal&gt;&lt;b&gt;
$ ls -l cryptotest
total 8
-rw-r--r--  1 testuser  users  36 Apr 24 17:53 3cf0c57e1d05151c8411060c4df1079571f930e52a540d56
-rw-r--r--  1 testuser  users  29 Apr 24 18:06 4a70ceadb5cd9a19adcca8ae12994c41
&lt;/b&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;
&gt;&gt;&gt; Displaying Files in the encrypted folder&lt;br /&gt;
&lt;pre&gt;&lt;div font-size = normal&gt;&lt;b&gt;
$ cd cryptotest/
$ more 3cf0c57e1d05151c8411060c4df1079571f930e52a540d56
somescrambledtext
&lt;/b&gt;&lt;/div&gt;&lt;/pre&gt; 
    </content:encoded>

    <pubDate>Wed, 25 Apr 2007 16:34:29 +0200</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/84-guid.html</guid>
    
</item>
<item>
    <title>Installing the encrypted file system CFS</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/83-Installing-the-encrypted-file-system-CFS.html</link>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/83-Installing-the-encrypted-file-system-CFS.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=83</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=83</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.kungfu-hackers.net/index.php?/articles/obsdserver.html&quot; &gt;OpenBSD server full story&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&gt;&gt;&gt; Become root on your OpenBSD computer.&lt;br /&gt;
&lt;br /&gt;
&gt;&gt;&gt; Install the cfs package with pgk_add. If nothing fails, you can ignore the &lt;br /&gt;
output as the given information are contained in this document as well.&lt;br /&gt;
&lt;pre&gt;
&lt;div font-size = normal&gt;
&lt;b&gt;
# pkg_add cfs
--cfs-1.4.1p2--- done&lt;/blockquote&gt;
&lt;/b&gt;
&lt;/div&gt;
&lt;/pre&gt;&lt;br /&gt;
&gt;&gt;&gt; Modify your startup files.&lt;br /&gt;
&gt;&gt;&gt;&gt; Add these two line to /etc/rc.conf.local (to start the neccessary services)&lt;br /&gt;
&lt;pre&gt;
&lt;div font-size = normal&gt;
&lt;b&gt;
nfs_server=YES
portmap=YES
&lt;/b&gt;
&lt;/div&gt;
&lt;/pre&gt;&lt;br /&gt;
&gt;&gt;&gt;&gt; Create a new folder /etc/cfs .&lt;br /&gt;
&gt;&gt;&gt;&gt; Create a file called /etc/cfs/rc.cfs with permissions 700 root wheel .&lt;br /&gt;
&gt;&gt;&gt;&gt; content of /etc/cfs/rc.cfs (this is manually created, default is to &lt;br /&gt;
write this into /etc/rc.local, but it makes rc.local pretty messy, if you &lt;br /&gt;
have a few services)&lt;br /&gt;
&lt;pre&gt;
&lt;div font-size = normal&gt;
&lt;b&gt;
#!/bin/sh
if [ -x /usr/local/sbin/cfsd ]; then
        if pgrep mountd &gt; /dev/null; then
                echo -n &#039; cfsd&#039;;        /usr/local/sbin/cfsd &gt;/dev/null 2&gt;&amp;1
                mount -o port=3049,nfsv2,intr,sync localhost:/null /crypt
        else
                echo -n &#039; cfsd (failed, no mountd running)&#039;
        fi
fi#	$OpenBSD: rc.local,v 1.39 2006/07/28 20:19:46 sturm Exp $
&lt;/b&gt;
&lt;/div&gt;
&lt;/pre&gt;&lt;br /&gt;
&gt;&gt;&gt;&gt; Add this startup script to /etc/rc.local. This way, you can disable the &lt;br /&gt;
service more easily, if you wish as there are less lines.&lt;br /&gt;
&lt;pre&gt;
&lt;div font-size = normal&gt;
&lt;b&gt;
# Crypto Filesystem
if [ -f /etc/cfs/rc.cfs ]; then
        . /etc/cfs/rc.cfs
fi
&lt;/b&gt;&lt;/div&gt;&lt;/pre&gt;&lt;br /&gt;
&gt;&gt;&gt; Reboot your computer and study the next blogentry about how to use the CFS. 
    </content:encoded>

    <pubDate>Wed, 25 Apr 2007 10:28:35 +0200</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/83-guid.html</guid>
    
</item>
<item>
    <title>My Software Wishlist for OpenBSD</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/79-My-Software-Wishlist-for-OpenBSD.html</link>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/79-My-Software-Wishlist-for-OpenBSD.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=79</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=79</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    I would love to find the following kind of software in the OpenBSD ports tree&lt;br /&gt;
&lt;br /&gt;
** a terminal software, that does all kind of connections : modem, telnet, ssh, serial, .....  with the ability of capturing the output of the terminal, and of using macros in order to automate things. This software would be similar to ProComm Plus (some kind of Symantec product)&lt;br /&gt;
** a comparison software similar to Beyond Compare, that does file and folder comparison on an advanced level&lt;br /&gt;
** a decent python editor with syntax highlighting and and module / procedure lookup (current looks promising)&lt;br /&gt;
** a powerful graphical search frontend to grep, similar to WinGrep 
    </content:encoded>

    <pubDate>Wed, 11 Apr 2007 15:38:53 +0200</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/79-guid.html</guid>
    
</item>
<item>
    <title>Display Remote X11 apps on your Mac</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/62-Display-Remote-X11-apps-on-your-Mac.html</link>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/62-Display-Remote-X11-apps-on-your-Mac.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=62</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=62</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    Applications are the keypoint to your computer usage. Unless you are a geek, who enjoys every type of computer related topic, your way of using your computer will mainly be determined by the applications you need.&lt;br /&gt;
&lt;br /&gt;
I recently came across an application (&lt;a href=&quot;http://www.scribus.net/index.php&quot; &gt;Scribus&lt;/a&gt;), I would love to have on my mac, but there was no chance to have it natively running on it in the near future. There is an X11 solution for it, but since I need X11 installed anyway, I thought, I might as well try to run it on my OpenBSD box and launch it remotely.&lt;br /&gt;
&lt;br /&gt;
Due to time constraints I never really got into it until recently. This is how I managed to get Scribus running smoothly on my mac.&lt;br /&gt;
&lt;br /&gt;
To connect to the server I used SSH, which allows me to tunnel back the XDisplay across the connection. This is the coolest way to get this done for several reasons. The connection is encrypted, you can use certificates to allow passwordless logins, you can setup a small script, that automatically does everything for you, allowing seemless working, as if the application was installed locally. For more information about SSH , check this &lt;a href=&quot;http://www.kungfu-hackers.net/index.php?/articles/ssh.html&quot; &gt;article&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
For my situation I had to enable the option &lt;strong&gt;X11Forwarding&lt;/strong&gt; in &lt;em&gt;/etc/ssh/sshd_config&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Open X11 on your mac, first of all you will need it installed of course. You will find it on the OS X DVD which came with your mac.&lt;br /&gt;
&lt;br /&gt;
Do &quot;ssh -X remotehost&quot; from the Xterm, that opens within your X11 window.&lt;br /&gt;
&lt;br /&gt;
Test, if the DISPLAY environment variable has been set correctly by typing &lt;em&gt;echo $DISPLAY&lt;/em&gt;. If it&#039;s something like DISPLAY=localhost:10.0 or DISPLAY=myaddress:10.0 X forwarding is setup and working. All you need to do then is run the command you wish and it should popup on your X11 session. The first thing I tried was &lt;em&gt;konsole&lt;/em&gt;, since this is a standard application I use very often, on the OpenBSD box.&lt;br /&gt;
&lt;br /&gt;
Info found  &lt;a href=&quot;http://www.misplaced.net/fom/X11/1.html&quot; &gt;here&lt;/a&gt; 
    </content:encoded>

    <pubDate>Mon, 26 Feb 2007 22:38:15 +0100</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/62-guid.html</guid>
    
</item>
<item>
    <title>Search &amp; Destroy</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/61-Search-Destroy.html</link>
            <category>Coding</category>
            <category>Unix</category>
            <category>Work</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/61-Search-Destroy.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=61</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=61</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    I found a nice little tool in the &lt;a href=&quot;http://aspn.activestate.com/ASPN/Cookbook/Python&quot; &gt;Python Cookbook&lt;/a&gt; section of the &lt;a href=&quot;www.activestate.com/&quot; &gt;Activestate website&lt;/a&gt;. It is pretty quick and helps to eliminate duplicate files by traversing the folder you run it on, comparing size and hashes for all the files and finally deleting them. &lt;br /&gt;
&lt;br /&gt;
Comment of the author:&lt;br /&gt;
&lt;blockquote&gt;It ran against a 3.5 gigabyte set of files composed of about 120,000 files, of which there were about 50,000 duplicates, most of which were over 1 megabyte. The total run took about 2 minutes on a 1.33ghz G4 powerbook. Fast enough for me and fast enough without actually optimizing anything beyond the obvious.&lt;/blockquote&gt;&lt;br /&gt;
&lt;a href=&quot;http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/362459&quot; &gt;Link to Python Recipe&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Comments from my side:&lt;br /&gt;
&lt;br /&gt;
- you will need python installed to use it, but you should have it anyway ;)&lt;br /&gt;
- as far as I can see, it works on every platform supporting python&lt;br /&gt;
- it doesn&#039;t replace the brain ;), it will simply delete everything duplicate&lt;br /&gt;
- The ASPN website is pretty slow and frequently unreachable. Contact me, if you like to have this script and can&#039;t get it from the page. 
    </content:encoded>

    <pubDate>Mon, 26 Feb 2007 13:42:45 +0100</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/61-guid.html</guid>
    
</item>
<item>
    <title>Packet Crafting for Firewall &amp; IDS Audits</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/50-Packet-Crafting-for-Firewall-IDS-Audits.html</link>
            <category>Network</category>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/50-Packet-Crafting-for-Firewall-IDS-Audits.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=50</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=50</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    This article is a very nice introduction to &lt;strong&gt;hping&lt;/strong&gt; and it&#039;s use for testing firewall rules and intrusion detection. I would recommend reading it to anybody, with interest in this topic.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.securityfocus.com/infocus/1787&quot; &gt;Article Part 1&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.securityfocus.com/infocus/1791&quot; &gt;Article Part 2&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 21 Feb 2007 13:58:40 +0100</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/50-guid.html</guid>
    
</item>
<item>
    <title>Miscellaneous Unix Tips</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/49-Miscellaneous-Unix-Tips.html</link>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/49-Miscellaneous-Unix-Tips.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=49</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=49</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.samag.com/documents/s=10118/sam0703g/&quot; &gt;Sysadmin Magazine answering questions from shell novices&lt;/a&gt; 
    </content:encoded>

    <pubDate>Wed, 21 Feb 2007 12:11:07 +0100</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/49-guid.html</guid>
    
</item>
<item>
    <title>Introducing the aycdie shell</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/39-Introducing-the-aycdie-shell.html</link>
            <category>Coding</category>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/39-Introducing-the-aycdie-shell.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=39</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=39</wfw:commentRss>
    

    <author>nospam@example.com (Stefan Kraatz)</author>
    <content:encoded>
    During the research for my &lt;u&gt;&lt;a href=&quot;http://www.kungfu-hackers.net/index.php?/articles/ssh.html&quot;  title=&quot;ssh article&quot;&gt;ssh gateway&lt;/a&gt;&lt;/u&gt; project, I came across the issue, that I didn&#039;t want the ssh users to execute any commands on the gateway itself. They would still need the ability to login, since I needed the ssh connection for tunneling traffic into the private network. Discussions with a friend of mine, brought us to the idea, to replace the standard shell with something else, that stays alive, as long as the user doesn&#039;t type something specific. Afterwards it would just terminate and the ssh session will be closed.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Please welcome the &quot;All You Can Do Is Exit&quot; Shell.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
A little bit of python did the job for me. Obviously this is depending on python being installed on your computer and there are various other ways to do this.&lt;br /&gt;
&lt;em&gt;&lt;blockquote&gt;&lt;br /&gt;
&lt;pre&gt;
# cat /aycdiesh
#! /usr/local/bin/python2.4
while True:
    try:
        x = &quot;&quot;
        while x !=&quot;exit&quot;:
            x = raw_input(&quot;Type &#039;exit&#039;: &quot;);
            if x != &quot;exit&quot;:
                print &quot;Only &#039;exit&#039; is allowed !!&quot;;
        break;
    except KeyboardInterrupt:
        break;
&lt;/pre&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;
Assigning the aycdiesh as a shell to the user &quot;test&quot;, will lead to the required results.&lt;br /&gt;
&lt;em&gt;&lt;blockquote&gt;&lt;br /&gt;
# userinfo test&lt;br /&gt;
login   test&lt;br /&gt;
passwd  *&lt;br /&gt;
uid     1003&lt;br /&gt;
groups  test&lt;br /&gt;
change  NEVER&lt;br /&gt;
class&lt;br /&gt;
gecos   test&lt;br /&gt;
dir     /home/test&lt;br /&gt;
shell   /aycdiesh&lt;br /&gt;
expire  NEVER&lt;br /&gt;
&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;
Testing the login:&lt;br /&gt;
&lt;em&gt;&lt;blockquote&gt;&lt;br /&gt;
&gt;ssh -l test ssh_gateway&lt;br /&gt;
test@ssh_gateway&#039;s password:&lt;br /&gt;
Last login: Wed Feb  7 11:16:40 2007 from 10.169.20.58&lt;br /&gt;
OpenBSD 4.0 (GENERIC) #625: Sun Sep 17 23:46:46 MDT 2006&lt;br /&gt;
&lt;br /&gt;
Welcome to the ssh access gateway.&lt;br /&gt;
&lt;br /&gt;
Type &#039;exit&#039;: dsr08tg245t243&lt;br /&gt;
only &#039;exit&#039; is allowed !!&lt;br /&gt;
Type &#039;exit&#039;: exit&lt;br /&gt;
OK&lt;br /&gt;
Connection to ssh_gateway closed.&lt;br /&gt;
&lt;br /&gt;
&gt;&lt;br /&gt;
&lt;/blockquote&gt;&lt;/em&gt;&lt;br /&gt;
&lt;hr /&gt;&lt;br /&gt;
As always, I welcome comments to this entry, since I don&#039;t think I am a genius. Let me know, if something is wrong, or if you come up with different approaches or a better solution at all. 
    </content:encoded>

    <pubDate>Wed, 07 Feb 2007 11:15:51 +0100</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/39-guid.html</guid>
    
</item>
<item>
    <title>using SSH for loads of cool stuff</title>
    <link>http://www.kungfu-hackers.net/index.php?/archives/4-using-SSH-for-loads-of-cool-stuff.html</link>
            <category>Network</category>
            <category>Unix</category>
    
    <comments>http://www.kungfu-hackers.net/index.php?/archives/4-using-SSH-for-loads-of-cool-stuff.html#comments</comments>
    <wfw:comment>http://www.kungfu-hackers.net/wfwcomment.php?cid=4</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.kungfu-hackers.net/rss.php?version=2.0&amp;type=comments&amp;cid=4</wfw:commentRss>
    

    <author>nospam@example.com (The Kungfu Hacker)</author>
    <content:encoded>
    I have written a small article on SSH, that will be more and more expanded when I have time, or learn something new. Check it out &lt;a href=&quot;http://www.kungfu-hackers.net/index.php?/articles/ssh.html&quot;  title=&quot;Article on SS&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;strong&gt;Updated: &lt;/strong&gt;&lt;br /&gt;
I have amended the article with a picture for illustration purpose and put in some additional notes. 
    </content:encoded>

    <pubDate>Tue, 06 Feb 2007 14:04:00 +0100</pubDate>
    <guid isPermaLink="false">http://www.kungfu-hackers.net/index.php?/archives/4-guid.html</guid>
    
</item>

</channel>
</rss>