<?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>Sunsetsurf Techblog</title>
	<atom:link href="http://techblog.sunsetsurf.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.sunsetsurf.co.uk</link>
	<description>Random tech bloggidge</description>
	<lastBuildDate>Wed, 17 Feb 2010 22:50:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to increase your iPhone battery life &#8211; a few tips.</title>
		<link>http://techblog.sunsetsurf.co.uk/2010/02/how-to-increase-your-iphone-battery-life-a-few-tips/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2010/02/how-to-increase-your-iphone-battery-life-a-few-tips/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 22:50:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other Tech Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=145</guid>
		<description><![CDATA[




Well like everyone out there I want my iPhone battery to last forever &#8211; i unfortunately upgraded to firmware 3.1.3 and while I dont need a baseband unlock because my phone isn&#8217;t locked, I did want a jailbreak. All this aside, I found that as soon as I had upgraded, my battery life was a [...]]]></description>
			<content:encoded><![CDATA[<p>Well like everyone out there I want my iPhone battery to last forever &#8211; i unfortunately upgraded to firmware 3.1.3 and while I dont need a baseband unlock because my phone isn&#8217;t locked, I did want a jailbreak. All this aside, I found that as soon as I had upgraded, my battery life was a quarter worse than before.</p>
<p>I used to get pretty much 2 days use out of a full charge &#8211; I dont use the phone loads, just normal texting, a few phone calls and a bit of facebook / twittering, but after the 3.1.3 firmware upgrade, I immediately found I was getting only a days worth of battery life <img src='http://techblog.sunsetsurf.co.uk/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>Wasn&#8217;t happy especially as apple stopped me from downgrading to 3.1.2 which was nice and lovely.</p>
<p>So to help me get the best of what I had I made 2 changes which made a big difference and have resulted in me getting my 2 days usage back, and maybe even a bit more.</p>
<p>1: Disable location services &#8211; Go into settings &gt; general, and change location services to off.</p>
<p>This does mean you no longer have your GPS active, but if you like me only use this infrequently, i&#8217;d rather switch it on in the odd occasion I do use it, than have it sucking my battery away.</p>
<p>2: Disable wi-fi scanning &#8211; Go into settings &gt; wi-fi and change Ask to Join Networks to off. This means that rather than constantly scanning for available wi-fi networks, it will only use the ones you have pre-configured. Should you want to connect to a new network, you can either switch this back on or go back into settings &gt; wi-fi and pick it from the list or add it manually. Again this saves loads of battery time as the wi-fi is not scanning.</p>
<p>These 2 simple tips made a big difference to mine and a few friends iPhone life, hope it helps you too.</p>
<p><map name='google_ad_map_145_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/145?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_145_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=145&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2010%2F02%2Fhow-to-increase-your-iphone-battery-life-a-few-tips%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2010/02/how-to-increase-your-iphone-battery-life-a-few-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare ESX4 guests loosing network connectivity briefly.</title>
		<link>http://techblog.sunsetsurf.co.uk/2010/02/vmware-esx4-guests-loosing-network-connectivity-briefly/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2010/02/vmware-esx4-guests-loosing-network-connectivity-briefly/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 15:08:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMWare Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=141</guid>
		<description><![CDATA[Came across a very odd issue lately where guests on one of our ESX4 hosts were periodically loosing network connectivity very briefly &#8211; maybe 10 ICMP packets every half hour or hour.
After much debugging on the network side, thinking that perhaps there was a misconfigured NIC with the wrong VLAN config, the problem was still [...]]]></description>
			<content:encoded><![CDATA[<p>Came across a very odd issue lately where guests on one of our ESX4 hosts were periodically loosing network connectivity very briefly &#8211; maybe 10 ICMP packets every half hour or hour.</p>
<p>After much debugging on the network side, thinking that perhaps there was a misconfigured NIC with the wrong VLAN config, the problem was still happening.</p>
<p>So ssh&#8217;ing onto the host, I started to trawl through the log files, and came across the below in the /var/log/vmkwarning file:</p>
<p>Feb 17 13:44:19 vminfraboxvmkernel: 18:00:00:11.865 cpu4:4222)WARNING: NMP: nmp_DeviceAttemptFailover: Retry world failover device &#8220;naa.6090a028004f243d08ab44c26687e3dd&#8221; &#8211; issuing command 0&#215;410002074040<br />
Feb 17 13:44:19 vminfrabox vmkernel: 18:00:00:11.865 cpu4:4222)WARNING: NMP: nmp_DeviceAttemptFailover: Retry world failover device &#8220;naa.6090a028004f243d08ab44c26687e3dd&#8221; &#8211; failed to issue command due to Not found (APD), try again&#8230;<br />
Feb 17 13:44:19 vminfrabox vmkernel: 18:00:00:11.865 cpu4:4222)WARNING: NMP: nmp_DeviceAttemptFailover: Logical device &#8220;naa.6090a028004f243d08ab44c26687e3dd&#8221;: awaiting fast path state update&#8230;</p>
<p>This was occuring repeatedly every half hour and the entries above filled the logs solidly for about 2 minutes continuously every half an hour.</p>
<p>After doing some digging on the google, I found out that ESX4 has a bug whereby if you have a duff or old connection to an iSCSI LUN &#8211; perhaps one that no longer exists &#8211; but you never rescanned to remove it &#8211; when the host tries to check the paths every 30 minutes, it finds this duff connection and goes through the motions of trying to find failover paths. The bug is that this causes very brief network loss to your guests.</p>
<p>The fix for me was to simply re-scan my adapter, which removed the old mapping to one of our removed LUNS&#8217;s and the problem went away.</p>
<p><map name='google_ad_map_141_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/141?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_141_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=141&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2010%2F02%2Fvmware-esx4-guests-loosing-network-connectivity-briefly%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2010/02/vmware-esx4-guests-loosing-network-connectivity-briefly/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Howto: extract files from a .msi file</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/12/howto-extract-files-from-a-msi-file/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/12/howto-extract-files-from-a-msi-file/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 12:30:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows / Microsoft Stuff x-(]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=136</guid>
		<description><![CDATA[Every once in a while I need to extract the content of a .msi file in order to customize a deployment for a particular network environment. Sometimes initializing the .msi installer will temporarily extract the files into C:\Documents and Settings\&#60;username&#62;\Local Settings\Temp, but those files are removed once the installer exits.
To extract files from a .msi [...]]]></description>
			<content:encoded><![CDATA[<p style="margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; padding: 0px;">Every once in a while I need to extract the content of a .msi file in order to customize a deployment for a particular network environment. Sometimes initializing the .msi installer will temporarily extract the files into C:\Documents and Settings\&lt;username&gt;\Local Settings\Temp, but those files are removed once the installer exits.</p>
<p style="margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; padding: 0px;">To extract files from a .msi file at the command line, type:</p>
<p style="margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; padding: 0px;"><em>msiexec /a PathToMSIFile /qb TARGETDIR=DirectoryToExtractTo</em></p>
<p style="margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; padding: 0px;">For example, to extract files from c:\installer.msi into c:\install you would type:</p>
<p style="margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; padding: 0px;"><em>msiexec /a c:\installer.msi /qb TARGETDIR=c:\install</em></p>
<p style="margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; padding: 0px;">The destination directory does not need to exist prior to running this command.</p>
<p style="margin-top: 0.6em; margin-right: 0px; margin-bottom: 1.2em; margin-left: 0px; padding: 0px;">If this doesnt work, a crude way is to rename the msi file to a rar file, winrar will then allow you to extract all the files &#8211; however&#8230; it doesnt name them properly, so I used a combination of LesMsierables a .net file which allows you to view msi files and compared the size to find the specific file I wanted..</p>
<p><map name='google_ad_map_136_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/136?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_136_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=136&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F12%2Fhowto-extract-files-from-a-msi-file%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/12/howto-extract-files-from-a-msi-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hyperterminal / command line modem calls</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/12/hyperterminal-command-line-modem-calls/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/12/hyperterminal-command-line-modem-calls/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 11:45:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other Tech Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=132</guid>
		<description><![CDATA[Not something you use much these days, but something I thought i&#8217;d note down here in case someone at some point needs it.
ATA (ata) Handshake sounds if modem speaker is enabled. Modem tries to answer call with handshake sounds. Press Enter to stop this process. The no carrier message is normal with this command. This [...]]]></description>
			<content:encoded><![CDATA[<p>Not something you use much these days, but something I thought i&#8217;d note down here in case someone at some point needs it.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ATA (ata)<span style="white-space: pre;"> </span>Handshake sounds if modem speaker is enabled.<span style="white-space: pre;"> </span>Modem tries to answer call with handshake sounds. Press Enter to stop this process. The no carrier message is normal with this command. This command does not apply to Windows XP.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ATDT &lt;ISP Phone Number&gt;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">For example, ATDT1234567 (where 1234567 is the connection number to dial for Internet service).</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">To connect to a test server in the US you can type:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ATDT18666633665<span style="white-space: pre;"> </span>Login: _<span style="white-space: pre;"> </span>Connects to a test server. If you can get to a login, your modem is working correctly.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ATDT (atdt)<span style="white-space: pre;"> </span>Dialtone if modem speaker is enabled.<span style="white-space: pre;"> </span>Indicates that the modem can get a dial tone. The message &#8220;no dial tone&#8221; indicates that either the modem or phone line is not working correctly. Press Enter to stop this process.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">AT&amp;F<span style="white-space: pre;"> </span>OK<span style="white-space: pre;"> </span>Resets most modems to factory defaults.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ATI0 (ati)<span style="white-space: pre;"> </span>56000 ok<span style="white-space: pre;"> </span>The response varies between modems, but returns the modem speed..</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ATI3 (ati)<span style="white-space: pre;"> </span>&lt;Version and name&gt;<span style="white-space: pre;"> </span>Returns the modem product type and firmware version.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ATZ (atz)<span style="white-space: pre;"> </span>ok<span style="white-space: pre;"> </span>This command resets the modem.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ATH (ath)<span style="white-space: pre;"> </span>ok<span style="white-space: pre;"> </span> Hangs up modem</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ATS0=2 (ats0=2)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Zero, not the letter O .<span style="white-space: pre;"> </span>ok<span style="white-space: pre;"> </span>This command sets the modem to receive. Call the computer&#8217;s phone number and you should hear the handshake signal. Ring, ring displays on HyperTerminal screen, followed by no carrier , when the caller hangs up.</div>
<p>ATA (ata)<span style="white-space: pre;"> </span>Handshake sounds if modem speaker is enabled.<span style="white-space: pre;"> </span>Modem tries to answer call with handshake sounds. Press Enter to stop this process. The no carrier message is normal with this command. This command does not apply to Windows XP.</p>
<p>ATDT &lt;ISP Phone Number&gt;</p>
<p>For example, ATDT1234567 (where 1234567 is the connection number to dial for Internet service).</p>
<p>To connect to a test server in the US you can type:</p>
<p>ATDT18666633665<span style="white-space: pre;"> </span>Login: _<span style="white-space: pre;"> </span>Connects to a test server. If you can get to a login, your modem is working correctly.</p>
<p>ATDT (atdt)<span style="white-space: pre;"> </span>Dialtone if modem speaker is enabled.<span style="white-space: pre;"> </span>Indicates that the modem can get a dial tone. The message &#8220;no dial tone&#8221; indicates that either the modem or phone line is not working correctly. Press Enter to stop this process.</p>
<p>AT&amp;F<span style="white-space: pre;"> </span>OK<span style="white-space: pre;"> </span>Resets most modems to factory defaults.</p>
<p>ATI0 (ati)<span style="white-space: pre;"> </span>56000 ok<span style="white-space: pre;"> </span>The response varies between modems, but returns the modem speed..</p>
<p>ATI3 (ati)<span style="white-space: pre;"> </span>&lt;Version and name&gt;<span style="white-space: pre;"> </span>Returns the modem product type and firmware version.</p>
<p>ATZ (atz)<span style="white-space: pre;"> </span>ok<span style="white-space: pre;"> </span>This command resets the modem.</p>
<p>ATH (ath)<span style="white-space: pre;"> </span>ok<span style="white-space: pre;"> </span> Hangs up modem</p>
<p>ATS0=2 (ats0=2)</p>
<p>Zero, not the letter O .<span style="white-space: pre;"> </span>ok<span style="white-space: pre;"> </span>This command sets the modem to receive. Call the computer&#8217;s phone number and you should hear the handshake signal. Ring, ring displays on HyperTerminal screen, followed by no carrier , when the caller hangs up.</p>
<p><map name='google_ad_map_132_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/132?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_132_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=132&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F12%2Fhyperterminal-command-line-modem-calls%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/12/hyperterminal-command-line-modem-calls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checkpoint fw monitor to debug and trace traffic.</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/11/checkpoint-fw-monitor-to-debug-and-trace-traffic/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/11/checkpoint-fw-monitor-to-debug-and-trace-traffic/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 14:26:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other Tech Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=129</guid>
		<description><![CDATA[tcpdump is good, but for checkpoints to find out exactly what is happening to your traffic fw monitor is the way to go.
its usage is as follows to live debug traffic according to your filter:
# fw monitor -e &#8220;accept src=10.0.0.x;&#8221;
This will output in realtime the traffic going into your firewall from ip address 10.0.0.x
You will [...]]]></description>
			<content:encoded><![CDATA[<p>tcpdump is good, but for checkpoints to find out exactly what is happening to your traffic fw monitor is the way to go.</p>
<p>its usage is as follows to live debug traffic according to your filter:</p>
<p># fw monitor -e &#8220;accept src=10.0.0.x;&#8221;</p>
<p>This will output in realtime the traffic going into your firewall from ip address 10.0.0.x</p>
<p>You will see output similar to the below:</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 29px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Lan1:i[84]: 192.168.232.12 -&gt; 172.16.100.40 (ICMP) len=84 id=0</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 29px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ICMP: type=8 code=0 echo request id=64597 seq=5025</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 29px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Lan1:I[84]: 192.168.232.12 -&gt; 172.16.100.40 (ICMP) len=84 id=0</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 29px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ICMP: type=8 code=0 echo request id=64597 seq=5025</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 29px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Lan5:o[84]: 192.168.232.12 -&gt; 172.16.100.40 (ICMP) len=84 id=0</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 29px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">ICMP: type=8 code=0 echo request id=64597 seq=5025</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 29px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Lan5:O[84]: 192.168.232.12 -&gt; 172.16.100.40 (ICMP) len=84 id=0</div>
<p>Lan1:i[84]: 10.0.0.1 -&gt;192.168.0.1 (ICMP) len=84 id=0 &lt;&#8212;&#8212;&#8212;&#8211; This shows traffic coming into interface Lan1 but before rules have been processed thats the lowercase i.</p>
<p>ICMP: type=8 code=0 echo request id=64597 seq=5025</p>
<p>Lan1:I[84]: 10.0.0.1 -&gt; 192.168.0.1 (ICMP) len=84 id=0 &lt;&#8212;&#8212;&#8212; This shows traffic still on interface Lan1 but after rules have been processed hence the uppercase I, if firewalls were dropping this packet you would not see this.</p>
<p>ICMP: type=8 code=0 echo request id=64597 seq=5025</p>
<p>Lan5:o[84]: 10.0.0.1 -&gt; 192.168.0.1 (ICMP) len=84 id=0 &lt;&#8212;&#8212;&#8212;-Now we see traffic going out of the destination interface Lan5 but again before the rules have been processed &#8211; lowercase o.</p>
<p>ICMP: type=8 code=0 echo request id=64597 seq=5025</p>
<p>Lan5:O[84]: 10.0.0.1 -&gt;192.168.0.1 (ICMP) len=84 id=0 &lt;&#8212;&#8212;&#8212;-Finally we see traffic going out of the destination interface Lan 5 after successfully traversing the rules &#8211; uppercase O</p>
<p>There is a load of filters you can apply, the example above uses src, but you can also use keywords such as dst, sport, dport etc..</p>
<p>Check this doc for a full list of what you can and can&#8217;t do..</p>
<p><a href="http://www.checkpoint.com/techsupport/downloads/html/ethereal/fw_monitor_rev1_01.pdf">http://www.checkpoint.com/techsupport/downloads/html/ethereal/fw_monitor_rev1_01.pdf</a></p>
<p><map name='google_ad_map_129_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/129?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_129_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=129&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F11%2Fcheckpoint-fw-monitor-to-debug-and-trace-traffic%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/11/checkpoint-fw-monitor-to-debug-and-trace-traffic/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checkpoint FW HA debugging.</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/11/checkpoint-fw-ha-debugging/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/11/checkpoint-fw-ha-debugging/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 13:54:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other Tech Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=126</guid>
		<description><![CDATA[Some useful commands to help you if you need to debug a possible problem with HA or clusterXL services.
# cphaprob stat
This command shows you the current status of your ha configuration &#8211; ideally you will see OK&#8217;s rather than problem, it will also tell you the which node is the primary.
# cphaprob -ia list
This give [...]]]></description>
			<content:encoded><![CDATA[<p>Some useful commands to help you if you need to debug a possible problem with HA or clusterXL services.</p>
<p># cphaprob stat</p>
<p>This command shows you the current status of your ha configuration &#8211; ideally you will see OK&#8217;s rather than problem, it will also tell you the which node is the primary.</p>
<p># cphaprob -ia list</p>
<p>This give you a bit more detail on any problems and which if any daemons have failed. So for example, if your fwd daemon has failed you would see a state of problem.</p>
<p># cphaprob -a if</p>
<p>This shows you the interfaces, whether they are up, and whether they are running multicast or broadcast &#8211; this should be the same on the secondary node.</p>
<p>#fw stat</p>
<p>Shows you the host and the currently installed policy along with a list of your interfaces in use.</p>
<p># netstat -i</p>
<p>Regular linux command, but useful as it shows you the state of your interfaces, and whether there is a possible network problem.</p>
<p><map name='google_ad_map_126_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/126?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_126_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=126&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F11%2Fcheckpoint-fw-ha-debugging%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/11/checkpoint-fw-ha-debugging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pure-ftpd unable to list more than 2000 files.</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/11/pure-ftpd-unable-to-list-more-than-2000-files/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/11/pure-ftpd-unable-to-list-more-than-2000-files/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 16:20:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=123</guid>
		<description><![CDATA[By default Pure-ftpd limits you to only being able to list &#60; 2000 files.
To change this, do the following..
Edit your pure-ftpd config file &#8211; usually in /etc/pure-ftpd.conf
change the line
LimitRecursion 2000 8
to
LimitRecursion xxxx 8
Where xxxx is the number of files you want to limit it to&#8230;
Restart the pure-ftpd service and you should be done!



]]></description>
			<content:encoded><![CDATA[<p>By default Pure-ftpd limits you to only being able to list &lt; 2000 files.</p>
<p>To change this, do the following..</p>
<p>Edit your pure-ftpd config file &#8211; usually in /etc/pure-ftpd.conf</p>
<p>change the line</p>
<p>LimitRecursion 2000 8</p>
<p>to</p>
<p>LimitRecursion xxxx 8</p>
<p>Where xxxx is the number of files you want to limit it to&#8230;</p>
<p>Restart the pure-ftpd service and you should be done!</p>
<p><map name='google_ad_map_123_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/123?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_123_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=123&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F11%2Fpure-ftpd-unable-to-list-more-than-2000-files%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/11/pure-ftpd-unable-to-list-more-than-2000-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 2000/2003/2008 server Auto Admin logon</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/10/windows-200820032008-server-auto-admin-logon/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/10/windows-200820032008-server-auto-admin-logon/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 15:48:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows / Microsoft Stuff x-(]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=119</guid>
		<description><![CDATA[Whilst really this is just horrible, there are times that you may need (hopefully) internal boxes to automatically logon with a specific set of credentials &#8211; perhaps to launch an application that cannot be installed as a service etc..
Here are the steps to do this (at your own risk! this means anyone with access to [...]]]></description>
			<content:encoded><![CDATA[<p>Whilst really this is just horrible, there are times that you may need (hopefully) internal boxes to automatically logon with a specific set of credentials &#8211; perhaps to launch an application that cannot be installed as a service etc..</p>
<p>Here are the steps to do this (at your own risk! this means anyone with access to the registry will have your username and password)</p>
<p>1: Open regedit</p>
<p>2: Navigate to the below registry key</p>
<pre style="font-weight: normal; width: auto; clear: none; overflow-y: visible; font-size: 12px; line-height: 1.333; background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: #efefef; color: #000000; overflow-x: visible; white-space: pre; font-family: monospace; background-position: initial initial; padding: 0.3em; margin: 0px;"><span style="color: #800000;">HKEY_LOCAL_MACHINE</span>\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon</pre>
<p>3: Create value DefaultUserName as a REG_SZ and enter the username you want to auto logon.</p>
<p>4: Create value DefaultPassword as a REG_SZ and enter the password for the user above.</p>
<p>5: Create value AutoAdminLogon as a REG_SZ and set it to 1</p>
<p>6: If applicable create DefaultDomainName as a REG_SZ and set it to the required domain.</p>
<p>Close regedit, reboot and it should now automagically log you on with the above details.</p>
<p>Did I mention this is horrible? <img src='http://techblog.sunsetsurf.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><map name='google_ad_map_119_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/119?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_119_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=119&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F10%2Fwindows-200820032008-server-auto-admin-logon%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/10/windows-200820032008-server-auto-admin-logon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VMWare ESX4i guests power on automatically when host restarts.</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/10/vmware-esx4i-guests-power-on-automatically-when-host-restarts/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/10/vmware-esx4i-guests-power-on-automatically-when-host-restarts/#comments</comments>
		<pubDate>Fri, 16 Oct 2009 11:09:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[VMWare Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=115</guid>
		<description><![CDATA[From ESX3.5i to vSphere VMWare has changed slightly the location of where to configure your host so that the guests restart if you happen to have either power failures to your ESX host or if you just shut it down etc..
So follow the below steps to ensure your guests power on automatically on host startup.
Open vSphere [...]]]></description>
			<content:encoded><![CDATA[<p>From ESX3.5i to vSphere VMWare has changed slightly the location of where to configure your host so that the guests restart if you happen to have either power failures to your ESX host or if you just shut it down etc..</p>
<p>So follow the below steps to ensure your guests power on automatically on host startup.</p>
<p>Open vSphere Client</p>
<p>In the left hand pane, highlight your choosen host, then click the configuration tab in the main pane.</p>
<p>Click Virtual Machine Startup/Shutdown under the software Section.</p>
<p>Click Properties in the top right hand corner of the main pane.</p>
<p>Then check Allow virtual machines to start and stop automatically with the system, then change the startup order of your guests in the box below as appropriate.</p>
<p>If you want all to startup with the host, then move them all up to automatic startup.</p>
<p>Now when your host restarts, your guests will come up automatically as well.</p>
<p><map name='google_ad_map_115_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/115?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_115_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=115&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F10%2Fvmware-esx4i-guests-power-on-automatically-when-host-restarts%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/10/vmware-esx4i-guests-power-on-automatically-when-host-restarts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Business Objects Xi3 error &#8211; The Central Management Server has failed to start. Press &#8216;Retry&#8217; to attempt to start it again or &#8216;Cancel&#8217; to skip any actions dependendent on the Central Management Server. (STU000213)</title>
		<link>http://techblog.sunsetsurf.co.uk/2009/10/business-objects-xi3-error-the-central-management-server-has-failed-to-start-press-retry-to-attempt-to-start-it-again-or-cancel-to-skip-any-actions-dependendent-on-the-central-management-se/</link>
		<comments>http://techblog.sunsetsurf.co.uk/2009/10/business-objects-xi3-error-the-central-management-server-has-failed-to-start-press-retry-to-attempt-to-start-it-again-or-cancel-to-skip-any-actions-dependendent-on-the-central-management-se/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 16:02:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other Tech Stuff]]></category>

		<guid isPermaLink="false">http://techblog.sunsetsurf.co.uk/?p=112</guid>
		<description><![CDATA[I received the below error When trying to do a Business Objects Xi3 install and crucially for this particular scenario, I was trying to re-use an existing CMS database &#8211; i.e I had unticked the option in the install to reset the database.
The Central Management Server has failed to start. Press &#8216;Retry&#8217; to attempt
to start it [...]]]></description>
			<content:encoded><![CDATA[<p>I received the below error When trying to do a Business Objects Xi3 install and crucially for this particular scenario, I was trying to re-use an existing CMS database &#8211; i.e I had unticked the option in the install to reset the database.</p>
<p>The Central Management Server has failed to start. Press &#8216;Retry&#8217; to attempt</p>
<p>to start it again or &#8216;Cancel&#8217; to skip any actions dependendent on the Central</p>
<p>Management Server. (STU000213)</p>
<p>When trying to do a Business Objects Xi3 install</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">
<p>The Central Management Server</p>
<p>has failed to start. Press &#8216;Retry&#8217; to attempt</p></div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">to start it again or &#8216;Cancel&#8217; to skip any actions dependendent on the Central</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Management Server. (STU000213)</div>
<p>I bashed my head against the wall for ages on this, the cms.exe service did actually seem to be starting &#8211; it was listed as a running process in task manager &#8211; I could see it bound to port 6400 using netstat, so I couldnt understand what was causing the issue and throwing the above error message.</p>
<p>The business objects help was far from helpful suggesting I click retry! wow &#8211; unsurprisingly this didnt work.</p>
<p>So trying to logically work through it, I came down to  the fact that it must be related to my install using an existing database.</p>
<p>I had read a few posts which talked about the CMS Administrator password &#8211; and it dawned on me that it might be because I was using a existing database that I needed to input the existing CMS Administrator password &#8211; which wasn&#8217;t blank.</p>
<p>I was trying to use the option, configure this later for the CMS Admin password, and just didnt really pay much attention to this, but when I tried to re-install for the 5th time, I put in the existing CMS Admin password, and HEY PRESTO, Business Objects FINALLY installed&#8230;</p>
<p>What in hindsight seems relatively obvious, caused me such pain! Please Business Objects, lets have some better / more verbose output / logging on your error messages&#8230;</p>
<p>Anywho.. .hope this helps someone, cos it took me ages <img src='http://techblog.sunsetsurf.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><map name='google_ad_map_112_17841dedafa0ad63'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/112?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_112_17841dedafa0ad63' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=112&amp;url= http%3A%2F%2Ftechblog.sunsetsurf.co.uk%2F2009%2F10%2Fbusiness-objects-xi3-error-the-central-management-server-has-failed-to-start-press-retry-to-attempt-to-start-it-again-or-cancel-to-skip-any-actions-dependendent-on-the-central-management-se%2F' /></p>]]></content:encoded>
			<wfw:commentRss>http://techblog.sunsetsurf.co.uk/2009/10/business-objects-xi3-error-the-central-management-server-has-failed-to-start-press-retry-to-attempt-to-start-it-again-or-cancel-to-skip-any-actions-dependendent-on-the-central-management-se/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
