<?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>djerk.nl &#187; linkedin</title>
	<atom:link href="http://www.djerk.nl/wordpress/tag/linkedin/feed" rel="self" type="application/rss+xml" />
	<link>http://www.djerk.nl/wordpress</link>
	<description>Anything related to Djerk Geurts may be found here (either locally or linked)</description>
	<lastBuildDate>Mon, 04 Apr 2011 09:34:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Hacked, but not for long</title>
		<link>http://www.djerk.nl/wordpress/2009/hacked-but-not-for-long</link>
		<comments>http://www.djerk.nl/wordpress/2009/hacked-but-not-for-long#comments</comments>
		<pubDate>Fri, 23 Oct 2009 03:25:05 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Main blog]]></category>
		<category><![CDATA[apache2]]></category>
		<category><![CDATA[hackers]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[linkedin]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/?p=222</guid>
		<description><![CDATA[Naming and shaming of 1923turk-grup and their use of r57shell and another shell called c100 written by Enes_60.]]></description>
			<content:encoded><![CDATA[<p>Two days ago my wife was notified by one of her customers of a defacement of their site. Obviously this kinda stuff always happens when I&#8217;m ill and the last thing I want to be doing is dealing with some random hacker. This post is about what I found and how this should motivate people to at all times update their websites with the latest security fixes and practices.</p>
<p>As far as I&#8217;m aware no sensitive data was access nor was any serious damage done other than a few index.html files over written. The only real loss is the joomla site that was broken into as the owner is on holiday and hadn&#8217;t updated it for a while, suffice to say it&#8217;s down for the time being.</p>
<p><span id="more-222"></span>The defacement was the work of the hacker group 1923turk-grup. The following are some of my findings.</p>
<p><strong>Analysis</strong></p>
<p>[First activity seen]</p>
<p><span style="color: #808080;">/var/log/httpd/ispconfig_access_log_2009_10_20:www.hackedsite.nl||||2639||||78.175.34.28 &#8211; - [20/Oct/2009:20:03:30 +0100] &#8220;GET /index.php?option=com_user&amp;view=remind HTTP/1.1&#8243; 200 2639 &#8220;http://www.google.com.br/search?hl=pt-BR&amp;q=inurl:%3Foption%3Dcom_user++intitle:.nl&amp;start=20&amp;sa=N&#8221;</span></p>
<p>The attacker uses google to find vulnerable site, runs Windows XP uses IE7 and every version of .net known to mankind. That is if the string wasn&#8217;t spoofed&#8230; <img src='http://www.djerk.nl/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>LESSON #1 : Protect admin pages from being spidered, use robots.txt and .htaccess</p>
<p>[Probing starts]</p>
<p><span style="color: #808080;">/var/log/httpd/ispconfig_access_log_2009_10_20:www.hackedsite.nl||||2767||||78.175.34.28 &#8211; - [20/Oct/2009:20:03:50 +0100] &#8220;GET //index.php?option=com_user&amp;view=reset&amp;layout=confirm HTTP/1.1&#8243; 200 2767 &#8220;-&#8221;<br />
/var/log/httpd/ispconfig_access_log_2009_10_20:www.hackedsite.nl||||-||||78.175.34.28 &#8211; - [20/Oct/2009:20:04:30 +0100] &#8220;POST //index.php?option=com_user&amp;task=confirmreset HTTP/1.1&#8243; 301 &#8211; &#8220;http://www.hackedsite.nl//index.php?option=com_user&amp;view=reset&amp;layout=confirm&#8221;</span></p>
<p># Another 301</p>
<p><span style="color: #808080;">/var/log/httpd/ispconfig_access_log_2009_10_20:www.hackedsite.nl||||2731||||78.175.34.28 &#8211; - [20/Oct/2009:20:04:30 +0100] &#8220;GET /index.php?option=com_user&amp;view=reset&amp;layout=complete HTTP/1.1&#8243; 200 2731 &#8220;http://www.hackedsite.nl//index.php?option=com_user&amp;view=reset&amp;layout=confirm&#8221;<br />
/var/log/httpd/ispconfig_access_log_2009_10_20:www.hackedsite.nl||||696||||78.175.34.28 &#8211; - [20/Oct/2009:20:04:30 +0100] &#8220;GET /templates/avant1/js/ffont-config.js.php?pfad=%2Ftemplates%2Favant1&amp;color1=%236699CC&amp;color2=%2399CCFF&amp;font=font6 HTTP/1.1&#8243; 200 696 &#8220;http://www.hackedsite.nl/index.php?option=com_user&amp;view=reset&amp;layout=complete&#8221;<br />
/var/log/httpd/ispconfig_access_log_2009_10_20:www.hackedsite.nl||||-||||78.175.34.28 &#8211; - [20/Oct/2009:20:04:58 +0100] &#8220;POST /index.php?option=com_user&amp;task=completereset HTTP/1.1&#8243; 301 &#8211; &#8220;http://www.hackedsite.nl/index.php?option=com_user&amp;view=reset&amp;layout=complete&#8221;</span></p>
<p># There are a few more attempts</p>
<p><span style="color: #808080;">[20/Oct/2009:20:04:30]    POST //index.php?option=com_user&amp;task=confirmreset HTTP/1.1    301    -    http://www.hackedsite.nl//index.php?option=com_user&amp;view=reset&amp;layout=confirm<br />
[20/Oct/2009:20:04:58]    POST /index.php?option=com_user&amp;task=completereset HTTP/1.1    301    -    http://www.hackedsite.nl/index.php?option=com_user&amp;view=reset&amp;layout=complete<br />
[20/Oct/2009:20:06:36]    POST /administrator/index.php HTTP/1.1    301    -    http://www.hackedsite.nl/administrator/<br />
[20/Oct/2009:20:07:23]    POST /administrator/index.php HTTP/1.1    301    -    http://www.hackedsite.nl/administrator/index.php?option=com_users&amp;view=user&amp;task=edit&amp;cid[]=62<br />
[20/Oct/2009:20:07:33]    POST /administrator/index.php HTTP/1.1    200    3766    http://www.hackedsite.nl/administrator/index.php?option=com_templates&amp;task=edit&amp;cid[]=beez&amp;client=0<br />
[20/Oct/2009:20:07:45]    POST /administrator/index.php HTTP/1.1    301    -    http://www.hackedsite.nl/administrator/index.php<br />
[20/Oct/2009:20:08:26]    POST /templates/beez/index.php HTTP/1.1    200    64506    http://www.hackedsite.nl/templates/beez/index.php</span></p>
<p>&#8220;beez&#8221; seems to be the vulnerability. Failing at administrator/index.php, the attacker directs it&#8217;s attention directly at beez/index.php and succeeds in changing this file resulting in an r57shell being available to the hacker via beez/index.php. It&#8217;s an ingenious file as it contains a gz compressed/encrypted data which executes each time it is accessed. One weakness being all activity shows up in the log files, hence I&#8217;m able to track exactly what was parsed to the script and what data was pulled off the system.</p>
<p><span style="color: #808080;">/var/log/httpd/ispconfig_access_log_2009_10_20:www.hackedsite.nl||||10721||||78.175.34.28 &#8211; - [20/Oct/2009:20:07:30 +0100] &#8220;GET //templates/beez/template_thumbnail.png HTTP/1.1&#8243; 200 10721 &#8220;http://www.hackedsite.nl/administrator/index.php?option=com_templates&#8221;<br />
/var/log/httpd/ispconfig_access_log_2009_10_20:www.hackedsite.nl||||3097||||78.175.34.28 &#8211; - [20/Oct/2009:20:07:31 +0100] &#8220;GET /administrator/index.php?option=com_templates&amp;task=edit&amp;cid[]=beez&amp;client=0 HTTP/1.1&#8243; 200 3097 &#8220;http://www.hackedsite.nl/administrator/index.php?option=com_templates&#8221;<br />
/var/log/httpd/ispconfig_access_log_2009_10_20:www.hackedsite.nl||||1330||||78.175.34.28 &#8211; - [20/Oct/2009:20:07:31 +0100] &#8220;GET /administrator/templates/khepri/images/toolbar/icon-32-preview.png HTTP/1.1&#8243; 200 1330 &#8220;http://www.hackedsite.nl/administrator/index.php?option=com_templates&amp;task=edit&amp;cid[]=beez&amp;client=0&#8243;<br />
&#8230;<br />
/var/log/httpd/ispconfig_access_log_2009_10_20:www.hackedsite.nl||||3766||||78.175.34.28 &#8211; - [20/Oct/2009:20:07:33 +0100] &#8220;POST /administrator/index.php HTTP/1.1&#8243; 200 3766 &#8220;http://www.hackedsite.nl/administrator/index.php?option=com_templates&amp;task=edit&amp;cid[]=beez&amp;client=0&#8243;<br />
/var/log/httpd/ispconfig_access_log_2009_10_20:www.hackedsite.nl||||-||||78.175.34.28 &#8211; - [20/Oct/2009:20:07:45 +0100] &#8220;POST /administrator/index.php HTTP/1.1&#8243; 301 &#8211; &#8220;http://www.hackedsite.nl/administrator/index.php&#8221;<br />
/var/log/httpd/ispconfig_access_log_2009_10_20:www.hackedsite.nl||||3202||||78.175.34.28 &#8211; - [20/Oct/2009:20:07:47 +0100] &#8220;GET /administrator/index.php?option=com_templates&amp;client=0&amp;task=edit&amp;cid[]=beez HTTP/1.1&#8243; 200 3202 &#8220;http://www.hackedsite.nl/administrator/index.php&#8221;</span></p>
<p># A quick google for &#8220;joomla beez template hack&#8221; turned up the following fro july/09: <a title="External link to beez vulnerability warning" href="http://news.maiahost.com/warning-beez-joomla-template-found-to-have-hack-inside" target="_blank">http://news.maiahost.com/warning-beez-joomla-template-found-to-have-hack-inside</a></p>
<p>In short :<br />
template/beez/index.php contained a compressed version of r57shell 1.40<br />
r57shell was used to create a new file template/beez/10.php which contained a compressed version of a shell written by 1923turk-grup member Enes_60 and called &#8220;c100&#8243;.</p>
<p>The second shell offers to the hacker single button access to &#8220;multi-site defame&#8221; scripts and other tools, each of these trying to exploit vulnerabilities in the servers code or sysadmin misconfiguration of said server.</p>
<p>The whole hack did not take long and must have been fairly easy to do given the fact that the joomla site hadn&#8217;t been looked after for a prolonged time. The purpose seems to primarily have been to post Turkish nationalistic propaganda. I couldn&#8217;t find any proof of any serious root kit attempts or attempts to find sensitive data.</p>
<p><strong>Lessons learned</strong></p>
<ol>
<li>Ensure that customers who run php script regularly check for vulnerabilities. Packages like joomla, drupal and wordpress make this very easy these days</li>
<li>Always use .htaccess files. For example forward requests to index.html to index.php even if there is no index.html, a hacker might somehow manage to upload one</li>
<li>Ensure that permissions are appropriately set</li>
<li>Raise the priority of upgrading my server to a chroot enabled setup, this will ensure that next time a site gets hacked only that site will suffer</li>
<li>Even themes can be vulnerable to attack, remove all unused plugins and themes from dynamic sites</li>
<li>Put dummy index.html &amp; index.php files in place with 444 permissions making it harder to upload a new file</li>
</ol>
<p>None of this will give 100% security but every extra hurdle helps.</p>
<p>The thing that makes me laugh most is that this was not a distributed attack, no apparent attempt was made to hide the hackers identity. The used IP address is owned by TurkTelekom and belongs to a dynamic pool for TTnet ADSL users in Istanbul. I&#8217;m not sure if this is the actual idiot himself or if some poor Turkish soul got abused for this. I wrote an email to TurkTelekom but am not holding my breath. Will update this post if I ever hear back from them, like I said don&#8217;t stick around waiting&#8230;</p>
<p>Strangely no attempt has been made to connect to either shell from any other IP address. Does it need mentioning that my server now dislikes the IP address used in the attack? All altered files have been removed. The scripts have been moved to a safe location for further inspection and possibly personal use. <img src='http://www.djerk.nl/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Further safety measures have been taken and all possible fixes &amp; patches done and dusted.</p>
<p><strong>about 1923turk-grup</strong></p>
<p>I really do not see the point these guys are trying to make. Do they honestly believe they are going to reach their target group in this way? I read the page they posted and it&#8217;s a nationalistic rant about how Turkey should be defended from goodness knows who. They&#8217;d have more success writing a nice website somewhere where it won&#8217;t be taken down by disgruntled sysadmins. Then they can work on getting to the top in Google searches for something like &#8220;Turkish national front&#8221;. Do these guys honestly believe they&#8217;re achieving anything by comparing sizes of private parts -erm, defame list size- with other hacker groups?</p>
<p><strong>Related links:</strong></p>
<p><a title="External link to hacker wars, Turkish vs Swedish" href="http://ddanchev.blogspot.com/2007/11/overperforming-turkish-hacktivists.html" target="_blank">http://ddanchev.blogspot.com/2007/11/overperforming-turkish-hacktivists.html</a> (mentions Turks vs Swedes online war)</p>
<p><a title="External link to IP lookup of attackers source address" href="http://ip-address-lookup-v4.com/lookup.php?ip=78.175.34.28" target="_blank">http://ip-address-lookup-v4.com/lookup.php?ip=78.175.34.28</a> (Source address of the attacker, as seen by my server)</p>
<pre>inetnum:        78.175.0.0 - 78.175.239.255
netname:        TurkTelekom
descr:          TT ADSL-TTnet Alc dynamic_aci</pre>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 2667px; width: 1px; height: 1px;">
<table border="0">
<tbody>
<tr>
<td><strong>Country</strong></td>
<td>Turkey <img title="Turkey" src="http://ip-address-lookup-v4.com/img/world_flags/tr.png" alt="Turkey" /></td>
</tr>
<tr>
<td><strong>Country Code</strong></td>
<td>TR</td>
</tr>
<tr>
<td><strong>Region</strong></td>
<td>Istanbul</td>
</tr>
</tbody>
</table>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2009/hacked-but-not-for-long/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Inter-AS MPLS and MTU</title>
		<link>http://www.djerk.nl/wordpress/2009/inter-as-mpls-and-mtu</link>
		<comments>http://www.djerk.nl/wordpress/2009/inter-as-mpls-and-mtu#comments</comments>
		<pubDate>Tue, 02 Jun 2009 14:18:33 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[3600]]></category>
		<category><![CDATA[7600]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[MP-eBGP]]></category>
		<category><![CDATA[mpls]]></category>
		<category><![CDATA[mtu]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/?p=220</guid>
		<description><![CDATA[Type-2 interconnects are fun, but mtu issues are not. When faced with migrating subnets  from one MPLS cloud to another -different AS numbers you see- the three common inter-AS types were taken off the shelf and dusted off&#8230; A quick refresh for all: PE physical link(s), ties one VRF to another using one subnet for [...]]]></description>
			<content:encoded><![CDATA[<p>Type-2 interconnects are fun, but mtu issues are not. When faced with migrating subnets  from one MPLS cloud to another -different AS numbers you see- the three common inter-AS types were taken off the shelf and dusted off&#8230;<span id="more-220"></span></p>
<p>A quick refresh for all:</p>
<ol>
<li>PE physical link(s), ties one VRF to another using one subnet for each VRF. Commonly deployed using vlans across a DOT1q trunk (anyone still using ISL? ok, ok a tagged trunk but don&#8217;t tell me I&#8217;m not allowed to say &#8220;trunk&#8221;). Possible to use routing protocols between each individual VRF, most commonly staticly routed as it&#8217;s the safest model, the other side isn&#8217;t trusted&#8230;</li>
<li>PE MP-eBGP, ties the two MPLS clouds together exchanging VPN labels. BGP can be used to exchange the vpn labels, no need for tag-switching of IP traffic. Requires the inter- link to be known in both IGPs as the next-hop changes, <strong>only</strong> the vpn label is preserved end-to-end.</li>
<li>P tag-switching, joins the two domains together at the lowest level. The inter-link can be between P devices all labels are preserved end-to-end. Even the IGPs must have &#8216;full&#8217; connectivity, of course I mean PE-to-PE&#8230;</li>
</ol>
<p>Type-2 seemed to make most sense due to the amount of vrfs involved, no need to go for type-3 and type-1 would add way too much complexity to be able to support a multi month long migration.</p>
<p>Now for the MTU issue. The old MPLS cloud uses 3600&#8242;s as PE&#8217;s in the relevant sites and the new network uses 7600&#8242;s. Admittedly a bit slow on the ball -mind you I was not the original designer- we implemented an mtu of 1536 on the sup720 GE based infrastructure links on the new network. However the vpn label on the 4 FE inter-AS/MP-eBGP links was forgotten untill a service using TCP keepalives was partially migrated. Sessions flapped due to the keepalives being 1500 bytes in size and having their df-bit set. I wonder why they used TCP but as of yet I&#8217;m left guessing.</p>
<p>The moment we noticed the error of our ways we found that IOS threw us a few curve balls:</p>
<ol>
<li>A 3600 running 12.3 doesn&#8217;t accept anything over 1500 as mtu on a FastEthernet interface</li>
<li>A 7600 with 6748-GE (LAN interfaces) doesn&#8217;t allow a larger than 1500 mtu size either (routed interface)</li>
</ol>
<p>The short answers are the following:</p>
<ol>
<li>On the 3600: tag switching mtu 1508</li>
<li>On the 7600: mpls mtu 1508</li>
</ol>
<p>fyi, 1504 would have done fine as an mpls label is just 4 bytes we just threw in another 4 bytes for luck <img src='http://www.djerk.nl/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Some links to back things up:</p>
<ul>
<li><a title="External link to cisco.com" href="http://www.cisco.com/en/US/docs/routers/7600/ios/12.2SR/configuration/guide/intrface.html#wp1059164" target="_blank">Cisco MTU config for 7600 12.2SR &amp; layer3 ports</a></li>
<li><a title="External link to blog.ioshints.info" href="http://blog.ioshints.info/2007/10/tale-of-three-mtus.html" target="_blank">Cisco IOS hints and tricks: The tale of three MTUs</a></li>
<li>You&#8217;ll have to take my word for this quote from Cisco: &#8220;I can confirm that using tag-switching mtu at 1508 on the 3600 should resolve the issue from that side&#8221; (despite not being able to set the interface mtu higher than 1500)</li>
</ul>
<p>Command to verity mpls mtu:</p>
<pre>sh mpls [intf] det</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2009/inter-as-mpls-and-mtu/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ada Lovelace Day, to the one I love</title>
		<link>http://www.djerk.nl/wordpress/2009/ada-lovelace-day-to-the-one-i-love</link>
		<comments>http://www.djerk.nl/wordpress/2009/ada-lovelace-day-to-the-one-i-love#comments</comments>
		<pubDate>Tue, 24 Mar 2009 15:58:58 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Main blog]]></category>
		<category><![CDATA[linkedin]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/?p=213</guid>
		<description><![CDATA[Today is Ada Lovelace Day, an international celebration of women in technology that centres around the use of blogs. Launched by Suw Charman-Anderson, a freelance software consultant, Ada Lovelace Day is a day of blogging designed to draw attention to women who are &#8220;excelling in technology&#8221;. Seeing this initiative made me think of my wife [...]]]></description>
			<content:encoded><![CDATA[<div class="content">
<blockquote><p>Today is Ada Lovelace Day, an international celebration of women in technology that centres around the use of blogs.</p>
<p>Launched by Suw Charman-Anderson, a freelance software consultant, <a title="Ada Lovelace Day" href="http://findingada.com/" target="_blank">Ada Lovelace Day</a> is a day of blogging designed to draw attention to women who are &#8220;excelling in technology&#8221;.</p></blockquote>
</div>
<p>Seeing this initiative made me think of my wife who has spent the last year carving out her own piece of the IT industry. Some may call me biased, true. Call it what you like, I&#8217;m taking this opportunity to put my wife in the limelight and honour her for her efforts and achievements after we relocated to the UK.<span id="more-213"></span><strong>The entrepreneur</strong></p>
<p>After being a hard working employee for a number of years, my wife made the choice to be self employed to strike a better balance between work and being a mother of two. Also the state of UK childcare wasn&#8217;t what we were used to in NL. After a few different ventures she discovered that writing websites was what gave a healthy mix between personal contacts and exercising creativity. My wife&#8217;s strength lies in her knack for figuring out what someone needs through effective communication and then delivering as required.</p>
<p><strong>The driving force<br />
</strong></p>
<p>Knowing how motivated and driven my wife can be did not stop me from being surprised at how fast she mastered new technology and made things her own. Let me list some of her achievements.</p>
<p style="padding-left: 30px;">Mastered CSS within a matter of weeks, I know she&#8217;ll be modest and say she knows the beginnings but she knows a lot more than she lets people believe.</p>
<p style="padding-left: 30px;">Managed to pull a company through a restart and did not hesitate to re-engineer the internal processes in such a way that they are now ready for growth as well as have the ability to run at a much lower cost and with much less overhead (time and money).</p>
<p style="padding-left: 30px;">The above involved a lot more than just a little bit of IT. She worked with the systems supplier to iron out kinks and smooth the processes. She introduced net-books with mobile internet for instant access to the on-line database of the systems supplier. She managed advertising and the phone system, and I could go on.</p>
<p style="padding-left: 30px;">Co-rewrote the website for her father&#8217;s primary school, now a very pretty and smooth website.</p>
<p style="padding-left: 30px;">Became a member of the Parents and Teachers Association.</p>
<p style="padding-left: 30px;">Became a school governor.</p>
<p style="padding-left: 30px;">Authored a few other websites and has a number of requests in the pipeline.</p>
<p><strong>Technology</strong></p>
<p>As the initial root of this is to blog about women in IT, I can state that my wife has gone from an excellent computer user to a self made IT Consultant and Web Designer. She&#8217;s still finding her way, as we all are. But she&#8217;s doing so at great speed and completely under her own strength. I want to commend her for her devotion and desire to help people make the most of available resources and her courage to venture into a world that is both riddled with people out for a cheap buck and others who have been around for so long we often look down upon those just wandering in.</p>
<p>Honestly commands me to say I&#8217;m probably one of the latter which doesn&#8217;t always make it easy for others, especially my wife. For my wife and all others who have a sincere desire to use IT for the better and to help people get the most out of work and life I say, &#8220;Thank you. You are desperately needed.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2009/ada-lovelace-day-to-the-one-i-love/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Python rocks</title>
		<link>http://www.djerk.nl/wordpress/2009/python-rocks</link>
		<comments>http://www.djerk.nl/wordpress/2009/python-rocks#comments</comments>
		<pubDate>Mon, 02 Mar 2009 11:21:20 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Work]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[nortel]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/2009/python-rocks</guid>
		<description><![CDATA[Doing a network upgrade of 28 sites, 60 services and roughly 160 old devices to just 60 devices. Python has become my friend for reading configs, creating csv files and verification. Will be posting my scripts later. I&#8217;m sure there are clever people out there who can tell me where I went wrong or what [...]]]></description>
			<content:encoded><![CDATA[<p>Doing a network upgrade of 28 sites, 60 services and roughly 160 old devices to just 60 devices. Python has become my friend for reading configs, creating csv files and verification. Will be posting my scripts later. I&#8217;m sure there are clever people out there who can tell me where I went wrong or what I could be doing better. However time fails me to post them right now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2009/python-rocks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mod_rewrite = voodoo()</title>
		<link>http://www.djerk.nl/wordpress/2009/mod_rewrite-voodoo</link>
		<comments>http://www.djerk.nl/wordpress/2009/mod_rewrite-voodoo#comments</comments>
		<pubDate>Fri, 20 Feb 2009 19:10:55 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Main blog]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[mod_rewrite]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/?p=199</guid>
		<description><![CDATA[Been hacking away as I found out I couldn&#8217;t edit a page nor did the page show up. My about page linked to the gallery instead. Spilt some blood and danced around on the keyboard loads. the result: Note to self: DO NOT alter permalinks for pages! my about page was linked as who-am-i and [...]]]></description>
			<content:encoded><![CDATA[<p>Been hacking away as I found out I couldn&#8217;t edit a page nor did the page show up. My about page linked to the gallery instead. Spilt some blood and danced around on the keyboard loads. the result:</p>
<p>Note to self: DO NOT alter permalinks for pages! my about page was linked as who-am-i and this caused major issues. I also turned off the automatic XHTML corrections in the write-options page, not sure what it does so I&#8217;d rather get an error when writing a page than have my site go down. Priorities they say&#8230;</p>
<p>next to that my gallery now runs mod_rewrite in safe mode which works fine and I&#8217;ve re-linked an image on my about page. I recon the link was old style from WP 2.3 and older versions of WPG2 and Gallery2.</p>
<p>Please let me know if you find any issues, particularly with missing images. I hope all is well now and my server won&#8217;t die another terrible dead due to rewite/permalink hell.</p>
<p>Finally I have found the real culprit: /.htaccess was messing with things. What made it hard to find was that this file has been in place for a few years now. Upgrading WordPress to v2.7 as well as WPG2/Gallery2 tipped the balance.</p>
<p>What worked?<br />
<code>RewriteRule ^$ /wordpress/ [R=301,L]</code></p>
<p>Instead of:<br />
<code>RewriteCond %{REQUEST_URI} !^/.+<br />
RewriteRule ^(.*)$ /wordpress/ [R=301,L]</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2009/mod_rewrite-voodoo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS on IOS</title>
		<link>http://www.djerk.nl/wordpress/2008/dns-on-ios</link>
		<comments>http://www.djerk.nl/wordpress/2008/dns-on-ios#comments</comments>
		<pubDate>Sat, 12 Apr 2008 10:19:50 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[linkedin]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/wordpress/2008/dns-on-ios</guid>
		<description><![CDATA[I&#8217;ll leave the debate to others about running services on routers. As usual ymmv and all that, though besides the obvious objections I think it&#8217;s quite cool of my little c877 to proxy DNS and serve what it has locally. Imho, my home DNS config is not heavy enough to warrant rigging up DNS on [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll leave the debate to others about running services on routers. As usual ymmv and all that, though besides the obvious objections I think it&#8217;s quite cool of my little c877 to proxy DNS and serve what it has locally. Imho, my home DNS config is not heavy enough to warrant rigging up DNS on my Samba server.</p>
<p>My first google tonight led me to an <a href="http://blog.ioshints.info/2006/09/use-your-cisco-router-as-primary-dns.html" title="External link to DNS server article on ioshints.info" target="_blank">article on the excellent ios hints and tricks site (ioshints.info)</a>. Though this is for a full public DNS server it was a little overkill for me, please read this <a href="http://blog.ioshints.info/2007/05/write-protecting-primary-dns-server-on.html" title="External link, how to protect your DNS server (ioshints.info)" target="_blank">article</a> as well if you do plan to go that route.</p>
<p>My goal was to have my DSL router serve local IP&#8217;s for a few public and local domain names. For example this allows me to use sip.djerk.nl as my proxy address in my soft-phone both at home and away.</p>
<p>The following code is what I ended up with.<span id="more-146"></span></p>
<p><code># These hostnames will be served locally<br />
# As such they overrule their public dns<br />
# clients do need to use this router as a dns server<br />
ip host view VoIP sip.djerk.nl 192.168.100.130<br />
ip host sip.djerk.nl 192.168.100.130<br />
ip host c877 192.168.100.1</code></p>
<p>interface Vlan10<br />
description *** VoIP LAN ***<br />
ip dns view-group VoIP</p>
<p># For my Voice vlan<br />
ip dns view VoIP<br />
domain name djerk.nl<br />
# search list for this view<br />
domain list djerk.nl<br />
domain name-server  x.x.x.x<br />
domain name-server  y.y.y.y<br />
domain round-robin</p>
<p># Default dns handling<br />
ip dns view default<br />
domain name geurtscass.com<br />
domain list geurtscass.com</p>
<p>ip dns view-list VoIP<br />
view VoIP 1<br />
view default 100</p>
<p># Enable local dns server (proxy dns if no domains are configured here)<br />
# I do not allow inbound dns requests (intf ACL) so no need to worry about abuse<br />
ip dns server</p>
<p>Most interesting is the usage of views and a view-list. According to CCO the view-list is needed to bind a view to an interface, views can&#8217;t be assigned directly. Also noteworthy is that I&#8217;ve not found a way to reduce the sip.djerk.nl host mapping to a single line, as adding the default view to the VoIP view-list was not enough. Maybe I should add the VoIP view to the default view-list.</p>
<p>Well just tried that and it didn&#8217;t work either. Anyone out there who knows how to do the same in IOS but with less lines?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2008/dns-on-ios/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

