Docsity

MAC Logic and WEP in IEEE 802.11 Networks, Study notes of Computer Science

Partial preview of the text

Download MAC Logic and WEP in IEEE 802.11 Networks and more Study notes Computer Science in PDF only on Docsity!

Medium Access Control Logic

Packet arrival defer

RandomBackoff

Mediumbusy

Mediumidle

Transmit

Freeze

CW = min(2(CW+1) –1, CW

max

Start

Mediumbusy

expired Collision detected

Interframe Space (IFS) „^

Short IFS (SIFS)^

^

Shortest IFS (used for ACK, CTS, poll response)

^

Used for immediate response actions „^

Point coordination function IFS (PIFS)^

^

Midlength IFS

^

Used by centralized controller in PCF scheme when using polls „^

Distributed coordination function IFS (DIFS)^

^

Longest IFS (data, RTS)

^

Used as minimum delay of asynchronous frames contending for access

SIFS < PIFS < DIFS

Virtual Carrier Sensing „^

Network allocation vector (NAV)

maintains a prediction of

future traffic on the medium based on duration informationthat is announced in RTS/CTS frames prior to the actualexchange of data.

Exposed Terminal Problem

Authentication „^

Open authentication (null authentication)

„^

Shared key authentication^

Step 1: shared key is delivered over a secured channel

Step 2: the requester sends an “request for authentication” frame Step 3: the responder sends a challenge text generated by WEP Step 4: the requester copy the challenge text and transmit thenew frame after encryption by WEP using share secret key Step 5: the responder decrypts the frame using the sharedsecret key

  1. Request for authentication
    1. authentication

Wired Equivalent Privacy (WEP) „^

Goal: to prevent eavesdropping from unintendedstations.^

Encryption: E

(P) = Ck^

^

Decryption: D

(C) = Pk^

WEP Decipherment „^

Secret key distributed earlier through certain keymanagement schemes

„^

IV extracted from packets

Problems with WEP „^

Flipping a bit^

CRC is a linear algo.

Flipping a bit results changes to a determinstic set of bits flippedin CRC checksum

„^

XOR and short IV field in clear text make possiblestochastic attacks^

Ex: consider two streams using the same key & IV field, by XORthem -> one can get the XOR of the text strings

IV is 24 bits, a busy access point sending messages at 11Mbpswill exhaust the space in 15008/(1110^6)*2^24 = ~18000s =5hr

„^

WEP key is shared by all users of the group

IEEE 802.11a and IEEE 802.11b „^

IEEE 802.11a^

Makes use of 5-GHz band

Provides rates of 6, 9 , 12, 18, 24, 36, 48, 54 Mbps Uses orthogonal frequency division multiplexing (OFDM) Subcarrier modulated using BPSK, QPSK, 16-QAM or 64-QAM

„^

IEEE 802.11b^

Provides data rates of 5.5 and 11 Mbps

Complementary code keying (CCK) modulation scheme

Requirements for WLAN vs. IEEE 802.11 „^

Throughput

„^

Number of nodes