<?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>Jonas Genannt - work</title>
    <link>http://blog.brachium-system.net/</link>
    <description>Weblog of an System Engineer</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.2 - http://www.s9y.org/</generator>
    
    <image>
        <url>http://blog.brachium-system.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Jonas Genannt - work - Weblog of an System Engineer</title>
        <link>http://blog.brachium-system.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Debian - Dell OMSA SNMP</title>
    <link>http://blog.brachium-system.net/archives/70-Debian-Dell-OMSA-SNMP.html</link>
            <category>debian</category>
            <category>dell</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/70-Debian-Dell-OMSA-SNMP.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=70</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=70</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    If you would like to use SNMP to monitor your dell server with OMSA (server administrator) installed, you have to configure your local SNMPd.&lt;br /&gt;
&lt;br /&gt;
First you have to enable SNMP on OMSA:&lt;blockquote&gt;/etc/init.d/dataeng enablesnmp&lt;/blockquote&gt;Than restart your Data Engine System from OMSA: &lt;blockquote&gt;/etc/init.d/dataeng restart&lt;/blockquote&gt;You can now install the snmp daemon from debian: &lt;blockquote&gt;apt-get install snmpd&lt;/blockquote&gt;SNMPd should listen to all interfaces. You can configure this at &lt;em&gt;/etc/default/snmpd&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
Please note, that you have to remove the entry &lt;em&gt;-I -smux&lt;/em&gt;, because OMSA uses snmp smux for communicating with the SNMP daemon. &lt;br /&gt;
&lt;br /&gt;
The following &lt;em&gt;snmpd.conf&lt;/em&gt; is tested to work with OMSA:&lt;blockquote&gt;com2sec local    localhost  public&lt;br /&gt;
com2sec watchdog 192.168.168.0/24  public&lt;br /&gt;
smuxsocket 127.0.0.1&lt;br /&gt;
smuxpeer .1.3.6.1.4.1.674.10892.1&lt;br /&gt;
group MyRoGroup v2c     local&lt;br /&gt;
group MyRoGroup v2c     watchdog&lt;br /&gt;
view  all    included  .1&lt;br /&gt;
access MyRoGroup &quot;&quot; any noauth exact all none none&lt;br /&gt;
&lt;/blockquote&gt;Now restart the snmpd and install also the dell mibs. You can find the mibs in /opt/dell/.&lt;br /&gt;
&lt;br /&gt;
After the restart you can walk throw your SNMP tables: &lt;blockquote&gt;snmpwalk -v2c -c public localhost 1.3.6.1.4.1.674.10893&lt;/blockquote&gt;If you want to monitor the health of your server I can suggest you the following nagios plugin:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.ahus1.de/nagios/&quot;&gt;check_omsa_snmp.pl&lt;/a&gt; - this plugin checks temperature,voltage, Power Supply and Cooling Devices &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 14 May 2008 14:20:44 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/70-guid.html</guid>
    
</item>
<item>
    <title>vlans + 3DM2</title>
    <link>http://blog.brachium-system.net/archives/64-vlans-+-3DM2.html</link>
            <category>control</category>
            <category>weird</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/64-vlans-+-3DM2.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=64</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=64</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    This morning, I had to install my 3dm2 package on an server with vlans on the local ethernet device. &lt;br /&gt;
&lt;br /&gt;
I installed the  packages as always, but I was not able to start 3dm2. The software failed with &lt;blockquote&gt;&lt;br /&gt;
(0x0C:0x0005): Failed to start listening socket&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
After some debuging, I have changed &lt;b&gt;RemoteAccess&lt;/b&gt; parameter to &lt;b&gt;0&lt;/b&gt;. After this modification in the configuration file, I was able to start 3dm2 on the machine.&lt;br /&gt;
&lt;br /&gt;
So I think 3dm2 is not able to handle ethernet devices with vlans enabled... 
    </content:encoded>

    <pubDate>Mon, 08 Oct 2007 22:54:06 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/64-guid.html</guid>
    
</item>
<item>
    <title>3Ware CLI and 3dm2 debian packages updated</title>
    <link>http://blog.brachium-system.net/archives/42-3Ware-CLI-and-3dm2-debian-packages-updated.html</link>
            <category>control</category>
            <category>debian</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/42-3Ware-CLI-and-3dm2-debian-packages-updated.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=42</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=42</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    I have updated my 3Ware CLI  (Command Line Interface) and 3DM2 (Disk Management Utility) debian packages.&lt;br /&gt;
&lt;br /&gt;
You can find it on my &lt;a href=&quot;http://jonas.genannt.name&quot;&gt;website&lt;/a&gt; like the last version.&lt;br /&gt;
&lt;br /&gt;
Please note, I have only updated the i386 packages, the amd64 will follow in some days. 
    </content:encoded>

    <pubDate>Sun, 07 Jan 2007 17:29:42 +0100</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/42-guid.html</guid>
    
</item>
<item>
    <title>Cacti - Secuity fix</title>
    <link>http://blog.brachium-system.net/archives/40-Cacti-Secuity-fix.html</link>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/40-Cacti-Secuity-fix.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=40</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=40</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    Cacti the graphing tool has an security bug. &lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://heise.de&quot;&gt;Heise.de&lt;/a&gt; has got an post about &lt;a href=&quot;http://www.heise.de/newsticker/meldung/83037&quot;&gt;it&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I think moving the &lt;i&gt;cmd.php&lt;/i&gt; is not a very good solution. I fixed it with the following code in the Apache config:&lt;br /&gt;
&lt;blockquote&gt;&amp;#060;Files cmd.php&amp;#062;&lt;br /&gt;
   Order Deny,Allow&lt;br /&gt;
  Deny From All&lt;br /&gt;
&amp;#060;/Files&amp;#062;&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
It blocks all webrequests for the &lt;i&gt;cmd.php&lt;/i&gt; &lt;img src=&quot;http://blog.brachium-system.net/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
(Don&#039;t forget to reload your Apache) 
    </content:encoded>

    <pubDate>Fri, 29 Dec 2006 18:11:24 +0100</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/40-guid.html</guid>
    
</item>
<item>
    <title>Webbased email administration interface - Update</title>
    <link>http://blog.brachium-system.net/archives/35-Webbased-email-administration-interface-Update.html</link>
            <category>control</category>
            <category>mail</category>
            <category>network</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/35-Webbased-email-administration-interface-Update.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=35</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=35</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    Updated features list:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1.) normal eMailaccount&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;change there own password&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete autoresponder&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;&lt;b&gt;create/modify/delete forward to an other email address (with the option deliver local or not)&lt;/b&gt;&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;&lt;b&gt;activate/deactivate spamassassin&lt;/b&gt;&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;&lt;b&gt;create/modify/delete whist- and blacklists for spamassassin&lt;/b&gt;&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;&lt;b&gt;modify some options for spamassassin, e.g.  rewrite subject&lt;/b&gt;&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
Now it would be nice if some volunteer create a nice site layout for the webinterface. &lt;img src=&quot;http://blog.brachium-system.net/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Sun, 10 Sep 2006 18:06:35 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/35-guid.html</guid>
    
</item>
<item>
    <title>Webbased email administration interface</title>
    <link>http://blog.brachium-system.net/archives/33-Webbased-email-administration-interface.html</link>
            <category>control</category>
            <category>mail</category>
            <category>network</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/33-Webbased-email-administration-interface.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=33</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=33</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    My project is neaerly complete! - Web based managment for eMailServers.&lt;br /&gt;
&lt;br /&gt;
My eMailServer framework based on Courier/Postfix/Maildrop/MySQL has got four usergroups:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1.) normal eMailaccount&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;change there own password&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete autoresponder&lt;/li&gt;&lt;br /&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;b&gt;2.) admin for one or more domains&lt;/b&gt;&lt;br /&gt;
        &lt;ul&gt;&lt;li&gt;can do the same like a normal eMailaccount&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete eMailaddresses&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete Forwardings&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete CatchAll Address&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3.) superadmin&lt;/b&gt;&lt;br /&gt;
        &lt;ul&gt;&lt;li&gt;can do the same like the admin&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete domains&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4.) superadmin manager&lt;/b&gt;&lt;br /&gt;
        &lt;ul&gt;&lt;li&gt;can do the same like the superadmin&lt;/li&gt;&lt;br /&gt;
        &lt;li&gt;create/modify/delete superadmins&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
All this actions can be done with the webinterface!&lt;br /&gt;
&lt;br /&gt;
You can find &lt;a href=&quot;http://jonas.capi2name.de/email_system/&quot;&gt;some screenshots here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Sorry all screenshots in german, but it based on Smarty so you can make your own template.&lt;br /&gt;
&lt;br /&gt;
The Webinterface depends on php4, php4-mysql, php4-cli, mysql-server,smarty, php4-pear and some extra Pear Modules. 
    </content:encoded>

    <pubDate>Mon, 14 Aug 2006 21:27:04 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/33-guid.html</guid>
    
</item>
<item>
    <title>3Ware - CLI - Command Line Interface for debian</title>
    <link>http://blog.brachium-system.net/archives/25-3Ware-CLI-Command-Line-Interface-for-debian.html</link>
            <category>control</category>
            <category>debian</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/25-3Ware-CLI-Command-Line-Interface-for-debian.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=25</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=25</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    3Ware Software the second round!&lt;br /&gt;
&lt;br /&gt;
I have created debian packages for the CLI (Command Line Interface) for 3Ware Controllers.&lt;br /&gt;
&lt;br /&gt;
You can find it, like the 3dm2 on &lt;a href=&quot;http://debian-unofficial.org&quot;&gt;Debian Unofficial&lt;/a&gt; and &lt;a href=&quot;http://jonas.genannt.name&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 06 Jun 2006 23:56:22 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/25-guid.html</guid>
    
</item>
<item>
    <title>3Ware - 3DM 2 -  Disk Management Utility for debian</title>
    <link>http://blog.brachium-system.net/archives/24-3Ware-3DM-2-Disk-Management-Utility-for-debian.html</link>
            <category>control</category>
            <category>debian</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/24-3Ware-3DM-2-Disk-Management-Utility-for-debian.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=24</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=24</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    I have created debian packages for the 3DM 2 (Disk Management Utility) for 3Ware Controllers.&lt;br /&gt;
&lt;br /&gt;
You can find it on &lt;a href=&quot;http://debian-unofficial.org&quot;&gt;Debian Unofficial&lt;/a&gt; and &lt;a href=&quot;http://jonas.genannt.name&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Sat, 03 Jun 2006 02:40:47 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/24-guid.html</guid>
    
</item>
<item>
    <title>Why you should read the kernel changelog</title>
    <link>http://blog.brachium-system.net/archives/18-Why-you-should-read-the-kernel-changelog.html</link>
            <category>debian</category>
            <category>kernel</category>
            <category>weird</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/18-Why-you-should-read-the-kernel-changelog.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=18</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=18</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    Why you should read the kernel changelog? - You have to read it, when you use an 2.6.16 vanilla kernel on a native sarge.&lt;br /&gt;
&lt;br /&gt;
When you don&#039;t have any problems with LVM (lvm2) and the kernel.&lt;br /&gt;
&lt;br /&gt;
In the Kernel ChangeLog there are nice informations like this:&lt;blockquote&gt;If you&#039;re using lvm2, for this patch to work correctly you should update to lvm2 version 2.02.01 or later and device-mapper version 1.02.02 or later.&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
If I had read this, I would have had no problems with LVM and kernel 2.6.16!&lt;br /&gt;
&lt;br /&gt;
Note for me: Fly over kernel changelog for every new kernel! 
    </content:encoded>

    <pubDate>Fri, 19 May 2006 02:01:42 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/18-guid.html</guid>
    
</item>
<item>
    <title>Win2k3 unattended installation: non-speaking error</title>
    <link>http://blog.brachium-system.net/archives/17-Win2k3-unattended-installation-non-speaking-error.html</link>
            <category>windows</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/17-Win2k3-unattended-installation-non-speaking-error.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=17</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=17</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    If you work on unattended installtion for Windows and you get the following error during the GUI Installation Setup, don&#039;t  despair.&lt;br /&gt;
&lt;img width=&#039;358&#039; height=&#039;166&#039; border=&#039;0&#039; hspace=&#039;5&#039; align=&#039;right&#039; src=&#039;http://blog.brachium-system.net/uploads/win2k3error.jpg&#039; alt=&#039;&#039; /&gt;&lt;br /&gt;
&lt;blockquote&gt;An error has been encountered that prevents Setup from continuing.&lt;br /&gt;
Internal Setup data structers are corrupted (phase 0).&lt;br /&gt;
Press OK to view the Setup log file&lt;/blockquote&gt;&lt;br /&gt;
&lt;br/&gt;&lt;br /&gt;
When you get this error, there are some missing entries on your &lt;i&gt;winnt.sif&lt;/i&gt; file in the I386 Folder.&lt;br /&gt;
&lt;br /&gt;
You have to add:&lt;br /&gt;
&lt;b&gt;MsDosInitiated = &quot;0&quot;&lt;br /&gt;
AutoPartition=0&lt;br /&gt;
UnattendedInstall = &quot;Yes&quot;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
That flags are essential for the [Data] Selection in the &lt;i&gt;winnt.sif&lt;/i&gt; file!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;MsDosInitiated=0&lt;/b&gt; Means that you are not installing from floppy drives!&lt;br /&gt;
&lt;b&gt;AutoPartition=0&lt;/b&gt; You musst create the partitions on yourself!&lt;br /&gt;
&lt;b&gt;UnattendedInstall = &quot;Yes&quot;&lt;/b&gt; Starts the Unattended Installation in the GUI Mode.&lt;br /&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 16 May 2006 11:14:48 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/17-guid.html</guid>
    
</item>
<item>
    <title>Rsync Server under Windows</title>
    <link>http://blog.brachium-system.net/archives/12-Rsync-Server-under-Windows.html</link>
            <category>backup</category>
            <category>windows</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/12-Rsync-Server-under-Windows.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=12</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=12</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    Rsync Server under Windows is possible with cygwin and cwrsync!&lt;br /&gt;
&lt;br /&gt;
You can get cwRsync with cygwin dlls here: &lt;a href=&quot;http://itefix.no/cwrsync/&quot;  title=&quot;http://itefix.no/cwrsync/&quot;&gt;http://itefix.no/cwrsync/&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
Install it, create a rsync.conf file, but two things are &lt;b&gt;important&lt;/b&gt; for running rsync on windows:&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
strict modes = false&lt;br /&gt;
use chroot =false&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
My &lt;i&gt;rsync.conf&lt;/i&gt; looks like this:&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
secrets file = /cygdrive/c/Programme/cwRsync/passwds&lt;br /&gt;
log file = /cygdrive/c/Programme/cwRsync/rsyncd.log&lt;br /&gt;
pid file = /cygdrive/c/Programme/cwRsync/rsyncd.pid&lt;br /&gt;
strict modes = false&lt;br /&gt;
use chroot = false&lt;br /&gt;
&lt;br /&gt;
[Backup]&lt;br /&gt;
comment = Files for Backup&lt;br /&gt;
path    = c:\files&lt;br /&gt;
auth users = backup&lt;br /&gt;
hosts deny = *&lt;br /&gt;
hosts allow = 192.168.0.0/255.255.255.0&lt;br /&gt;
read only = yes&lt;br /&gt;
list = false&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
The password file has got that format:&lt;br /&gt;
&lt;blockquote&gt;username:password&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
For installing rsync as a Server you need the programs:&lt;br /&gt;
- instsrv.exe&lt;br /&gt;
- srvany.exe&lt;br /&gt;
&lt;br /&gt;
Now execute this command:&lt;br /&gt;
&lt;i&gt;instsrv.exe &quot;Rsync c:\path\to\srvany.exe&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Do not start the service now!&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Open &lt;i&gt;regedit&lt;/i&gt; and insert the following lins to that path:&lt;br /&gt;
&lt;i&gt;HKEY_LOCAL_MACHINE\SYSTEMS\CurrentControlSet\Services\Rsync\Parameters&lt;/i&gt;&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
AppDirectory REG_SZ &quot;c:\Programme\cwrsync\bin&quot;&lt;br /&gt;
Application  REG_SZ &quot;c:\Programme\cwrsync\bin\rsync.exe&quot;&lt;br /&gt;
AppParameters REG_SZ &quot;--daemon --config=/cygdrive/c/Programme/cwRsync/rsync.conf&quot;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Now you can start rsync as a normal service.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Tue, 11 Apr 2006 13:14:52 +0200</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/12-guid.html</guid>
    
</item>
<item>
    <title>Script: check for new security updates with cron and mail</title>
    <link>http://blog.brachium-system.net/archives/9-Script-check-for-new-security-updates-with-cron-and-mail.html</link>
            <category>control</category>
            <category>debian</category>
            <category>mail</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/9-Script-check-for-new-security-updates-with-cron-and-mail.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=9</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=9</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    This script checks for new updates and mails the output to the sysadmin!&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
#Copyright: Jonas Genannt jonas.genannt (AT) capi2name.de&lt;br /&gt;
#License: GPL&lt;br /&gt;
&lt;br /&gt;
MAIL_CMD=&quot;/usr/bin/mail&quot;&lt;br /&gt;
EMAIL_ADDR=&quot;email@domain.tld&quot;&lt;br /&gt;
TMPNAME=&quot;`mktemp`&quot;&lt;br /&gt;
&lt;br /&gt;
IPADDR=&quot;`LC_ALL=&#039;en&#039; /sbin/ifconfig eth0 | sed -n -e&#039;/inet addr:/s/^.*inet addr:\([0-9.]*\).*$/\1/p&#039;`&quot;&lt;br /&gt;
&lt;br /&gt;
if [ -z ${IPADDR} ]; then&lt;br /&gt;
        IPADDR=&quot;`LC_ALL=&#039;en&#039; /sbin/ifconfig eth0:1 | sed -n -e&#039;/inet addr:/s/^.*inet addr:\([0-9.]*\).*$/\1/p&#039;`&quot;&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
if [ -z ${IPADDR} ]; then&lt;br /&gt;
        IPADDR=`/bin/hostname -f`&lt;br /&gt;
fi&lt;br /&gt;
&lt;br /&gt;
apt-get update &gt; /dev/null&lt;br /&gt;
if [ `apt-get --just-print upgrade | grep -c -E &quot;^Inst&quot;` -gt &quot;0&quot; ]; then&lt;br /&gt;
&lt;br /&gt;
        echo -e &quot;apt-get upgrade would like to install these packages:\n&quot; &gt;&gt; ${TMPNAME}&lt;br /&gt;
        `apt-get --just-print -u  upgrade | grep   &quot;^Inst &quot; | awk &#039;{print$2}&#039; &gt;&gt; ${TMPNAME}`&lt;br /&gt;
        echo -e &quot;\n-------------------------------------\nSecurity Updates. You know the drill.&quot; &gt;&gt; ${TMPNAME}&lt;br /&gt;
        ${MAIL_CMD} ${EMAIL_ADDR} -s &quot;Updates available on ${IPADDR}&quot; &lt; ${TMPNAME}&lt;br /&gt;
        rm -f ${TMPNAME}&lt;br /&gt;
fi&lt;br /&gt;
&lt;/blockquote&gt; 
    </content:encoded>

    <pubDate>Mon, 20 Feb 2006 22:03:13 +0100</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/9-guid.html</guid>
    
</item>
<item>
    <title>boot kernel over network with initrd ramdisk</title>
    <link>http://blog.brachium-system.net/archives/7-boot-kernel-over-network-with-initrd-ramdisk.html</link>
            <category>bootloader</category>
            <category>kernel</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/7-boot-kernel-over-network-with-initrd-ramdisk.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=7</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=7</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    if you want to boot kernel and initrd over the network, please recompile the kernel and change the&lt;br /&gt;
&lt;blockquote&gt;CONFIG_BLK_DEV_RAM_SIZE=&lt;/blockquote&gt;&lt;br /&gt;
to your new size of the initrd.&lt;br /&gt;
&lt;br /&gt;
Per default it is 4MB that is not very much, if you use initrd for / 
    </content:encoded>

    <pubDate>Tue, 14 Feb 2006 20:54:12 +0100</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/7-guid.html</guid>
    
</item>
<item>
    <title>Postfix with Amavis-new for virus scanning</title>
    <link>http://blog.brachium-system.net/archives/5-Postfix-with-Amavis-new-for-virus-scanning.html</link>
            <category>mail</category>
            <category>virus</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/5-Postfix-with-Amavis-new-for-virus-scanning.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=5</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.brachium-system.net/rss.php?version=2.0&amp;type=comments&amp;cid=5</wfw:commentRss>
    

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    Here is a short HowTo for configure Postfix to use Amavis with ClamAV for virus scanning!&lt;br /&gt;
&lt;br /&gt;
First you should install ClamAV from backports.org, when you using the ClamAV from stable/sarge you have an old searching engine that maybe have some problems to recognize new viruses with the new files from ClamAV-freshclam.&lt;br /&gt;
&lt;br /&gt;
First add this line to your &lt;i&gt;/etc/apt/sources.list&lt;/i&gt;:&lt;br /&gt;
&lt;blockquote&gt;deb http://www.backports.org/debian sarge-backports main&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Now that is very important to create a &lt;i&gt;/etc/apt/preferences&lt;/i&gt; file:&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
Package: *&lt;br /&gt;
Pin: release a=sarge-backports&lt;br /&gt;
Pin-Priority: 200&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
With this entry you deactivate all packages from backports.org this is important because we will only install ClamAV from backports.&lt;br /&gt;
&lt;br /&gt;
Save the file and run an apt-get update to receive the packagefiles from backports.org.&lt;br /&gt;
&lt;br /&gt;
Now install clamav with:&lt;br /&gt;
&lt;i&gt;apt-get install -t sarge-backports clamav clamav-freshclam&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
The &lt;b&gt;-t sarge-backports&lt;/b&gt; is necessary, because apt will now install the package from backports.org!&lt;br /&gt;
&lt;br /&gt;
Now install amavis-new:&lt;br /&gt;
&lt;i&gt;apt-get install amavis-new&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Edit your &lt;i&gt;/etc/postfix/main.cf&lt;/i&gt; and add this for amavis:&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
###E-Mail filter:&lt;br /&gt;
content_filter = amavis:[127.0.0.1]:10024&lt;br /&gt;
receive_override_options = no_address_mappings&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Edit your &lt;i&gt;/etc/postfix/master.cf&lt;/i&gt; and add this for amavis:&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
amavis unix - - - - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes&lt;br /&gt;
&lt;br /&gt;
127.0.0.1:10025 inet n - - - - smtpd  -o content_filter=&lt;br /&gt;
        -o local_recipient_maps= -o relay_recipient_maps=&lt;br /&gt;
        -o smtpd_restriction_classes= -o smtpd_client_restrictions=&lt;br /&gt;
        -o smtpd_helo_restrictions= -o smtpd_sender_restrictions=&lt;br /&gt;
        -o smtpd_recipient_restrictions=permit_mynetworks,reject&lt;br /&gt;
        -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes&lt;br /&gt;
        -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks&lt;br /&gt;
        -o smtpd_bin_address=127.0.0.1&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Now you have to add clamav user to the amavis system group and add the clamav user to the amavis system group in your &lt;i&gt;/etc/group&lt;/i&gt;! &lt;br /&gt;
Because clamav user must read files in the amavis directory and the amvis user must read files in the clamav directory.&lt;br /&gt;
After the modification &lt;i&gt;/etc/group&lt;/i&gt; should look like:&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
clamav:x:107:amavis&lt;br /&gt;
amavis:x:108:clamav&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
After this modification &lt;b&gt;you have to restart all services!&lt;/b&gt;&lt;br /&gt;
(postfix, clamav-daemon, clamav-freshclam, amvis)&lt;br /&gt;
&lt;br /&gt;
Than you have to edit the &lt;i&gt;/etc/amavis/amavisd.conf&lt;/i&gt;:&lt;br /&gt;
It&#039;s very big so I only list the changes:&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
line 66: $mydomain = &#039;localhost&#039;; &lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
-&gt;&gt;change to your hostname&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
line 429: $warnvirussender = 0;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
-&gt;&gt; no mail to virussender. because often the from emailaddres is faked!&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
line 442: $warnvirusrecip = 1;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
-&gt;&gt; the recipient gets an email that he has received an virus email&lt;br /&gt;
&lt;blockquote&gt;&lt;br /&gt;
line 476: $virus_admin = undef;&lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
-&gt;&gt; postmaster gets no notification&lt;br /&gt;
&lt;br /&gt;
Safe the configuration file and restart your amavid!&lt;br /&gt;
&lt;br /&gt;
Now try to send an email and than try to send a virus from &lt;a href=&quot;http://www.eicar.org/anti_virus_test_file.htm&quot;http://www.eicar.org/anti_virus_test_file.htm&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
If the repicient gets an email about “VIRUS ( EICAR.Test) IN MAIL TO YOU” all works fine. &lt;br /&gt;
&lt;br /&gt;
If not, check the &lt;i&gt;/var/log/mail.log&lt;/i&gt; and try to resolv the error! &lt;img src=&quot;http://blog.brachium-system.net/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; 
    </content:encoded>

    <pubDate>Thu, 09 Feb 2006 14:41:27 +0100</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/5-guid.html</guid>
    
</item>
<item>
    <title>lilo and automatically loading one kernel</title>
    <link>http://blog.brachium-system.net/archives/4-lilo-and-automatically-loading-one-kernel.html</link>
            <category>bootloader</category>
            <category>work</category>
    
    <comments>http://blog.brachium-system.net/archives/4-lilo-and-automatically-loading-one-kernel.html#comments</comments>
    <wfw:comment>http://blog.brachium-system.net/wfwcomment.php?cid=4</wfw:comment>

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

    <author>nospam@example.com (Jonas Genannt)</author>
    <content:encoded>
    If you can&#039;t switch the kernel and you can&#039;t type anything to the lilo console.&lt;br /&gt;
&lt;br /&gt;
You can try the CTRL or CTRL+c key.... &lt;br /&gt;
&lt;br /&gt;
It was very crazy to have that problem. :-/ 
    </content:encoded>

    <pubDate>Wed, 08 Feb 2006 22:39:32 +0100</pubDate>
    <guid isPermaLink="false">http://blog.brachium-system.net/archives/4-guid.html</guid>
    
</item>

</channel>
</rss>