<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Christoph Hüffelmann, der Blog</title>
	<atom:link href="http://blog.christoph-hueffelmann.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.christoph-hueffelmann.de</link>
	<description>living in a cloud</description>
	<lastBuildDate>Wed, 16 May 2012 14:38:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>multicast auf CISCO 200 series dropen</title>
		<link>http://blog.christoph-hueffelmann.de/multicast-auf-cisco-200-series-dropen/</link>
		<comments>http://blog.christoph-hueffelmann.de/multicast-auf-cisco-200-series-dropen/#comments</comments>
		<pubDate>Wed, 16 May 2012 14:38:36 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[CISCO]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=4344</guid>
		<description><![CDATA[Da Multicast Parkete in größenen Netzerken, z.b. WLANs zu Problemen fürhren können, habe ich mich eben damit beschäftige diese Pakete zu Droppen. Zunächst muss Unter Multicast -> Eigenschaften -> Bridge-Multcast-Filterstatus aktiviert werden. Dann kann man unter Multicast -> Alle weiterleiten die einzelne Ports definieren die erlaubt sind (Statisch) und die denen das Routing Verboten ist.]]></description>
			<content:encoded><![CDATA[<p>Da <a href="http://de.wikipedia.org/wiki/Multicast" target="_blank">Multicast</a> Parkete in größenen Netzerken, z.b. WLANs zu Problemen fürhren können, habe ich mich eben damit beschäftige diese Pakete zu Droppen.</p>
<p>Zunächst muss Unter Multicast -> Eigenschaften -> Bridge-Multcast-Filterstatus aktiviert werden.<br />
<a href="http://blog.chr.istoph.de/wp-content/uploads/Bildschirmfoto-SG-200-18-Gigabit-Smart-Switch-mit-18-Ports-Chromium.png"><img src="http://blog.chr.istoph.de/wp-content/uploads/Bildschirmfoto-SG-200-18-Gigabit-Smart-Switch-mit-18-Ports-Chromium.png" alt="" title="Bildschirmfoto-SG 200-18: Gigabit-Smart Switch mit 18 Ports - Chromium" width="702" height="394" class="alignnone size-full wp-image-4345" /></a></p>
<p>Dann kann man unter Multicast -> Alle weiterleiten die einzelne Ports definieren die erlaubt sind (Statisch) und die denen das Routing Verboten ist.<br />
<a href="http://blog.chr.istoph.de/wp-content/uploads/Bildschirmfoto-SG-200-18-Gigabit-Smart-Switch-mit-18-Ports-Chromium-1.png"><img src="http://blog.chr.istoph.de/wp-content/uploads/Bildschirmfoto-SG-200-18-Gigabit-Smart-Switch-mit-18-Ports-Chromium-1.png" alt="" title="Bildschirmfoto-SG 200-18: Gigabit-Smart Switch mit 18 Ports - Chromium-1" width="698" height="341" class="alignnone size-full wp-image-4346" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/multicast-auf-cisco-200-series-dropen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bearbeiten von resolv.conf deprecated</title>
		<link>http://blog.christoph-hueffelmann.de/bearbeiten-von-resolv-conf-deprecated/</link>
		<comments>http://blog.christoph-hueffelmann.de/bearbeiten-von-resolv-conf-deprecated/#comments</comments>
		<pubDate>Tue, 15 May 2012 19:18:30 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[deprecated]]></category>
		<category><![CDATA[precise]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=4338</guid>
		<description><![CDATA[Das bearbeiten der /etc/resolv.conf ist seit ubuntu 12.04. deprecated. Nun muss man in die /etc/resolvconf/resolv.conf.d/head Datei editien oder mittels stdout den Nameserver hinzufügen. echo "nameserver 8.8.4.4" >> /etc/resolvconf/resolv.conf.d/head Dann muss man noch den Dienst neu updaten. Das geschit mittels: resolvconf -u]]></description>
			<content:encoded><![CDATA[<p>Das bearbeiten der <code>/etc/resolv.conf</code> ist seit ubuntu 12.04. deprecated. Nun muss man in die <code>/etc/resolvconf/resolv.conf.d/head</code> Datei editien oder mittels stdout den Nameserver hinzufügen. </p>
<p><code>echo "nameserver 8.8.4.4" >> /etc/resolvconf/resolv.conf.d/head</code></p>
<p>Dann muss man noch den Dienst neu updaten. Das geschit mittels: </p>
<p><code>resolvconf -u</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/bearbeiten-von-resolv-conf-deprecated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BA Gigabit</title>
		<link>http://blog.christoph-hueffelmann.de/ba-gigabit/</link>
		<comments>http://blog.christoph-hueffelmann.de/ba-gigabit/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 22:53:46 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Bayernallee]]></category>
		<category><![CDATA[CISCO]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=4331</guid>
		<description><![CDATA[Heute haben wir in der BA zwei weite 48 Port Gigabit Einschübe in unseren Cisco 4006 nachgerüstet. switch>show module Chassis Type : WS-C4006 Power consumed by backplane : 0 Watts Mod Ports Card Type Model Serial No. ---+-----+--------------------------------------+------------------+----------- 1 2 Supervisor III 1000BaseX (GBIC) WS-X4014 2 48 10/100/1000BaseT (RJ45) WS-X4548-GB-RJ45 3 48 10/100/1000BaseT (RJ45) WS-X4548-GB-RJ45 [...]]]></description>
			<content:encoded><![CDATA[<p>Heute haben wir in der BA zwei weite 48 Port Gigabit Einschübe in unseren Cisco 4006 nachgerüstet. </p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/ba-newgib02.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/ba-newgib02.jpg" alt="" title="ba-newgib02" width="700" height="310" class="alignnone size-full wp-image-4332" /></a></p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/ba-newgib.jpg"><img src="http://blog.chr.istoph.de/wp-content/uploads/ba-newgib.jpg" alt="" title="ba-newgib" width="700" height="724" class="alignnone size-full wp-image-4333" /></a></p>
<pre>switch>show module
Chassis Type : WS-C4006

Power consumed by backplane : 0 Watts

Mod Ports Card Type                              Model              Serial No.
---+-----+--------------------------------------+------------------+-----------
 1     2  Supervisor III 1000BaseX (GBIC)        WS-X4014
 2    48  10/100/1000BaseT (RJ45)                WS-X4548-GB-RJ45
 3    48  10/100/1000BaseT (RJ45)                WS-X4548-GB-RJ45
 4    48  10/100/1000BaseT (RJ45)                WS-X4548-GB-RJ45
 5    48  10/100BaseTX (RJ45)                    WS-X4148-RJ
 6    48  10/100BaseTX (RJ45)V                   WS-X4148-RJ45V
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/ba-gigabit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mein erster Ubuntu Kernel Bug bei Launchpad</title>
		<link>http://blog.christoph-hueffelmann.de/mein-erster-ubuntu-kernel-bug-bei-launchpad/</link>
		<comments>http://blog.christoph-hueffelmann.de/mein-erster-ubuntu-kernel-bug-bei-launchpad/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 20:16:41 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=4327</guid>
		<description><![CDATA[Na toll. Mein erster richtige Bug bei Ubuntu und das beste was die Jungs von Launchpad.net mir sagen konnten war das ich doch mal ein BIOS update machen sollte. Ganz schön kompliziert bei einem Rechner der im einem Rechenzentrum steht. Heute durfte ich den Bug dann schließen, es lag Tatsächlichkeit an der veralteten Bios Version. [...]]]></description>
			<content:encoded><![CDATA[<p>Na toll. Mein erster richtige Bug bei Ubuntu und das beste was die Jungs von Launchpad.net mir sagen konnten war das ich doch mal ein BIOS update machen sollte. Ganz schön kompliziert bei einem Rechner der im einem Rechenzentrum steht. Heute durfte ich den Bug dann schließen, es lag Tatsächlichkeit an der veralteten Bios Version. Aber ganz erlicht der Bug hat mich fünf Manntage gekostet. </p>
<p>Bug: <a href="https://bugs.launchpad.net/bugs/978320" target="_blank">bugs.launchpad.net/bugs/978320</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/mein-erster-ubuntu-kernel-bug-bei-launchpad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eine eigene x509v3 CA erstellen</title>
		<link>http://blog.christoph-hueffelmann.de/eine-eigene-x509v3-ca-erstellen/</link>
		<comments>http://blog.christoph-hueffelmann.de/eine-eigene-x509v3-ca-erstellen/#comments</comments>
		<pubDate>Sat, 28 Apr 2012 12:04:27 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[x509v3_config(5ssl)]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=4315</guid>
		<description><![CDATA[Zunächst wird eine Config Datei benötigt. ca.conf: [ req ] default_bits=4096 default_md=sha1 utf8=yes distinguished_name=req_distinguished_name x509_extensions=x509_exts [ req_distinguished_name ] [ x509_exts ] subjectKeyIdentifier=hash authorityKeyIdentifier=keyid:always,issuer:always basicConstraints = CA:true [ ca ] default_ca=default_ca [ default_ca ] certificate=ca.crt private_key=private/ca.key default_days=36500 default_md=sha1 database=meta/db.txt unique_subject=no serial=meta/serial policy=ca_policy name_opt=ca_default cert_opt=ca_default copy_extensions=copyall x509_extensions=ca_x509_ext [ ca_x509_ext ] # an empty referenced section ensures a [...]]]></description>
			<content:encoded><![CDATA[<p>Zunächst wird eine Config Datei benötigt.<br />
<strong>ca.conf:</strong><br />
<code>[ req ]<br />
default_bits=4096<br />
default_md=sha1<br />
utf8=yes<br />
distinguished_name=req_distinguished_name<br />
x509_extensions=x509_exts</p>
<p>[ req_distinguished_name ]</p>
<p>[ x509_exts ]<br />
subjectKeyIdentifier=hash<br />
authorityKeyIdentifier=keyid:always,issuer:always<br />
basicConstraints = CA:true</p>
<p>[ ca ]<br />
default_ca=default_ca</p>
<p>[ default_ca ]<br />
certificate=ca.crt<br />
private_key=private/ca.key<br />
default_days=36500<br />
default_md=sha1<br />
database=meta/db.txt<br />
unique_subject=no<br />
serial=meta/serial<br />
policy=ca_policy<br />
name_opt=ca_default<br />
cert_opt=ca_default<br />
copy_extensions=copyall<br />
x509_extensions=ca_x509_ext</p>
<p>[ ca_x509_ext ]<br />
# an empty referenced section ensures a v3 cert is generated</p>
<p>[ server ]<br />
nsCertType=server</p>
<p>[ ca_policy ]<br />
countryName            = optional<br />
stateOrProvinceName    = optional<br />
localityName           = optional<br />
organizationName       = optional<br />
organizationalUnitName = optional<br />
commonName             = optional<br />
emailAddress           = optional<br />
</code></p>
<p>Dann werden noch ein paar Ordner, eine lehre Datenbank(halde) und eine Seriennummer  benötigt.<br />
<code>mkdir private meta certs<br />
touch meta/db.txt<br />
echo 01 > meta/serial</code></p>
<p>Nun wird die CA erstellt.<br />
<code>openssl req -x509 -subj /CN=TestCA -newkey rsa:4096 -keyout private/ca.key -out ca.crt -nodes -config ca.conf -days 36500</code></p>
<p>Dann muss das CSR (Certifikate signing request) erstellt werden.<br />
<code>openssl req -subj /CN=TestCert -newkey rsa:4096 -keyout new.key -out new.csr -nodes -config ca.conf -days 36500</code></p>
<p>Zum Schluss wird aus dem CSR das von der CA signierte Zertifikat des Clients.<br />
<code>openssl ca -in new.csr -outdir certs/ -config ca.conf -notext -utf8</code></p>
<p>Möchten man nun z.b. ein vpn Server mit der CA betreiben braucht man noch ein Server Zertifikat.<br />
<code>openssl ca -in vpn-server.csr -outdir certs/ -config ca.conf -extensions server -notext -utf8</code><br />
(z.B. openvpn server wenn man die --ns-cert-type server bei den clients angibt)</p>
<p>Die Zertifikate kann man sich dann mit folgenden Befehl anzeigen lassen.<br />
<code>openssl x509 -in ca.crt -noout -text</code></p>
<p><em>co Autor: Martin H.</em><br />
<em>Quelle: <a href="http://www.openssl.org/docs/apps/x509v3_config.html" target="_blank">www.openssl.org</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/eine-eigene-x509v3-ca-erstellen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tolle Zahl: 65535</title>
		<link>http://blog.christoph-hueffelmann.de/tolle-zahl-65535/</link>
		<comments>http://blog.christoph-hueffelmann.de/tolle-zahl-65535/#comments</comments>
		<pubDate>Thu, 26 Apr 2012 08:48:49 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Netzwerk]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=4312</guid>
		<description><![CDATA[64 bytes from 10.0.0.1: icmp_seq=65533 ttl=64 time=0.349 ms 64 bytes from 10.0.0.1: icmp_seq=65534 ttl=64 time=0.312 ms 64 bytes from 10.0.0.1: icmp_seq=65535 ttl=64 time=0.318 ms 64 bytes from 10.0.0.1: icmp_seq=0 ttl=64 time=0.325 ms 64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.308 ms 64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.312 ms Dabei fängt der erste ping bei 1 [...]]]></description>
			<content:encoded><![CDATA[<p><code>64 bytes from 10.0.0.1: icmp_seq=65533 ttl=64 time=0.349 ms<br />
64 bytes from 10.0.0.1: icmp_seq=65534 ttl=64 time=0.312 ms<br />
64 bytes from 10.0.0.1: icmp_seq=65535 ttl=64 time=0.318 ms<br />
64 bytes from 10.0.0.1: icmp_seq=0 ttl=64 time=0.325 ms<br />
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.308 ms<br />
64 bytes from 10.0.0.1: icmp_seq=2 ttl=64 time=0.312 ms</code></p>
<p>Dabei fängt der erste ping bei 1 an und nicht bei 0. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/tolle-zahl-65535/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 12.04 Precise Pangolin</title>
		<link>http://blog.christoph-hueffelmann.de/ubuntu-12-04-precise-pangolin/</link>
		<comments>http://blog.christoph-hueffelmann.de/ubuntu-12-04-precise-pangolin/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 22:08:19 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=4307</guid>
		<description><![CDATA[Es ist so weit, Precise Pangolin Ubuntu 12.04 ist auf unserem Mirror angekommen. http://mirror.bauhuette.fh-aachen.de/ubuntu-cd/]]></description>
			<content:encoded><![CDATA[<p>Es ist so weit, Precise Pangolin Ubuntu 12.04 ist auf unserem Mirror angekommen. </p>
<p><a href="http://mirror.bauhuette.fh-aachen.de/ubuntu-cd/" target="_blank">http://mirror.bauhuette.fh-aachen.de/ubuntu-cd/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/ubuntu-12-04-precise-pangolin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>openvpn up/down script-security unter 12.04 precise</title>
		<link>http://blog.christoph-hueffelmann.de/openvpn-updown-script-security-unter-12-04-precise/</link>
		<comments>http://blog.christoph-hueffelmann.de/openvpn-updown-script-security-unter-12-04-precise/#comments</comments>
		<pubDate>Tue, 10 Apr 2012 10:26:47 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[precise]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=4293</guid>
		<description><![CDATA[Ach, toll. Nach der Umstellung von Lucid auf Ubuntu 12.04 Precise konnte OpenVPN nicht mehr starten. Im opnvpn.log fand ich folgenden Warnung die das Problem beschreibt. WARNING: External program may not be called unless '--script-security 2' or higher is enabled. Use '--script-security 3 system' for backward compatibility with 2.1_rc8 and earlier. See --help text or [...]]]></description>
			<content:encoded><![CDATA[<p>Ach, toll. Nach der Umstellung von Lucid auf Ubuntu 12.04 Precise konnte OpenVPN nicht mehr starten. Im opnvpn.log fand ich folgenden Warnung die das Problem beschreibt.<br />
<code>WARNING: External program may not be called unless '--script-security 2' or higher is enabled.  Use '--script-security 3 system' for backward compatibility with 2.1_rc8 and earlier.  See --help text or man page for detailed info.<br />
WARNING: Failed running command (--up/--down): external program fork failed</code></p>
<p>Das Problem, in meiner <em>client.conf</em> stand ein Script das ausgeführt wird wenn der Tunnel Startet.<br />
<code>up /etc/openvpn/ip-config</code></p>
<p>Wenn man folgende Ziele in der <em>client.conf</em> ergähnst, wird dem OpenVPN erlaub dies auszuführen.<br />
<code>script-security 3 system</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/openvpn-updown-script-security-unter-12-04-precise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>zone files eine IP ändern</title>
		<link>http://blog.christoph-hueffelmann.de/zone-files-eine-ip-andern/</link>
		<comments>http://blog.christoph-hueffelmann.de/zone-files-eine-ip-andern/#comments</comments>
		<pubDate>Fri, 06 Apr 2012 12:08:26 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4286</guid>
		<description><![CDATA[Mal eben schnell in allen Zonefiles eine IP ändern und die serial Nummer updaten. #!/bin/bash for item in *; do if &#91; -f $item &#93;; then sed 's/'88.198.44.248'/'46.4.34.52'/g' $item &#62; $item.tmp; if &#91; &#34;$(md5sum $item &#124; awk '{print $1}')&#34; = &#34;$(md5sum $item.tmp &#124; awk '{print $1}')&#34; &#93;; then rm $item.tmp else sed &#34;s/$(cat $item.tmp &#124; [...]]]></description>
			<content:encoded><![CDATA[<p>Mal eben schnell in allen Zonefiles eine IP ändern und die serial Nummer updaten. </p>
<pre class="bash"><span style="color: #808080; font-style: italic;">#!/bin/bash</span>
<span style="color: #000000; font-weight: bold;">for</span> item <span style="color: #000000; font-weight: bold;">in</span> *; <span style="color: #000000; font-weight: bold;">do</span>
  <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> -f <span style="color: #007800;">$item</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
    <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/'</span><span style="color: #000000;">88.198</span><span style="color: #000000;">.44</span><span style="color: #000000;">.248</span><span style="color: #ff0000;">'/'</span><span style="color: #000000;">46.4</span><span style="color: #000000;">.34</span><span style="color: #000000;">.52</span><span style="color: #ff0000;">'/g'</span> <span style="color: #007800;">$item</span> &gt; <span style="color: #007800;">$item</span>.tmp;
    <span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;$(md5sum $item | awk '{print $1}')&quot;</span> = <span style="color: #ff0000;">&quot;$(md5sum $item.tmp | awk '{print $1}')&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
      <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #007800;">$item</span>.tmp
    <span style="color: #000000; font-weight: bold;">else</span>
      <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">&quot;s/$(cat $item.tmp | grep 'serial' | awk '{print $1}')/2012040601/g&quot;</span> <span style="color: #007800;">$item</span>.tmp &gt; <span style="color: #007800;">$item</span>
      <span style="color: #c20cb9; font-weight: bold;">rm</span> <span style="color: #007800;">$item</span>.tmp
    <span style="color: #000000; font-weight: bold;">fi</span>
  <span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #000000; font-weight: bold;">done</span></pre>
<p>Das funktioniert natürlich nur solange wenn die Zonefiles noch nicht geupdatet wurden und die Serienummern mit ;sirial getakt sind.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/zone-files-eine-ip-andern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>apparmor unter Ubuntu 12.04</title>
		<link>http://blog.christoph-hueffelmann.de/apparmor-unter-ubuntu-12-04/</link>
		<comments>http://blog.christoph-hueffelmann.de/apparmor-unter-ubuntu-12-04/#comments</comments>
		<pubDate>Sat, 31 Mar 2012 18:50:15 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[precise]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=4281</guid>
		<description><![CDATA[named[1899]: client 10.8.0.1#50619: updating zone 'chr.istoph.de/IN': adding an RR at 'srv01.chr.istoph.de' A named[1899]: client 10.8.0.1#50619: updating zone 'chr.istoph.de/IN': adding an RR at 'srv01.chr.istoph.de' TXT named[1899]: /etc/bind/db.chr.istoph.de.jnl: create: permission denied named[1899]: client 10.8.0.1#50619: updating zone 'chr.istoph.de/IN': error: journal open failed: unexpected error dhcpd: Unable to add forward map from srv01.chr.istoph.de. to 10.8.0.2: timed out kernel: [ [...]]]></description>
			<content:encoded><![CDATA[<p><code>named[1899]: client 10.8.0.1#50619: updating zone 'chr.istoph.de/IN': adding an RR at 'srv01.chr.istoph.de' A<br />
named[1899]: client 10.8.0.1#50619: updating zone 'chr.istoph.de/IN': adding an RR at 'srv01.chr.istoph.de' TXT<br />
named[1899]: /etc/bind/db.chr.istoph.de.jnl: create: permission denied<br />
named[1899]: client 10.8.0.1#50619: updating zone 'chr.istoph.de/IN': error: journal open failed: unexpected error<br />
dhcpd: Unable to add forward map from srv01.chr.istoph.de. to 10.8.0.2: timed out<br />
kernel: [  376.010028] type=1400 audit(1333037844.507:22): apparmor="DENIED" operation="mknod" parent=1 profile="/usr/sbin/named" name="/etc/bind/db.chr.istoph.de.jnl" pid=1900 comm="named" requested_mask="c" denied_mask="c" fsuid=103 ouid=103<br />
dhcpd: DHCPREQUEST for 10.8.0.2 from 00:01:80:7c:87:eb (srv01) via eth0<br />
</code></p>
<p>Lösung:<br />
<code>apt-get autoremove apparmor<br />
reboot</code><br />
Und seit dem geht es.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/apparmor-unter-ubuntu-12-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot register the hard disk because a hard disk already exists</title>
		<link>http://blog.christoph-hueffelmann.de/cannot-register-the-hard-disk-because-a-hard-disk-already-exists/</link>
		<comments>http://blog.christoph-hueffelmann.de/cannot-register-the-hard-disk-because-a-hard-disk-already-exists/#comments</comments>
		<pubDate>Wed, 14 Mar 2012 23:09:29 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4275</guid>
		<description><![CDATA[Heute haben wir während einer Installation eine vdi Datei Coppiert. Lieder haben wir nicht daran gedacht das die VDI Dateien feste UUIDs zugeordnet sind. Das fürte bei einbinden der Platte zu folgenden Fehler: VBoxManage: error: Cannot register the hard disk 'precise.vdi' {bbc079a9-ca5d-406d-a43f-435c995822e8} because a hard disk 'lucid.vdi' with UUID {bbc079a9-ca5d-406d-a43f-435c995822e8} already exists VBoxManage: error: Details: [...]]]></description>
			<content:encoded><![CDATA[<p>Heute haben wir während einer Installation eine vdi Datei Coppiert. Lieder haben wir nicht daran gedacht das die VDI Dateien feste UUIDs zugeordnet sind. Das fürte bei einbinden der Platte zu folgenden Fehler: </p>
<p><code>VBoxManage: error: Cannot register the hard disk 'precise.vdi' {bbc079a9-ca5d-406d-a43f-435c995822e8} because a hard disk 'lucid.vdi' with UUID {bbc079a9-ca5d-406d-a43f-435c995822e8} already exists<br />
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component VirtualBox, interface IVirtualBox, callee nsISupports<br />
Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, AccessMode_ReadWrite, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 210 of file VBoxManageDisk.cpp</code></p>
<p>Abhilfe schafft folgender befehl:<br />
<code>VBoxManage internalcommands sethduuid precise.vdi<br />
UUID changed to: 5a3ecc9a-ea07-4d6f-9ff9-3437702df22b</code></p>
<p><em>Quelle: <a href="http://grahamrhay.wordpress.com/2011/11/08/copying-virtualbox-hard-disks/" target="_blank">grahamrhay.wordpress.com</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/cannot-register-the-hard-disk-because-a-hard-disk-already-exists/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sporadische Seitenladefehler durch Segmentation fault</title>
		<link>http://blog.christoph-hueffelmann.de/sporadische-seitenladefehler-durch-segmentation-fault/</link>
		<comments>http://blog.christoph-hueffelmann.de/sporadische-seitenladefehler-durch-segmentation-fault/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 13:40:39 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=4262</guid>
		<description><![CDATA[Vergangene Woche war meine Blog immer wieder von ausfällen geplagt. Das komische war das es immer wieder in der gleichen WordPress Funktion call_user_func_array auftauchte. Bei Debuggen verschob sich aber immer wieder der Ort wo der Fehler auftrat, ähnlich der Heisenbergsche Unschärferelation. Zudem trat der Fehler nur bei jedem vierten seiten Aufruf auf. [notice] child pid [...]]]></description>
			<content:encoded><![CDATA[<p>Vergangene Woche war meine Blog immer wieder von ausfällen geplagt. Das komische war das es immer wieder in der gleichen WordPress Funktion <code>call_user_func_array</code> auftauchte.<br />
Bei Debuggen verschob sich aber immer wieder der Ort wo der Fehler auftrat, ähnlich der Heisenbergsche Unschärferelation. Zudem trat der Fehler nur bei jedem vierten seiten Aufruf auf. </p>
<p><code>[notice] child pid 29729 exit signal Segmentation fault (11)<br />
[notice] child pid 29856 exit signal Segmentation fault (11)<br />
[notice] child pid 29888 exit signal Segmentation fault (11)</code></p>
<p>Im Endeffekt habe ich jetzt erst mal PHP und Apache ohne -threads* kompeliert.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/sporadische-seitenladefehler-durch-segmentation-fault/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Für mehr Qulaität bei Youtube&#8230;</title>
		<link>http://blog.christoph-hueffelmann.de/fur-mehr-qulaitat-bei-youtube/</link>
		<comments>http://blog.christoph-hueffelmann.de/fur-mehr-qulaitat-bei-youtube/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 13:21:37 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Aktuell]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=4253</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://mrdoob.com/lab/youtube/superHD/"><img src="http://blog.chr.istoph.de/wp-content/uploads/4xYoutube1.jpg" alt="" title="4xYoutube" width="700" height="573" class="alignnone size-full wp-image-4256" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/fur-mehr-qulaitat-bei-youtube/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ACTA 02.2012</title>
		<link>http://blog.christoph-hueffelmann.de/acta-02-2012/</link>
		<comments>http://blog.christoph-hueffelmann.de/acta-02-2012/#comments</comments>
		<pubDate>Sat, 11 Feb 2012 22:02:20 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Bilder]]></category>
		<category><![CDATA[ACTA]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=4247</guid>
		<description><![CDATA[Das Original Bild wie immer auf anfrage mit 30,2Megapixel 201MB Tif]]></description>
			<content:encoded><![CDATA[<p><a href="http://images.chr.istoph.de/main.php?g2_itemId=8264"><img src="http://blog.chr.istoph.de/wp-content/uploads/acta20120211.png" alt="" title="acta aachen 2012-02-11" width="750" height="300" class="alignnone size-full wp-image-4248" /></a><br />
<em>Das Original Bild wie immer auf anfrage mit 30,2Megapixel 201MB Tif</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/acta-02-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tail -F für logrotate</title>
		<link>http://blog.christoph-hueffelmann.de/tail-f-fur-logrotate/</link>
		<comments>http://blog.christoph-hueffelmann.de/tail-f-fur-logrotate/#comments</comments>
		<pubDate>Thu, 09 Feb 2012 20:45:56 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.chr.istoph.de/?p=4240</guid>
		<description><![CDATA[Ich bin darauf aufmerksam gemacht worden das ich tail -F mit einem großen F schreibe. Das mach ich absichtlich, den diese Option bewirkt das das teil das Logfile auch lesen kann wenn es durch logrotate rotiert wird. Hier der Auszug aus der Manpage: -f, --follow[={name&#124;descriptor}] output appended data as the file grows; -f, --follow, and [...]]]></description>
			<content:encoded><![CDATA[<p>Ich bin darauf aufmerksam gemacht worden das ich tail -F mit einem großen F schreibe. Das mach ich absichtlich, den diese Option bewirkt das das teil das  Logfile auch lesen kann wenn es durch logrotate rotiert wird. </p>
<p>Hier der Auszug aus der Manpage:</p>
<pre>
-f, --follow[={name|descriptor}]
       output appended data as the file grows; -f, --follow, and --follow=descriptor are equivalent
-F     same as --follow=name --retry
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/tail-f-fur-logrotate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tail -F color</title>
		<link>http://blog.christoph-hueffelmann.de/tail-f-color/</link>
		<comments>http://blog.christoph-hueffelmann.de/tail-f-color/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 09:51:51 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4228</guid>
		<description><![CDATA[Heute musste ich den ganzen Tag ein Logfile überwachen. Damit das nicht zu anstrengend wird und man Fehler nicht übersieht, habe ich das Logfile einfach eingefärbt. tail -F file.log &#124; awk ' /FATAL/ {print "\033[31m" $0 "\033[39m"} /WARN/ {print "\033[33m" $0 "\033[39m"} /INFO/ {print "\033[32m" $0 "\033[39m"} ']]></description>
			<content:encoded><![CDATA[<p>Heute musste ich den ganzen Tag ein Logfile überwachen. Damit das nicht zu anstrengend wird und man Fehler nicht übersieht, habe ich das Logfile einfach eingefärbt. </p>
<p><code>tail -F file.log | awk '<br />
   /FATAL/ {print "\033[31m" $0 "\033[39m"}<br />
   /WARN/ {print "\033[33m" $0 "\033[39m"}<br />
   /INFO/ {print "\033[32m" $0 "\033[39m"}<br />
'<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/tail-f-color/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Das Verhältnis unseres Planetensystem</title>
		<link>http://blog.christoph-hueffelmann.de/das-verhaltnis-unseres-planetensystem/</link>
		<comments>http://blog.christoph-hueffelmann.de/das-verhaltnis-unseres-planetensystem/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 23:38:23 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Astronomie]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4216</guid>
		<description><![CDATA[Das Verhältnis von Abständen und Größe von Sonne und Planeten in unserem Sonnensystem wird eigentlich immer falsch dargestellt. Deswegen wollte ich versuchen dies mal Nachzubilden und bin zu der tollen Erkenntnis gekommen das auch ich die Verhältnisse nicht hin bekomme. Damit man noch was außer der Sonne erkenne musste ich im den Faktor 1 zu [...]]]></description>
			<content:encoded><![CDATA[<p>Das Verhältnis von Abständen und Größe von Sonne und Planeten in unserem Sonnensystem wird eigentlich immer falsch dargestellt. Deswegen wollte ich versuchen dies mal Nachzubilden und bin zu der tollen Erkenntnis gekommen das auch ich die Verhältnisse nicht hin bekomme. Damit man noch was außer der Sonne erkenne musste ich im den Faktor 1 zu 100 pfuschen.</p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/verhaeltins-planetensystem.png"><img src="http://blog.chr.istoph.de/wp-content/uploads/verhaeltins-planetensystem.png" alt="" title="verhaeltins-planetensystem" width="750" height="113" class="alignnone size-full wp-image-4219" /></a></p>
<p>Hier Gehst zum <a href="http://blog.christoph-hueffelmann.de/planetensystem/" target="_blank">blog.christoph-hueffelmann.de/planetensystem/</a>. </p>
<p>Meine Planetensystem ist insgesamt 9000x9000px groß. Deswegen muss man in die Mitte scrollen um die Sonne zu finden. Zukünftig sollen sich die Planeten auch noch Bewegen. Dann mehr... </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/das-verhaltnis-unseres-planetensystem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paketquelle anzeigen</title>
		<link>http://blog.christoph-hueffelmann.de/paketquelle-anzeigen/</link>
		<comments>http://blog.christoph-hueffelmann.de/paketquelle-anzeigen/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 11:12:23 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4198</guid>
		<description><![CDATA[Da ich gerade mal wieder eine Viertelstunde damit vertan habe, diesen Befehl zu finden, dokumentiere ich ihn hier. Ich suchte den Befehl, mit dem ich sehen kann, aus welcher Paktequelle ein Programm kommt. Dies bauchte ich um heraus zu finden ob das Paket ggf. aus einer PPA kommt. apt-cache policy qemu qemu: Installiert: (keine) Kandidat: [...]]]></description>
			<content:encoded><![CDATA[<p>Da ich gerade mal wieder eine Viertelstunde damit vertan habe, diesen Befehl zu finden, dokumentiere ich ihn hier.</p>
<p>Ich suchte den Befehl, mit dem ich sehen kann, aus welcher Paktequelle ein Programm kommt. Dies bauchte ich um heraus zu finden ob das Paket ggf. aus einer PPA kommt.</p>
<pre>apt-cache policy qemu
qemu:
  Installiert: (keine)
  Kandidat: 0.12.3+noroms-0ubuntu9.16
  Versions-Tabelle:
     0.12.3+noroms-0ubuntu9.16 0
        500 http://mirror.bauhuette.fh-aachen.de/ubuntu/ lucid-updates/universe Packages
     0.12.3+noroms-0ubuntu9.15 0
        500 http://mirror.bauhuette.fh-aachen.de/ubuntu/ lucid-security/universe Packages
     0.12.3+noroms-0ubuntu9 0
        500 http://mirror.bauhuette.fh-aachen.de/ubuntu/ lucid/universe Packages</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/paketquelle-anzeigen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>9AA38DCD55BE302B</title>
		<link>http://blog.christoph-hueffelmann.de/9aa38dcd55be302b/</link>
		<comments>http://blog.christoph-hueffelmann.de/9aa38dcd55be302b/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 18:00:14 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4171</guid>
		<description><![CDATA[Da hatte ich mal wieder ein uhr alles etch in die finger bekommen, das auch noch veraltetet Schlüssel hatte. server:~# apt-get update Get:1 http://archive.debian.org etch Release.gpg [1033B] Hit http://archive.debian.org etch Release Ign http://archive.debian.org etch/main Packages/DiffIndex Ign http://archive.debian.org etch/non-free Packages/DiffIndex Ign http://archive.debian.org etch/contrib Packages/DiffIndex Ign http://archive.debian.org etch/main Sources/DiffIndex Ign http://archive.debian.org etch/non-free Sources/DiffIndex Ign http://archive.debian.org etch/contrib Sources/DiffIndex [...]]]></description>
			<content:encoded><![CDATA[<p>Da hatte ich mal wieder ein uhr alles etch in die finger bekommen, das auch noch veraltetet Schlüssel hatte. </p>
<p><code>server:~# apt-get update<br />
Get:1 http://archive.debian.org etch Release.gpg [1033B]<br />
Hit http://archive.debian.org etch Release<br />
Ign http://archive.debian.org etch/main Packages/DiffIndex<br />
Ign http://archive.debian.org etch/non-free Packages/DiffIndex<br />
Ign http://archive.debian.org etch/contrib Packages/DiffIndex<br />
Ign http://archive.debian.org etch/main Sources/DiffIndex<br />
Ign http://archive.debian.org etch/non-free Sources/DiffIndex<br />
Ign http://archive.debian.org etch/contrib Sources/DiffIndex<br />
Hit http://archive.debian.org etch/main Packages<br />
Hit http://archive.debian.org etch/non-free Packages<br />
Hit http://archive.debian.org etch/contrib Packages<br />
Hit http://archive.debian.org etch/main Sources<br />
Hit http://archive.debian.org etch/non-free Sources<br />
Hit http://archive.debian.org etch/contrib Sources<br />
Fetched 1B in 0s (3B/s)<br />
Reading package lists... Done<br />
W: There is no public key available for the following key IDs:<br />
9AA38DCD55BE302B<br />
W: You may want to run apt-get update to correct these problems<br />
</code></p>
<p>Google verwies auf die lösung mit dem netten Server wwwkeys.eu.pgp.net der aber nicht auflösbar war.<br />
<code>server:~# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 9AA38DCD55BE302B<br />
gpg: requesting key 55BE302B from hkp server wwwkeys.eu.pgp.net<br />
?: wwwkeys.eu.pgp.net: Host not found<br />
gpgkeys: HTTP fetch error 7: couldn't connect: Success<br />
gpg: no valid OpenPGP data found.<br />
gpg: Total number processed: 0<br />
</code></p>
<p>Die Lösung für das problem war ein andere Key Server:<br />
<code>server:~# gpg --keyserver subkeys.pgp.net --recv-key 9AA38DCD55BE302B<br />
gpg: requesting key 55BE302B from hkp server subkeys.pgp.net<br />
gpg: /root/.gnupg/trustdb.gpg: trustdb created<br />
gpg: key 55BE302B: public key "Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>" imported<br />
gpg: no ultimately trusted keys found<br />
gpg: Total number processed: 1<br />
gpg:               imported: 1  (RSA: 1)<br />
server:~# gpg --armor --export 9AA38DCD55BE302B | apt-key add -<br />
OK</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/9aa38dcd55be302b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>1und1 Firewall</title>
		<link>http://blog.christoph-hueffelmann.de/1und1-firewall/</link>
		<comments>http://blog.christoph-hueffelmann.de/1und1-firewall/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 21:00:52 +0000</pubDate>
		<dc:creator>CHR</dc:creator>
				<category><![CDATA[Computer]]></category>

		<guid isPermaLink="false">http://blog.christoph-hueffelmann.de/?p=4153</guid>
		<description><![CDATA[Oh man wie schlecht. 1und1 hat eine Firewall die 15 Minuten zum Aktualisierung baucht. Vermutlich gibt es dann für alle kunden alle 15 Minuten einen Aussetzer.]]></description>
			<content:encoded><![CDATA[<p>Oh man wie schlecht. 1und1 hat eine Firewall die 15 Minuten zum Aktualisierung baucht. Vermutlich gibt es dann für alle kunden alle 15 Minuten einen Aussetzer. </p>
<p><a href="http://blog.chr.istoph.de/wp-content/uploads/1-1-Control-Center-Chromium.png"><img src="http://blog.chr.istoph.de/wp-content/uploads/1-1-Control-Center-Chromium.png" alt="" title="1-1-Control-Center - Chromium" width="499" height="275" class="alignnone size-full wp-image-4156" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.christoph-hueffelmann.de/1und1-firewall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

