<?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</title>
	<atom:link href="http://www.djerk.nl/wordpress/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, 12 Nov 2012 12:44:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Cisco Voice-VLAN (VVLAN) inconsistencies</title>
		<link>http://www.djerk.nl/wordpress/2012/cisco-voice-vlan-vvlan-inconsistencies</link>
		<comments>http://www.djerk.nl/wordpress/2012/cisco-voice-vlan-vvlan-inconsistencies#comments</comments>
		<pubDate>Mon, 12 Nov 2012 12:41:51 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[VoIP]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/?p=567</guid>
		<description><![CDATA[First off I&#8217;d like to say that this is just a minor issue, more relating for routers versus switch, I&#8217;m still a lot happier at how Cisco implements config and features as opposed to most if not all of their competitors&#8230; At a customer I&#8217;ve recently had to commit a grave operational sin; to connect [...]]]></description>
				<content:encoded><![CDATA[<p>First off I&#8217;d like to say that this is just a minor issue, more relating for routers versus switch, I&#8217;m still a lot happier at how Cisco implements config and features as opposed to most if not all of their competitors&#8230;</p>
<p>At a customer I&#8217;ve recently had to commit a grave operational sin; to connect a small switch at the end of a floor patch. These things are normally operational nightmares as they have a tendency to quickly bring an entire LAN environment down to its knees when such a &#8216;switch&#8217; is connected to the network twice. Always by accident but having management kick you for something someone else did is not anyone&#8217;s idea of fun. I won&#8217;t go into the underlying principles here as I&#8217;m assuming most who frequent my blog will know about broadcast storms, their causes and the tools and solutions available to mitigate the risks.</p>
<p>Our justification to operations was that we wanted a few more local LAN ports to test VoIP devices on than we had available through floor patches. As such I reasoned with Operations that this was a calculated choice to segregate our testing from the rest of the LAN but still make it as realistic as possible. Using the means available meant that I had to make do with a Cisco 1801. Single routed and 8 switched interfaces. Think of it as a router with one Ethernet interface and an 8 port HWIC-ESW nailed to it. Didn&#8217;t need the ATM or WiFi it has.</p>
<p>So I set out, disabling IP routing, admin down all non-Ethernet ports. set up the vlan database -old style, remember?-; I did not want this baby to participate in VTP, in fact I don&#8217;t think it even can! It&#8217;s limited to 8 vlans. Pulled two cables to it. One switched port as trunked with some data and voice vlans and configured the routed interface for management access.</p>
<p>All sweet and dandy, tested the BPDU-guard functionality prior to installation by connecting an access-port to the LAN. Clunk! it went down as desired, result I thought&#8230; Then when installing the LAN wouldn&#8217;t bring up the LAN port. Doh! I&#8217;d missed that the 1801 doesn&#8217;t send BPDU&#8217;s until a VLAN becomes active. I&#8217;d checked if spanning-tree was operational, and it wasn&#8217;t until I brought an interface up. So I disabled STP for all vlans in the VLAN database. Now my laptop received an IP address and the data VLANs all worked.</p>
<p>So, time to connect a Mitel phone. No dice, it received it&#8217;s first DHCP response with VLAn information, then it would just sit ennuncing it was waiting for a DHCP response. Dang, I&#8217;d configured the voice vlan so why did the switch not detect the phone, enable trunking so that the phone could send it&#8217;s DHCP request on the voice VLAN?</p>
<p>It was only when I started reading up on HWIC-ESW voice-VLAN config I noticed that Cisco hasn&#8217;t implemented the auto enable of dot1q trunking when a phone is detected&#8230; The solution is to add two lines of code; &#8220;switchport truck native vlan xyz&#8221; and &#8220;switchport mode trunk&#8221;. The crux is that this platform is at heart a router, not a native switch&#8230;</p>
<p><a title="Cisco EtherSwitch 4- and 9-Port High-Speed WAN Interface Cards" href="http://www.cisco.com/en/US/prod/collateral/routers/ps5853/product_data_sheet0900aecd8016bf0b.html" target="_blank">Cisco documentation</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2012/cisco-voice-vlan-vvlan-inconsistencies/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twittertools is dead</title>
		<link>http://www.djerk.nl/wordpress/2012/twittertools-is-dead</link>
		<comments>http://www.djerk.nl/wordpress/2012/twittertools-is-dead#comments</comments>
		<pubDate>Thu, 14 Jun 2012 15:12:11 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[CCIE R&S]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/?p=553</guid>
		<description><![CDATA[Long live Social http://alexking.org/blog/2012/05/22/social-2-5 Testing automatic posting to Twitter and Facebook from my blog, sorry if you consider this spam.]]></description>
				<content:encoded><![CDATA[<p>Long live Social <a href="http://alexking.org/blog/2012/05/22/social-2-5">http://alexking.org/blog/2012/05/22/social-2-5</a></p>
<p>Testing automatic posting to Twitter and Facebook from my blog, sorry if you consider this spam.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2012/twittertools-is-dead/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To CCIE or not to CCIE?</title>
		<link>http://www.djerk.nl/wordpress/2012/to-ccie-or-not-to-ccie</link>
		<comments>http://www.djerk.nl/wordpress/2012/to-ccie-or-not-to-ccie#comments</comments>
		<pubDate>Thu, 14 Jun 2012 14:31:21 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[CCIE R&S]]></category>
		<category><![CDATA[Main blog]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[CCIE]]></category>
		<category><![CDATA[cisco]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/?p=547</guid>
		<description><![CDATA[This one has been coming for a while&#8230; Last time I went for my CCIE was Q3 2007 and it&#8217;s been pretty quiet here since. In the mean time I&#8217;ve moved country, changed jobs and moved again, though not as far. So how is my CCIE doing? Well to be honest, it&#8217;s not. You see, [...]]]></description>
				<content:encoded><![CDATA[<p>This one has been coming for a while&#8230; Last time I went for my CCIE was Q3 2007 and it&#8217;s been pretty quiet here since. In the mean time I&#8217;ve moved country, changed jobs and moved again, though not as far. So how is my CCIE doing? Well to be honest, it&#8217;s not.</p>
<p>You see, I came from a sponsored certification track -which incidentally I forged with my employer at the time- and thus had to sort out a transfer sum from my new employer. No problem for the Dutch employment market, at least at the time. But here in the UK I had no such luck, suffice to say that financially it was not a good idea to move country. My new employer expressed that they would be happy to support attaining CCIE status. Little did I know that we had completely different concepts of &#8216;support&#8217;.</p>
<p>Loving a new challenge I quickly settled into my new position, only to find two years had gone before the question of attaining CCIE popped up again. No wonder really when you have a 100% billable target and there&#8217;s plenty of over time involved in the projects at hand. Then when things settled down and I moved to another customer I only found myself further and further away from technology. Yes I still design and have a consulting role but I&#8217;m in no way challenged and kept on my toes protocol wise. It took a few technical interviews to fully realise the impact of this.</p>
<p>Which brought me to this point: Either, I work and retrain myself towards CCIE in my own time, hope my employer will pay for the lab and favour me with a week off for full-time study. Or do I let go of the desire to attain CCIE and trust that there will be employers out there who are smart enough not to be blind sided by a the highly praised numbers of my peers.</p>
<p>In conclusion I refuse to ask my family for a long and hefty sacrifice once again, been there done that. I&#8217;m now one kid and two cancers (<a title="Hayley's cancer blog" href="http://www.promisestoday.com/" target="_blank">promisestoday.com</a>/<a title="twitter/@maizymoo" href="http://twitter.com/maizymoo/status/176935330652504064" target="_blank">@maizymoo tweet</a>) further and value my own time more than my career, if this means UK employers don&#8217;t like me any more than so be it. I know what I&#8217;m capable of, just wish I was better at convincing prospective employers&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2012/to-ccie-or-not-to-ccie/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Alcatel 7210 port mirroring</title>
		<link>http://www.djerk.nl/wordpress/2012/alcatel-7210-port-mirroring</link>
		<comments>http://www.djerk.nl/wordpress/2012/alcatel-7210-port-mirroring#comments</comments>
		<pubDate>Thu, 14 Jun 2012 11:52:21 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[7210]]></category>
		<category><![CDATA[Alcatel]]></category>
		<category><![CDATA[port mirroring]]></category>
		<category><![CDATA[port span]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/?p=507</guid>
		<description><![CDATA[Recently I&#8217;ve been doing more on Alcatel as I&#8217;m working in O2&#8242;s test-bed down in Slough, slaving away at testing aspects of their new LLU broadband core and new BT 21CN wholesale connectivity. Although I&#8217;ve not been able to write a lot in recent years due working for an integrator rather than an ISP; I&#8217;m [...]]]></description>
				<content:encoded><![CDATA[<p>Recently I&#8217;ve been doing more on Alcatel as I&#8217;m working in O2&#8242;s test-bed down in Slough, slaving away at testing aspects of their new LLU broadband core and new BT 21CN wholesale connectivity. Although I&#8217;ve not been able to write a lot in recent years due working for an integrator rather than an ISP; I&#8217;m mostly not allowed or it&#8217;s unwise for me to divulge what I&#8217;m working on&#8230;</p>
<p>However, it&#8217;s common knowledge that many providers use Alcatel and they seem to do pretty well in the &#8216;booming&#8217; broadband market. Hence I thought I&#8217;d share a little snippet of an annoyance I recently encountered.</p>
<p>When using an Alcatel 7210 to sniff traffic and interconnect different media; 1Gbps copper and 10Gbps fibre. I found that sniffing is counter intuitive to people only trained on Cisco. A few pointers:</p>
<ol>
<li>Port mirror destinations are defined in configuration</li>
<li>Port mirror sources are set through debug commands</li>
<li>When mirroring VPLS ports (I needed an e-pipe/Layer-2 tunnel) I found that egress sources did not work, only ingress did and only one ingress port can be set per mirror session. It did not matter if I use the port or the SAP as source.</li>
</ol>
<p>I was left to sniff in two places to capture both up- &amp; down-stream traffic. YMMV as a 7750 will be different, but I don&#8217;t have one available to me to test on&#8230;</p>
<p>Commands used:</p>
<blockquote>
<pre>#--------------------------------------------------
echo "Mirror Configuration"
#--------------------------------------------------
  mirror
    mirror-dest 4 create
      sap 1/1/4 create
      exit
      no shutdown
    exit
    mirror-dest 11 create
      sap 1/1/11 create
      exit
      no shutdown
    exit
  exit</pre>
</blockquote>
<p>And the debug command:</p>
<blockquote>
<pre>*A:&lt;hostname&gt;# debug mirror-source 4 port ?
- no port ...
- port &lt;port-id&gt; egress ingress
- port &lt;port-id&gt; egress
- port &lt;port-id&gt; ingress
- port lag ...

*A:&lt;hostname&gt;# debug mirror-source 4 sap ?
- no sap &lt;sap-id&gt; [ingress]
- sap &lt;sap-id&gt; {[ingress] }</pre>
</blockquote>
<p>As can be seen above capturing by SAP is only supported at ingress. Using port and SAP yielded the same result, only ingress packets were ever sent to the destination port. Despite show mirror stating both Egr &amp; Ing.</p>
<blockquote>
<pre>*A:&lt;hostname&gt;# show mirror mirror-dest 11</pre>
<pre>===============================================================================
Mirror Service
===============================================================================
Service Id       : 11                   Type          : Ether
Description      : (Not Specified)
Admin State      : Up                   Oper State    : Up
Forwarding Class : be                   Remote Sources: No
Slice            : 0
Destination SAP  : 1/1/11               Egr QoS Policy: 1</pre>
<pre>-------------------------------------------------------------------------------
Local Sources
-------------------------------------------------------------------------------
Admin State      : Up</pre>
<pre>-Port                                   1/1/26                          Egr Ing
===============================================================================</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2012/alcatel-7210-port-mirroring/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>0</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>0</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>(d)dos attack</title>
		<link>http://www.djerk.nl/wordpress/2009/ddos-attack</link>
		<comments>http://www.djerk.nl/wordpress/2009/ddos-attack#comments</comments>
		<pubDate>Thu, 15 Jan 2009 22:35:30 +0000</pubDate>
		<dc:creator>Djerk</dc:creator>
				<category><![CDATA[Main blog]]></category>

		<guid isPermaLink="false">http://www.djerk.nl/wordpress/?p=177</guid>
		<description><![CDATA[It appears my host was under attack this morning. Have mitigated as much as I could but there&#8217;s only so much one can do against dns ddos attacks&#8230; Sorry for todays downtime.]]></description>
				<content:encoded><![CDATA[<p>It appears my host was under attack this morning. Have mitigated as much as I could but there&#8217;s only so much one can do against dns ddos attacks&#8230; Sorry for todays downtime. <img src='http://www.djerk.nl/wordpress/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.djerk.nl/wordpress/2009/ddos-attack/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
