<?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>xela's Linux Blog</title>
    <link>http://spielwiese.la-evento.com/xelasblog/</link>
    <description>My little place on the web...</description>
    <dc:language>de</dc:language>
    <generator>Serendipity 1.6 - http://www.s9y.org/</generator>
    
    

<item>
    <title>SMTP auth mit starttls auf der Kommandozeile testen</title>
    <link>http://spielwiese.la-evento.com/xelasblog/archives/64-SMTP-auth-mit-starttls-auf-der-Kommandozeile-testen.html</link>
            <category>Bash Snippets</category>
    
    <comments>http://spielwiese.la-evento.com/xelasblog/archives/64-SMTP-auth-mit-starttls-auf-der-Kommandozeile-testen.html#comments</comments>
    <wfw:comment>http://spielwiese.la-evento.com/xelasblog/wfwcomment.php?cid=64</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://spielwiese.la-evento.com/xelasblog/rss.php?version=2.0&amp;type=comments&amp;cid=64</wfw:commentRss>
    

    <author>nospam@example.com (Xela)</author>
    <content:encoded>
    Zuerst brauchen wir f&amp;uuml;r &lt;em&gt;auth plain&lt;/em&gt; den mime encoded String aus unseren Logindaten:&lt;br /&gt;
&lt;div class=&quot;geshi&quot;&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;printf&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;benutzername\&lt;span&gt;0kontoname\&lt;/span&gt;0passwort&#039;&lt;/span&gt; | mimencode&lt;br /&gt;
&lt;span style=&quot;color: #007800;&quot;&gt;YmVudXR6ZXJuYW1lAGtvbnRvbmFtZQBwYXNzd29ydA=&lt;/span&gt;=&lt;/div&gt;
&lt;br /&gt;
Dann hilft uns openssl bei der verschl&amp;uuml;sselten Verbindung:&lt;br /&gt;
&lt;div class=&quot;geshi&quot;&gt;openssl s_client -connect example.com:&lt;span style=&quot;color: #000000;&quot;&gt;25&lt;/span&gt; -crlf -starttls smtp&lt;/div&gt;
&lt;br /&gt; &lt;br /&gt;&lt;a href=&quot;http://spielwiese.la-evento.com/xelasblog/archives/64-SMTP-auth-mit-starttls-auf-der-Kommandozeile-testen.html#extended&quot;&gt;&quot;SMTP auth mit starttls auf der Kommandozeile testen&quot; vollständig lesen&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 29 Mar 2012 16:35:06 +0200</pubDate>
    <guid isPermaLink="false">http://spielwiese.la-evento.com/xelasblog/archives/64-guid.html</guid>
    
</item>
<item>
    <title>Fail2ban ufw multiport action</title>
    <link>http://spielwiese.la-evento.com/xelasblog/archives/63-Fail2ban-ufw-multiport-action.html</link>
            <category>Bash Snippets</category>
    
    <comments>http://spielwiese.la-evento.com/xelasblog/archives/63-Fail2ban-ufw-multiport-action.html#comments</comments>
    <wfw:comment>http://spielwiese.la-evento.com/xelasblog/wfwcomment.php?cid=63</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://spielwiese.la-evento.com/xelasblog/rss.php?version=2.0&amp;type=comments&amp;cid=63</wfw:commentRss>
    

    <author>nospam@example.com (Xela)</author>
    <content:encoded>
    Fail2ban bringt eine sehr praktische Ban-Action namens &lt;em&gt;iptables-multiport&lt;/em&gt; mit. L&amp;auml;uft aber die &lt;strong&gt;ufw&lt;/strong&gt; (Uncomplicated FireWall), sind deren Chains ganz anders strukturiert und nicht unbedingt mit den iptables Aufrufen in iptables-multiport kompatibel.&lt;br /&gt;
&lt;br /&gt; &lt;br /&gt;&lt;a href=&quot;http://spielwiese.la-evento.com/xelasblog/archives/63-Fail2ban-ufw-multiport-action.html#extended&quot;&gt;&quot;Fail2ban ufw multiport action&quot; vollständig lesen&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 29 Mar 2012 15:54:33 +0200</pubDate>
    <guid isPermaLink="false">http://spielwiese.la-evento.com/xelasblog/archives/63-guid.html</guid>
    
</item>
<item>
    <title>Redmine - Tickets mit eingehenden Mails erstellen</title>
    <link>http://spielwiese.la-evento.com/xelasblog/archives/62-Redmine-Tickets-mit-eingehenden-Mails-erstellen.html</link>
            <category>Off-Topic</category>
    
    <comments>http://spielwiese.la-evento.com/xelasblog/archives/62-Redmine-Tickets-mit-eingehenden-Mails-erstellen.html#comments</comments>
    <wfw:comment>http://spielwiese.la-evento.com/xelasblog/wfwcomment.php?cid=62</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://spielwiese.la-evento.com/xelasblog/rss.php?version=2.0&amp;type=comments&amp;cid=62</wfw:commentRss>
    

    <author>nospam@example.com (Xela)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.redmine.org/&quot;&gt;Redmine&lt;/a&gt; kann Tickets automatisch durch eingehende Mails anlegen und auch Projekten zuordnen.&lt;br /&gt;
Grundlage dieser Anleitung:
&lt;ul&gt;
    &lt;li&gt;Redmine - das Ubuntu Lucid Paket (0.9.3)&lt;/li&gt;
    &lt;li&gt;Postfix als MTA - l&amp;auml;uft auf dem selben Server, die in Redmine verwendete Maildomain ist virtuell&lt;/li&gt;
&lt;/ul&gt;
In diesem Fall wird Postfix angewiesen, Mails an Redmine via pipe zuzustellen. Das klappt verz&amp;ouml;gerungsfrei und performant, ist aber leider auch mit etwas Konfigurationsaufwand verbunden.&lt;br /&gt;
Im Beispiel-Redmine d&amp;uuml;rfen ausschlie&amp;szlig;lich existierende User mit ausreichender Berechtigung Tickets anlegen, keines der Projekte ist &amp;ouml;ffentlich.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt; &lt;br /&gt;&lt;a href=&quot;http://spielwiese.la-evento.com/xelasblog/archives/62-Redmine-Tickets-mit-eingehenden-Mails-erstellen.html#extended&quot;&gt;&quot;Redmine - Tickets mit eingehenden Mails erstellen&quot; vollständig lesen&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 09 Mar 2012 13:23:56 +0100</pubDate>
    <guid isPermaLink="false">http://spielwiese.la-evento.com/xelasblog/archives/62-guid.html</guid>
    
</item>
<item>
    <title>Memory Verbrauch addiert nach Prozessname</title>
    <link>http://spielwiese.la-evento.com/xelasblog/archives/61-Memory-Verbrauch-addiert-nach-Prozessname.html</link>
            <category>Bash Snippets</category>
    
    <comments>http://spielwiese.la-evento.com/xelasblog/archives/61-Memory-Verbrauch-addiert-nach-Prozessname.html#comments</comments>
    <wfw:comment>http://spielwiese.la-evento.com/xelasblog/wfwcomment.php?cid=61</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://spielwiese.la-evento.com/xelasblog/rss.php?version=2.0&amp;type=comments&amp;cid=61</wfw:commentRss>
    

    <author>nospam@example.com (Xela)</author>
    <content:encoded>
    Mithilfe folgender Codewurst kann der Memoryverbrauch nach Prozessnamen addiert aufgelistet werden:&lt;br /&gt;
&lt;div class=&quot;geshi&quot;&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;ps&lt;/span&gt; -e -o comm,rss --no-heading|&lt;strong&gt;awk&lt;/strong&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;{arr[$1]+=$2} END {for (i in arr) {printf(&amp;quot;%15s &amp;quot;, i); printf(&amp;quot;%6s \n&amp;quot;, arr[i]);}}&#039;&lt;/span&gt;|&lt;strong&gt;grep&lt;/strong&gt; -v &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039; 0&#039;&lt;/span&gt;|&lt;strong&gt;sort&lt;/strong&gt; -nr -k2&lt;/div&gt;
&lt;br /&gt;
Kleine Variante - wenn wir die Hauptverbraucher ohnehin schon kennen, konzentrieren wir uns auf die:&lt;br /&gt;
&lt;div class=&quot;geshi&quot;&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;ps&lt;/span&gt; -C amavisd-new,clamd,apache2,mysqld -o comm,rss --no-heading|&lt;strong&gt;awk&lt;/strong&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;{arr[$1]+=$2} END {for (i in arr) {printf(&amp;quot;%15s &amp;quot;, i); printf(&amp;quot;%6s \n&amp;quot;, arr[i]);}}&#039;&lt;/span&gt;|&lt;strong&gt;grep&lt;/strong&gt; -v &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039; 0&#039;&lt;/span&gt;|&lt;strong&gt;sort&lt;/strong&gt; -nr -k2&lt;/div&gt;
&lt;br /&gt; &lt;br /&gt;&lt;a href=&quot;http://spielwiese.la-evento.com/xelasblog/archives/61-Memory-Verbrauch-addiert-nach-Prozessname.html#extended&quot;&gt;&quot;Memory Verbrauch addiert nach Prozessname&quot; vollständig lesen&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 03 Jan 2012 15:02:05 +0100</pubDate>
    <guid isPermaLink="false">http://spielwiese.la-evento.com/xelasblog/archives/61-guid.html</guid>
    
</item>
<item>
    <title>Dateien mit Leerzeichen im Namen verarbeiten</title>
    <link>http://spielwiese.la-evento.com/xelasblog/archives/60-Dateien-mit-Leerzeichen-im-Namen-verarbeiten.html</link>
            <category>Bash Snippets</category>
    
    <comments>http://spielwiese.la-evento.com/xelasblog/archives/60-Dateien-mit-Leerzeichen-im-Namen-verarbeiten.html#comments</comments>
    <wfw:comment>http://spielwiese.la-evento.com/xelasblog/wfwcomment.php?cid=60</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://spielwiese.la-evento.com/xelasblog/rss.php?version=2.0&amp;type=comments&amp;cid=60</wfw:commentRss>
    

    <author>nospam@example.com (Xela)</author>
    <content:encoded>
    Konkretes Beispiel: es soll auf die Schnelle ein Stapel wav Dateien mit &lt;em&gt;ffmpeg&lt;/em&gt; in mp3 konvertiert werden, die Dateinamen haben aber leider ein Leerzeichen (Track 1.wav usw.).&lt;br /&gt;
Die L&amp;ouml;sung: die Umgebungsvariable IFS (&lt;em&gt;Internal Field Separator&lt;/em&gt;) umschreiben.&lt;br /&gt;
Hinweis: der Ordner &amp;quot;mp3&amp;quot; muss nat&amp;uuml;rlich vorher von Hand angelegt werden.&lt;br /&gt;
&lt;br /&gt;
Folgendes scheitert am Leerzeichen:&lt;br /&gt;
&lt;div class=&quot;geshi&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; f &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt; *.wav; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;do&lt;/span&gt; ffmpeg -i &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$f&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;../mp3/${f}.mp3&amp;quot;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;done&lt;/span&gt;;&lt;/div&gt;
&lt;br /&gt;
Wenn ich vorher aber die IFS Variable auf Zeilenumbruch setze, klappt es:&lt;br /&gt;
&lt;div class=&quot;geshi&quot;&gt;&lt;span style=&quot;color: #007800;&quot;&gt;IFS=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&#039; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &amp;#160; &lt;br /&gt;
&#039;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;for&lt;/span&gt; f &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;in&lt;/span&gt; *.wav; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;do&lt;/span&gt; ffmpeg -i &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;$f&amp;quot;&lt;/span&gt; &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;../mp3/${f}.mp3&amp;quot;&lt;/span&gt;; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;done&lt;/span&gt;;&lt;/div&gt;
&lt;br /&gt;
Danach sollte IFS wieder auf den urspr&amp;uuml;nglichen Wert, also Leerzeichen, gesetzt werden:&lt;br /&gt;
&lt;div class=&quot;geshi&quot;&gt;&lt;span style=&quot;color: #007800;&quot;&gt;IFS=&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&#039; &#039;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Mon, 02 Jan 2012 12:15:31 +0100</pubDate>
    <guid isPermaLink="false">http://spielwiese.la-evento.com/xelasblog/archives/60-guid.html</guid>
    
</item>
<item>
    <title>Selektives Greylisting mit Postgrey</title>
    <link>http://spielwiese.la-evento.com/xelasblog/archives/59-Selektives-Greylisting-mit-Postgrey.html</link>
            <category>Fundstücke</category>
    
    <comments>http://spielwiese.la-evento.com/xelasblog/archives/59-Selektives-Greylisting-mit-Postgrey.html#comments</comments>
    <wfw:comment>http://spielwiese.la-evento.com/xelasblog/wfwcomment.php?cid=59</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://spielwiese.la-evento.com/xelasblog/rss.php?version=2.0&amp;type=comments&amp;cid=59</wfw:commentRss>
    

    <author>nospam@example.com (Xela)</author>
    <content:encoded>
    Ein &amp;uuml;beraus interessanter Thread in der Postgrey Mailingliste: &lt;a href=&quot;http://lists.ee.ethz.ch/postgrey/msg01214.html&quot;&gt;Hostname-based Selective Greylisting&lt;/a&gt;&lt;br /&gt;
Im Grunde genommen ist es genau das, was ich mir schon l&amp;auml;nger w&amp;uuml;nsche:&lt;br /&gt;
Nur dynamisch oder sonstwie verd&amp;auml;chtig aussehende Clients landen im Greylisting, die Mails echter MXe (die sowieso weitere Zustellversuche machen w&amp;uuml;rden) werden gleich weiter verarbeitet.&lt;br /&gt;
&lt;p&gt;Da das Ganze mit &lt;abbr title=&quot;Regular Expression&quot;&gt;regex&lt;/abbr&gt; funktioniert, ist es auch leicht anpassbar. &lt;br /&gt;
Der Aufwand zum Umstellen von globalem Greylisting zu selektivem ist angenehm gering: zwei Konfigurationsdateien werden angepasst.&lt;/p&gt; &lt;br /&gt;&lt;a href=&quot;http://spielwiese.la-evento.com/xelasblog/archives/59-Selektives-Greylisting-mit-Postgrey.html#extended&quot;&gt;&quot;Selektives Greylisting mit Postgrey&quot; vollständig lesen&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 21 Nov 2011 15:10:02 +0100</pubDate>
    <guid isPermaLink="false">http://spielwiese.la-evento.com/xelasblog/archives/59-guid.html</guid>
    
</item>
<item>
    <title>Apache Benchmarks</title>
    <link>http://spielwiese.la-evento.com/xelasblog/archives/58-Apache-Benchmarks.html</link>
            <category>Tolle Software</category>
    
    <comments>http://spielwiese.la-evento.com/xelasblog/archives/58-Apache-Benchmarks.html#comments</comments>
    <wfw:comment>http://spielwiese.la-evento.com/xelasblog/wfwcomment.php?cid=58</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://spielwiese.la-evento.com/xelasblog/rss.php?version=2.0&amp;type=comments&amp;cid=58</wfw:commentRss>
    

    <author>nospam@example.com (Xela)</author>
    <content:encoded>
    Keine Frage, &lt;a href=&quot;http://httpd.apache.org/docs/trunk/programs/ab.html&quot;&gt;ab&lt;/a&gt; ist ein tolles Tool.&lt;br /&gt;
Noch toller ist aber &lt;a href=&quot;http://www.joedog.org/index/siege-home&quot;&gt;siege&lt;/a&gt;.&lt;br /&gt;
Warum? Ganz einfach: da man eine Liste ganz unterschiedlicher Links mitgeben kann, f&amp;auml;llt das Ergebnis realistischer aus.&lt;br /&gt;
Ein Seitenaufruf normaler Besucher besteht ja immer aus einem Sammelsurium von unterschiedlichen Requests bestehend aus HTML-&amp;#160; und PHP-Inhalt, Stylesheets, Bildern, Javascript Files usw.&lt;br /&gt;
&lt;br /&gt;
ab Beispiel:&lt;br /&gt;
&lt;div class=&quot;geshi&quot;&gt;ab -n &lt;span style=&quot;color: #000000;&quot;&gt;200&lt;/span&gt; -c &lt;span style=&quot;color: #000000;&quot;&gt;20&lt;/span&gt; http://your-server.com/&lt;/div&gt;
siege Bespiel:&lt;br /&gt;
&lt;div class=&quot;geshi&quot;&gt;siege -c &lt;span style=&quot;color: #000000;&quot;&gt;20&lt;/span&gt; -t 10S -i -f links.txt&lt;/div&gt;
Die Datei links.txt enth&amp;auml;lt eine m&amp;ouml;glichst realit&amp;auml;tsnahe Sammlung von urls eines Hosts. Die werden dann in beliebiger Reihenfolge aufgerufen.&lt;br /&gt;
&lt;br /&gt;
Was auch noch sch&amp;ouml;n ist an siege: die Verbosity.&lt;br /&gt;
Jeder  einzelne Request wird mit Antwortcode, Dauer und Gr&amp;ouml;&amp;szlig;e aufgelistet. So  sieht man z.B. sch&amp;ouml;n, wann es etwas l&amp;auml;nger gedauert hat, weil ein weiterer  Apache Kindprozess gestartet werden musste.&lt;br /&gt;
&lt;br /&gt;
F&amp;uuml;r beides gibt es Ubuntu Standardpakete:&lt;br /&gt;
ab wird mit Apache mitgeliefert (apache2-utils), siege kommt aus dem gleichnamigen Paket.&lt;br /&gt; 
    </content:encoded>

    <pubDate>Sat, 22 Oct 2011 15:29:51 +0200</pubDate>
    <guid isPermaLink="false">http://spielwiese.la-evento.com/xelasblog/archives/58-guid.html</guid>
    
</item>

</channel>
</rss>
