Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 08-05-2003, 06:51 AM   #1 (permalink)
Optimistic Skeptic
 
Location: Midway between a Beehive and Centennial
Home Wireless Networking 101

I have broadband internet access. I have a cable modem and a Linksys router to hook up my current equipment to the internet. I am considering setting up a wireless LAN at home so I will have internet access from my laptop. Some friends have mentioned something about using encryption. Can someone here please explain step by step what I need to do to set up a secure wireless network? I would like to allow war riders and neighbors access if I can still keep my computers secure. Please use small words. Thanks!
__________________
IS THAT IT ???!!!
Do you even know what 'it' is?

When the last man dies for just words that he said... We Shall Be Free
BentNotTwisted is offline  
Old 08-05-2003, 08:27 AM   #2 (permalink)
Rav
Upright
 
Location: Connecticut
If you go ahead with wireless, make sure you do the following to secure the Wi-Fi network:

1. Change the SSID and turn off broadcasting. (When you setup a new laptop or desktop to access the wireless network you'll need to specify which SSID you set in the router so it can look for the network.)

2. Turn on MAC Authentication. This will allow for only the specified MAC addresses to access the network. Each computer with a network card has it's own hard coded MAC Address, and without specifing it to the router, it will not be allowed on the network.

3. WEP...It can be broken easily...but this is why you have MAC authentication on...Turn WEP on and specify the keys in each machine. Keep in mind, this will slow your speed down.

That should be more then enough, particularly MAC authentication (did I stress this enough?)

Hope this helps...
Rav is offline  
Old 08-05-2003, 01:26 PM   #3 (permalink)
Junkie
 
This was posted by me last week.

It can be found on Page 2, under Introduction to WLANs
Try searching the board. There's more than the first page!!


==========================



BACKGROUND

Wireless LANs (or WLANS) are based upon the 802.11 series of standards ratified by the IEEE. There are currently 3 common standards for WLAN networking and 1 standard for PAN (Personal Area Networking)

WLANs can be setup in infrastructure mode, or Ad Hoc mode.

In Infrastructure mode, you use an Access Point (think of it like a radio station) and several clients (ie, PCs or laptops with WLAN network cards). The Access Point transmits radio signals and the clients (the PCs or laptops) receive and transmit to the Access Point. It is exactly like a cell-phone network. Your computers are the phones and the Access Point is the cellular network base station.

In Ad Hoc mode, you simply have two or more PCs or laptops talking to each other directly, without an Access Point. Using the same phone analogy, it's like having two walkie-talkies, transmitting to each other, instead of a cellphone that uses a centralized base station to talk to another cellphone. Ad hoc mode is cheaper (because you don't need an Access Point), but slower and only useful for direct PC to PC connectivity.

All WLANs are 'contention based'. This basically means they are like "wireless hubs". When one station is transmitting, no one eles can. They are NOT switched! This means that the actual real-life throughput of WLANS is less than the advertised bandwidth. The most common 802.11b network standard offers 11Mb/s bandwidth, but in reality you will only get around 6Mbs throughput. For the record, this is just like wired Ethernet. You never get the full bandwidth in any advertised network standard.

Finally, all current WLANs also opperate in unlicensed spectrum. This means that no license is required, so anyone can setup a transmitter or receiver. This is exactly what you are doing when you buy an Access Point and a wireless network card! The advantage of this is obvious. No licence, no paper work, no hassle. The disadvantage is that anyone can do it, so someone next door might setup a WLAN too, and there may be some intereference.



WLAN STANDARDS

802.11b (aka WiFi)
Max speed: 11Mb/s
Spectrum: 2.4Ghz

This is by far the most common standard. Most of the WLAN kit you can buy today uses 802.11b. It is cheap and well understood. It opperates in the 2.4Ghz spectrum. Note that this is the same frequency used by older analogue cordless phones and by microwave ovens! Your WLAN will not fry you though, as maximum power is usually around 100mW. Microwave ovens zap things at around 800Watts. It should be noted however, that microwave ovens and older cordless phones can cause interference when they are "on".

802.11b offers 11Mb/s through-put. However, in reality users can expect 6Mb/s maximum bandwidth due to collisions, contention etc.

Within the 2.4Ghz spectrum range used by 802.11i, there are 11 (eleven) channels that can be used. Think of these as "slots" in the 2.4Ghz range. Channel 1 is actually 2.412 GHz, all the way up to Channel 11 which is 2.462 GHz. Note how each channel has a small, but significant change in the actual frequency used (though they are still all in the 2.4Ghz range). Multiple channels are only used when you have multiple Access Points all in or near the same location! They allow you to deploy adjacent cells without causing interference. Most WLANs are setup using channels 1, 6, 11.

Consider four cells side by side. If they used the exact same frequency, you would have lots of interference. But by using seperate, non-overlapping channels, you can place the cells beside each other with no interference. See the following diagram of four radio cells, sitting side by side.

Code:
  -----    -----    ------   -----
 { Ch1 }  { Ch6 }  { Ch11 } { Ch1 } {etc...}
  -----    -----    ------   -----
Each cell is adjacent (or even overlapping a bit), but is using different channels. This means they do not interefere with each other.


802.11a (aka WiFi-5)
Max speed: 54Mb/s
Spectrum: 5Ghz

This is a newer standard and it offers much higher bandwidth. The equipment is expensive and it is unlikely you shall see it in "retail" or "home network" devices. It has many advantages for enterprise companies who have lots of money. For example, you can use up to 8 non-overlapping channels. This is great if you are a company trying to install lots of APs (Access Points), as you can pack the cells in tighter, but is of little interest to home networkers.


802.11g
Max speed: 54Mb/s
Spectrum: 2.4Ghz

This new standard has just been ratified by the IEEE. It uses the same frequency as 802.11b but offers speeds of up to 54Mb/s. This is achieved by using different multiplexing (which I won't go into here). One of the major benefits of 802.11g is that it is backwards compatible with 802.11b. What does this mean? Basically, an 802.11g network can support both 802.11b clients and 802.11g clients. Remember, they both use the same frequency of 2.4Ghz. The only disadvantage with this is that the 802.11g Access Point will "drop down" to the slower speed for the entire cell. This means even one 802.11b (11Mbs) client will bring down the speed of the entire 802.11g (54Mbs) cell. Pretty obvious when you think about it.

802.11g cards and Access Points are readily available, and are slightly more expensive than 802.11b ones. It should be noted that only the very newest ones will be compliant with the standard, as it was only ratified in June 2003. The "pre ratification" versions out there already can probably be upgraded via firmware/PROM flashing.


802.15 (aka BlueTooth)
Max speed: 10Mb/s
Spectrum: 2.4Ghz

BlueTooth is known as a PAN or Personal Area Networking. It is not really a WLAN standard and I only include it here for completeness. BlueTooth operates in the same frequency as 802.11b and 802.11g (2.4Ghz) and can cause service degradation. It won't "knock out" your WLAN, but if two transmitting devices are close together (say a WLAN card and a BlueTooth dongle on your PC), you will see a significant impact upon your WLAN performance. Keep BlueTooth devices at least 25cm from 802.11b or 802.11g cards if possible.



SECURITY

Security in 802.11 wireless networks is based upon the WEP encryption protocol. WEP stands for Wired Equivalency Protocol, but don't be fooled. Native WEP on it's own is not as secure as a wired LAN.

Originally WEP was based upon 48bit keys, but almost everyone now uses the much stronger 128bit keys (some manufacturers even offer 256bit versions). This is still hackable, if the hacker captures between 1,000,000 and 4,000,000 packets. It should be noted that, for a normal home network, this would mean HOURS of someone surreptitiously hiding nearby, their laptop in hand and actively "listening" to your network traffic. Afterwards, they then need to run their capture through a cryptographic tool to get your key. A lot of work to hack into someone's home network, but possible none-the-less.

WEP is certainly not sufficient for enterprise networks, and a lot of work has been put into improving WLAN security over the past year. But it is fine for home networks. Don't let anyone else convince you otherwise.

This is especially the case when you consider the new enhancements introduced with WPA.


WPA - WiFi Protected Access
This new standard is a set of security hardenings that greatly increase the security of WLANs. Without going into too much technical detail, WPA introduces two major enhancements.

TKIP Temporal Key Integrity Protocol
This basically rehashes the WEP encryption key every packet.

MIC Message Integrity Protocol
This is conceptually like a CRC value.
It protects against "man in the middle" attacks; ie, someone intercepting and changing a packets contents.

WPA effectively mitigates (ie, reduces) all known security weaknesses in WEP based WLAN standards.


WPA2 - WiFi Protected Access 2
WPA2 has not been ratified yet. It is just the marketing term for the 802.11i security standards. WPA2 will really copperfasten wireless security.


802.11i
802.11i are the newest and strongest security standards that are being developed by the IEEE to really harden WLANs. The main enhancement is the replacement of WEP with AES (Advanced Encryption Standard). This is the encryption standard that the Pentagon uses. Suffice it to say that when AES is introduced, you won't be vunerable to WLAN hacking.


EAP
EAP, or Extensible Authentication Protocol is a framework for introducing improved higher level authentication mechanisms to WLANs. It is based upon 802.1x, an ethernet port authentication protocol. EAP does not work alone, but relies upon 3rd parties (ie, Microsoft, Cisco etc) developing "plug ins" (for want of a better term) that provides the specific authentication mechanisms. The most common are LEAP (developed by Cisco), EAP-TLS (primarily Microsoft), PEAP (Cisco, Microsoft) and EAP-TTLS (Funk etc)

EAP is used to manage authentication. This is different from encryption. Authentication is a big issue for large companies that want to ensure only the right people can log onto their networks. This is a seperate problem from worrying about encrypting the actual data that is being transmitted wirelessly. Home users do NOT have to worry about authentication. I include reference to EAP and 802.1x here for completeness only.


802.1x
802.1x is an Ethernet authentication protocol. In very basic terms, it "blocks" access on an ethernet port until the device (PC, printer, IP phone etc) successfully proves its identity. This is an excellent tool for improving network security in enterprise environments but is of no real interest to home users.



OTHER STANDARDS

You may hear reference to the following standards.

802.11a - 54Mbs 5Ghz WLAN standard
802.11b - 11Mbs 2.4Ghz WLAN standard
802.11d - Worldmode (ensures worldwide compatibility with cards and Access Points)
802.11e - Qos (Quality of Service; this is needed to improve network reliability for voice applications etc)
802.11f - Inter Access Point Protocol (IAPP); this handles "roaming" from one radio cell to another
802.11h - Transmission Power Control (TPC) and Dynamic Frequency Selection (DSF); this is required for use of 5Ghz in Europe
802.11i - Enhanced security based upon US Federal FIPS standards (ie, extremely secure)
802.11j - Japan enhancements (don't ask...)
802.11n - Super-fast new standard under consideration (no where near ratified yet). Speeds upto 320Mb/s!


SECURING YOUR WLAN

There are three simple steps to ensuring you secure your WLAN that EVERYONE should follow.

1) Enable WEP
2) Change your SSID
3) Disable SSID Broadcast


Enable WEP
As we saw above, WEP is a method whereby you effectively encrypt (ie "Scramble") your radio traffic, so someone listening in will not be able to simply open your packets. You do this by entering what is called a shared secret on your Access Point and on your computer. This is usually a long 26 digit hexadecimal string that someone is very unlikely to guess. Take 37ea7f91c25721d0c4ef37df3f as an example. Who's going to guess that?! You enter it on your Access Point when you first set it up (usually by a web-browser, but you can use a serial cable to "console" in on some models). Then, when you install the wireless NIC on your PC, you do the same. Be careful with entering your WEP key!. If it's not EXACTLY the same on both ends, you won't be able to access the network. That's the whole idea after all.

If you don't want to use the software that came with your wireless network card, or didn't get any, you can setup your WEP on Windows XP. This can be done by selecting the WLAN connection under Network Connections, choosing its Properties and ticking the Data Encryption (WEP enabled) box. You then enter the 26 digit key in the field shown.

Personally I prefer using the software with the card.


Change your SSID
All WLANs have a "name" called the SSID (Service Set Identifier). This is used to differentiate between multiple WLANs. For example, you may use a WLAN at work but also have a personal WLAN setup at home. Many hotels and even cafes are now setting up WLANs for business visitors etc. As each WLAN can have different settings, you must have some way to tell them apart. The SSID can therefore be considered the WLAN's "name".

When you buy a wireless Access Point it will come with a default value. For example, Cisco Aironet gear comes with the SSID "tsunami". LinkSys uses (rather imaginatively) "LinkSys".

Make sure you change this!

Every script-kiddie in the world knows the most common SSIDs and they can setup their PC to "associate" to your WLAN if they configure their laptop with the right SSID.

Use something unique, but don't think of this as any sort of security. It's just a name. Use your nick-name, your first name, your petname or make up some nonesense. As long as it's not the default. Then, when you are setting up your own PC or laptop, you enter the SSID on the wireless NIC software (or XP). Remember, like WEP, you have to put this on both your PC and your Access Point.


Disable SSID Broadcast
By default most Access Points "broadcast" their SSID. This allows visiting clients (ie laptop users, but also hackers!) to listen and pick up your SSID from the broadcast packets. This is fine if you're running a public hotspot, but is not really a good idea if you just want a personal WLAN at home.

Disable this broadcast feature on the Access Point.

It means you won't be able to associate with the WLAN unless you know the SSID, but that's the whole idea. You don't want strangers associating with your WLAN. And, as you are the one setting up the Access Point and your own PCs, you already know the SSID, so you don't need to broadcast it.


Other tips
If you're buying new WLAN equipment, make sure it is WPA compliant (see above). This is a new-ish standard that greatly improves security.

If you don't have equipment that supports WPA, make sure you change your WEP manually every few weeks or months. It might be a pain, but it should only take 2 or 3 minutes.

Turn down your transmit power to the minimum necessary. If you only want to get coverage in your apartment or house, you don't need to trasmit your wireless network across the street or into your neighbours house, do you? It's just common sense.

This is called "radio cell architecture". You ensure the cell size (and shape) covers only where you want and no where else.


USEFUL LINKS
http://www.80211-planet.com/ (excellent allround site; good tutorials; good news)
http://www.weca.net/OpenSection/index.asp (Home of the WiFi Alliance)
http://standards.ieee.org/wireless/ (home of the IEEE wireless standards)
http://www.drizzle.com/~aboba/IEEE/ (quite a good site for technical information on wireless security & hacking etc)



COMMENTS
OK, that's about all I can think of right now.

I hope this goes some way to answer some common questions and misconceptions about WLANs. Feel free to ping me for more info, or post a reply if you have any suggestions for improvements.



Mr Mephisto

Last edited by BuDDaH; 08-05-2003 at 10:00 PM..
Mephisto2 is offline  
Old 08-05-2003, 01:27 PM   #4 (permalink)
Junkie
 
Quote:
Originally posted by Rav
If you go ahead with wireless, make sure you do the following to secure the Wi-Fi network:

1. Change the SSID and turn off broadcasting. (When you setup a new laptop or desktop to access the wireless network you'll need to specify which SSID you set in the router so it can look for the network.)

2. Turn on MAC Authentication. This will allow for only the specified MAC addresses to access the network. Each computer with a network card has it's own hard coded MAC Address, and without specifing it to the router, it will not be allowed on the network.

3. WEP...It can be broken easily...but this is why you have MAC authentication on...Turn WEP on and specify the keys in each machine. Keep in mind, this will slow your speed down.

That should be more then enough, particularly MAC authentication (did I stress this enough?)

Hope this helps...
You forgot ensuring you buy an Access Point with WPA.

Using MAC authentication is a good idea.

WEP won't slow down your PCs. Unless you're running an old 8086 or something!

Mr Mephisto
Mephisto2 is offline  
Old 08-05-2003, 02:00 PM   #5 (permalink)
Optimistic Skeptic
 
Location: Midway between a Beehive and Centennial
Quote:
Originally posted by Mr Mephisto
T
Try searching the board. There's more than the first page!!

Actually, I did search for wireless, but when I saw the subject WLAN my brain translated it as Widearea LAN and I didn't check the details.
Thanks for all the detailed info.
__________________
IS THAT IT ???!!!
Do you even know what 'it' is?

When the last man dies for just words that he said... We Shall Be Free
BentNotTwisted is offline  
Old 08-05-2003, 02:54 PM   #6 (permalink)
Rav
Upright
 
Location: Connecticut
Quote:
Originally posted by Mr Mephisto

WEP won't slow down your PCs. Unless you're running an old 8086 or something!
I didn't say processor speed...it does slow down throughput over the wireless network...
Rav is offline  
Old 08-05-2003, 03:20 PM   #7 (permalink)
I am Winter Born
 
Pragma's Avatar
 
Location: Alexandria, VA
WEP is such weak encryption that you won't notice it, but yes, WEP does slow down throughput on a wireless network.

You'll see bigger performance hits due to shoddy hardware, though. If you want to see some real performance hits, set up IPSec encryption or a VPN. Nothing like making your CPU encrypt all packets to slow things down a little.
__________________
Eat antimatter, Posleen-boy!
Pragma is offline  
Old 08-05-2003, 03:50 PM   #8 (permalink)
Junkie
 
Quote:
Originally posted by Rav
I didn't say processor speed...it does slow down throughput over the wireless network...
You lose a lot more due to radio frame overhead, contention and multipath than you do using WEP.

Also, the use of WEP is assumed (and actually required) when using WiFi accrediation.

In other words, not using WEP is not really an option or consideration.

Real throughput on a WiFi WLAN is around 6Mb/s .

Mr Mephisto
Mephisto2 is offline  
 

Tags
101, home, networking, wireless


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 06:50 AM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360