官术网_书友最值得收藏!

Time for action – sniffing wireless packets

Follow the following instructions to begin sniffing packets:

  1. Power up the access point Wireless Lab that we configured in Chapter 1, Wireless Lab Setup.
  2. Start Wireshark by typing Wireshark & in the console. Once Wireshark is running, navigate to Capture | Options:
  3. Select packet capture from the wlan0mon interface by clicking on the Start button at the bottom right of the interface as shown in the previous screenshot. Wireshark will begin the capture, and now you should see packets within the Wireshark window.
  4. These are wireless packets that your wireless adapter is sniffing off the air. In order to view any packet, select it in the top window and the entire packet will be displayed in the middle window.

    Click on the triangle in front of IEEE 802.11 Wireless LAN management frame to expand and view additional information.

Look at the different header fields in the packet and correlate them with the WLAN frame types and subtypes you learned earlier.

What just happened?

We just sniffed our first set of packets off the air! We launched Wireshark, which used the monitor mode interface, wlan0mon we created previously. You should notice, by looking at Wireshark's footer region, the speed at which the packets are being captured and also the number of packets captured till now.

Have a go hero – finding different devices

Wireshark traces can be a bit daunting at times; even for a reasonably populated wireless network, you could end up sniffing a few thousand packets. Hence, it is important to be able to drill down to those packets that interest us. This can be accomplished using filters in Wireshark. Explore how you can use these filters to identify unique wireless devices in the traces—both access points and wireless clients.

If you are unable to do this, don't worry as this is the next thing we will learn.

主站蜘蛛池模板: 惠水县| 南召县| 三门峡市| 双峰县| 阿勒泰市| 隆德县| 抚远县| 水城县| 如皋市| 通山县| 藁城市| 永济市| 阿图什市| 松江区| 柳江县| 六枝特区| 盐池县| 河西区| 紫云| 黔西| 思南县| 阿坝县| 石渠县| 习水县| 洛宁县| 义马市| 大宁县| 西吉县| 隆尧县| 汉阴县| 龙口市| 白银市| 铜陵市| 元氏县| 仁布县| 丰镇市| 始兴县| 阜平县| 兴国县| 莱芜市| 信丰县|