<?xml version="1.0" encoding="ISO-8859-1"?>
<rss version="2.0">
	<channel>
		<title>Network Paradox</title>
		<link>http://www.networkparadox.com/index.php</link>
		<description><![CDATA[]]></description>
		<copyright>Copyright 2012, Larry Wickham</copyright>
		<managingEditor>Larry Wickham</managingEditor>
		<language>en-US</language>
		<generator>SPHPBLOG 0.4.6.1</generator>
		<item>
			<title>Starting a fire(fox)</title>
			<link>http://www.networkparadox.com/index.php?entry=entry070213-163044</link>
			<description><![CDATA[Occasionally when running Firefox on OS X with the Mac version of roaming profiles the lock file Firefox creates does not get deleted resulting in an error which states that Firefox is already running and needs to be closed.<br /><br /><blockquote><br />Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.<br /></blockquote><br /><br />To fix this delete the .parentlock file found under the users profile on the server in OS X or on the local machine for windows. <br /><br />Mozilla has a page dedicated to the location of the user profile. <br /> <br /><a href="http://kb.mozillazine.org/Profile_folder" target="_blank" >Where&#039;s My Profile</a> <br />]]></description>
			<category></category>
			<guid isPermaLink="true">http://www.networkparadox.com/?entry=entry070213-163044</guid>
			<author>Larry Wickham</author>
			<pubDate>Tue, 13 Feb 2007 21:30:44 GMT</pubDate>
			<comments>http://www.networkparadox.com/comments.php?y=07&amp;m=02&amp;entry=entry070213-163044</comments>
		</item>
		<item>
			<title>Force an SSL connection using PHP</title>
			<link>http://www.networkparadox.com/index.php?entry=entry060702-162800</link>
			<description><![CDATA[Got some sensitive information and want your users to be forced into an SSL connection. Here&#039;s a quick and easy little code snippet you can put at the top of the page to secure. <br /><table border="0" cellpadding="0" cellspacing="0" align="center" width="98%"><tr><td bgcolor="#DBE7ED">
<pre>
if ($_SERVER[&#039;HTTPS&#039;] == &#039;off&#039;) { 
	$header_string = "Location:https://".$_SERVER[&#039;SERVER_NAME&#039;].$_SERVER[&#039;PHP_SELF&#039;];
	header ($header_string); // Redirect to SSL connection
	exit; // Kill this script
}
</pre>
</td></tr></table>]]></description>
			<category>Web Authoring, Scripting, PHP</category>
			<guid isPermaLink="true">http://www.networkparadox.com/?entry=entry060702-162800</guid>
			<author>Larry Wickham</author>
			<pubDate>Sun, 02 Jul 2006 20:28:00 GMT</pubDate>
			<comments>http://www.networkparadox.com/comments.php?y=06&amp;m=07&amp;entry=entry060702-162800</comments>
		</item>
		<item>
			<title>Update Mcafee Anti-Virus using a Super DAT from the command line.</title>
			<link>http://www.networkparadox.com/index.php?entry=entry060701-192317</link>
			<description><![CDATA[Should you ever need to force an update to McAfee Anti-Virus, this script will copy the latest SuperDAT update from a local server and initiate a forced silent installation. After the SDAT is executed it uses a WMI query to search for the process. Once the process has terminated it will clean up after itself.<br /><br />Be sure to change the path to your server in the Copy section.<br /><br />Enjoy!<br /><br /><table border="0" cellpadding="0" cellspacing="0" align="center" width="98%"><tr><td bgcolor="#DBE7ED"><pre>
@ECHO off
ECHO -------------------------------------------------------
ECHO - mcafee_sdat_update.cmd  - Larry Wickham - 7/1/2006
ECHO -
ECHO - Purpose: COPY the latest sdat update file from a UNC
ECHO -          path and execute it using the SILENT and
ECHO -          FORCE options.
ECHO -
ECHO -------------------------------------------------------

ECHO     COPY file from UNC path
ECHO -------------------------------------------------------

COPY \\SERVER\SHARE\sdat*.exe .

ECHO     Generate a batch file to execute it
ECHO -------------------------------------------------------

ECHO @ECHO off > sdat_update_child.cmd
ECHO ECHO ***** sdat_update_child.cmd initiated > sdat_update_child.cmd
DIR /b sdat*.exe > sdat.list
FOR /F %%i in (sdat.list) DO ECHO %%i /SILENT /F >> sdat_update_child.cmd 

ECHO     Execute the batch file
ECHO -------------------------------------------------------

CALL sdat_update_child.cmd


ECHO     Checking operating system version 
ECHO -------------------------------------------------------
VER &#124; find "XP" 
IF !%errorlevel%! == !1! GOTO EXIT

ECHO Windows XP detected

ECHO     Wait for process to complete
ECHO -------------------------------------------------------

:CHECK_FOR_PROCESS
WMIC PROCESS get Caption,Processid &#124; find "sdat" /I
IF !%errorlevel%! == !0! GOTO CHECK_FOR_PROCESS


ECHO     Clean up
ECHO -------------------------------------------------------

DEL sdat_update_child.cmd
DEL sdat*.exe

:EXIT
</pre></td></tr></table>]]></description>
			<category>Scripting, Command Line</category>
			<guid isPermaLink="true">http://www.networkparadox.com/?entry=entry060701-192317</guid>
			<author>Larry Wickham</author>
			<pubDate>Sat, 01 Jul 2006 23:23:17 GMT</pubDate>
			<comments>http://www.networkparadox.com/comments.php?y=06&amp;m=07&amp;entry=entry060701-192317</comments>
		</item>
		<item>
			<title>Which compression method is best, quick survey.</title>
			<link>http://www.networkparadox.com/index.php?entry=entry060701-035449</link>
			<description><![CDATA[At work today there was a bit of debate as to which compression method was best. I personally did not have a preference in the discussion but my curiosity was ignited. I decided to do a little test to see which method was the best. I fired up 7Zip and Win Rar to duke it out. Here are the results, taken directly from a command window. <br /><br />100 Power Point template files, these are pretty big files with images inside.<br /><pre><br />Powerpoint Tmpl			100 File(s)      7,481,344 bytes<br />         4,454,809 Powerpoint Tmpl.7z<br />         4,926,588 Powerpoint Tmpl.rar<br />         4,948,264 Powerpoint Tmpl.zip<br /></pre><br /><b>Best Compression: 7 Zip</b> 59.55% of the original size.<br /><br />Now how about plain old text files, I grabbed 100 RFCs and zipped them up. <br /><pre><br />rfc (text)			100 File(s)      5,515,893 bytes<br />           898,401 rfc (text).7z<br />         1,068,499 rfc (text).rar<br />         1,345,080 rfc (text).zip<br /></pre><br /><b>Best Compression: 7 Zip</b> 16.29% of the original size.<br /><br />Now what about a distributed setup file, it already has some files compressed in to it. Behold windows media player 11 beta installation. This should be interesting...<br /><pre><br />wmp11-windowsxp-x86-enu.exe	1 File		24,070,456 bytes<br />        24,030,963 wmp11-windowsxp-x86-enu.zip<br />        24,070,547 wmp11-windowsxp-x86-enu.rar<br />        24,312,838 wmp11-windowsxp-x86-enu.7z<br /></pre><br /><b>Best Compression: Zip</b> 99.83% of the original size.<br /><br />The verdict, just as it has always been the best compression method depends on what you are compressing. Based on this simple test 7Zip seems to be great for just about anything, unless you are packaging a bunch of setup files in which case the Zip method seems best.<br /><br />What makes this whole comparison even better is 7Zip is licenced under the GNU LGPL, which makes it easy to afford. Right now development is moving along nicely as evidenced by the 3 release versions (4.23-4.42) posted on the 7zip home page in the last year.<br /><br /><a href="http://www.7-zip.org/" target="_blank" >http://www.7zip.org</a> ]]></description>
			<category>Misc. Computing</category>
			<guid isPermaLink="true">http://www.networkparadox.com/?entry=entry060701-035449</guid>
			<author>Larry Wickham</author>
			<pubDate>Sat, 01 Jul 2006 07:54:49 GMT</pubDate>
			<comments>http://www.networkparadox.com/comments.php?y=06&amp;m=07&amp;entry=entry060701-035449</comments>
		</item>
		<item>
			<title>Vista Nueva, Portales New Mexico</title>
			<link>http://www.networkparadox.com/index.php?entry=entry060628-034841</link>
			<description><![CDATA[<img src="images/vistanueva.jpg" width=248 height=198 border=0 alt=''>]]></description>
			<category>Hosted Sites</category>
			<guid isPermaLink="true">http://www.networkparadox.com/?entry=entry060628-034841</guid>
			<author>Larry Wickham</author>
			<pubDate>Wed, 28 Jun 2006 07:48:41 GMT</pubDate>
			<comments>http://www.networkparadox.com/comments.php?y=06&amp;m=06&amp;entry=entry060628-034841</comments>
		</item>
		<item>
			<title>Smith Vet Hosptial, Santa Fe New Mexico</title>
			<link>http://www.networkparadox.com/index.php?entry=entry060628-034758</link>
			<description><![CDATA[<img src="images/smithvet.jpg" width=247 height=231 border=0 alt=''>]]></description>
			<category>Hosted Sites</category>
			<guid isPermaLink="true">http://www.networkparadox.com/?entry=entry060628-034758</guid>
			<author>Larry Wickham</author>
			<pubDate>Wed, 28 Jun 2006 07:47:58 GMT</pubDate>
			<comments>http://www.networkparadox.com/comments.php?y=06&amp;m=06&amp;entry=entry060628-034758</comments>
		</item>
		<item>
			<title>Hosting Site Has Moved</title>
			<link>http://www.networkparadox.com/index.php?entry=entry060628-034540</link>
			<description><![CDATA[For 3 years now I have been a hosting reseller. I started it with the intention of becoming what GoDaddy is today. But those dreams are long since passed. Instead I have adopted hosting as a hobby, one that I really enjoy.<br /><br />I have decided to incorporate my hosting hobby and my personal web page into the same site, accessible through many URLs. <br /><br />If you are looking for a web host with a personal touch click the contact me link on the right side of this page and see what I can do for you.<br /><br />]]></description>
			<category>Hosting</category>
			<guid isPermaLink="true">http://www.networkparadox.com/?entry=entry060628-034540</guid>
			<author>Larry Wickham</author>
			<pubDate>Wed, 28 Jun 2006 07:45:40 GMT</pubDate>
			<comments>http://www.networkparadox.com/comments.php?y=06&amp;m=06&amp;entry=entry060628-034540</comments>
		</item>
		<item>
			<title>Cloaking Web Pages the Easy Way</title>
			<link>http://www.networkparadox.com/index.php?entry=entry060627-004109</link>
			<description><![CDATA[Here is a quick and easy way to cloak a website using only html. This is great if your web host allows you to upload HTML but will not let you redirect your web pages. <br /><br />This page creates one big frame the size of the browser window and loads the redirected page inside.<br /><blockquote><br />&lt;html&gt;<br />&lt;head&gt;<br />&lt;title&gt; THIS TITLE WILL APPEAR IN THE ADDRESS BAR! &lt;/title&gt;<br />&lt;frameset rows=&quot;*&quot; framespacing=&quot;0&quot; border=&quot;0&quot; frameborder=&quot;0&quot;&gt; <br />&lt;frame name=&quot;nav&quot; src=&quot;http://www.myurl.com/goes/right/here&quot;&gt; <br />&lt;/head&gt;<br />&lt;body bgcolor=&quot;#FFFFFF&quot;&gt;<br />&lt;/body&gt;<br />&lt;/html&gt;<br /></blockquote>]]></description>
			<category>Web Authoring</category>
			<guid isPermaLink="true">http://www.networkparadox.com/?entry=entry060627-004109</guid>
			<author>Larry Wickham</author>
			<pubDate>Tue, 27 Jun 2006 04:41:09 GMT</pubDate>
			<comments>http://www.networkparadox.com/comments.php?y=06&amp;m=06&amp;entry=entry060627-004109</comments>
		</item>
		<item>
			<title>Simple Easy Secure Tunneling with SSH and PuTTY</title>
			<link>http://www.networkparadox.com/index.php?entry=entry060315-150048</link>
			<description><![CDATA[So you want to secure remote desktop? Got a linux firewall running and need quick access to TCP ports on the inside of the firewall?<br /><br />Tunneling with PuTTY is really easy to setup. Here is a list of the basic requirements:<br /><br />SSH running on an internet connected computer<br />A computer on the inside of your Firewal or NAT to connect to<br />A computer on the outside with a copy of PuTTY<br />A few minutes... assuming you have already setup SSH<br /><br />In my configuration I have the following: <br /><br />Windows desktop at home <b>(EndPoint)</b><br />Linux Server at home running SSH under Debian 3.1 Sarge <b>(SSH Server)</b><br />Windows desktop at Work with a fresh copy of PuTTY <b>(SSH Client)</b> <br /><br />If you do not already have SSH setup and you are running a Debian its as easy as executing <i>apt-get install sshd</i>.<br /><br />Ok so say I want to secure remote desktop, by using the PuTTY tunnel method I secure my home computer and my data in two ways:<br />Encrypt data that travels across the internet.<br />Port 3389 is blocked at the DSL Router.<br /><br />So here&#039;s how it&#039;s done:<br />First we need to open PuTTY and enter in some basic information for the connection...<br /><img src="images/PuTTYTunnel1.JPG" width=456 height=442 border=0 alt=''><br />In the host name or IP address you want to enter the hostname or IP of your destination network router. In my setup I have dynamic DNS Service configured to resolve the Dynamic IP Address that my ISP assigns my router. <br />You also need to name this connection, we need to save a special configuration in PuTTY for this connection. In the picture you can see I have named this one Tunnel.<br /><br />Next we navigate down the PuTTY Configuration Tree to the Tunneling page of PuTTY.<br /><img src="images/PuTTYTunnel2.JPG" width=456 height=442 border=0 alt=''><br />In order to understand what information we need to enter here we need to know what port we want to connect to on the Endpoint and what port on the SSH Client we want to use for this Tunnel. <br />Enter the source port on the SSH Client you wish to use, for remote desktop do not use 3389 as this method is not allowed and is detected as a loopback connection and will fail everytime. You may want to write this port number down. The second entry we need to modify is the Destination, this is the IP address or hostname  and port number that the SSH Server will connect to, our End Point, for remote desktop we will use port 3389. On my home network the Endpoint&#039;s IP Address is 192.168.0.10.  Click the ADD button and PuTTY will add it to the list of tunnels.<br /><br />Now the key to making this work is going back to the Session page and saving the configuration. If you skip this it will not work.<br /><br />Once we have configured PuTTY we can work our magic.<br /><br />Connect to the SSH server in PuTTY as you normally would. Enter your username and password. <br /><br />Minimize PuTTY. <br /><br />Start the Client Program you wish to use on the SSH Client (i.e. Remote Desktop).<br /><br />Enter the loopback IP address in the Client program followed by the Source port defined in PuTTY. (i.e. 127.0.0.1:300) Some programs may require that you use a specific port, if this is the case Tunneling with PuTTY may not work if the program will not allow loopback connections. <br /><br />Enjoy your secure tunnel, close the Client Program and PuTTY.<br /><br />This will only work with the TCP Protocol so those of you wanting to circumvent the company firewall to run Guntella, sorry. <br />FTP does not work with SSH tunnels as it requires a connection back to the client and SSH is a one way ticket. ]]></description>
			<category>Networking</category>
			<guid isPermaLink="true">http://www.networkparadox.com/?entry=entry060315-150048</guid>
			<author>Larry Wickham</author>
			<pubDate>Wed, 15 Mar 2006 20:00:48 GMT</pubDate>
			<comments>http://www.networkparadox.com/comments.php?y=06&amp;m=03&amp;entry=entry060315-150048</comments>
		</item>
		<item>
			<title>Blog is up</title>
			<link>http://www.networkparadox.com/index.php?entry=entry060126-021350</link>
			<description><![CDATA[<b>Here we go...</b><br />Why blog, well I needed a quick and dirty way to get my content out on the net. If you saw the previous content at this URL you&#039;ve seen my custom php setup, that was dirty but not quite quick. <br /><br />I looked at a couple of Blogging solutions and SimplePHP blog seems to fit the build quite well. I decided to get away from the SQL database setup and go flat text, it&#039;s a little easier to backup using ftp, I don&#039;t have to call a script to do a MySQL dump first. <br /><br />I intend to keep this site entirely open source so if you like something in it support or at least thank the author of that component. I hope to add more features as time goes on.<br /><br />This blog will be edited using Firefox, IE viewers your mileage may vary. <br /><br />If you experience any problems please let me know. ]]></description>
			<category>General</category>
			<guid isPermaLink="true">http://www.networkparadox.com/?entry=entry060126-021350</guid>
			<author>Larry Wickham</author>
			<pubDate>Thu, 26 Jan 2006 07:13:50 GMT</pubDate>
			<comments>http://www.networkparadox.com/comments.php?y=06&amp;m=01&amp;entry=entry060126-021350</comments>
		</item>
	</channel>
</rss>


