# 802.11 (Wifi) ## 規格 ## CSMA/CA (不正確) 1. 送信をしたいノードは,送信開始前にチャネル状況をチェック 2. 送信しているノードがいる場合はACKまで待ち,データ送信終了を検知.さらに一定時間(DIFS, Distributred Inter Frame Space)待つ. 3. さらにランダム時間待つ(このランダム時間はできるだけ短くするようになっている.)ランダム時間待機の間に他のノードが先に送信を始めたら次のランダム時間は短くなるように調整される. ## SSIDって - Service Set Identifier - ESSID(Extended SSID)とBSSID(Basic SSID)があるっぽい. - BSSID - 識別名としてAPのMACアドレスをそのまま流用 - 48ビット - ESSID - 識別名を管理者が任意に指定 - Stealth SSID - "SSIDをステルスにする"ということは,"ビーコン発出を行わない"ことと同値 - しかし,これはAPの能動的なビーコン発出を行わないだけであり,通信に乗っているSSIDはプレーンテキストなので,傍受することでSSIDを知ることができる. ## Cisco APでclientのassoc.とかを見る - `show dot11 clients` - `show client summary` あたりを使う. ``` jp7fkf@wifi01.home's password: wifi01.home>ena Password: wifi01.home#show dot11 clients Total dot11 clients: 0 wifi01.home#show dot11 clients show dot11 Client Information qos Show dot11 qos parameters sensor Show Sensor Information wifi01.home#show dot11 sensor heartbeat Show WSA Agent Heartbeat Information neighbors Show dot11 sensor neighborlist scan Show WSA Scanned Information stats Show dot11 sensor statistics synthetic Show WSA Synthetic Tests Information test Show WSA Test Information wifi01.home#show dot11 sensor neighbors 2.4 GHZ Neighbor list ===================== Entry BSSID SSID Name RSSI 5 GHZ Neighbor list =================== Entry BSSID SSID Name RSSI wifi01.home#show dot11 clients Total dot11 clients: 0 wifi01.home#show client statistics Client Statistics summary Client Summary wifi01.home#show client summary Radio Driver client Summary: ============================== wifi0 wifi1 WCP client Summary: ===================== NSS client Summary: ===================== Current Count: 2 | MAC | OPAQUE |PRI POL|VLAN|BR|TN|QCF|BSS|RADID|MYMAC| |18:80:90:XX:XX:XX|00000000| 3| 0| 1| 1| 0| 2| 3| 1| |18:80:90:XX:XX:XX|00000000| 3| 0| 1| 1| 0| 2| 3| 1| Datapath client Summary: ========================== id vap port node tunnel mac seen_ip hashed_ip sniff_ago confirm_ago wifi01.home#show client statistics wired Wired Clients wireless Wireless Client wifi01.home#show client statistics wireless WORD MAC address xx:xx:xx:xx:xx:xx wifi01.home# ``` ## References - [Cisco IOS Configuration Guide for Autonomous Aironet Access Points Cisco IOS Release 15.3(3)JAB - Configuring the Access Point for the First Time [Cisco Aironet 1040 Series] - Cisco](https://www.cisco.com/c/en/us/td/docs/wireless/access_point/15-3-3/configuration/guide/cg15-3-3/cg15-3-3-chap4-first.html#46811) - [自律型 AP での SSID および VLAN の設定 - Cisco](https://www.cisco.com/c/ja_jp/support/docs/wireless-mobility/service-set-identifier-ssid/210516-SSIDs-and-VLANs-configuration-on-Autonom.html)