<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://julien.danjou.info/blog/index.php/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
  <title>jd:/dev/blog - Naquadah Network</title>
  <link>http://julien.danjou.info/blog/index.php/</link>
  <description>Julien Danjou's blog</description>
  <language>fr</language>
  <pubDate>Sat, 11 Oct 2008 06:59:16 +0200</pubDate>
  <copyright>All Right Reserved</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Boarding the Prometheus</title>
    <link>http://julien.danjou.info/blog/index.php/post/2008/05/16/Boarding-the-Prometheus</link>
    <guid isPermaLink="false">urn:md5:577fb957ed1ccf6af5cf26621292f593</guid>
    <pubDate>Sun, 18 May 2008 10:26:00 +0200</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>amavisd-new</category><category>clamav</category><category>courier</category><category>dovecot</category><category>dspam</category><category>email</category><category>exim</category><category>mysql</category><category>naquadah</category><category>postfix</category><category>postfixadmin</category><category>postgresql</category><category>procmail</category><category>sieve</category><category>spamassassin</category>    
    <description>    &lt;p&gt;As I said a month ago, my main server &lt;em&gt;Delmak&lt;/em&gt; was dying. Well it still runs (proof: you could read this blog some days ago).&lt;/p&gt;


&lt;p&gt;Thanks to friends I host for free, they've kindly given enough money to buy a brand new server (C2D E8400, 4 GB RAM, 2x500 GB RAID 1) in order to replace the good old &lt;em&gt;Delmak&lt;/em&gt;.
&lt;img src=&quot;http://julien.danjou.info/blog/public/img/Prometheus_Stargate_Grace.jpg&quot; alt=&quot;Prometheus&quot; style=&quot;float:right; margin: 0 0 1em 1em;&quot; /&gt;This new box has been named &lt;em&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Tau%27ri_starships_in_Stargate#Prometheus&quot;&gt;Prometheus&lt;/a&gt;&lt;/em&gt; after the only &lt;em&gt;BC-303&lt;/em&gt; class battleship ever built.&lt;/p&gt;


&lt;p&gt;&lt;em&gt;Delmak&lt;/em&gt; was used to mainly run as a Web, mail and databases server. I decided to do use this server switch to change the server software I use.&lt;/p&gt;


&lt;p&gt;The first mail server I setup was based on &lt;em&gt;&lt;a href=&quot;http://www.exim.org&quot;&gt;Exim 3&lt;/a&gt;&lt;/em&gt;, &lt;em&gt;courier-{imap,pop}{-ssl,}&lt;/em&gt; with userdb files. That was... rough. Later I switched to &lt;em&gt;&lt;a href=&quot;http://www.exim.org&quot;&gt;Exim 4&lt;/a&gt;&lt;/em&gt;, using &lt;em&gt;&lt;a href=&quot;http://silverwraith.com/vexim/&quot;&gt;vexim&lt;/a&gt;&lt;/em&gt;, and &lt;em&gt;&lt;a href=&quot;http://www.mysql.org&quot;&gt;MySQL&lt;/a&gt;&lt;/em&gt; as a back-end. That was something like 3 years ago I guess. Since then I never really touched that back. I added &lt;em&gt;&lt;a href=&quot;http://www.spamassassin.apache.org&quot;&gt;spamassassin&lt;/a&gt;&lt;/em&gt; and &lt;em&gt;&lt;a href=&quot;http://www.clamav.net&quot;&gt;clamav&lt;/a&gt;&lt;/em&gt; filtering some months after, because some users asked for it. That's all.&lt;/p&gt;


&lt;p&gt;So this week, I decided to switch away from this configuration. I do not understand &lt;em&gt;Exim&lt;/em&gt; anymore anyway, so I decided to use &lt;em&gt;&lt;a href=&quot;http://www.postfix.org&quot;&gt;Postfix&lt;/a&gt;&lt;/em&gt; which I often use and administrate at work. Obviously, I also now use &lt;em&gt;&lt;a href=&quot;http://www.postgresql.org&quot;&gt;PostgreSQL&lt;/a&gt;&lt;/em&gt; as database back-end, since it rocks, and since &lt;em&gt;&lt;a href=&quot;http://postfixadmin.sourceforge.net/&quot;&gt;Postfixadmin&lt;/a&gt;&lt;/em&gt; supports it. By the way, be aware that the Debian package of &lt;em&gt;postfixadmin&lt;/em&gt; is crappy (the configuration file is readable by anyone by default, with the database password in it).
I also set up &lt;em&gt;&lt;a href=&quot;http://postgrey.schweikert.ch/&quot;&gt;postgrey&lt;/a&gt;&lt;/em&gt; which is quite nice and efficient.&lt;/p&gt;


&lt;p&gt;Well, then was time for &lt;em&gt;&lt;a href=&quot;http://www.ijs.si/software/amavisd/&quot;&gt;amavisd-new&lt;/a&gt;&lt;/em&gt; installation, but I did not do it. Seriously, &lt;em&gt;amavisd-new&lt;/em&gt; configuration is a bloody mess, as the language it is written in (yes, &lt;em&gt;&lt;a href=&quot;http://www.perl.org&quot;&gt;Perl&lt;/a&gt;&lt;/em&gt;).&lt;/p&gt;


&lt;p&gt;So I switched to &lt;em&gt;&lt;a href=&quot;http://dspam.nuclearelephant.com/&quot;&gt;dspam&lt;/a&gt;&lt;/em&gt; which I heard is nice. Well, it seems to be for now, since it even supports &lt;em&gt;clamav&lt;/em&gt; daemon usage directly, which is very very nice because that means I do not have to set up another thing for that.&lt;/p&gt;


&lt;p&gt;I also switched from &lt;em&gt;&lt;a href=&quot;http://www.courier-mta.org&quot;&gt;courier&lt;/a&gt;&lt;/em&gt; to &lt;em&gt;&lt;a href=&quot;http://www.dovecot.org&quot;&gt;dovecot&lt;/a&gt;&lt;/em&gt;, mainly because the latter seems to be faster and lighter. I then changed the default &lt;em&gt;virtual_transport&lt;/em&gt; to &lt;em&gt;&lt;a href=&quot;http://wiki.dovecot.org/LDA&quot;&gt;Dovecot LDA&lt;/a&gt;&lt;/em&gt;. The main advantage of this is that the LDA updates the &lt;em&gt;Dovecot&lt;/em&gt; index while delivering. It also supports quota, which I do not use and plug-ins, like the &lt;em&gt;&lt;a href=&quot;http://sieve.info/&quot;&gt;Sieve&lt;/a&gt;&lt;/em&gt; language for mail filtering.&lt;/p&gt;


&lt;p&gt;So I decided to change my &lt;em&gt;procmailrc&lt;/em&gt; to a new Sieve filter. My &lt;em&gt;procmailrc&lt;/em&gt; is quite small since I only use regex to match lists and some mail address, so it has only something like 12 rules.
And well, I did not do it since I discovered after some googling that &lt;em&gt;Dovecot&lt;/em&gt; implementation of &lt;em&gt;Sieve&lt;/em&gt; is grabbed from &lt;em&gt;Cyrus&lt;/em&gt; which does not support variables for now. That means that the following &lt;em&gt;procmailrc&lt;/em&gt; code:&lt;/p&gt;

&lt;pre&gt;
:0:
* ^X-Mailing-List: &amp;lt;debian-.+@lists.debian.org&amp;gt;
* ^X-Mailing-List: &amp;lt;debian-\/[^@]+
list-debian-$MATCH/
&lt;/pre&gt;


&lt;p&gt;which will translate to:&lt;/p&gt;

&lt;pre&gt;
require [ &amp;quot;regex&amp;quot;, &amp;quot;variables&amp;quot;, &amp;quot;fileinto&amp;quot; ]
if header :regex &amp;quot;X-Mailing-List&amp;quot; &amp;quot;&amp;lt;debian-(.+)@&amp;quot;
{
    fileinto &amp;quot;lists.debian.${1}&amp;quot;;
    stop;
}
&lt;/pre&gt;


&lt;p&gt;But that won't work since &lt;em&gt;Dovecot&lt;/em&gt; &lt;em&gt;Sieve&lt;/em&gt; implementation does not support &quot;variables&quot;. Well, since I'm not ready to list all the lists I'm subscribed to, &lt;em&gt;Sieve&lt;/em&gt; is a no-go for now. I'll stick with &lt;em&gt;procmail&lt;/em&gt;.&lt;/p&gt;</description>
    
    
    
          <comments>http://julien.danjou.info/blog/index.php/post/2008/05/16/Boarding-the-Prometheus#comment-form</comments>
      <wfw:comment>http://julien.danjou.info/blog/index.php/post/2008/05/16/Boarding-the-Prometheus#comment-form</wfw:comment>
      <wfw:commentRss>http://julien.danjou.info/blog/index.php/feed/rss2/comments/464</wfw:commentRss>
      </item>
    
  <item>
    <title>We've been almost down</title>
    <link>http://julien.danjou.info/blog/index.php/post/2008/03/04/Weve-been-almost-down</link>
    <guid isPermaLink="false">urn:md5:2eb548b0433744c423a367ca1eda1eb1</guid>
    <pubDate>Tue, 04 Mar 2008 18:02:00 +0100</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>delmak</category><category>hardware</category><category>naquadah</category>    
    <description>    &lt;p&gt;I had a big fright this afternoon. My friend ludo asked me to shut down my main server (delmak.naquadah.org) for racking one of my new equipement.&lt;/p&gt;


&lt;p&gt;Delmak is my oldest server, hosting almost everything since 5 years. I knew I will have to shut it down some days, but after 280 days of uptime I was pretty confident everything will be allright.&lt;/p&gt;


&lt;p&gt;But obviously, it refused to boot again. Fortunately, only the power was burned, and after changing it with a new one, we manage to get delmak booting again.&lt;/p&gt;


&lt;p&gt;Now I'm really thinking about some better solution to not having everything on a server that can explose any day now. &lt;img src=&quot;/blog//themes/geeek.org/smilies/laugh.png&quot; alt=&quot;:-D&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>abydos's dead</title>
    <link>http://julien.danjou.info/blog/index.php/post/2007/07/22/abydoss-dead</link>
    <guid isPermaLink="false">urn:md5:c22cfc83c50d9af585a1707227406db9</guid>
    <pubDate>Sun, 22 Jul 2007 13:55:00 +0200</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>hardware</category>    
    <description>    &lt;p&gt;My workstation is dead yesterday at 22:01. It did not suffer, the screens simply turned off, and now it does not boot anymore. It seems that the processor is dead.&lt;/p&gt;


&lt;p&gt;Four years of good services. Now have to buy a new workstation, sic.&lt;/p&gt;


&lt;p&gt;Main consequence for now is that I cannot read my mails anymore for now. Anyway, I'm on holidays for a week.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Creating a FLAN</title>
    <link>http://julien.danjou.info/blog/index.php/post/2007/01/16/376-creating-a-flan</link>
    <guid isPermaLink="false">urn:md5:4a01683a25ef5542ecc492d99817d8ae</guid>
    <pubDate>Tue, 16 Jan 2007 12:48:13 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>network</category><category>software</category>    
    <description>    &lt;p&gt;I have several servers around the Internet, and one of my need is to have VPN between them to access various data and services, like SNMP or NFS. I used to build VPN with &lt;a href=&quot;http://www.openvpn.net&quot;&gt;OpenVPN&lt;/a&gt; between some of them.&lt;/p&gt;


&lt;p&gt;My main problem was that I had to set up IP interfaces at each end, build multiple tunnels or make some routing, and... that was not what I wanted, too complicated.&lt;/p&gt;


&lt;p&gt;I took a deeper look in OpenVPN and found a solution: I created a FLAN… No, not a cake, a Faked LAN! This is so easy and powerful that I beat myself to not have though about that before.&lt;/p&gt;


&lt;p&gt;I did it with 3 servers for now, this is how it works: on each server I create an interface named &lt;em&gt;if-&lt;a href=&quot;http://julien.danjou.info/blog/index.php/post/2007/01/16/remote hostname&quot;&gt;remote hostname&lt;/a&gt;&lt;/em&gt; which is a &lt;em&gt;tap&lt;/em&gt; (Ethernet) interfaces connected to the remote host. On &lt;em&gt;server1&lt;/em&gt;, I have two interfaces, &lt;em&gt;if-server2&lt;/em&gt; and &lt;em&gt;if-server3&lt;/em&gt; which are like direct wired connection to the remote host, and I can do Ethernet on them.&lt;/p&gt;


&lt;p&gt;When each server has its link up, I create an Ethernet bridge. In this bridge, I put the two interfaces connected to the remote servers. This finally build something like that for each server:&lt;/p&gt;


&lt;pre&gt;server1 -- eth0
  \ 
 if-bridge 192.168.4.88
    \  \_ if-server2 -- VPN -- if-server1 -- if-bridge 192.168.4.89 -- server2
     \_ if-server3 -- VPN -- if-server-1 -- if-bridge 192.168.4.90 -- server3&lt;/pre&gt;


&lt;p&gt;Obviously, you will have a loop in your faked Ethernet LAN, so you'll have to active &lt;a href=&quot;http://fr.wikipedia.org/wiki/Spanning_Tree_Protocol&quot;&gt;STP&lt;/a&gt; in order to have a working LAN. And it works.&lt;/p&gt;


&lt;p&gt;The main advantage with this solution is that each server has only one IP on this virtual network, and there's no connection problem if one of your host is down: STP will rebuild the network in a transparent way. The main problem is that you may have to set up a lot of link if you want a full redundancy. I think I'll setup only two links between each server, because it maybe too painfull otherwise.&lt;/p&gt;


&lt;p&gt;You can also do some optimization if you need, because the current bridge implementation in Linux is so powerful that you can put cost on interfaces for your bridge, or define which bridge should be the root of your tree. Have fun!&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>The man who did not know he had an amd64</title>
    <link>http://julien.danjou.info/blog/index.php/post/2006/11/07/363-the-man-who-did-not-know-he-had-an-amd64</link>
    <guid isPermaLink="false">urn:md5:a6256c3be54532f5b57fb55d8c88f08f</guid>
    <pubDate>Tue, 07 Nov 2006 21:13:50 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>bugs</category><category>debian</category><category>fun</category><category>hardware</category><category>software</category>    
    <description>    &lt;p&gt;On sunday, I was looking around at the &lt;em&gt;/proc/cpuinfo&lt;/em&gt; on one of my last server. I saw that this Pentium 4 had a lot more of cpu flags that the one on my workstation. I discovered the &lt;em&gt;nx&lt;/em&gt; flags and its purpose some days before, but I did not know what the &lt;em&gt;lm&lt;/em&gt; flags was for...&lt;/p&gt;


&lt;p&gt;Oh my god, that's the 64 bits support. This box is an &lt;em&gt;amd64&lt;/em&gt; and it was installed as an &lt;em&gt;i386&lt;/em&gt;. That's like using a knife to kill a kitten when you have an axe!&lt;/p&gt;


&lt;p&gt;So, even if the box was 800 km away from me, I decided to reinstall it from scratch, with the help of a serial cable connected on it.&lt;/p&gt;


&lt;p&gt;That was so easy. I just love Debian for such things.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Step one: recompile &lt;em&gt;linux-2.6-2.6.18&lt;/em&gt; with support for 64 bits processors, that was easy, Goswin Brederlow made a patch I used and adapted in &lt;a href=&quot;http://bugs.debian.org/379090&quot;&gt;#379090&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Step two: scratch your swap and debootstrap an amd64 sarge in it. Copy blindly your &lt;em&gt;/lib/modules/2.6.18-1-amd64&lt;/em&gt; inside.&lt;/li&gt;
&lt;li&gt;Step three: reboot with your 64 bits kernel on your brand new 64 bits Debian system and launch &lt;em&gt;sshd&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Step four: ask everyone on IRC WHY THE HELL you get &lt;em&gt;sshd&lt;/em&gt; killed with a fucking kernel backtrace on your serial console each time you try to ssh to your box&lt;/li&gt;
&lt;li&gt;Step five: listen everyone advices and dist-upgrade to etch&lt;/li&gt;
&lt;li&gt;Step six: backup all the old data and scratch all your partitions, because you want LVM now. And migrating to 64 bits and LVM at the same time is more dangerous, so more exciting, so more fun.&lt;/li&gt;
&lt;li&gt;Step seven: move your brand new amd64 etch into your old root partition. Believe in you and that you did not forget anything to backup.&lt;/li&gt;
&lt;li&gt;Step eight: create your logical volumes and move your stuff in here, like &lt;em&gt;/var&lt;/em&gt;, &lt;em&gt;/usr&lt;/em&gt; and then blindly reboot. Thanks god you have a serial console.&lt;/li&gt;
&lt;li&gt;Step nine: apt-get install everything back and upgrade your old sarge conffiles to etch.&lt;/li&gt;
&lt;li&gt;Step ten: wonder why &lt;em&gt;slapd&lt;/em&gt; is segfaulting again and again, and then yell after this fucking Berkeley DB files that are not architecture independant. Flame yourself because you don't have a LDIF backup of your LDAP tree.&lt;/li&gt;
&lt;li&gt;Step eleven: install a i386 sarge with LDAP to &lt;em&gt;slapcat&lt;/em&gt; your old LDAP tree and restore it.&lt;/li&gt;
&lt;li&gt;Step twelve: Take a break. Have a Kit^Wbeer.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In the end, I'm happy, even if everyone is wondering why I killed a server during 10 hours just because &lt;em&gt;it's better&lt;/em&gt;.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Dust in the box</title>
    <link>http://julien.danjou.info/blog/index.php/post/2006/09/15/331-dust-in-the-box</link>
    <guid isPermaLink="false">urn:md5:86278fa8853f6342a282fcd5b4abbc71</guid>
    <pubDate>Fri, 15 Sep 2006 11:26:19 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
            
    <description>    &lt;p&gt;I really should clean my workstation case more often.&lt;/p&gt;


&lt;pre&gt;abydos kernel: CPU0: Temperature above threshold&lt;/pre&gt;


&lt;p&gt;I agree that 50 C idle / 68 C full load is too hot.&lt;/p&gt;


&lt;p&gt;I cleaned it (arrgh so dusty), change the CPU fan. Back to 30 C idle!&lt;br /&gt;
But I did not plug back the case fan.&lt;/p&gt;


&lt;pre&gt;abydos kernel: end_request: I/O error, dev hdc, sector 43940535
[...]&lt;/pre&gt;


&lt;p&gt;Err, 58 C for an hard disk is too hot &lt;img src=&quot;/blog//themes/geeek.org/smilies/sad.png&quot; alt=&quot;:(&quot; class=&quot;smiley&quot; /&gt; God bless RAID 1.&lt;/p&gt;


&lt;pre&gt;* jd is going to buy some hard drives&lt;/pre&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Xen 3</title>
    <link>http://julien.danjou.info/blog/index.php/post/2006/02/26/232-xen-30</link>
    <guid isPermaLink="false">urn:md5:9a1abb72d4f0821935a6a6063c04f472</guid>
    <pubDate>Sun, 26 Feb 2006 00:32:15 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>xen</category>    
    <description>    &lt;p&gt;Finally, I managed to switch to Xen 3 on a box!&lt;/p&gt;


&lt;p&gt;My hardware problems with Ethernet devices was solved by adding &lt;code&gt;acpi=off&lt;/code&gt; to the Xen hypervizor boot parameters, and turning off tx checksumming (&lt;code&gt;ethtool -K eth0 tx off&lt;/code&gt;).&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Upgrading to Xen 3... aborted :(</title>
    <link>http://julien.danjou.info/blog/index.php/post/2006/02/09/225-upgrading-to-xen-3-aborted-</link>
    <guid isPermaLink="false">urn:md5:7be6af170bb2cb4eed93222ace9b07e9</guid>
    <pubDate>Thu, 09 Feb 2006 22:00:44 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>xen</category>    
    <description>    &lt;p&gt;It seems that after two hours stuck in front of my &lt;em&gt;minicom&lt;/em&gt;, trying to upgrade my server/gateway from Xen 2 to Xen 3, Sarge version of udev and hotplug are too old. I will have to try with a backport tomorrow... What a pity...&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>And now...</title>
    <link>http://julien.danjou.info/blog/index.php/post/2005/12/26/200-and-now</link>
    <guid isPermaLink="false">urn:md5:92260df4dcb22ee4e8d71b9bdc73cfd0</guid>
    <pubDate>Mon, 26 Dec 2005 11:46:40 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>hardware</category><category>life</category>    
    <description>    &lt;p&gt;My laptop hard drive just died. I just hate hardware.&lt;/p&gt;


&lt;p&gt;Merry xmas.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Kheb is not anymore</title>
    <link>http://julien.danjou.info/blog/index.php/post/2005/12/23/199-kheb-is-not-anymore</link>
    <guid isPermaLink="false">urn:md5:f32db07ea77e503cc9d2897722f8d914</guid>
    <pubDate>Fri, 23 Dec 2005 15:23:27 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>hardware</category>    
    <description>    &lt;p&gt;&lt;em&gt;Kheb&lt;/em&gt;, my old Pentium machine hosted in my parents' house, just died.&lt;br /&gt;
I think the CPU is dead. I will replace it with another Pentium II box I have in my flat. Because they are going to get a DSL access in the next days (yeah, we finally got DSL connection in this 700 inhabitans village).&lt;/p&gt;


&lt;p&gt;I just updated my &lt;a href=&quot;http://naquadah.org/~jd/naquadah/history/&quot;&gt;history&lt;/a&gt; page, just for fun!&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>My new server</title>
    <link>http://julien.danjou.info/blog/index.php/post/2005/08/12/171-my-new-server</link>
    <guid isPermaLink="false">urn:md5:0c332613db462ab9d3451da8944583a4</guid>
    <pubDate>Fri, 12 Aug 2005 12:14:02 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>xen</category>    
    <description>    &lt;p&gt;After 2 years of services, my main server hosted by &lt;a href=&quot;http://lost-oasis.fr&quot;&gt;Lost Oasis&lt;/a&gt;, called Netu, is now... Delmak!&lt;br /&gt;
That's the same machine, but it is now running Xen (see my last entry about how Xen is fantastic and can improve your sexual performance).&lt;/p&gt;


&lt;p&gt;Delmak is the dom0 and Netu is a domU. Netu is now managing FTP and shell access to my users, and services like mail, http, etc, will be migrated to Delmak.&lt;/p&gt;


&lt;p&gt;Why Delmak? Delmak is a planet and Netu is its moon. Can you feel the Xen spirit? &lt;img src=&quot;/blog//themes/geeek.org/smilies/wink.png&quot; alt=&quot;;-)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Keyboard</title>
    <link>http://julien.danjou.info/blog/index.php/post/2005/04/12/142-keyboard</link>
    <guid isPermaLink="false">urn:md5:79271326123caa297f1379407fb72a81</guid>
    <pubDate>Tue, 12 Apr 2005 14:41:25 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>friends</category><category>hardware</category>    
    <description>    &lt;p&gt;Again, my keyboard is dead. Why can't I keep a keyboard more than one year ?&lt;/p&gt;


&lt;p&gt;One year ago, my Keytronic was killed by a friend with a whisky-coke...&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>New laptop</title>
    <link>http://julien.danjou.info/blog/index.php/post/2005/03/06/124-new-laptop</link>
    <guid isPermaLink="false">urn:md5:5d3ea1022a5407bd206b0caad18907d7</guid>
    <pubDate>Sun, 06 Mar 2005 17:31:08 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>hardware</category>    
    <description>    &lt;p&gt;Yesterday I received my new laptop, it's a &lt;a href=&quot;http://www1.euro.dell.com/content/products/productdetails.aspx?c=en&amp;amp;cs=frdhs1&amp;amp;id=inspn_510m&amp;amp;l=fr&amp;amp;s=dhs&quot;&gt;Dell Inspiron 510m&lt;/a&gt;.&lt;/p&gt;


&lt;p&gt;Hardware:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Intel Centrino M 1.3 GHz&lt;/li&gt;
&lt;li&gt;Intel 855GM graphic card&lt;/li&gt;
&lt;li&gt;256 MB RAM&lt;/li&gt;
&lt;li&gt;15&quot; display XGA (1024x768)&lt;/li&gt;
&lt;li&gt;Intel PRO/100 Ethernet controller&lt;/li&gt;
&lt;li&gt;Intel PRO/Wireless LAN 2100 controller&lt;/li&gt;
&lt;li&gt;CD-RW/DVD&lt;/li&gt;
&lt;li&gt;40 GB hard drive&lt;/li&gt;
&lt;li&gt;Windows XP Home Edition (ahahaha !)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I installed a Debian Sid on it (of course), and everythings works fine.&lt;/p&gt;


&lt;p&gt;Its name is &lt;em&gt;shifu&lt;/em&gt;.&lt;/p&gt;


&lt;p&gt;NB: A good point to Dell: they have not removed the serial port ! I see too many laptop today with no more serial port, and that really suck.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>About my shell config, part 2</title>
    <link>http://julien.danjou.info/blog/index.php/post/2005/03/05/122-about-my-shell-config-part-2</link>
    <guid isPermaLink="false">urn:md5:ac704cc73de11a0c49b2d08c552cad10</guid>
    <pubDate>Sat, 05 Mar 2005 17:10:47 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>software</category>    
    <description>    &lt;p&gt;In response to &lt;a href=&quot;http://err.no/personal/blog/tech/Debian/2005-03-04-17-14_dont_reinvent_version_control.html&quot;&gt;Tollef&lt;/a&gt;, my shell config is already managed by Subversion. However, I cannot handle to install &lt;em&gt;svn&lt;/em&gt; client on each machine I connect to. Some are production servers and have minimal required packages installed only.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>About my shell config</title>
    <link>http://julien.danjou.info/blog/index.php/post/2005/03/03/121-about-my-shell-config</link>
    <guid isPermaLink="false">urn:md5:bc2bb739b3371ab86f493ed18d1c0cc0</guid>
    <pubDate>Thu, 03 Mar 2005 17:53:16 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>software</category>    
    <description>    &lt;p&gt;Since several weeks I wonder something about my zsh configuration and I cannot find a good solution. Maybe you, my faithful reader, you have an idea !&lt;/p&gt;


&lt;p&gt;Let me explain.&lt;/p&gt;


&lt;p&gt;I have a function called &lt;code&gt;scpzshconf&lt;/code&gt; which copy my zsh configuration files on a remote host using &lt;code&gt;tar c | ssh remotehost tar x -&lt;/code&gt;. So when I change my configuration on my workstation, I have to do &lt;code&gt;scpzshconf&lt;/code&gt; to many hosts. I would like to have something (a zsh function for example) which would be able to check which zsh configuration files are running on &lt;em&gt;remote host&lt;/em&gt; and compare it with the version I am running localy. If remote version is older than local one, then it should scpzshconf from local host to remote host. (Just remember that sometimes I am using connections that are NATed).&lt;/p&gt;


&lt;p&gt;Example:&lt;/p&gt;

&lt;pre&gt;local % cat ~/.zsh/configversion
2
local % ssh remote
remote % cat ~/.zsh/configversion
1&lt;/pre&gt;


&lt;p&gt;And then it should copy zsh configuration from &lt;em&gt;local&lt;/em&gt; to &lt;em&gt;remote&lt;/em&gt;.&lt;/p&gt;


&lt;p&gt;Any idea how to handle this ?&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Ashrak won</title>
    <link>http://julien.danjou.info/blog/index.php/post/2005/02/27/118-jolinars-dead</link>
    <guid isPermaLink="false">urn:md5:6dbc52f8c78a681249ca6f57411d3491</guid>
    <pubDate>Sun, 27 Feb 2005 13:42:09 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>hardware</category>    
    <description>    &lt;p&gt;Ok... You know, sometimes, you wake up and you feel it inside: it's a bad day.&lt;/p&gt;


&lt;p&gt;So I was playing &lt;em&gt;supertux&lt;/em&gt; on my laptop &lt;em&gt;jolinar&lt;/em&gt; when... it powered itself off. Pfioouuu. Nothing more. And I cannot power it on again, the power button seems to do nothing.&lt;/p&gt;


&lt;p&gt;Fortunately, my home is managed by Subversion and I made a &lt;em&gt;svn commit&lt;/em&gt; 10 minutes before the crash. And I have a 10 days old backup on another machine, so I won't be bothered if I can't get my data back.&lt;/p&gt;


&lt;p&gt;But I don't have a laptop anymore. &lt;img src=&quot;/blog//themes/geeek.org/smilies/sad.png&quot; alt=&quot;:(&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;


&lt;p&gt;&lt;em&gt;Ashrak are killers from Goa'uld, aiming at killing Tok'Ra rebels. Jolinar of Malkshur was one of them.&lt;/em&gt;&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Laptop problem</title>
    <link>http://julien.danjou.info/blog/index.php/post/2005/01/15/112-laptop-problem</link>
    <guid isPermaLink="false">urn:md5:9b08d10dbc8facc09c24e448dc6dbdae</guid>
    <pubDate>Sat, 15 Jan 2005 12:45:40 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>debian</category><category>hardware</category>    
    <description>    &lt;p&gt;Since several month, I have a problem with my laptop.
When I use the integrated network card, my computer freezes. Let me explain.&lt;/p&gt;


&lt;p&gt;If I play a sound file with xmms while I'm surfing, it's ok. But if I stop typing at keyboard, 20-60s after the computer stops. The clock is blocked and the sound does not play anymore. I can't ssh to my laptop neither. When I come back I have to run &lt;em&gt;ntpdate&lt;/em&gt; to set the clock back to the good time...&lt;/p&gt;


&lt;p&gt;If I use my PCMCIA wifi card or if I unplug my network cable, I do not have any problem anymore.&lt;/p&gt;


&lt;p&gt;I tried several driver and several 2.6 kernel for my Intel network card (e100 and eepro100) but it does not change anything. I use alsa for my sound card (snd-es1968).&lt;/p&gt;


&lt;p&gt;I think it's an hardware issue, but I am not sure and I don't know why. &lt;img src=&quot;/blog//themes/geeek.org/smilies/sad.png&quot; alt=&quot;:(&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>What you can do with VPN ? This !</title>
    <link>http://julien.danjou.info/blog/index.php/post/2004/12/22/96-what-you-can-do-with-vpn-this</link>
    <guid isPermaLink="false">urn:md5:ae10b18000b553e5e25360b36350e131</guid>
    <pubDate>Wed, 22 Dec 2004 19:15:47 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>software</category>    
    <description>    &lt;p&gt;You can play with routing:&lt;/p&gt;


&lt;pre&gt;Host                                    Loss%   Snt   Last   Avg  Best  Wrst StDev
1. kheb.queton.naquadah.org              0.0%    47    1.1   2.1   0.3  36.1   5.9
2. netu.vpn.queton.naquadah.org          0.0%    46   74.7 230.8  66.7 2160. 387.6
3. nasya.vpn.dmz.naquadah.org            0.0%    46  129.6 354.1 121.4 1979. 408.9
4. gw.dmz.naquadah.org                   0.0%    46  117.7 390.4 115.6 2064. 453.1
5. abydos.adm.naquadah.org               0.0%    46  122.7 348.9 115.5 1958. 402.3&lt;/pre&gt;


&lt;p&gt;For people knowing my network arch:&lt;/p&gt;

&lt;pre&gt;jolinar -&amp;gt; kheb -&amp;gt; netu -&amp;gt; nasya -&amp;gt; othala -&amp;gt; abydos&lt;/pre&gt;


&lt;p&gt;This means:&lt;/p&gt;

&lt;pre&gt;laptop (parents home) -&amp;gt; queton gw -&amp;gt; Main VPN server -&amp;gt; DMZ VPN server -&amp;gt; dmz/adm gw -&amp;gt; workstation (home)&lt;/pre&gt;


&lt;p&gt;Netu is the central VPN server. &lt;em&gt;queton.n.o&lt;/em&gt; and &lt;em&gt;{adm,dmz}.n.o&lt;/em&gt; are two networks on 2 differents sites.
Quite fun !&lt;/p&gt;


&lt;p&gt;I use &lt;a href=&quot;http://vtun.sf.net&quot;&gt;vtun&lt;/a&gt; for this.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>New hard disk for my laptop</title>
    <link>http://julien.danjou.info/blog/index.php/post/2004/12/15/94-new-hard-disk-for-my-laptop</link>
    <guid isPermaLink="false">urn:md5:9bc9a59d2c68ea748d4ed88998c25237</guid>
    <pubDate>Wed, 15 Dec 2004 18:18:39 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>hardware</category>    
    <description>    &lt;p&gt;Hey, it's Christmas time ! I bought a new hard drive for my laptop (the old was a slow Toshiba 10 GB). It's a Hitachi 40 GB 5400 RPM 8 MB !&lt;/p&gt;


&lt;p&gt;I ran a quick-and-dirty installation of Sarge in order to restore a full / backup.&lt;/p&gt;


&lt;pre&gt;Restore requested to host jolinar, backup #46, by acid from 192.168.2.13&lt;/pre&gt;


&lt;p&gt;Wait &amp;amp; see.&lt;/p&gt;</description>
    
    
    
      </item>
    
  <item>
    <title>Exim4 !</title>
    <link>http://julien.danjou.info/blog/index.php/post/2004/12/14/93-exim4</link>
    <guid isPermaLink="false">urn:md5:26b9084ab3fb5bd214162b08487cffe8</guid>
    <pubDate>Tue, 14 Dec 2004 15:28:56 +0000</pubDate>
    <dc:creator>jd</dc:creator>
        <category>Naquadah Network</category>
        <category>mail</category><category>software</category>    
    <description>    &lt;p&gt;Yeah, it's finally done: I have migrated my primary MX to exim4 ! With only a 15 minutes downtime.&lt;/p&gt;


&lt;p&gt;Since several month, I said that I will do it, and I did it ! I rewrote my exim3 conf for exim4. It was not too hard, but took me some hours to test it since my box delivers about 1k mails/days. It seems that everything is ok, but I am still tailling -f paniclog... &lt;img src=&quot;/blog//themes/geeek.org/smilies/smile.png&quot; alt=&quot;:)&quot; class=&quot;smiley&quot; /&gt;&lt;/p&gt;</description>
    
    
    
      </item>
    
</channel>
</rss>