<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Heidler.eu</title>
		<description>My Website and Blog</description>		
		<link>http://www.heidler.eu</link>
		<atom:link href="http://www.heidler.eu/feed.xml" rel="self" type="application/rss+xml" />
		
			<item>
				<title>Automated AUR package building</title>
				<description>&lt;p&gt;In this post I will describe one of my software projects: The Arch User Repo build system &lt;a href=&quot;https://github.com/asdil12/aurbs&quot;&gt;AurBS&lt;/a&gt;.
It is a python software that can automaticly build AUR packages so you don&amp;#39;t need to compile your packages on your workstation
anymore. Insted you can setup a server somewhere that checks every night for updated packages (or dependencies), rebuild the packages accordingly and publish them into a repo that can be used with pacman.&lt;/p&gt;

&lt;p&gt;The installation is quite easy:&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;yaourt -S aurbs
systemctl enable mongodb
systemctl start  mongodb
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;If you want to get additional information like live buildlogs, a list of failed builds, etc you can set up the webui. A &lt;a href=&quot;https://github.com/asdil12/aurbs/blob/master/templates/lighttpd.conf.sample&quot;&gt;sample lighttpd config&lt;/a&gt; is available.&lt;/p&gt;

&lt;p&gt;The packages that you want to build can be configured in &lt;code&gt;/etc/aurbs.yml&lt;/code&gt;.&lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;[...]

architectures:
    - x86_64
    - i686

[...]

aurpkgs:
    - aurbs
    - batctl
    - merkaartor
    - pacserve
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;You will need to restart lighttpd to make the webui aware of config changes.&lt;/p&gt;

&lt;p&gt;Afterwards you just need to run &lt;code&gt;aurbs&lt;/code&gt; to start building. To rebuild every night I recommend setting up a cron job.&lt;/p&gt;

&lt;h3&gt;Screenshots&lt;/h3&gt;

&lt;p&gt;&lt;a href=&quot;/imgs/aurbs-pkgview.png&quot;&gt;&lt;img src=&quot;/imgs/aurbs-pkgview.png&quot; alt=&quot;1&quot;&gt;&lt;/a&gt;
&lt;a href=&quot;/imgs/aurbs-buildlog.png&quot;&gt;&lt;img src=&quot;/imgs/aurbs-buildlog.png&quot; alt=&quot;2&quot;&gt;&lt;/a&gt;&lt;/p&gt;
</description>
				<pubDate>Thu, 05 Feb 2015 14:02:35 +0100</pubDate>
				<link>http://www.heidler.eu/2015/02/05/automated-aur-package-building.html</link>
				<guid isPermaLink="true">http://www.heidler.eu/2015/02/05/automated-aur-package-building.html</guid>
			</item>
		
			<item>
				<title>SpamNinja - catching the big players silently</title>
				<description>&lt;p&gt;In the past I often got spammails from addresses like &lt;code&gt;Mitgliederservice &amp;lt;service@e-mailsuche.com&amp;gt;&lt;/code&gt; that slid through SpamAssassin. That mails differ from regular spam quite a lot.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The mails are DKIM-Signed and pass the SPF check&lt;/li&gt;
&lt;li&gt;They are correctly formatted (ISO-8859-1)&lt;/li&gt;
&lt;li&gt;They are written in correct german&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On an &lt;a href=&quot;https://www.antispam-ev.de/forum/showthread.php?31155-Sammelthread-Aquatix-%28haupts%E4chlich-Versicherungsspam%29/page68&quot;&gt;antispam board&lt;/a&gt; I found out that this seems to be a professional spammer: Aquatix.
As there is nobody (except RIPE) to complain to, I created &lt;a href=&quot;https://github.com/asdil12/spamninja&quot;&gt;SpamNinja&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This tool takes a list of RIPE owner-handles and blocks all networks that are assigned to that owner.
I don&amp;#39;t expect any valuable traffic from that networks as all that ranges belong directly to a professional spammer.&lt;/p&gt;
</description>
				<pubDate>Tue, 09 Sep 2014 12:09:26 +0200</pubDate>
				<link>http://www.heidler.eu/2014/09/09/spamninja.html</link>
				<guid isPermaLink="true">http://www.heidler.eu/2014/09/09/spamninja.html</guid>
			</item>
		
			<item>
				<title>Strange IMAP Proxy</title>
				<description>&lt;p&gt;The following happened to a friend of mine who studies at the University of Hof.
I&amp;#39;m responsible for our mailserver, so he called me and told me that he couldn&amp;#39;t
receive mails on his Android device (using K9-Mail) when being connected to the
university wifi. The interesting thing was that he didn&amp;#39;t had any problems on his
laptop using Thunderbird with the equal configuration: &lt;code&gt;IMAP Port 143 - STARTTLS&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After running &lt;a href=&quot;http://netalyzr.icsi.berkeley.edu/&quot;&gt;Netalyzr&lt;/a&gt; we found out that traffic on port 80 and 143 was
routed through a transparent proxy. This was very likely the reason of our problem
but the connection was encrypted. How should a proxy mess things up? And why should
the laptop work while the smartphone wouldn&amp;#39;t?&lt;/p&gt;

&lt;p&gt;I looked in the ARP table for the MAC of the default gateway to gain more information
about that proxy. The MAC address was from the range of &lt;a href=&quot;http://en.wikipedia.org/wiki/Fortinet&quot;&gt;Fortinet&lt;/a&gt; - a really
sympathetic company which also provides the Myanmar goverment with hardware for Internet
censorship.&lt;/p&gt;

&lt;p&gt;To get an idea about the difference between the k9mail and the thunderbird connection
we used tcpdump and some similar Android app to capture the traffic.  &lt;/p&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;&amp;lt; * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN AUTH=DIGEST-MD5] Dovecot ready.
&amp;gt; 1 STARTTLS
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The difference was the &lt;code&gt;\r\n&lt;/code&gt; after the &lt;code&gt;1 STARTTLS&lt;/code&gt; command:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Thunderbird sent one TCP package: &lt;code&gt;1 STARTTLS \r\n&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;K9-Mail sent two TCP packages: &lt;code&gt;1 STARTTLS&lt;/code&gt; and &lt;code&gt;\r\n&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;highlight&quot;&gt;&lt;pre&gt;&lt;code class=&quot;language-text&quot; data-lang=&quot;text&quot;&gt;thunderbird:
&amp;lt;   00000000  2a 20 4f 4b 20 5b 43 41  50 41 42 49 4c 49 54 59 * OK [CA PABILITY
&amp;lt;   00000010  20 49 4d 41 50 34 72 65  76 31 20 4c 49 54 45 52  IMAP4re v1 LITER
&amp;lt;   00000020  41 4c 2b 20 53 41 53 4c  2d 49 52 20 4c 4f 47 49 AL+ SASL -IR LOGI
&amp;lt;   00000030  4e 2d 52 45 46 45 52 52  41 4c 53 20 49 44 20 45 N-REFERR ALS ID E
&amp;lt;   00000040  4e 41 42 4c 45 20 49 44  4c 45 20 53 54 41 52 54 NABLE ID LE START
&amp;lt;   00000050  54 4c 53 20 41 55 54 48  3d 50 4c 41 49 4e 20 41 TLS AUTH =PLAIN A
&amp;lt;   00000060  55 54 48 3d 4c 4f 47 49  4e 20 41 55 54 48 3d 44 UTH=LOGI N AUTH=D
&amp;lt;   00000070  49 47 45 53 54 2d 4d 44  35 5d 20 44 6f 76 65 63 IGEST-MD 5] Dovec
&amp;lt;   00000080  6f 74 20 72 65 61 64 79  2e 0d 0a                ot ready ...
&amp;gt;   00000000  31 20 53 54 41 52 54 54  4c 53 0d 0a             1 STARTT LS..
&amp;lt;   0000008B  31 20 4f 4b 00 42 65 67  69 6e 20 54 4c 53 20 6e 1 OK.Beg in TLS n
&amp;lt;   0000009B  65 67 6f 74 69 61 74 69  6f 6e 20 6e 6f 77 2e 0d egotiati on now..
&amp;lt;   000000AB  0a                                               .

k-9 mail:
&amp;lt;   00000000  2a 20 4f 4b 20 5b 43 41  50 41 42 49 4c 49 54 59 * OK [CA PABILITY
&amp;lt;   00000010  20 49 4d 41 50 34 72 65  76 31 20 4c 49 54 45 52  IMAP4re v1 LITER
&amp;lt;   00000020  41 4c 2b 20 53 41 53 4c  2d 49 52 20 4c 4f 47 49 AL+ SASL -IR LOGI
&amp;lt;   00000030  4e 2d 52 45 46 45 52 52  41 4c 53 20 49 44 20 45 N-REFERR ALS ID E
&amp;lt;   00000040  4e 41 42 4c 45 20 49 44  4c 45 20 53 54 41 52 54 NABLE ID LE START
&amp;lt;   00000050  54 4c 53 20 41 55 54 48  3d 50 4c 41 49 4e 20 41 TLS AUTH =PLAIN A
&amp;lt;   00000060  55 54 48 3d 4c 4f 47 49  4e 20 41 55 54 48 3d 44 UTH=LOGI N AUTH=D
&amp;lt;   00000070  49 47 45 53 54 2d 4d 44  35 5d 20 44 6f 76 65 63 IGEST-MD 5] Dovec
&amp;lt;   00000080  6f 74 20 72 65 61 64 79  2e 0d 0a                ot ready ...
&amp;gt;   00000000  31 20 53 54 41 52 54 54  4c 53                   1 STARTT LS
&amp;gt;   0000000A  0d 0a                                            ..
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Our Dovecot mailserver itself didn&amp;#39;t had any problems with thee k9mail version but the proxy
did. So I sent a &lt;a href=&quot;https://github.com/k9mail/k-9/pull/456&quot;&gt;Patch&lt;/a&gt; to the k9mail developers to make k9mail act like thunderbird
does.&lt;/p&gt;
</description>
				<pubDate>Wed, 05 Mar 2014 19:54:02 +0100</pubDate>
				<link>http://www.heidler.eu/2014/03/05/strange-imap-proxy.html</link>
				<guid isPermaLink="true">http://www.heidler.eu/2014/03/05/strange-imap-proxy.html</guid>
			</item>
		
			<item>
				<title>My Digimode Interface</title>
				<description>&lt;p&gt;This Interface makes it possible to recive and transmitt using PSK, RTTY and all the other Digimodes using your Computer. I recommend using the Software &lt;a href=&quot;http://www.w1hkj.com/Fldigi.html&quot;&gt;Fldigi&lt;/a&gt; which runs under every OS and can additionally controll your TRX using CAT. So you can use three different methods for PTT: CAT, PTT-VOX and manual PTT with the PTT-Switch of the Interface. The Interface is really easy to build - it shouldn&amp;#39;t take you more than a view hours.&lt;/p&gt;

&lt;h2&gt;The Hardware&lt;/h2&gt;

&lt;p&gt;The interface does galvanic separation by using two 1:5 NF-Transformators.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;/imgs/digimode.png&quot; alt=&quot;img&quot;&gt;&lt;/p&gt;
</description>
				<pubDate>Thu, 27 Feb 2014 23:00:00 +0100</pubDate>
				<link>http://www.heidler.eu/2014/02/27/digimode-interface.html</link>
				<guid isPermaLink="true">http://www.heidler.eu/2014/02/27/digimode-interface.html</guid>
			</item>
		
			<item>
				<title>Moved to Jekyll</title>
				<description>&lt;p&gt;I moved this website to the &lt;a href=&quot;http://jekyllrb.com&quot;&gt;jekyll&lt;/a&gt; engine, which generates static websites.&lt;/p&gt;
</description>
				<pubDate>Thu, 27 Feb 2014 22:58:00 +0100</pubDate>
				<link>http://www.heidler.eu/2014/02/27/moved-to-jekyll.html</link>
				<guid isPermaLink="true">http://www.heidler.eu/2014/02/27/moved-to-jekyll.html</guid>
			</item>
		
	</channel>
</rss>
