<?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>Shaun's Notes &#187; Security</title>
	<atom:link href="http://www.shaunamarelo.com/shaunsnotes/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shaunamarelo.com/shaunsnotes</link>
	<description>notes, fixes, and other cool stuff</description>
	<lastBuildDate>Thu, 05 Mar 2009 09:23:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Securely surf the net on a wireless link</title>
		<link>http://www.shaunamarelo.com/shaunsnotes/securely-surf-the-net-on-a-wireless-link/</link>
		<comments>http://www.shaunamarelo.com/shaunsnotes/securely-surf-the-net-on-a-wireless-link/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 16:26:37 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.shaunamarelo.com/shaunsnotes/?p=16</guid>
		<description><![CDATA[This article is intended for anyone that surfs the internet wirelessly. For example, University/College students, home users connected to a wireless network and even  users of local hotspots.
The main thing to keep in mind whenever you access a wireless network is that your information is broadcasted to everyone. There are loads of applications, widely [...]]]></description>
			<content:encoded><![CDATA[<p>This article is intended for anyone that surfs the internet wirelessly. For example, University/College students, home users connected to a wireless network and even  users of local hotspots.</p>
<p>The main thing to keep in mind whenever you access a wireless network is that your information is broadcasted to everyone. There are loads of applications, widely and freely available, that can translate any broadcasted message. This means MSN messages and even usernames and passwords can be intercepted by a malicious individual. Often hotspots provide some sort of encryption, often WEP or WPA. However, again there are tons of applications and tutorials online that can break these encryptions. In the case of most universities/colleges they often make their encryption key available to the public. Therefore, even with encryption the messages you send through a wireless network are NOT SAFE.</p>
<p>Enter the SSH Tunnel.<br />
A SSH Tunnel is an encrypted network tunnel through what is called a Secure Shell.<br />
Think of it as an unbreakable tunnel that all your wireless messages travel through. Where to they end up? They travel to a network that you know is secure, most cases a home computer that is physically connected to a modem or router.</p>
<p>Here is an example of what a SSH tunnel does.<br />
Assume you are on your laptop connected to a wireless hotspot at school and attempt to visit<br />
www.google.com<br />
1. your browser&#8217;s request for google.com travels the internet, via the tunnel, to your home computer.<br />
2. your home computer receives your request for google.com and then requests google.com from the internet.<br />
3. your home computer then passes the information received from google.com back to your laptop via the tunnel.<br />
4. you receive google.com&#8217;s information</p>
<p>You will notice that the home computer acts as the middle-man between you and the internet. Any information you request from the laptop is requested and received by the home computer. More importantly, all your internet surfing data is protected by the SSH tunnel.</p>
<p>How to setup an SSH tunnel.<br />
Here is list of things needed in order to set up a SSH Tunnel.<br />
1. A home computer that is physically connected, by either USB or Ethernet cable, to the modem or router.<br />
2. Create a hostname that points to your IP address provided by your home ISP. <a href="http://www.shaunamarelo.com/shaunsnotes/?p=3" target="_blank">Read my notes on how this can be done</a>.<br />
3. Set up a SSH server on the home computer: <a href="http://www.shaunamarelo.com/shaunsnotes/?p=10" target="_blank">Read my notes on that as well</a>.<br />
4. Install a SSH client on your laptop or any other machine using a wireless connection: <a href="http://www.shaunamarelo.com/shaunsnotes/?p=11" target="_blank">My notes</a>.<br />
5. (If ssh server on a windows box) Configure Windows Firewall -&gt; allow port 22.<br />
6. (If ssh server is behind a  NAT router) You will need to log into the router then usually under &#8216;Advanced Settings&#8217; you should see &#8216;Virtual Server&#8217;, or even &#8216;Port Forwarding&#8217;. I would recommend configuring the &#8216;Virtual Server&#8217; settings if available. Forward port 22 to the ssh server and save the settings.<br />
<a href="http://www.shaunamarelo.com/shaunsnotes/wp-content/uploads/2007/12/dlink-ssh.jpg" target="_blank"><img src="http://www.shaunamarelo.com/shaunsnotes/wp-content/uploads/2007/12/dlink-ssh.thumbnail.jpg" alt="dlink-ssh.jpg" /></a><br />
7. Use the ssh client to connect to the ssh server, make sure to designate a local port whose data will be tunneled.</p>
<p>After completing steps 1-7 all data going in and out of the designated port will be ssh tunneled.</p>
<p>Now time to configure your internet browser to pass all it data through the tunnel.<br />
Firefox:  open Preferences-&gt;Advanced-&gt;&#8221;Network&#8221; tab-&gt;&#8221;Settings&#8221; button<br />
Select &#8220;Manual proxy configuration&#8221;<br />
Edit only &#8220;SOCKS Host&#8221;: type &#8216;localhost&#8217;  and for Port: the port you designated for tunneling<br />
Click OK</p>
<p>Internet Explorer: open Internet Options-&gt;&#8221;Connection&#8221; tab-&gt; &#8220;LAN settings&#8221; button<br />
Select &#8220;Use a proxy server for your LAN&#8221;<br />
Edit only &#8220;Socks&#8221; : address = &#8216;localhost&#8217; and Port: = designated port<br />
Cick OK</p>
<p>Now all data sent and received by your browser will be securely tunneled.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shaunamarelo.com/shaunsnotes/securely-surf-the-net-on-a-wireless-link/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Tunnelling (Client Side)</title>
		<link>http://www.shaunamarelo.com/shaunsnotes/ssh-tunnelling-client-side/</link>
		<comments>http://www.shaunamarelo.com/shaunsnotes/ssh-tunnelling-client-side/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 04:54:34 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.shaunamarelo.com/shaunsnotes/?p=11</guid>
		<description><![CDATA[Linux and Mac boxes can use the &#8217;ssh&#8217; command via the terminal to connect to a ssh server.
i.e.    ssh  username@sshserver.com
or     ssh -D port#  username@sshserver.com     [tunnel all activity on port 'port#']
NOTE: the use of -C flag should only be used on a slow [...]]]></description>
			<content:encoded><![CDATA[<p>Linux and Mac boxes can use the &#8217;ssh&#8217; command via the terminal to connect to a ssh server.<br />
i.e.    ssh  username@sshserver.com<br />
or     ssh -D port#  username@sshserver.com     [tunnel all activity on port 'port#']</p>
<p>NOTE: the use of -C flag should only be used on a slow link or else compression is counterproductive.</p>
<p>For Windows boxes I recommend the use of <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">PuTTY</a>.<br />
To connect simply enter the hostname and the port of the SSH server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shaunamarelo.com/shaunsnotes/ssh-tunnelling-client-side/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up a SSH Server</title>
		<link>http://www.shaunamarelo.com/shaunsnotes/setting-up-a-ssh-server/</link>
		<comments>http://www.shaunamarelo.com/shaunsnotes/setting-up-a-ssh-server/#comments</comments>
		<pubDate>Wed, 12 Dec 2007 04:38:13 +0000</pubDate>
		<dc:creator>Shaun</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.shaunamarelo.com/shaunsnotes/?p=10</guid>
		<description><![CDATA[So far this note is specifically for Windows box.
Free SSH Server Software:
 OpenSSH for Windows
[reported to complicated to get up and running for Windows Server Editions]
copSSH
[NT/2000/XP/2003/Vista and my personal favourite, I have it running on Windows Server 2003]
Once they are installed they should run as a service.
If you are behind a firewall and/or NAT router [...]]]></description>
			<content:encoded><![CDATA[<p>So far this note is specifically for Windows box.</p>
<p>Free SSH Server Software:<br />
<a href="http://sshwindows.sourceforge.net/" target="_blank"> OpenSSH for Windows</a><br />
[reported to complicated to get up and running for Windows Server Editions]<br />
<a href="http://www.itefix.no/phpws/index.php?module=pagemaster&amp;PAGE_user_op=view_page&amp;PAGE_id=12&amp;MMN_position=149:149" target="_blank">copSSH</a><br />
[NT/2000/XP/2003/Vista and my personal favourite, I have it running on Windows Server 2003]</p>
<p>Once they are installed they should run as a service.</p>
<p>If you are behind a firewall and/or NAT router you will need to configure some extra settings.</p>
<p>Windows Firewall -&gt;  open port 22</p>
<p>NAT router -&gt; You will need log into your router and make an entry into &#8220;Virtual Server&#8221;, if that option is not available then &#8220;Port Forwarding&#8221;, which should be under the &#8220;Advanced&#8221; options.</p>
<p>You will have to assign port 22 to the computer running the SSH server. This will allow all connections from either internally or externally to connect to the SSH server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.shaunamarelo.com/shaunsnotes/setting-up-a-ssh-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
