For starters, I need more storage. My main office computer is a Mac Mini hooked up to a 20" flat screen. It's got an 80g drive which filled up last year sometime. At that point, I went with an external USB enclosure with a 500g drive. It was fairly cheap (thanks Newegg!) and allowed me to move my iTunes library off to another drive, which freed up my primary volume considerably.
At 500g, I had way more space then I needed. I decided to partition the drive in half and give Time Machine a try. It was incredibly simple and easy to setup. Just the way I like it! On top of that, I felt moderately better that I was backing up important documents, photos, and home video.
Anyway, back to the point. I need more storage. I would like to start moving my DVD collection online so that I can stream it downstairs to the PS3. I'm pretty lazy and this would save me some trips up the stairs. Furthermore, I get kind of tired of swapping disks in the PS3 from playing games to watching DVDs.
So, because I'm not only lazy, but also cheap, I started looking around at the spare equipment that I had stored up in the office. I just figured I'd repurpose some existing equipment and fire up Linux and Samba and be done with it. There are probably enough parts lying around to build about 3 pc's, but it's all pretty old stuff. I have 2 working pc's, one of which is a Windows gaming machine that powers down randomly. The other is my firewall which runs Debian at the moment.
The firewall it is. But, before I repurpose that box, I need a different firewall. (I know this is a long ways from storage, but bear with me) I decided to upgrade my wireless access point to be wireless access point/firewall. The excellent DD-WRT package made this very easy in addition to adding some nice QoS functionality that I wasn't using before. I won't go into all the details of how to do it, because I believe that it is documented well elsewhere. Definitely drop a comment if you have some questions about it. I can go into details of my setup in a future post.
Before I closed out the firewall project, I ran over to Shields Up to verify the firewall settings were sufficiently hiding me from portscans. Yep, all good! Everything comes back "stealth". Now... where was I?
Technology Stuff
Showing posts with label computer. Show all posts
Showing posts with label computer. Show all posts
Thursday, April 9, 2009
Thursday, April 2, 2009
Home Media, Part 1
I've been watching the home media craze from a distance. My friends are buying media servers and media extenders and networked TiVos and on and on. But, I just haven't jumped into it. I have been quite satisfied with my DirecTivo with a modded hard-drive for extra capacity. It's not HD. It's not networked. It is years old and it just keeps working. I have all the movie channels and I do the occasional RedBox. Life is simple.
Unfortunately, that doesn't last forever. Now, I'm itching to do something different. I have some growing storage needs on my home network. I've got a PS3 that I use to play me some Call of Duty with my 10 year old friend and some guy named A_Trillion_Ninjas. I've got a growing sensitivity to risk and how my data backup strategy is working out.
I've just got this growing laundry list of fun little projects that take about 5 times as long as they should. The more I thought about it, the more they all became related.
I thought I would share my adventures here. Maybe you can relate. Maybe you think I'm an idiot. It's all good...
Unfortunately, that doesn't last forever. Now, I'm itching to do something different. I have some growing storage needs on my home network. I've got a PS3 that I use to play me some Call of Duty with my 10 year old friend and some guy named A_Trillion_Ninjas. I've got a growing sensitivity to risk and how my data backup strategy is working out.
I've just got this growing laundry list of fun little projects that take about 5 times as long as they should. The more I thought about it, the more they all became related.
I thought I would share my adventures here. Maybe you can relate. Maybe you think I'm an idiot. It's all good...
Friday, March 14, 2008
Wake Up
I access my home computers from over the Internet all the time. Because of this, I typically leave them on 24x7 so that I can always log into them. Yeah, this uses some power, but the convenience of it has always been more important to me. I knew about wakeonlan capability, but just never took the time to figure it out.
After I read this write-up, I decided to bite the bullet and give it a try. Turns out to be way easier then I thought. You should give it a try!
I ended up using a different utility then the ones suggested in the article though. Since I tend to log in via ssh, I needed a utility that will work via command line. This one works nicely on my Mac (cuz OS X just comes with PERL out of the box). I also grabbed it on my Debian system with "apt-get install wakeonlan".
One thing to note, it will be easier to use this if you happen to recall the ethernet address of all your home machines. I could tell you that I have all mine memorized, but I would be lying. Instead, I just created a quick notebook on Google and stored them all there.
My machines now have power management settings enabled. They will enjoy a well deserved rest tonight. Give it a try and let me know how it goes...
After I read this write-up, I decided to bite the bullet and give it a try. Turns out to be way easier then I thought. You should give it a try!
I ended up using a different utility then the ones suggested in the article though. Since I tend to log in via ssh, I needed a utility that will work via command line. This one works nicely on my Mac (cuz OS X just comes with PERL out of the box). I also grabbed it on my Debian system with "apt-get install wakeonlan".
One thing to note, it will be easier to use this if you happen to recall the ethernet address of all your home machines. I could tell you that I have all mine memorized, but I would be lying. Instead, I just created a quick notebook on Google and stored them all there.
My machines now have power management settings enabled. They will enjoy a well deserved rest tonight. Give it a try and let me know how it goes...
Saturday, March 1, 2008
The Magic Touch
I got an iPod Touch the other day. Yes, they've been out for a while now, big deal. Some of my friends will tell you that I am afraid of new technology. They are liars.
At any rate, I got a used one from my cousin who recently upgraded to an iPhone. If not for that, I probably still wouldn't have one. I played around with it for about 4 hours last night and I'm just blown away by the possibilities in this little device.
However, I don't necessarily like it for the same reasons that Apple has intended. Sure, the screen is beautiful, and the form factor is nice. Problem is, I have a perfectly good iPod that plays music and video just fine. And no, I really don't need to watch it sideways. That isn't the reason that I like the Touch. The reason I like the Touch is twofold; the wi-fi capability, and the full web browser.
I carry a laptop for a living. It is a heavy beast and I have a bag full of accessories to go along with it. It certainly has its place, but I find that I won't take it into a coffee shop or some other place with wi-fi access because it is just to painful to lug it around, boot it up, and log in just to check my email or catch up on some RSS feeds. Sometimes, I feel like these guys.
Enter the Touch. It fits nicely in my laptop bag or in my pocket. It is flash based, boots immediately, and has a fully capable web browser. Take that, add in the excellent applications provided by Google, and I have a very powerful device that can replace my laptop in a lot of scenarios. Gmail and Greader are apps that I use daily. Both are quite usable on this handy little device. Next I will have to try creating one of these posts with it!
Do you have an iPod Touch or iPhone yet?
At any rate, I got a used one from my cousin who recently upgraded to an iPhone. If not for that, I probably still wouldn't have one. I played around with it for about 4 hours last night and I'm just blown away by the possibilities in this little device.
However, I don't necessarily like it for the same reasons that Apple has intended. Sure, the screen is beautiful, and the form factor is nice. Problem is, I have a perfectly good iPod that plays music and video just fine. And no, I really don't need to watch it sideways. That isn't the reason that I like the Touch. The reason I like the Touch is twofold; the wi-fi capability, and the full web browser.
I carry a laptop for a living. It is a heavy beast and I have a bag full of accessories to go along with it. It certainly has its place, but I find that I won't take it into a coffee shop or some other place with wi-fi access because it is just to painful to lug it around, boot it up, and log in just to check my email or catch up on some RSS feeds. Sometimes, I feel like these guys.
Enter the Touch. It fits nicely in my laptop bag or in my pocket. It is flash based, boots immediately, and has a fully capable web browser. Take that, add in the excellent applications provided by Google, and I have a very powerful device that can replace my laptop in a lot of scenarios. Gmail and Greader are apps that I use daily. Both are quite usable on this handy little device. Next I will have to try creating one of these posts with it!
Do you have an iPod Touch or iPhone yet?
Saturday, October 20, 2007
Connect to your home network (SSH)
In my last post, I discussed how I keep track of my home IP address so that I could connect from "outside", whether I'm at my parent's house, traveling, or in a coffee shop.
Now, if you are going to connect from the typical open wireless access that you will find at a coffee shop, then you should be thinking about the security of the information you pass to your home network. It is incredibly easy to eavesdrop on your web session on an open wireless network. There are, as always, multiple ways to connect home securely. I will show you a couple of different ways to do it.
From here on out, this post will reference a Mac system that is connected directly to the Internet without any sort of firewall in the middle. Next week, I'll do a similar post for those of you gutsy enough to connect your Windows system directly to your external connection.
On my home system, I have configured the SSH server to allow traffic from my internet connection. I can then connect to that from a Windows, Mac, or *nix system. When making the SSH connection, I choose the options to allow tunneling. This allows me to then connect to my home system while "tunneling" through the secure SSH connection.
From the Mac system that you are currently sitting at, the command you would use to do this is (all one line):
ssh -L 5931:localhost:5900 username_on_home_system@my_home_system.dyndns.org
By running this command, you are attempting to login to your system at home using an account named "username_on_home_system". Once you authenticate successfully, you instruct SSH to connect port 5931 on the system sitting in front of you to port 5900 on your home system.
Once you have successfully made this connection, then you can use a remote desktop application like RDP (for Windows) or VNC (for Windows, Mac, and lots of other systems). I use VNC on my home system, so that is why I chose the port number 5900 when connecting SSH. To connect to my home system, I use a VNC client like Chicken of the VNC and configure it to connect to the local systems sitting in front of me.

It may seem odd to be trying to connect VNC to the system that you are currently sitting at, but keep in mind that the SSH program is going to forward anything you send to your local port 5931 to the port 5900 on your system at home. If you've done everything correctly, you should be looking at your home desktop, and it will be completely encrypted while doing so! Now, you can launch programs on your home system just as if you were sitting there.
I hope you find this helpful. It can be complicated, but your privacy and security are well worth taking the time to figure it out. If you have questions, leave a comment for me and I'll do my best to help you out.
Now, if you are going to connect from the typical open wireless access that you will find at a coffee shop, then you should be thinking about the security of the information you pass to your home network. It is incredibly easy to eavesdrop on your web session on an open wireless network. There are, as always, multiple ways to connect home securely. I will show you a couple of different ways to do it.
From here on out, this post will reference a Mac system that is connected directly to the Internet without any sort of firewall in the middle. Next week, I'll do a similar post for those of you gutsy enough to connect your Windows system directly to your external connection.
On my home system, I have configured the SSH server to allow traffic from my internet connection. I can then connect to that from a Windows, Mac, or *nix system. When making the SSH connection, I choose the options to allow tunneling. This allows me to then connect to my home system while "tunneling" through the secure SSH connection.
From the Mac system that you are currently sitting at, the command you would use to do this is (all one line):
ssh -L 5931:localhost:5900 username_on_home_system@my_home_system.dyndns.org
By running this command, you are attempting to login to your system at home using an account named "username_on_home_system". Once you authenticate successfully, you instruct SSH to connect port 5931 on the system sitting in front of you to port 5900 on your home system.
Once you have successfully made this connection, then you can use a remote desktop application like RDP (for Windows) or VNC (for Windows, Mac, and lots of other systems). I use VNC on my home system, so that is why I chose the port number 5900 when connecting SSH. To connect to my home system, I use a VNC client like Chicken of the VNC and configure it to connect to the local systems sitting in front of me.

It may seem odd to be trying to connect VNC to the system that you are currently sitting at, but keep in mind that the SSH program is going to forward anything you send to your local port 5931 to the port 5900 on your system at home. If you've done everything correctly, you should be looking at your home desktop, and it will be completely encrypted while doing so! Now, you can launch programs on your home system just as if you were sitting there.
I hope you find this helpful. It can be complicated, but your privacy and security are well worth taking the time to figure it out. If you have questions, leave a comment for me and I'll do my best to help you out.
Sunday, October 14, 2007
Connect to your home network (Dynamic DNS)
Ever been at work or at a friend's house and wanted to log into your home connection? Know the IP address off the top of your head? Well, if you're like me, then you probably don't remember it. Even if you write down your current address, it will likely change on you by the time you need it.
To make this easier, your ISP will assign you a dedicated IP address. This will allow you to always have the same address and make it easier to connect to your home network. Problem is, they will want to charge you a monthly fee for the privilege.
Fortunately, there is a free service available to make it possible to get by without a dedicated address. The concept is called Dynamic DNS and the website that I use that offers this service is called DynDNS.
Basically, the way that this works is that a central party keeps track of your computer's IP address. By downloading a special client to your computer, you can configure it to send an update to DynDNS whenever its address changes. This allows you to use DNS to easily recall the exact address that your home computer is using at any time. DynDNS is easy to setup with the hardest part being choosing which of the 80 domain names that you want to use.
This should allow you to find your home network on the Internet. Next, I'll cover how I securely connect and encrypt all communications to my home network.
Part 2, SSH
To make this easier, your ISP will assign you a dedicated IP address. This will allow you to always have the same address and make it easier to connect to your home network. Problem is, they will want to charge you a monthly fee for the privilege.
Fortunately, there is a free service available to make it possible to get by without a dedicated address. The concept is called Dynamic DNS and the website that I use that offers this service is called DynDNS.
Basically, the way that this works is that a central party keeps track of your computer's IP address. By downloading a special client to your computer, you can configure it to send an update to DynDNS whenever its address changes. This allows you to use DNS to easily recall the exact address that your home computer is using at any time. DynDNS is easy to setup with the hardest part being choosing which of the 80 domain names that you want to use.
This should allow you to find your home network on the Internet. Next, I'll cover how I securely connect and encrypt all communications to my home network.
Part 2, SSH
Sunday, October 7, 2007
Run a Windows application on your Mac
I decided to try out a product called Parallels the other day. I did this because I love my Macs, but I also love Quicken for Windows. I had heard about Parallels from a number of places, but figured now was the time to give it a try.
After installing it and installing Windows XP as a guest VM, I got to really see what was so special about this product.
The feature of Parallels that I really liked is called Coherence. With the Coherence feature enabled, it becomes very seamless when running a Windows application on your host OSX operating system. You no longer have to "swap" between the two operating systems. You can now have the Windows shell natively embedded into your OSX environment. For a peek at what this looks like, check out the image below.

It is really a powerful, clean way to implement better usability of the guest environment. You can even go farther with cross-launching applications between the two environments, but that just isn't something I'm all that interested in. My goal is to use Quicken for Windows on my Mac and this Parallels is a great way to do it!
The drawback... Have plenty of physical memory. The Mac Mini that I was running this on has 1G of memory and that was just not quite enough for a pleasurable VM experience. Swapping back and forth between the guest environment and the host environment was very noticeable and almost unusable. I'm very familiar with VM technology, both at home and at work, so I'm confident that this was not a problem with Parallels. It just takes more then 512M of memory for each operating system (the guest and the host) to run smoothly, and any VM product has to deal with this.
After installing it and installing Windows XP as a guest VM, I got to really see what was so special about this product.
The feature of Parallels that I really liked is called Coherence. With the Coherence feature enabled, it becomes very seamless when running a Windows application on your host OSX operating system. You no longer have to "swap" between the two operating systems. You can now have the Windows shell natively embedded into your OSX environment. For a peek at what this looks like, check out the image below.
It is really a powerful, clean way to implement better usability of the guest environment. You can even go farther with cross-launching applications between the two environments, but that just isn't something I'm all that interested in. My goal is to use Quicken for Windows on my Mac and this Parallels is a great way to do it!
The drawback... Have plenty of physical memory. The Mac Mini that I was running this on has 1G of memory and that was just not quite enough for a pleasurable VM experience. Swapping back and forth between the guest environment and the host environment was very noticeable and almost unusable. I'm very familiar with VM technology, both at home and at work, so I'm confident that this was not a problem with Parallels. It just takes more then 512M of memory for each operating system (the guest and the host) to run smoothly, and any VM product has to deal with this.
Monday, October 1, 2007
Backup Gmail Data
I ran across an interesting post the other day about making a backup of your email that is hosted by Google. The original author did a good job with instructions, so I won't repeat them here. I will note that I needed to a couple of things differently to make this work on my Mac.
First of all, fetchmail was already available on my Mac. (Don't you just love that OSX is really Unix? I do.)
Secondly, when configuring the .fetchmailrc file, I added a couple of things:
Okay, so my .fetchmailrc file looks like this now:
Upon running fetchmail, it downloads a few hundred messages at a time. My Gmail currently has about 1800 messages, so this will take a while to download, but that's fine. My intent here was to get a copy of my mail on my own hard drive just in case my relationship with Google ever fell through. I'll schedule this nightly via cron and in a week or two, I'll have a copy of everything.
First of all, fetchmail was already available on my Mac. (Don't you just love that OSX is really Unix? I do.)
Secondly, when configuring the .fetchmailrc file, I added a couple of things:
- and wants mda "/usr/bin/procmail -d %T" - The default behavior of fetchmail is to try and forward the mail that it downloaded to your systems SMTP service. In my case, I had never intended for my desktop machine to receive mail directly, so this was not enabled. The first time I ran fetchmail, it choked and died at this step. By adding the "mda" option, you direct fetchmail to deliver the mail locally to your default system mailbox. This will be a file that matches your username in the /var/mail directory. You can view it with a texteditor or by using the command 'mail' when you are in the Terminal.
- keep - I added this keep option so that I don't need to use the "-k" option when running the fetchmail command. Not sure why the original author didn't do this.
Okay, so my .fetchmailrc file looks like this now:
poll pop.gmail.com with proto POP3 and options no dns
user 'you@gmail.com' there with password 'itsasecret' is 'YourOSXUsername' here and wants mda "/usr/bin/procmail -d %T" options ssl keep
Upon running fetchmail, it downloads a few hundred messages at a time. My Gmail currently has about 1800 messages, so this will take a while to download, but that's fine. My intent here was to get a copy of my mail on my own hard drive just in case my relationship with Google ever fell through. I'll schedule this nightly via cron and in a week or two, I'll have a copy of everything.
Thursday, September 13, 2007
Wading through the onslaught of RSS feeds
If you don't know what a RSS feed is, you should. (I'll wait while you follow the link and read up on it.)
Okay, so now you know what RSS means, but why is it such a big deal? For me, RSS is rapidly becoming the tool that I use to keep up on all the latest information. Whether it is news, new products, weather, or tips on how to save money, RSS feeds are what I read. By subscribing (at no cost) to RSS feeds, I am able to load up a single page in my browser and view new content from a multitude of websites. This is an incredible timesaver as I no longer have to actually go out and visit each website every day. I don't have to bookmark all of those sites, nor do I have to sit through a bunch of graphic-intensive ads as each website loads into my browser.
As I wander through the Internet each day, I invariably stumble across content that I like and may want to read more about in the future. When this happens, I look for a feed that I can subscribe to. If you are a Firefox or Safari user, the existence of a feed will be highlighted for you in the address bar of your browser. If not, just scan the page for words "subscribe", "rss", or "feed". You can also look for a little orange icon somewhere that is the accepted symbol for RSS feed.
Once you choose to subscribe to a feed, then you will need an application known as a "feed reader" or "aggregator". You can find lots of them out there, but I would recommend Google Reader as a good place to start. It's easy to use and accessible from whatever computer you happen to be on.
As you start collecting a few feeds, you will invariably come across one that has "high traffic". This means that they post new content many times throughout the day. This can be overwhelming if you have many feeds to browse or if you haven't checked your feeds for a few days.
I have recently ran across a tool that helps with this problem. It is called aideRSS. This is a great tool and even comes with a nice training video that shows you how to use their site. By using this tool, you will be able to add a filtered feed to your reader instead of the original one that you were interested in. This allows you to only spend time reading content that aideRSS has noted as popular.
The main drawback of this approach is that you won't be the "first" to read the new content and/or comment on it. If that is important to you, then you should retain the original feed subscription. For me, personally, I am content with a delay before I see the content when it means that I'm going to be viewing content that the community has already voted as popular.
Take a few moments, check out aideRSS, and let me know how it goes.
Okay, so now you know what RSS means, but why is it such a big deal? For me, RSS is rapidly becoming the tool that I use to keep up on all the latest information. Whether it is news, new products, weather, or tips on how to save money, RSS feeds are what I read. By subscribing (at no cost) to RSS feeds, I am able to load up a single page in my browser and view new content from a multitude of websites. This is an incredible timesaver as I no longer have to actually go out and visit each website every day. I don't have to bookmark all of those sites, nor do I have to sit through a bunch of graphic-intensive ads as each website loads into my browser.
As I wander through the Internet each day, I invariably stumble across content that I like and may want to read more about in the future. When this happens, I look for a feed that I can subscribe to. If you are a Firefox or Safari user, the existence of a feed will be highlighted for you in the address bar of your browser. If not, just scan the page for words "subscribe", "rss", or "feed". You can also look for a little orange icon somewhere that is the accepted symbol for RSS feed.
Once you choose to subscribe to a feed, then you will need an application known as a "feed reader" or "aggregator". You can find lots of them out there, but I would recommend Google Reader as a good place to start. It's easy to use and accessible from whatever computer you happen to be on.
As you start collecting a few feeds, you will invariably come across one that has "high traffic". This means that they post new content many times throughout the day. This can be overwhelming if you have many feeds to browse or if you haven't checked your feeds for a few days.
I have recently ran across a tool that helps with this problem. It is called aideRSS. This is a great tool and even comes with a nice training video that shows you how to use their site. By using this tool, you will be able to add a filtered feed to your reader instead of the original one that you were interested in. This allows you to only spend time reading content that aideRSS has noted as popular.
The main drawback of this approach is that you won't be the "first" to read the new content and/or comment on it. If that is important to you, then you should retain the original feed subscription. For me, personally, I am content with a delay before I see the content when it means that I'm going to be viewing content that the community has already voted as popular.
Take a few moments, check out aideRSS, and let me know how it goes.
Saturday, August 11, 2007
4 Things To Think About If You Must Use WEP
Okay, if you've read my previous posts, know how to use WPA to secure your wireless network. For some, this will not be an option. If you absolutely must use WEP, let me give you a few things to keep in mind.
#1) Use the longest password possible. At least 128 bit. This won't buy you much security, but it will mean that someone looking to crack your password will have to sniff more traffic. This means they have to be connected for a longer period of time before being able to discover your password.
#2) Disconnect the devices connected to your wireless network when they aren't in use. If you have a computer that you leave on all the time, it is constantly "checking in" with your access point. This conversational traffic is exactly what a malicious person needs in order to collect the right information to crack your password. If you are like me, you don't like powering down your equipment every day. In this case, just access your wireless configuration on your laptop and disable the connection. When you are ready to use it again, just enable it. Easy.
#3) Use a firewall. If you don't know what this is or how to configure it, don't worry. There are lots of resources available on the 'net. I may also do a basic writeup on it if there is interest. Basically, you want to keep your wireless network separate from the rest of your home network that has your other computers on it. If someone were to access your wireless network, you don't want them getting to your internal resources.
#4) Be smart about the type of data that you transfer over your wireless network. Assume that some stranger is going to get a copy of it and ask yourself if it is something that needs to be more private. Is it something that you would write on a postcard and send through the post office? If so, it's probably okay for use on your wireless network.
#1) Use the longest password possible. At least 128 bit. This won't buy you much security, but it will mean that someone looking to crack your password will have to sniff more traffic. This means they have to be connected for a longer period of time before being able to discover your password.
#2) Disconnect the devices connected to your wireless network when they aren't in use. If you have a computer that you leave on all the time, it is constantly "checking in" with your access point. This conversational traffic is exactly what a malicious person needs in order to collect the right information to crack your password. If you are like me, you don't like powering down your equipment every day. In this case, just access your wireless configuration on your laptop and disable the connection. When you are ready to use it again, just enable it. Easy.
#3) Use a firewall. If you don't know what this is or how to configure it, don't worry. There are lots of resources available on the 'net. I may also do a basic writeup on it if there is interest. Basically, you want to keep your wireless network separate from the rest of your home network that has your other computers on it. If someone were to access your wireless network, you don't want them getting to your internal resources.
#4) Be smart about the type of data that you transfer over your wireless network. Assume that some stranger is going to get a copy of it and ask yourself if it is something that needs to be more private. Is it something that you would write on a postcard and send through the post office? If so, it's probably okay for use on your wireless network.
Thursday, August 2, 2007
Use WPA instead of WEP, pt 2
Lesson #2) Fine. I'll use the instruction manual. What should I be looking to do? Great! Look for instructions on how to connect to the administration function of the device you are setting up. This will usually be accessible on a private address in the 192.168. range. This means that you plug it in and then use your browser to access a special address that is given to you in the instruction manual. Once you have accessed this function, you should be looking for a security section. This will give you options on what kind of wireless security you want. At the time of this writing, most devices give you three options: open, WEP, and WPA. You want to choose WPA. (Specifically, referring to Pre-Shared Key or "Personal". The Enterprise level is not within the scope of this blog.)
The setup of WPA is really not any more difficult then WEP. Which is what makes it frustrating for me to see people still using WEP. There are probably a handful of situations in which folks may still want to use WEP. Most of these being to support older equipment that was purchased before the WPA protocol was developed. We will cover approaches to using WEP safely later.
Lesson #3) Choose a good password. Good passwords are difficult for humans. They are hard to remember, hard to come up with, hard to type. This is unfortunate and typically leads most people to choosing bad passwords. Bad passwords are short and easy to remember. They are things that can be found in dictionaries or on your myspace page (birthday, dog's name, friend's name, etc). When thinking about a good password for your wireless network, you have one thing going for you; you just don't have to type it very often, if ever. Most modern devices allow you to enter the password one time and it will retain it.
When choosing a password, you want to make it as long as possible and as random as possible. WPA allows for a password of up to 64 hexidecimal characters. I know what you're thinking, how am I going to type in a 64 character password? Don't worry, I will walk you through the approach that I use in a bit. You won't have to type a thing. The point here is that you want the longest password possible. It doesn't make any difference on your day-to-day computer use, but it does increase the time needed for a malicious person to gain access to your network.
Now, to get a random password, you need a thing called a "password generator". With OS X, you can create one using the Keychain application. If you are a Firefox user, there is an excellent extension available called SecurePassword. If neither of these are an option for you, there are a few of them available on the web. My favorite website for this is GRC. GRC's password generator will build the perfect password for WPA merely by accessing the link above. They provide a 64 character hexidecimal password along with a 63 character alpha-numeric one. Either one will work for WPA, so let's choose the alpha-numeric one since it is more human-friendly. When I accessed the site, this is the password that I received:
lKAg0kImzxZ3HdDrlojUaUCXfInGNBXbMai4V7Afz2uh9nMNiByqaCfD3KMXqlD
Don't let this scare you. Just highlight it and copy it into your computer's buffer (ctrl+c or Cmd+c). Open up a text editor and paste (ctrl+v or Cmd+v) it into the text editor. Do a quick File|Save and you've got your password (and you didn't have to type a thing). Now, back to the wireless device we were configuring... You've selected WPA and are prompted to enter the password or the "pre shared key". Just switch back to your text editor, copy your random password, and paste it into the password field. Now, look for the save button and you are done with your access point configuration! Once you hit save, your device will probably restart and anyone currently connected to it will be dropped. They will also not be able to re-connect without your new random password.
Lesson #4) Configure only the computers that you want on your wireless network. Your next challenge is how to get that new password to your laptop so that it can access your wireless network. There are, of course, a number of ways in which to do this. The one that I propose is called the sneakernet. Put on your tin foil hat with me and find a blank disk or USB thumb drive. This password isn't something that you want to leave on your computer, transfer to your friend via email, or post on a website. Ever. You must maintain strict control over this password. Find a disk... floppy, CD, DVD, ZIP, whatever. My preference is CD these days. You want something that will be accessible to most types of computers. Remember that file you created with your text editor? Move it to the disk.
Now, take the disk and insert it into the laptop you want to access your wireless network. Open up the text file, highlight the password, and copy it into your buffer. Now, open up your computers wireless configuration and find your network in the list. Hopefully, it will say "secured" or something to that effect. When you select it, it will prompt for a password. No problem! You just paste the new password into the both fields and you're done. If done correctly, your laptop is now authenticated to your wireless network and you are all set. Just take out the disk and repeat the procedure on any other computers that you want to have connected to your wireless network. Friend of yours is visiting and wants to get their email? Hand them the disk. Just make sure you get it back. :)
The setup of WPA is really not any more difficult then WEP. Which is what makes it frustrating for me to see people still using WEP. There are probably a handful of situations in which folks may still want to use WEP. Most of these being to support older equipment that was purchased before the WPA protocol was developed. We will cover approaches to using WEP safely later.
Lesson #3) Choose a good password. Good passwords are difficult for humans. They are hard to remember, hard to come up with, hard to type. This is unfortunate and typically leads most people to choosing bad passwords. Bad passwords are short and easy to remember. They are things that can be found in dictionaries or on your myspace page (birthday, dog's name, friend's name, etc). When thinking about a good password for your wireless network, you have one thing going for you; you just don't have to type it very often, if ever. Most modern devices allow you to enter the password one time and it will retain it.
When choosing a password, you want to make it as long as possible and as random as possible. WPA allows for a password of up to 64 hexidecimal characters. I know what you're thinking, how am I going to type in a 64 character password? Don't worry, I will walk you through the approach that I use in a bit. You won't have to type a thing. The point here is that you want the longest password possible. It doesn't make any difference on your day-to-day computer use, but it does increase the time needed for a malicious person to gain access to your network.
Now, to get a random password, you need a thing called a "password generator". With OS X, you can create one using the Keychain application. If you are a Firefox user, there is an excellent extension available called SecurePassword. If neither of these are an option for you, there are a few of them available on the web. My favorite website for this is GRC. GRC's password generator will build the perfect password for WPA merely by accessing the link above. They provide a 64 character hexidecimal password along with a 63 character alpha-numeric one. Either one will work for WPA, so let's choose the alpha-numeric one since it is more human-friendly. When I accessed the site, this is the password that I received:
lKAg0kImzxZ3HdDrlojUaUCXfInGNBXbMai4V7Afz2uh9nMNiByqaCfD3KMXqlD
Don't let this scare you. Just highlight it and copy it into your computer's buffer (ctrl+c or Cmd+c). Open up a text editor and paste (ctrl+v or Cmd+v) it into the text editor. Do a quick File|Save and you've got your password (and you didn't have to type a thing). Now, back to the wireless device we were configuring... You've selected WPA and are prompted to enter the password or the "pre shared key". Just switch back to your text editor, copy your random password, and paste it into the password field. Now, look for the save button and you are done with your access point configuration! Once you hit save, your device will probably restart and anyone currently connected to it will be dropped. They will also not be able to re-connect without your new random password.
Lesson #4) Configure only the computers that you want on your wireless network. Your next challenge is how to get that new password to your laptop so that it can access your wireless network. There are, of course, a number of ways in which to do this. The one that I propose is called the sneakernet. Put on your tin foil hat with me and find a blank disk or USB thumb drive. This password isn't something that you want to leave on your computer, transfer to your friend via email, or post on a website. Ever. You must maintain strict control over this password. Find a disk... floppy, CD, DVD, ZIP, whatever. My preference is CD these days. You want something that will be accessible to most types of computers. Remember that file you created with your text editor? Move it to the disk.
Now, take the disk and insert it into the laptop you want to access your wireless network. Open up the text file, highlight the password, and copy it into your buffer. Now, open up your computers wireless configuration and find your network in the list. Hopefully, it will say "secured" or something to that effect. When you select it, it will prompt for a password. No problem! You just paste the new password into the both fields and you're done. If done correctly, your laptop is now authenticated to your wireless network and you are all set. Just take out the disk and repeat the procedure on any other computers that you want to have connected to your wireless network. Friend of yours is visiting and wants to get their email? Hand them the disk. Just make sure you get it back. :)
Friday, July 27, 2007
Use WPA instead of WEP
Okay, folks, it is time once again to review the state of today's wireless 802.11 (also known by the marketing term, WiFi) security. This has been documented time and time again, but it has recently became clear to me that it apparently isn't sinking in. One of my goals with this blog is to try and educate friends and family, so I thought I would write something up that is in plain English and implore you to think about your wireless situation at home.
I was recently on vacation in a small town in Idaho when I fired up my laptop and found no fewer then six wireless networks within range. A couple of things surprised me about this. The first being that there were six(!) networks in my immediate vicinity in a town with a population of 4,000. I am not used to seeing this kind of coverage in the smaller mountain towns that I've visited. The second, and probably more, surprising aspect of this was that all of them were secured! That's right, none of them were set to allow open access, nor did they have the all-too-familiar network name "linksys" or "default".
Unfortunately, they had all used WEP as the means for securing their network. This is horribly insecure and merely serves as a means to keep the honest people honest. Perhaps, that is all the owners were after, but I would like to encourage you to go a step farther in securing your own home network. It's really not that hard and will take 10-15 minutes, tops. If you haven't already, please read my post regarding the dangers of using WEP.
If you are still reading, then perhaps I've convinced you to convert your network from WEP or open to WPA. If that is the case, read on...
Lesson #1) Do not buy an access point (also known as "router", "wireless hub", or just plain "wireless"), take it home, plug it in, and just start using it. This is what we would call the "default" or open access. It comes with an instruction manual for a reason. Use it! :)
Next Lessons...
I was recently on vacation in a small town in Idaho when I fired up my laptop and found no fewer then six wireless networks within range. A couple of things surprised me about this. The first being that there were six(!) networks in my immediate vicinity in a town with a population of 4,000. I am not used to seeing this kind of coverage in the smaller mountain towns that I've visited. The second, and probably more, surprising aspect of this was that all of them were secured! That's right, none of them were set to allow open access, nor did they have the all-too-familiar network name "linksys" or "default".
Unfortunately, they had all used WEP as the means for securing their network. This is horribly insecure and merely serves as a means to keep the honest people honest. Perhaps, that is all the owners were after, but I would like to encourage you to go a step farther in securing your own home network. It's really not that hard and will take 10-15 minutes, tops. If you haven't already, please read my post regarding the dangers of using WEP.
If you are still reading, then perhaps I've convinced you to convert your network from WEP or open to WPA. If that is the case, read on...
Lesson #1) Do not buy an access point (also known as "router", "wireless hub", or just plain "wireless"), take it home, plug it in, and just start using it. This is what we would call the "default" or open access. It comes with an instruction manual for a reason. Use it! :)
Next Lessons...
Friday, July 20, 2007
Why WEP Should Be Considered Bad Form
If you have a wireless network at home and you've either left it open (unsecured) or you have secured it using the WEP option, this article is for you. If you have wireless and you have no idea what the preceding sentence means, you need to read this and my follow-up entries on how to secure your wireless network.
If you think WEP is good enough for your wireless security, let me educate you on how incredibly simple it is to bypass. One would need the correct hardware (an Atheros based wireless card - $50), the correct software (available over the Internet - free), and be near enough to your wireless network to pick up a signal (also free). Once all three of these are in place, it takes less then an hour (in some cases, far less!) to come up with the password that you used to supposedly secure your network. At this point, they are on your network. Mostly, they will just be interested in accessing the Internet for free. Mostly. If this doesn't scare you, it should. If you have other computers on your home network that have your financial information on them, this should scare you very much. Kudos to you for choosing to secure your network instead of using the default "open" network. Unfortunately, using WEP isn't much better then just leaving your network open.
Perhaps you are one that doesn't care if someone else uses your network to access the Internet? While that is altruistic and very generous of you, it does leave you open to risks. For starters, most ISPs specifically forbid the sharing of your home Internet service in their terms of service. You can argue how the "Man" is trying to squeeze more money out of us all by doing this and you'd likely be right. But that doesn't stop them from disconnecting you if they feel that you've infringed on the agreement that you submitted to when purchasing their service. Furthermore, these types of companies believe that is a violation of federal or state laws and may seek action against you.
If the risk of the Man disconnecting you isn't enough, think about what kinds of bad things can be done online and will be traced back to your home address. Accessing child porn, probing government networks, and communicating with known terrorists are all things that will raise flags with your federal government and your ISP. From what I've read, it is a legal grey area on whether or not you could be held liable for this. (How believable is your defense of "It wasn't me. Someone must have used my wireless network.") Is it worth the hassle?
Now, I'm really not the doom and gloom type. The chances of this happening to you are small, but not impossible. If you live in a sparsely populated area, the chances of one of your neighbors wanting to break into your network to conduct malicious activity are slim. If it isn't one of your neighbors, but a stranger instead, then ideally you'd notice a car sitting out on your street with a person inside using a laptop. If you live in a larger city or a densely populated area, there are many more people available and interested in using your network. If you are in an apartment building, you would never even see that this is happening.
http://news.com.com/2100-1039-5112000.html
http://money.cnn.com/2005/08/08/technology/personaltech/internet_piracy/?cnn=yes
http://www.pcworld.com/article/id,122153-page,1/article.html
If you think WEP is good enough for your wireless security, let me educate you on how incredibly simple it is to bypass. One would need the correct hardware (an Atheros based wireless card - $50), the correct software (available over the Internet - free), and be near enough to your wireless network to pick up a signal (also free). Once all three of these are in place, it takes less then an hour (in some cases, far less!) to come up with the password that you used to supposedly secure your network. At this point, they are on your network. Mostly, they will just be interested in accessing the Internet for free. Mostly. If this doesn't scare you, it should. If you have other computers on your home network that have your financial information on them, this should scare you very much. Kudos to you for choosing to secure your network instead of using the default "open" network. Unfortunately, using WEP isn't much better then just leaving your network open.
Perhaps you are one that doesn't care if someone else uses your network to access the Internet? While that is altruistic and very generous of you, it does leave you open to risks. For starters, most ISPs specifically forbid the sharing of your home Internet service in their terms of service. You can argue how the "Man" is trying to squeeze more money out of us all by doing this and you'd likely be right. But that doesn't stop them from disconnecting you if they feel that you've infringed on the agreement that you submitted to when purchasing their service. Furthermore, these types of companies believe that is a violation of federal or state laws and may seek action against you.
If the risk of the Man disconnecting you isn't enough, think about what kinds of bad things can be done online and will be traced back to your home address. Accessing child porn, probing government networks, and communicating with known terrorists are all things that will raise flags with your federal government and your ISP. From what I've read, it is a legal grey area on whether or not you could be held liable for this. (How believable is your defense of "It wasn't me. Someone must have used my wireless network.") Is it worth the hassle?
Now, I'm really not the doom and gloom type. The chances of this happening to you are small, but not impossible. If you live in a sparsely populated area, the chances of one of your neighbors wanting to break into your network to conduct malicious activity are slim. If it isn't one of your neighbors, but a stranger instead, then ideally you'd notice a car sitting out on your street with a person inside using a laptop. If you live in a larger city or a densely populated area, there are many more people available and interested in using your network. If you are in an apartment building, you would never even see that this is happening.
http://news.com.com/2100-1039-5112000.html
http://money.cnn.com/2005/08/08/technology/personaltech/internet_piracy/?cnn=yes
http://www.pcworld.com/article/id,122153-page,1/article.html
Saturday, July 7, 2007
OpenDNS
Ran across a service this week called OpenDNS. Basically, they offer to resolve names for anyone who cares to point to them. Pure and simple. That's just for starters though... They have done some really nifty tricks that I haven't seen done before in the DNS layer.
- They can fix basic typos in the web address of your browser. Yep, if you happen to screw up ".com" or ".org", the service will take a guess and redirect you to the most obvious root domain. I haven't yet tested the extent of this, but it is a clever trick. Yeah, it's not revolutionary, but still, it saves a few seconds.
- They claim to block phishing sites. This is probably a good thing, but frankly just not something I really need. If you're reading this and you, for some insane reason, click on any link that is sent to your email, then yes, you want phishing sites blocked. I wasn't able to determine from their website where they get the list of known phishing sites. My hunch is that it could be stale at any given point in time.
- They also block adult websites. This is historically a difficult thing to do as these websites come and go very quickly. It looks like OpenDNS has partnered with another company that reviews websites and maintains a blacklist. The really interesting thing about this feature is doing it with DNS. No proxy software to install only to have the teenagers work around it. No web filtering crap that tries to load into your browser. It's just simple and clean. An enterprising youth could likely still get where they wanted to go by running through a proxy server that isn't resolving against OpenDNS, but at least this keeps the honest kids honest.
- They do some other tricks with hostname redirection to provide the ability to do "shortcuts" in your web browser. Some may find this useful. I, personally, do not. Sites that I frequent enough to need a shortcut seem to find themselves in my Firefox history so I rarely type a full URL anyway.
Subscribe to:
Posts (Atom)