<?xml version="1.0" encoding="iso-8859-1"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
<?xml-stylesheet type="text/css" href="http://tonkersten.com/"?>


<title type="html">Ton Kersten</title>
<subtitle type="html">Thoughts of a geek</subtitle>
<link rel="alternate" type="text/html" href="http://tonkersten.com"/>
<link rel="self" type="application/atom+xml" href="http://tonkersten.com/atom.xml"/>
<updated>2010-08-30T21:09:12+02:00</updated>
<author>
<name>Ton Kersten</name>
<uri>http://tonkersten.com</uri>
</author>
<id>http://tonkersten.com/</id>
<generator uri="http://nanoblogger.sourceforge.net" version="3.4.2">
NanoBlogger
</generator>

<entry>
<title type="html">No more git RPM's</title>
<author>
<name>Ton Kersten</name>
</author>
<link rel="alternate" type="text/html" href="http://tonkersten.com/archives/2010/08/30/no_more_git_rpms/index.html"/>

<id>http://tonkersten.com/archives/2010/08/30/no_more_git_rpms/index.html</id>
<published>2010-08-30T10:23:15+02:00</published>
<updated>2010-08-30T10:23:15+02:00</updated>
<category term="news" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>I, for some time now, created RPM's for <code>git</code>. I will not
do that anymore, because Dag Wieers RPMForge now has them and
even up-to-date ones as well.</p>

<p>I also removed the <code>git</code> archive RPM's.</p>
</div>
</content>

</entry>
<entry>
<title type="html">Stupid web user</title>
<author>
<name>Ton Kersten</name>
</author>
<link rel="alternate" type="text/html" href="http://tonkersten.com/archives/2010/08/30/stupid_web_user/index.html"/>

<id>http://tonkersten.com/archives/2010/08/30/stupid_web_user/index.html</id>
<published>2010-08-30T09:21:20+02:00</published>
<updated>2010-08-30T09:21:20+02:00</updated>
<category term="news" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>As blogged before I had my first IPv6 visitor, but of course the
first IPv6 type that tried to enter my network could not be far of.
Yep and there he/she is.</p>

<p>It's IP address <code>2002:4e6d:8112::1</code> and that does not resolve to something
useful, yet, because it's a 6to4 network address.</p>

<p>Recalculating to an IPv4 address this gives me: <code>78.109.129.18</code> and digging that
results in</p>

<pre><code>; &lt;&lt;&gt;&gt; DiG 9.6.0-APPLE-P2 &lt;&lt;&gt;&gt; -x 78.109.129.18
;; global options: +cmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 31228
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;18.129.109.78.in-addr.arpa.    IN  PTR

;; ANSWER SECTION:
18.129.109.78.in-addr.arpa. 3600 IN PTR 18.static.ppp.dianet.info.

;; AUTHORITY SECTION:
129.109.78.in-addr.arpa. 172799 IN  NS  ns3.netcorp.ru.
129.109.78.in-addr.arpa. 172799 IN  NS  ns1.netcorp.ru.

;; Query time: 694 msec
;; SERVER: 192.168.63.4#53(192.168.63.4)
;; WHEN: Mon Aug 30 21:06:50 2010
;; MSG SIZE  rcvd: 129
</code></pre>

<p>So: From Russia with love!</p>

<p>This dude or dudette tried to connect to port <code>51777</code> (uTorrent I guess) for a
meager 21514 times. I would guess you should know there's nothing to get after
a couple of times (say 10). I do not run torrents and even if I did, you
wouldn't get anything.</p>
</div>
</content>

</entry>
<entry>
<title type="html">My first IPv6 webside visitor</title>
<author>
<name>Ton Kersten</name>
</author>
<link rel="alternate" type="text/html" href="http://tonkersten.com/archives/2010/08/30/my_first_ipv6_webside_visitor/index.html"/>

<id>http://tonkersten.com/archives/2010/08/30/my_first_ipv6_webside_visitor/index.html</id>
<published>2010-08-30T09:11:20+02:00</published>
<updated>2010-08-30T09:11:20+02:00</updated>
<category term="news" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Last night I had my first genuine visitor with IPv6.
It seems it's a webcrawler from the Erlangen University
in Germany.</p>

<p>The IPv6 address is <code>2001:638:a00:4f::83bc:4e1e</code> and this results
in</p>

<pre><code>; &lt;&lt;&gt;&gt; DiG 9.7.1-P2 &lt;&lt;&gt;&gt; -x 2001:638:a00:4f::83bc:4e1e
;; global options: +cmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 33203
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0

;; QUESTION SECTION:
;e.1.e.4.c.b.3.8.0.0.0.0.0.0.0.0.f.4.0.0.0.0.a.0.8.3.6.0.1.0.0.2.ip6.arpa. IN PTR

;; ANSWER SECTION:
e.1.e.4.c.b.3.8.0.0.0.0.0.0.0.0.f.4.0.0.0.0.a.0.8.3.6.0.1.0.0.2.ip6.arpa. 86291 IN PTR legolas.rrze.uni-erlangen.de.

;; AUTHORITY SECTION:
0.0.a.0.8.3.6.0.1.0.0.2.ip6.arpa. 86291 IN NS   faui45.informatik.uni-erlangen.de.
0.0.a.0.8.3.6.0.1.0.0.2.ip6.arpa. 86291 IN NS   ns.rrze.uni-erlangen.de.

;; Query time: 2 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Aug 30 09:07:47 2010
;; MSG SIZE  rcvd: 181
</code></pre>

<p>To the Erlangen University: Congratulations!!</p>
</div>
</content>

</entry>
<entry>
<title type="html">Also known as pa1ton</title>
<author>
<name>Ton Kersten</name>
</author>
<link rel="alternate" type="text/html" href="http://tonkersten.com/archives/2010/08/25/also_known_as_pa1ton/index.html"/>

<id>http://tonkersten.com/archives/2010/08/25/also_known_as_pa1ton/index.html</id>
<published>2010-08-25T14:00:54+02:00</published>
<updated>2010-08-25T14:00:54+02:00</updated>
<category term="news" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>I've been running this blog for some time now and for the IPv6 certificate
I needed this site to be IPv6 capable. Therefore I had to run my own nameserver
and stuff like that and so I decided that it would be nice if you could
reach me at <code>http://pa1ton.nl</code> as well.</p>

<p>Well, you can. Just <a href="http://pa1ton.nl">click here</a>.</p>

<p>Some URL's need some tweaking, but the first hurdles have been taken.</p>
</div>
</content>

</entry>
<entry>
<title type="html">IPv6 certification level &quot;Sage&quot; reached</title>
<author>
<name>Ton Kersten</name>
</author>
<link rel="alternate" type="text/html" href="http://tonkersten.com/archives/2010/08/24/ipv6_certification_level_sage_reached/index.html"/>

<id>http://tonkersten.com/archives/2010/08/24/ipv6_certification_level_sage_reached/index.html</id>
<published>2010-08-24T15:45:07+02:00</published>
<updated>2010-08-24T15:45:07+02:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>It took me some time and some tweaking of nameservers,
webservers and mailservers, but I finally got it.</p>

<p>I got the Hurricane Electric IPv6 Certification nailed for the "Sage" level.
This is the highest level, so only a simple test to go and a daily submission
of some logs for maximum points. the maximum points you can get is 1500,
so I'm well on my way.</p>

<p>As an extra <a href="http://he.net" target="_blank">HE</a> gives you a nice, nerdy T-Shirt, stating that
you are an IPv6 guru. I can't wait to put it on  <img src="http://tonkersten.com/moods/smilies/wink.gif" alt=";-)" /></p>

<p>This is the certificate.
<center>
<a href="http://ipv6.he.net/certification/scoresheet.php?pass_name=tonk" target="_blank"><img src="http://ipv6.he.net/certification/create_badge.php?pass_name=tonk&amp;badge=3" width=229 height=137 border=0 alt="IPv6 Certification Badge for tonk"></img></a>
</center></p>
</div>
</content>

</entry>
<entry>
<title type="html">DNSSEC for tonkersten.com and pa1ton.nl</title>
<author>
<name>Ton Kersten</name>
</author>
<link rel="alternate" type="text/html" href="http://tonkersten.com/archives/2010/08/23/dnssec_for_tonkersten_com_and_pa1ton_nl/index.html"/>

<id>http://tonkersten.com/archives/2010/08/23/dnssec_for_tonkersten_com_and_pa1ton_nl/index.html</id>
<published>2010-08-23T13:08:38+02:00</published>
<updated>2010-08-23T13:08:38+02:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Last night (Aug. 22 2010 at 00:25:47) <a href="http://www.sidn.nl" target="_blank">SIDN</a> signed the
Dutch .nl zone and made it public. This is, of course, reason for a party and
calls for the signing of my own zones. Unfortunately it's not possible to use
secure delegation, but that's something for the future.</p>

<p>I do have two domains up and running and I signed them both.</p>

<p></p>--- read more ---<p></p>

<p>This is what I did:</p>

<p>First you need a <em>Zone Signing Key</em> (ZSK) and a <em>Key Signing Key</em> (KSK)
and these can be made with</p>

<pre><code>dnssec-keygen -e -a RSASHA1 -b 2048 -n ZONE        tonkersten.com
dnssec-keygen    -a RSASHA1 -b 2048 -n ZONE -f KSK tonkersten.com
</code></pre>

<p>This results in two sets of two files (after a very long time)</p>

<pre><code>Ktonkersten.com.+005+42559.key
Ktonkersten.com.+005+42559.private
Ktonkersten.com.+005+61598.key
Ktonkersten.com.+005+61598.private
</code></pre>

<p>The key-generating process can be sped up using the <code>-u /dev/urandom</code> option,
but that results in a lower entropy and thus in lower security.</p>

<p>Now include the two public keys in the zone file</p>

<pre><code>$include keys/Ktonkersten.com.+005+42559.key
$include keys/Ktonkersten.com.+005+61598.key
</code></pre>

<p>and sign the zone:</p>

<pre><code>dnssec-signzone         \
    -d keys         \
    -K keys         \
    -N increment        \
    -o tonkersten.com   \
    -S tonkersten.com
</code></pre>

<p>giving me a file called <code>db.tonkersten.fwd.signed</code>.</p>

<p>This file should now be used in <code>/etc/named.conf</code> as the zone file
for the signed zone.</p>

<p>So, when I do a query for the <code>tonkersten.com</code> domain, I get</p>

<pre><code>$ dig +dnssec +multiline DNSKEY home.tonkersten.com

; &lt;&lt;&gt;&gt; DiG 9.7.1-P2 &lt;&lt;&gt;&gt; +dnssec +multiline DNSKEY home.tonkersten.com
;; global options:  +cmd
;; Got answer:
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 34594
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 4, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 4096
;; QUESTION SECTION:
;home.tonkersten.com.   IN DNSKEY

;; AUTHORITY SECTION:
tonkersten.com.     3600 IN SOA home.tonkersten.com. tonk.tonkersten.com. (
                2010082303 ; serial
                21600      ; refresh (6 hours)
                7200       ; retry (2 hours)
                604800     ; expire (1 week)
                3600       ; minimum (1 hour)
                )
tonkersten.com.     3600 IN RRSIG SOA 5 2 3600 20100922081850 (
                20100823081850 61598 tonkersten.com.
                W9qamKcSdTfCwOJk+m+tRZsRwdvZVzHzONGCehfX41/I
                ...
                FJ0uZPzfaujQAcKa1NnB89Ccd7m18XL0Gw== )
home.tonkersten.com.    3600 IN NSEC mail.tonkersten.com. A AAAA RRSIG NSEC
home.tonkersten.com.    3600 IN RRSIG NSEC 5 3 3600 20100922081850 (
                20100823081850 61598 tonkersten.com.
                ZdeRhW5RxqFZguFMOtZhnes/OGA/E2K2CgLLVW3Z00T0
                ...
                PQn52goXz8nXMovgDuB8HNWbzKwSCs07Ug== )

;; Query time: 52 msec
;; SERVER: 80.126.204.63#53(80.126.204.63)
;; WHEN: Mon Aug 23 12:30:43 2010
;; MSG SIZE  rcvd: 734
</code></pre>

<p>Now it's your turn.</p>

<p>Good luck  <img src="http://tonkersten.com/moods/smilies/wink.gif" alt=";-)" /></p>
</div>
</content>

</entry>
<entry>
<title type="html">Deploying IPv6</title>
<author>
<name>Ton Kersten</name>
</author>
<link rel="alternate" type="text/html" href="http://tonkersten.com/archives/2010/08/16/deploying_ipv6/index.html"/>

<id>http://tonkersten.com/archives/2010/08/16/deploying_ipv6/index.html</id>
<published>2010-08-16T08:17:05+02:00</published>
<updated>2010-08-16T08:17:05+02:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>It took me some time, but now I have it up and running.  My home network runs
IPv6 and my server can be reached on an IPv6 address.</p>

<p>Unfortunately I don't have a native IPv6 address and my provider (UPC/Chello)
will not supply one. So I had to use a tunnel broker. After experimenting a bit
I got stuck on the <a href="http://www.tunnelbroker.net/" target="_blank">tunnelbroker</a> of Hurricane
Electric.</p>

<p>My <a href="http://m0n0.ch/wall" target="_blank">m0n0wall</a> firewall supports the Tunnelbroker IPv6/IPv4
tunnels and after configuring some firewall rules everything is up and running.</p>

<p>Have to grab some screenshots and after that I'll post how I did it.</p>
</div>
</content>

</entry>
<entry>
<title type="html">Compiling OpenSSL and OpenSSH</title>
<author>
<name>Ton Kersten</name>
</author>
<link rel="alternate" type="text/html" href="http://tonkersten.com/archives/2010/08/12/compiling_openssl_and_openssh/index.html"/>

<id>http://tonkersten.com/archives/2010/08/12/compiling_openssl_and_openssh/index.html</id>
<published>2010-08-12T14:54:33+02:00</published>
<updated>2010-08-12T14:54:33+02:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>My server at home runs CentOS 5 and this has OpenSSH version 4.3.
Running updates doesn't update this version, because RedHat keeps
the version number stable.</p>

<p>But I wanted a newer <a href="http://openssh.org" target="_blank">OpenSSH</a> because of some nice
new features. But when I do compile a new version I'm still stuck with old
<a href="http://openssl.org" target="_blank">OpenSSL</a>, and that's not what I want.</p>

<p>Well, you can guess it by now, this is what I did.</p>

<p>--- read more ---</p>

<p>I first got the newest version of OpenSSL and compiled it with</p>

<pre><code>./config shared --prefix=/usr/local/openssl
make
make install
</code></pre>

<p>this way this SSL is completely seperate from the one on the system, so
nothing gets broken.</p>

<p>After this I wanted to compile OpenSSH, and I did get the message</p>

<pre><code>configure: error: Your OpenSSL headers do not match your library
</code></pre>

<p>It took a look at Google and I found a lot of answers, including one
where you had to copy all the header files all over the place.
I was completely flabbergasted when I read this solution.
A short example (there where a lot more. To protect this lunatic I removed
his userid from the lines below)</p>

<pre><code>cd /home/x/openssl/openssl-*   
cd include/openssl
cp * /usr/include
cp * /usr/local/ssl/include
cp * /usr/local/ssl/include/openssl
cd /home/x/openssl/openssl-*/include/openssl
cp * /usr/local/ssl/include
cd /home/x/openssl/openssl-*
cp lib* /usr/local/ssl/lib/
cp lib* /usr/lib/
ldconfig
cd /home/x/openssl/openssl-*/include/openssl 
cp * /usr/include/
cp * /usr/local/ssl/include/
cp * /usr/local/ssl/include/openssl
</code></pre>

<p>Well, let's put it this way: <strong><em>ARE YOU NUTS!!!</em></strong></p>

<p>If you want to break things, that's the way to go.</p>

<p>And after all this copying he got the message:</p>

<pre><code>Connecting to server...
    OpenSSL version mismatch. Built against 90603f, you have 90607f
    Couldn't read packet: Connection reset by peer
</code></pre>

<p>And guess what, this was solved with more copying of libraries and header
files. What a mess. Thank God he lives in the States and his resume says he is
only a Linux Systems Expert working for a brain surgeon. I'll reckon he will
never touch my brain or machines.</p>

<p>I experimented somewhat with the configure options and it's quiet easy</p>

<pre><code>export LDFLAGS=/usr/local/openssl/lib
./configure                                     \
    --with-pam                                  \
    --with-kerberos5                            \
    --with-ssl-engine                           \
    --includedir=/usr/local/openssl/include     \
    --with-ssl-dir=/usr/local/openssl
</code></pre>

<p>and now OpenSSH compiles with the special OpenSSL without polluting your
entire system.</p>

<p>Have fun and don't mess up!</p>
</div>
</content>

</entry>
<entry>
<title type="html">Back to m0n0wall</title>
<author>
<name>Ton Kersten</name>
</author>
<link rel="alternate" type="text/html" href="http://tonkersten.com/archives/2010/08/10/back_to_m0n0wall/index.html"/>

<id>http://tonkersten.com/archives/2010/08/10/back_to_m0n0wall/index.html</id>
<published>2010-08-10T20:15:19+02:00</published>
<updated>2010-08-10T20:15:19+02:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Some time ago I switch from <a href="http://m0n0.ch/wall" target="_blank">m0n0wall</a> to
<a href="http://www.pfsense.org" target="_blank">pfSense</a> and I did like it a lot.</p>

<p>But a problem with PPTP tunneling made me think again. Was pfSense
the way to go?</p>

<p>Well, it wasn't. When I was trying to get IPv6 up and running it turned out
that pfSense doesn't support IPv6 out of the box. And m0n0wall does.
There where some answers on the internet, but I was not willing to
hack the pfSense box if that was not needed. And the pfSense website states that
IPv6 support will come after the release of 2.0. I'm not going to hold my
breath that long. And the PPTP tunneling problem can only be solved when
you have a dual external IP address. My provider won't give me a static
one, so two statics is completely out of the question.</p>

<p>So, here is what I did. I took my old firewall and installed m0n0wall (version
1.32, the latest stable) on it.  After that I implemented all the firewall
thingies I had in the pfSense box and put all the stuff in to make it work.</p>

<p>Then I switched firewalls to test it for a couple of days and see if
everything works.  And it did. So, I installed m0n0wall on the primary
firewall and left it running for some time.</p>

<p>OK, time to implement IPv6, but that is a different story. When I have it
completely up and running, you are the first to here it.</p>
</div>
</content>

</entry>
<entry>
<title type="html">My new Internet connection</title>
<author>
<name>Ton Kersten</name>
</author>
<link rel="alternate" type="text/html" href="http://tonkersten.com/archives/2010/08/02/my_new_internet_connection/index.html"/>

<id>http://tonkersten.com/archives/2010/08/02/my_new_internet_connection/index.html</id>
<published>2010-08-02T09:22:04+02:00</published>
<updated>2010-08-02T09:22:04+02:00</updated>

<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>About a month or two ago I was contacted by my ISP asking if I would like a lot
faster internet connection and a lower price. Well, you have to be nuts to deny
such an offer, so I decided to comply.</p>

<p>About a week later the new internet modem showed up and I connected everything
up.</p>

<p>Running speedtest made me very happy.</p>

<p><center>
<img src="/images/speedtest.png" alt="Speedtest" title="" />
</center></p>

<p>Not bad at all  <img src="http://tonkersten.com/moods/smilies/smiley.gif" alt=":-)" /> </p>
</div>
</content>

</entry>

</feed>
