<?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>benking.me.uk &#187; Systems</title>
	<atom:link href="http://www.benking.me.uk/tag/systems/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benking.me.uk</link>
	<description>The world according to Ben...</description>
	<lastBuildDate>Thu, 12 Aug 2010 23:12:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Vyatta &#8211; Clustering</title>
		<link>http://www.benking.me.uk/2008/01/04/vyatta-clustering/</link>
		<comments>http://www.benking.me.uk/2008/01/04/vyatta-clustering/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 10:48:29 +0000</pubDate>
		<dc:creator>Ben King</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Vyatta]]></category>
		<category><![CDATA[clustering]]></category>
		<category><![CDATA[high availability]]></category>
		<category><![CDATA[nat]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[vrrp]]></category>

		<guid isPermaLink="false">http://blogs.bit10.net/ben/2008/01/04/vyatta-clustering/</guid>
		<description><![CDATA[The latest subscription release of Vyatta, 2.3, has seen the addition of clustering capability, which has added greatly to the high availability features of the product. Previously high availability was really limited to VRRP, which was great but had a couple of issues: You couldn&#8217;t use VRRP across VIF interfaces, which made high availability for [...]]]></description>
			<content:encoded><![CDATA[<p>The latest subscription release of <a target="_blank" href="http://www.vyatta.com" title="Vyatta">Vyatta</a>, 2.3, has seen the addition of clustering capability, which has added greatly to the high availability features of the product.</p>
<p>Previously high availability was really limited to VRRP, which was great but had a couple of issues:</p>
<ul>
<li>You couldn&#8217;t use VRRP across VIF interfaces, which made high availability for &#8216;router on a stick solutions&#8217; tricky.</li>
<li>We experienced a few issues with interface bouncing, especially on gigabit interfaces.</li>
</ul>
<p>VRRP is however a very nice solution, each virtual address is associated with a virtual MAC address that the currently actively router associates with the appropriate interface, the switchover is nearly instanteous.</p>
<p>The new clustering functionality in Vyatta is based upon the <a target="_blank" href="http://www.linux-ha.org/" title="Linux HA">Linux HA</a> project, which takes a slightly more simple but arguably more effective approach to the HA whereby when a failure is detected the virtual IP is reassigned to appropriate interface on the secondary router and a gratuitous arp sent out across the associated network segment to mitigate any arp cache issues.</p>
<p>The HA functionality also allows for failover of the ipsec vpn service, at the moment this works pretty simplistically by simply stopping or starting the service as needed, thus on the currently inactive server the VPN service and therefore tunnels simply aren&#8217;t up.</p>
<p>Lets take a look at a relatively simple multisite HA Vyatta solution and the associated configuration.</p>
<p><a href="http://www.benking.me.uk/wp-content/uploads/2008/01/vyatta-cluster-example.jpg" title="Vyatta Cluster Example"><img src="http://www.benking.me.uk/wp-content/uploads/2008/01/vyatta-cluster-example.thumbnail.jpg" alt="Vyatta Cluster Example" /></a></p>
<p>We have two sites, each with a pair of Vyattas configured as router, vpn, firewall, and nat. Behind them is a multi-segment internal network.</p>
<h6>Interfaces</h6>
<p>ldn-router1 interfaces:</p>
<pre><code>interfaces { loopback lo { 

 address 10.1.1.251 { 

 	prefix-length: 24 

 } 

} 

ethernet eth0 { 

 description: "Internet" 

 address 98.76.54.31 

 	prefix-length: 28 

 } 

} 

ethernet eth1 { 

 description: "Servers" 

 address 10.1.10.251 { 

 	prefix-length: 24 

 } 

} 

ethernet eth2 { 

 description: "Workstations" 

 address 10.1.101.251 { 

 	prefix-length: 24 

 } 

} 

</code></pre>
<p>ldn-router2 interfaces:</p>
<pre><code>interfaces { loopback lo { 

 address 10.1.1.252 { 

 	prefix-length: 24 

 } 

} 

ethernet eth0 { 

 description: "Internet" 

 address 98.76.54.32 { 

 	prefix-length: 28 

 } 

} 

ethernet eth1 { 

 description: "Servers" 

 address 10.1.10.252 { 

 	prefix-length: 24 

 } 

} 

ethernet eth2 { 

 description: "Workstations" 

 address 10.1.101.252 { 

 	prefix-length: 24 

 } 

} 

</code></pre>
<p>The important thing to notice here is that, the virtual &#8216;active&#8217; addresses aren&#8217;t configured on the network interfaces themselves, instead they come later in the cluster configuration.</p>
<p>The New York site configuration is the same, except of course the IP addresses are changed accordingly.</p>
<h6>Cluster</h6>
<pre><code>cluster { interface eth0 

 pre-shared-secret: "!secret!" 

 keepalive-interval: 2 

 dead-interval: 10 

 group "ldn-cluster1" { 

 	primary: "ldn-router1" 

 	secondary "ldn-router2" 

 	auto-failback: true 

 	monitor 12.34.56.73 

 	service "98.76.54.33" 

 	service ipsec 

 	service "10.1.10.1" 

 	service "10.1.101.1" 

 } 

} 

</code></pre>
<p>The cluster configuration on each router is identical (unless you want to do certain clever things such as run a different routing configuration in failover!). The interface definition is just for the interface that you want to monitor via. You can have multiple monitors however a failover will occur if <strong>any</strong> monitor returns a failure, in some ways this is a help and some ways its a hindrance, personally I prefer to just monitor an outside address and if its not available then go to failover where hopefully it will be (especially if we use different external blocks by router).</p>
<p>When a router becomes the active member of the cluster, it scans the route table for matches to the service IP and assigns the service IP to the appropriate interface, it then sends a gratuitous arp out of that interface to avoid any arp cache issues.</p>
<h6><strong>Routes</strong></h6>
<p>One downside of the Vyatta downing the ipsec tunnel when that router is not active, is that you can then only address that router on its dedicated addresses, for example if I wanted to do some remote maintenance ldn-router2 from the New York site while it wasn&#8217;t active, the only way I would be able to do so is either to log onto a machine on the London subnet and go via that, or use the public external IP (which I probably don&#8217;t want publically accessible anyway).</p>
<p>The solution is very simple, due to the way that VPN route matching works. When making a packet routing decision Vyatta checks the VPN tunnels for a local/remote match first, then checks against the routing table, therefore if we add a static route to each router for the whole internal network to go via its partner, we get a really neat solution:</p>
<pre><code>protocols { static { 

 	route 10.0.0.0/8 { 

 	next-hop: 10.1.10.252 

 	} 

 } 

} 

</code></pre>
<p>Thus if a router has the VPN tunnel up (i.e. its active), it never checks the routing table and traffic goes direct, if the router has no VPN tunnel (i.e. its passive), it simply forwards the traffic to the active router.</p>
<h6>VPN</h6>
<p>The VPN configuration in a cluster is basically the same as a standard configuration, except the local and remote public IPs are the cluster addresses.</p>
<pre><code>vpn { ipsec { 

 	ipsec-interfaces { 

 	interface eth0 

 } 

 ike-group "ike-ny" { 

 	proposal 1 { 

 		encryption: "aes256" 

 	} 

 	lifetime: 3600 

 } 

 esp-group "esp-ny" { 

 	proposal 1 { 

 		encryption: "aes256" 

 	} 

 	proposal 2 { 

 		encryption: "3des" 

 		hash: "md5" 

 	} 

 	lifetime: 1800 

 } 

 site-to-site { 

 	peer 12.34.56.73 { 

 		authentication { 

 		pre-shared-secret: "secret" 

 	} 

 	ike-group: "ike-ny" 

 	local-ip: 98.76.54.33 

 	tunnel 13 { 

 		local-subnet: 10.1.0.0/16 

 		remote-subnet: 10.3.0.0/16 

 		esp-group: "esp-ny" 

 	} 

 } 

} 

</code></pre>
<h6>NAT</h6>
<p>An easy pitfall on the NAT configuration is to forget that Vyatta processes source NAT <strong>before </strong>checking vpn or routing table matches. The fix is simply to exclude your internal network as a destination in the NAT configuration.</p>
<pre><code>nat { rule 101 { 

 	type: "source" 

 	outbound-interface: "eth0" 

 	source { 

 		network: "10.1.101.0/24" 

 		} 

 	destination { 

 		network: "!10.0.0.0/8" 

 	} 

 	outside-address { 

 		address: 98.76.54.31 

 	} 

 } 

} 

</code></pre>
<h6>VIFs</h6>
<p>As i mentioned earlier, Vyattas implementation of VRRP doesn&#8217;t allow you to use VRRP on virtual VLAN interfaces, which is frankly a little annoying (although it will be fixed in the next release hopefully).</p>
<p>However under clustering it works perfectly, as the service IP can match and be assigned to any interface, real or virtual.</p>
<h6>Conclusion</h6>
<p>The clustering in Vyatta has added just enough simple HA clustering functionality that &#8216;just works&#8217; to enable us to deploy far more complex and reliable solutions than was previously possible.</p>
<p>This is also just the tip of the iceberg, in future releases we can expect to see multiple cluster (allowing Active/Active configurations) and extra services added to the failover capability.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benking.me.uk/2008/01/04/vyatta-clustering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vyatta &#8211; Forwarding traffic to Squid</title>
		<link>http://www.benking.me.uk/2007/10/24/vyatta-forwarding-traffic-to-squid/</link>
		<comments>http://www.benking.me.uk/2007/10/24/vyatta-forwarding-traffic-to-squid/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 09:48:21 +0000</pubDate>
		<dc:creator>Ben King</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Vyatta]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[Web/Tech]]></category>

		<guid isPermaLink="false">http://blogs.bit10.net/ben/2007/10/24/vyatta-forwarding-traffic-to-squid/</guid>
		<description><![CDATA[If you are using Vyatta and want to transparently forward traffic at the router level to a separate Squid proxy you will find that the standard firewall configuration in Vyatta just isn&#8217;t up to the job (yet!). The workaround is to use the /etc/rc.local file to make IPTables do the job for you, heres how [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using <a target="_blank" href="http://www.vyatta.com" title="Vyatta">Vyatta</a> and want to transparently forward traffic at the router level to a separate <a target="_blank" href="http://blogs.bit10.net/ben/www.squid-cache.org" title="Squid Cache">Squid</a> proxy you will find that the standard firewall configuration in Vyatta just isn&#8217;t up to the job (yet!).</p>
<p>The workaround is to use the /etc/rc.local file to make IPTables do the job for you, heres how we did it:</p>
<p>#!/bin/sh -e<br />
#<br />
# rc.local<br />
#<br />
# Modified to forward to squid cache<br />
#<br />
# This script is executed at the end of each multiuser runlevel.<br />
# Make sure that the script will &#8220;exit 0&#8243; on success or any other<br />
# value on error.<br />
#<br />
# In order to enable or disable this script just change the execution<br />
# bits.<br />
#</p>
<p>IPTABLES=&#8221;/sbin/iptables&#8221;<br />
IP=&#8221;/sbin/ip&#8221;<br />
SQUID=&#8221;10.1.1.1&#8243;      # Internal address of our squid box</p>
<p># Webcache jump to cache<br />
echo Setting up jump to webcache</p>
<p># clear any existing entries<br />
$IPTABLES -t mangle -F<br />
$IPTABLES -t mangle -X</p>
<p># Don&#8217;t mark webcache traffic<br />
$IPTABLES -t mangle -A PREROUTING -j ACCEPT -p tcp &#8211;dport 80 -s $SQUID<br />
# Internal subnets to exclude<br />
$IPTABLES -t mangle -A PREROUTING -j ACCEPT -p tcp &#8211;dport 80 -d 10.0.0.0/8     #Don&#8217;t cache internal</p>
<p># External sites to exclude<br />
$IPTABLES -t mangle -A PREROUTING -j ACCEPT -p tcp &#8211;dport 80 -d 1.2.3.4 #IP address of site you want to exclude from going to the cache</p>
<p># Now mark our traffic, we have a number of subnets on virtual interfaces we want to grab, if you aren&#8217;t using vifs simply use eth1 or whatever you are using<br />
$IPTABLES -t mangle -A PREROUTING -j MARK &#8211;set-mark 3 -i eth3.102 -p tcp &#8211;dport 80<br />
$IPTABLES -t mangle -A PREROUTING -j MARK &#8211;set-mark 3 -i eth3.103 -p tcp &#8211;dport 80</p>
<p># Send the marked traffic to table 2 (you can actaully use whatever table you want, i used 2 because we are using eth2 for the subnet squid is on.<br />
$IP rule add fwmark 3 table 2</p>
<p># set the default route for table 2, change eth2 for the interface you are on<br />
$IP route add default via $SQUID dev eth2 table 2</p>
<p># Make sure we exit<br />
exit 0</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benking.me.uk/2007/10/24/vyatta-forwarding-traffic-to-squid/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Vyatta &#8211; Cisco on a shoestring?</title>
		<link>http://www.benking.me.uk/2007/10/24/vyatta-cisco-on-a-shoestring/</link>
		<comments>http://www.benking.me.uk/2007/10/24/vyatta-cisco-on-a-shoestring/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 09:27:17 +0000</pubDate>
		<dc:creator>Ben King</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Vyatta]]></category>
		<category><![CDATA[Interweb]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[Web/Tech]]></category>

		<guid isPermaLink="false">http://blogs.bit10.net/ben/2007/10/24/vyatta-cisco-on-a-shoestring/</guid>
		<description><![CDATA[We use Linux extensively at bit10, for DNS, front line mail handling, proxying, web hosting, development platforms, you name it we probably do it in Linux or have at least had a good go&#8230; Probably the most important job it does for us though is for our firewalling, core network routing and traffic management for [...]]]></description>
			<content:encoded><![CDATA[<p>We use Linux extensively at <a target="_blank" href="http://www.bit10.net" title="bit10">bit10</a>, for DNS, front line mail handling, proxying, web hosting, development platforms, you name it we probably do it in Linux or have at least had a good go&#8230;</p>
<p>Probably the most important job it does for us though is for our firewalling, core network routing and traffic management for both bit10s internal systems and for the ISP hosting side of the business.</p>
<p>Our implementation is a highly bespoke customisation of Debian using things like iptables, <a target="_blank" href="http://www.linuximq.net/" title="IMQ">IMQ</a>, vconfig, etc. all good stuff and happily handles the routing and traffic management for our entire colocation and ISP services, however we would be the first to admit it isn&#8217;t the easiest to maintain and look after. The options in the commercial club (<a target="_blank" href="http://blogs.bit10.net/ben/www.cisco.com" title="Cisco">Cisco</a>/<a target="_blank" href="http://www.juniper.net" title="Juniper">Juniper</a>) are simply way to expensive and don&#8217;t offer the flexibility we require.</p>
<p>A couple of months a go a client came to me needing some fairly significant network reorganisation. They had multiple offices around the world, at each site they had a very unsegmented &#8216;flat&#8217; network, between the offices they had a mixture of MPLS and VPN tunnel solutions, and a number of single points of failure.</p>
<p>What we needed to do was to segment up each site into sensible subnets and bring additional resilience to the firewalls and routers.</p>
<p>Our initial reaction was to simply do another custom Linux configuration similiar to our own setup, however we were concerned about the time to get this right and the implications of future maintenance, so we look off the shelf and very quickly discovered <a target="_blank" href="http://www.vyatta.com" title="Vyatta">Vyatta</a>.</p>
<p>Vyatta for the uninitiated of you punts itself as &#8216; The dawn of open-source networking&#8217;, personally I think this is a bit of pessimistic afterall we have been doing routing and firewalling with Linux as long as I can remember, its more of a &#8216;The late afternoon after a good siesta of open-source networking&#8217;.</p>
<p>However here at bit10 &#8216;Loving Doing Digital&#8217; headquarters we can&#8217;t really criticise people on their taglines&#8230; <img src='http://www.benking.me.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So why is Vyatta different?</p>
<p>The answer is simply its relatively easy to get to up and running, has a pretty web interface for those who have command line fear, and above all fantastic support.</p>
<p>Vyatta comes in two flavours, the fully open-source free &#8216;community edition&#8217; and the &#8216;supported edition&#8217;. The community edition will suit you down to the ground if you have relatively simple requirements, basic routing/firewalling/etc., however if you have pushing the envelope you are going to the need the supported edition, which comes in two flavours &#8216;$647/£325&#8242; for web only support, and &#8216;$897/£450&#8242; for full telephone support, both supported flavours include free updates with the lastest fixes.</p>
<p>The telephone support is superb.</p>
<p>Vyatta does have limitations, especially if you are used to getting under the hood and having the full flexibility of Linux based routing, however the payback is a solution thats far simpler to manage.</p>
<p>Things we didn&#8217;t like:</p>
<ol>
<li>We couldn&#8217;t configure the built in firewall to transparently push traffic to a <a target="_blank" href="http://www.squid-cache.org" title="Squid Cache">Squid</a> proxy server. We got around this by going under the hood and having a custom rc.local file that tag and forwarded the traffic (I will post our script on followup blog).</li>
<li>VRRP over VIFs. Vyatta supports <a target="_blank" href="http://en.wikipedia.org/wiki/Virtual_Router_Redundancy_Protocol" title="Wikipedia VRRP">VRRP (Virtual Router Redundancy Protocol)</a> and VLANs out of the box, however you can only run VRRP on real ethernet inferfaces, which is troublesome if you are doing a &#8216;router on a stick&#8217; solution. We have spoken to Vyatta about this and they have pencilled the functionality in for an upcoming build &#8211; good stuff!</li>
<li>The CLI, in a nutshell the CLI isn&#8217;t like IOS, its good and fulfill its job, its just that mental switch you have to make from IOS mode to something different.</li>
</ol>
<p>Things we really liked:</p>
<ol>
<li><a target="_blank" href="http://en.wikipedia.org/wiki/Virtual_Router_Redundancy_Protocol" title="Wikipedia VRRP">VRRP (Virtual Router Redundancy Protocol)</a> out of the box&#8230; VRRP was so simple to set up (on real ethernet interfaces), the village idiots really stupid cousin could have done it.</li>
<li>The separation of configuration from installation. Take a clean server, insert Vyatta CD, one line to install it to the local hard drive, copy your configuration onto it. Job done.</li>
<li>Support. The Vyatta team are passionate about their product, both on the telephone and on the web, and they know its limitations and will tell you so, so you don&#8217;t waste any time trying to make it do something it won&#8217;t.</li>
</ol>
<p>Top Tips:</p>
<ol>
<li>Unless you are doing something dead basic, go for the supported package, this ensures you get the latest version, you get the support and frankly you support Vyatta.</li>
<li>Don&#8217;t mess around trying to deploy it on that 5 yr old bodge of a server you have sat in the corner gathering dust, your firewall/routers will be business critical, so splash out on some decent hardware, we deployed on Dell 860s (&lt;£1,000 each), which is all supported hardware and had no hardware related issues.</li>
<li>Think about what you are trying to achieve, plan it first.</li>
<li>Make sure you actually know a little about networking, while making life as simple as possible for the user, its not dumbed down to the level of a £50 ADSL router from PCWorld. If you don&#8217;t know the basics about routing, firewalling, etc. get someone to help you.</li>
</ol>
<p>Performance:</p>
<p>I haven&#8217;t done any formal performance testing on Vyatta, however we have deployed it in bandwidth heavy environments, with upwards of 200 of LAN users across 10 network segments, and a single processor Dell 860 is running well under 10% load&#8230;<br />
So is Vyatta Cisco on Shoestring&#8230; in my opinion if Vyatta can do the job you want, its definitely preferable to the Cisco option, probably the strongest reason beyond just price, is that Vyatta abstracts the software from the hardware, i.e. within reason you can redeploy a Vyatta configuration on any server with enough interfaces.</p>
<p>All in all well worth looking at.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benking.me.uk/2007/10/24/vyatta-cisco-on-a-shoestring/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Ubuntu, PPTP, Windows 2003 VPN Server</title>
		<link>http://www.benking.me.uk/2007/06/14/ubuntu-pptp-windows-2003-vpn-server/</link>
		<comments>http://www.benking.me.uk/2007/06/14/ubuntu-pptp-windows-2003-vpn-server/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 15:23:43 +0000</pubDate>
		<dc:creator>Ben King</dc:creator>
				<category><![CDATA[Networks]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[Web/Tech]]></category>

		<guid isPermaLink="false">http://blogs.bit10.net/ben/2007/06/14/ubuntu-pptp-windows-2003-vpn-server/</guid>
		<description><![CDATA[My transition from a Windows to a Linux desktop has raised a few teething problems, almost the most annoying was the fact that I for some reason I could only VPN into certain MS PPTP VPN servers. In the end I figured out that that the difference was I could VPN into Windows 2000 servers [...]]]></description>
			<content:encoded><![CDATA[<p>My transition from a Windows to a Linux desktop has raised a few teething problems, almost the most annoying was the fact that I for some reason I could only VPN into certain MS PPTP VPN servers.</p>
<p>In the end I figured out that that the difference was I could VPN into Windows 2000 servers but not Windows 2003.</p>
<p>In the logs I was getting:</p>
<p><code>LCP terminated by peer (random load of symbols)</code></p>
<p>I tracked it down in the end to one setting under the PPTP config.</p>
<p>Under KNetworkManager this appears under &#8216;Compression &amp; Encryption&#8217;, &#8216;Encryption&#8217;, &#8216;Require 128 bit MPPE encryption&#8217;. Check this and it all works.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benking.me.uk/2007/06/14/ubuntu-pptp-windows-2003-vpn-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchange 2003 and Exmerge Woes</title>
		<link>http://www.benking.me.uk/2007/06/14/exchange-2003-and-exmerge-woes/</link>
		<comments>http://www.benking.me.uk/2007/06/14/exchange-2003-and-exmerge-woes/#comments</comments>
		<pubDate>Thu, 14 Jun 2007 15:08:12 +0000</pubDate>
		<dc:creator>Ben King</dc:creator>
				<category><![CDATA[Networks]]></category>
		<category><![CDATA[Exchange Server]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[Web/Tech]]></category>

		<guid isPermaLink="false">http://blogs.bit10.net/ben/2007/06/14/exchange-2003-and-exmerge-woes/</guid>
		<description><![CDATA[Today I needed to extract some mailboxes to PSTs from our Exchange 2003 server. I kept getting a permissions error in my Exmerge.log file: 'Verify that the Microsoft Exchange Information Store service is running and that you have the correct permissions to log on. (0x8004011d)' This is one of those annoying &#8216;exchange being oversecure for [...]]]></description>
			<content:encoded><![CDATA[<p>Today I needed to extract some mailboxes to PSTs from our Exchange 2003 server.</p>
<p>I kept getting a permissions error in my Exmerge.log file:</p>
<p><code>'Verify that the Microsoft Exchange Information Store service is running and that you have the correct permissions to log on. (0x8004011d)'</code></p>
<p>This is one of those annoying &#8216;exchange being oversecure for no good reason moments&#8217;, basically the administrator user (under which you are probably logged on for such an exercise) is denied permission to access individual mailboxes.</p>
<p>I found a couple of MS documents on the subject:</p>
<p><a target="_blank" href="http://support.microsoft.com/kb/322312" title="http://support.microsoft.com/kb/322312 ">http://support.microsoft.com/kb/322312</a></p>
<p>and,</p>
<p><a target="_blank" href="http://technet.microsoft.com/en-us/library/aa996410.aspx" title="http://technet.microsoft.com/en-us/library/aa996410.aspx ">http://technet.microsoft.com/en-us/library/aa996410.aspx</a></p>
<p>Neither of them unfortunately resolved the problem in my case. It appears that even adding the administrator user to a temporary windows &#8216;exchange recovery&#8217; group still didn&#8217;t allow access to the mailbox for extraction.</p>
<p>The solution is to:</p>
<ol>
<li>Create a new Active Directory Group called &#8216;Exchange ExMerge&#8217; (or whatever you like).</li>
<li>Give the new group full permissions on the store as per the 2nd MS article above.</li>
<li>Create a new user and add it to the Exchange ExMerge group <strong>and</strong> Domain Admins.</li>
<li>Logon to the Exchange server as the new user, run Exmerge and it should finally work.</li>
</ol>
<p>You could of course just create the user and give it the appropriate permissions but I was just being &#8216;proper&#8217;! <img src='http://www.benking.me.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.benking.me.uk/2007/06/14/exchange-2003-and-exmerge-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Espionage Scandal&#8230;</title>
		<link>http://www.benking.me.uk/2007/05/31/espionage-scandal/</link>
		<comments>http://www.benking.me.uk/2007/05/31/espionage-scandal/#comments</comments>
		<pubDate>Wed, 30 May 2007 23:56:22 +0000</pubDate>
		<dc:creator>Ben King</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[bit10]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[Web/Tech]]></category>

		<guid isPermaLink="false">http://blogs.bit10.net/ben/2007/05/31/espionage-scandal/</guid>
		<description><![CDATA[Commenting on: http://www.theregister.co.uk/2007/04/20/vbi_triscan_blag_espionage_fears/ Wow, you know you have hit the bigtime when one of your clients gets in The Register with a full on bit of espionage. To cut a long story short a client of ours, VBi Limited, got broken into a load of kit stolen under extremely suspicious circumstances. The &#8216;baddies&#8217; broke in, gained [...]]]></description>
			<content:encoded><![CDATA[<p>Commenting on: <a href="http://www.theregister.co.uk/2007/04/20/vbi_triscan_blag_espionage_fears/comments/">http://www.theregister.co.uk/2007/04/20/vbi_triscan_blag_espionage_fears/</a></p>
<p>Wow, you know you have hit the bigtime when one of your clients gets in <a target="_blank" href="http://www.theregister.co.uk" title="The Register">The Register</a> with a full on bit of espionage.</p>
<p>To cut a long story short a client of ours, <a target="_blank" href="http://www.vbilimited.com" title="VBi Limited">VBi Limited</a>, got broken into a load of kit stolen under extremely suspicious circumstances.</p>
<p>The &#8216;baddies&#8217; broke in, gained access to the server room within minutes (the server room, located in a highly unobvious location), and whipped in excess of 30 drives out of the servers.</p>
<p>Sunday 1st April, the phone rang, I will never forget the moment I had a particularly aggressive hangover, &#8216;Hi Ben, its Chris here, we&#8217;ve been robbed!&#8217; (well he used something a little more aggressive than &#8216;robbed&#8217;, but I am trying to keep my blog relatively expletive free&#8217;).</p>
<p>We broke out the disaster plan, the first hour was assessment i.e. sent the client, Chris, in to find out how bad it was &#8211; meanwhile i engaged on a major recovery program of my own, consisting of <a target="_blank" href="http://www.berocca.co.uk/" title="Berocca">Berocca</a>, bacon of eggs and enough water to drown an otter.</p>
<p>A couple of hours later the verdict came back, we had lost pretty much every removable drive &#8211; so that&#8217;ll be a full on recovery then.</p>
<p>Monday 2nd April, Les and I were in the car at 6am on the road to rainy Blackburn, enroute trying to acquire 30 odd replacement hard drives, <a target="_blank" href="http://www.dell.co.uk" title="Dell">Dell</a> frankly were as much use as a server without hard drives, in fact we couldn&#8217;t even find the right phone number to get someone who could vaguely begin to think about the merest possibility of helping us within the next week let alone the next few hours.</p>
<p>Fortunately our good friends at <a target="_blank" href="http://www1.serversource.co.uk/" title="Serversource">Serversource</a>, in Northampton, came to the rescue and had all the drives complete with caddies, with us in Blackburn, by lunchtime. Good work fellas!</p>
<p>Thanks to Les and I working our magic, by the end of play Monday we had restored the AD, all servers base restored, by the end of play Tuesday we had completed a full recovery of all services&#8230;. CRM, Intranet, Exchange, the whole works. </p>
<p>Thanks for coming!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.benking.me.uk/2007/05/31/espionage-scandal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>recovering my Hotmail a glimmer of hope&#8230;</title>
		<link>http://www.benking.me.uk/2007/02/12/recovering-my-hotmail-a-glimmer-of-hope/</link>
		<comments>http://www.benking.me.uk/2007/02/12/recovering-my-hotmail-a-glimmer-of-hope/#comments</comments>
		<pubDate>Mon, 12 Feb 2007 19:48:41 +0000</pubDate>
		<dc:creator>Ben King</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Interweb]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Systems]]></category>
		<category><![CDATA[Web/Tech]]></category>

		<guid isPermaLink="false">http://blogs.bit10.net/ben/2007/02/12/recovering-my-hotmail-a-glimmer-of-hope/</guid>
		<description><![CDATA[I just found this on the web, someone with the same challenge: http://www.itoctopus.com/index.php?option=content&#38;task=view&#38;id=18&#38;Itemid=27 I am just beyond part 1 of the problem, fingers crossed for a response from MS with a reset password email for me. In the meantime my hacker continues to cause trouble! Update (21/07/2008) After recieving many posts and emails with people [...]]]></description>
			<content:encoded><![CDATA[<p>I just found this on the web, someone with the same challenge:</p>
<p><a href="http://www.itoctopus.com/index.php?option=content&amp;task=view&amp;id=18&amp;Itemid=27">http://www.itoctopus.com/index.php?option=content&amp;task=view&amp;id=18&amp;Itemid=27</a></p>
<p>I am just beyond part 1 of the problem, fingers crossed for a response from MS with a reset password email for me.</p>
<p>In the meantime my hacker continues to cause trouble!</p>
<p><strong>Update (21/07/2008)</strong></p>
<p>After recieving many posts and emails with people asking and pleading with me to help them get their hotmail back I have prepared a handy document that tells you everything you need to know. I am making a small charge for this of $10, you can buy it <a href="https://www.payloadz.com/go/sip?id=489237" title="Hotmail Hacked - Recovery Guide">here</a>.</p>
<p><a target="paypal" href="https://www.payloadz.com/go/sip?id=489237"><img border="0" src="https://www.paypal.com/images/x-click-but23.gif" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benking.me.uk/2007/02/12/recovering-my-hotmail-a-glimmer-of-hope/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My Hotmail has been hacked&#8230;</title>
		<link>http://www.benking.me.uk/2007/02/12/my-hotmail-has-been-hacked/</link>
		<comments>http://www.benking.me.uk/2007/02/12/my-hotmail-has-been-hacked/#comments</comments>
		<pubDate>Mon, 12 Feb 2007 15:02:27 +0000</pubDate>
		<dc:creator>Ben King</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Interweb]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://blogs.bit10.net/ben/2007/02/12/my-hotmail-has-been-hacked/</guid>
		<description><![CDATA[I am distraught, I am the victim of hacker! My hotmail/msn messenger login has been stolen, I have for some years now had the hotmail address - king@hotmail.co.uk, which i won in a eBay charity auction (for NSPCC). The address regularly attracts attention of hackers, I get frequent emails in my Hotmail &#8216;Reset your windows live password [...]]]></description>
			<content:encoded><![CDATA[<p>I am distraught, I am the victim of hacker!</p>
<p>My hotmail/msn messenger login has been stolen, I have for some years now had the hotmail address - <a href="mailto:king@hotmail.co.uk">king@hotmail.co.uk</a>, which i won in a <a target="_blank" href="http://www.ebay.co.uk" title="eBay">eBay</a> charity auction (for <a target="_blank" href="http://www.nspcc.org.uk" title="NSPCC">NSPCC</a>).</p>
<p>The address regularly attracts attention of hackers, I get frequent emails in my <a target="_blank" href="http://www.hotmail.co.uk" title="Hotmail">Hotmail</a> &#8216;Reset your windows live password now&#8217;, not to mention at 10 people a day randomly adding me either to see who has the address or by mistake!</p>
<p>So how did they do it? Being in our business all our workstations are locked down, firewalled, security patched, anti-virussed, anti-spywared up to the hind teeth, so a workstation compromise seems unlikely.</p>
<p>The perpetrator (by all accounts a 19yr old Egyptian male), who has been boasting to my contacts about how &#8216;he works for msn, and has hacked my account&#8217;, by all accounts achieved this by the most artistic form of hacking &#8216;social engineering&#8217;.</p>
<p>&#8216;Social engineering&#8217;, basically means he has convinced someone at <a target="_blank" href="http://account.live.com" title="MS Live">MS Live</a> to reset my account password, thus gaining him access to my account. He has then gone on to change the other pieces of information (secret phrase, alternate email address), thus stopping me resetting it back.</p>
<p>So I am in the annoying stage at the moment where someone else is logged onto my messenger, and I can&#8217;t do anything about it until MS sort it out. BOO!</p>
<p><strong>Update (21/07/2008)</strong></p>
<p>After recieving many posts and emails with people asking and pleading with me to help them get their hotmail back I have prepared a handy document that tells you everything you need to know. I am making a small charge for this of $10, you can buy it <a href="https://www.payloadz.com/go/sip?id=489237" title="Hotmail Hacked - Recovery Guide">here</a>.</p>
<p><a target="paypal" href="https://www.payloadz.com/go/sip?id=489237"><img border="0" src="https://www.paypal.com/images/x-click-but23.gif" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benking.me.uk/2007/02/12/my-hotmail-has-been-hacked/feed/</wfw:commentRss>
		<slash:comments>108</slash:comments>
		</item>
		<item>
		<title>Unlucky Raid 1</title>
		<link>http://www.benking.me.uk/2006/06/28/systems-unlucky-raid-1/</link>
		<comments>http://www.benking.me.uk/2006/06/28/systems-unlucky-raid-1/#comments</comments>
		<pubDate>Wed, 28 Jun 2006 10:49:56 +0000</pubDate>
		<dc:creator>Ben King</dc:creator>
				<category><![CDATA[Networks]]></category>
		<category><![CDATA[Systems]]></category>

		<guid isPermaLink="false">http://blogs.bit10.net/ben/?p=8</guid>
		<description><![CDATA[The scenario&#8230; Dell 2800, 2x36Gig (RAID 1 &#8211; Systems Boot)), 3x146Gig (RAID 5 &#8211; Data), primary file server, primary AD controller. 12PM Yesterday Dell Server Manager began reporting a fault on disc 1 (36Gig), the first step in this scenario is always to reseat the disc to rule out any possible connection issues. This indeed [...]]]></description>
			<content:encoded><![CDATA[<p>The scenario&#8230;</p>
<p>Dell 2800, 2x36Gig (RAID 1 &#8211; Systems Boot)), 3x146Gig (RAID 5 &#8211; Data), primary file server, primary AD controller.</p>
<p>12PM Yesterday Dell Server Manager began reporting a fault on disc 1 (36Gig), the first step in this scenario is always to reseat the disc to rule out any possible connection issues.</p>
<p>This indeed brought up both drives again, only to be followed 5 minutes later by a failure of both drives in the set.</p>
<p>Rebooting the server to the RAID BIOS revealed that there were faults found  on disk 0 not disk 1 (as reported by the Dell Server Manager).</p>
<p><strong>Lesson 1</strong> &#8211; never underestimate the power of the hot spare.</p>
<p>At this current  moment in the time the company was without file, print and primary AD.</p>
<p>We decided to remove the disc 0 (that the bios said was faulty), and bring the disc 1 (that at bios said had no faults), back online.</p>
<p>Unfortunately a reboot in this scenario forced a windows chkdsk, which found faults on the drive. Although the system booted, AD did not come up and system was effectively broken.</p>
<p>We had no spare chasis available to drop the data disks  into, so we were in a fast reinstall situation.</p>
<p>The first step however was to seize the FSMO roles using NTDSUtil to one of our backup AD controllers, and cleanup all references to the old primary AD.</p>
<p>While these changes were propogating through AD we began the reinstall process. As we had no spare disks we were forced to reinstall to the one disk we thought was good.</p>
<p>All went well, and we were smart and didn&#8217;t repromote the server to AD yet.</p>
<p><strong>Lesson 2</strong> &#8211; only bring a server up as an AD controller when its a known good.</p>
<p>Unfortunately later that day the server failed again. Fortunately we were able to bring the disk online again without a problem.</p>
<p>The next day the first new disk arrived, we took the decision to not install it yet as we felt mirroring might force the remaining dodgy disk to fail&#8230;</p>
<p>&#8230; which it dutifully did.</p>
<p>We took the decision to then install the spare, allowing the RAID BIOS to resync the drives without rebooting the OS. We felt that we could have done it on the fly with OS running but that gave us a greater chance of the mirroring failing.</p>
<p>It took about 40 minutes for the mirror to take place.</p>
<p>We then removed the dodgy mirror, leaving us running on 1 disk until a further warranty replacement arrived.</p>
<p><strong>Lesson 3: </strong>Always get disks of different ages, batches, brands if possible, two disks from the same batch can fail at the same time.</p>
<p><strong>Sigh&#8230;</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.benking.me.uk/2006/06/28/systems-unlucky-raid-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
