WiFi monitor模式的配置和运行检查(Ubuntu系统)

news2024/12/28 18:32:37

WiFi monitor模式的配置和运行检查

  • 1. WiFi monitor模式介绍
  • 2. WiFi monitor模式查看
    • Step1:确保计算机上有安装硬件WiFi无线网卡
    • Step2:安装必要的工具
    • Step 3:`iw list`查看无线网卡是否支持monitor模式
    • Step 4:配置WiFi monitor模式
    • Step 5:查看&设置WiFi RF信道
    • Step 6:检验WiFi monitor模式
  • 3. 参考资料

1. WiFi monitor模式介绍

通常大家对于WiFi的理解主要来自无线路由器和和接入无线路器的设备,比如:笔记本电脑,手机,智能电视机,智能开关,智能电饭煲等。由于这些设备使得我们的日常生活更加便捷。

从技术的角度来说,这些智能设备都是基于IP网络在进行信息交互。说的更加专业一点就是这些设备都满足OSI(Open System Interconnection)分层设计,遵循IPv4/IPv6协议进行信息交互。

补充介绍下OSI七层模型:

  • L7应用层:HTTP FTP TFTP SMTP SNMP DNS TELNET HTTPS POP3 DHCP
  • L6表示层:数据的表示、安全、压缩;JPEG、ASCll、EBCDIC、加密格式等。(在五层模型里面合并到应用层)
  • L5会话层:建立、管理、终止会话。对应主机进程,指本地主机与远程主机正在进行的会话。(在五层模型里面合并到应用层)
  • L4传输层:TCP UDP
  • L3网络层:ICMP IGMP IP(IPV4 IPV6)
  • L2数据链路层:建立逻辑连接、进行硬件地址寻址、差错校验等功能。将比特组合成字节进而组合成帧,用MAC地址访问介质,错误发现但不能纠正。
  • L1物理层:设备之间非结构化原始数据的传输和接收

这里所讲述的WiFi monitor模式就是运行在L2数据链路层,从软件的角度来看就是最底层了,在下面就是与硬件寄存器相关的操作(这块内容大部分就是驱动层,硬件解决方案不同可能会有不同的差异)。

WiFi monitor就是在L2数据链路层对WiFi RF信号进行监视。

2. WiFi monitor模式查看

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.5 LTS
Release:        20.04
Codename:       focal
$ uname -a
Linux daniel-ThinkPad-SL410 5.15.0-58-generic #64~20.04.1-Ubuntu SMP Fri Jan 6 16:42:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

注:本文基于ubuntu Linux系统进行介绍,windows的朋友请自行寻找相应的工具。

Step1:确保计算机上有安装硬件WiFi无线网卡

Step2:安装必要的工具

$ sudo apt-get install tcpdump wireless-tools net-tools

Step 3:iw list查看无线网卡是否支持monitor模式

注:如果无线网卡不支持该monitor模式,如果需要,请购买相应的无线网卡。

$ iw list
Wiphy phy0
        max # scan SSIDs: 20
        max scan IEs length: 195 bytes
        max # sched scan SSIDs: 0
        max # match sets: 0
        Retry short limit: 7
        Retry long limit: 4
        Coverage class: 0 (up to 0m)
        Device supports RSN-IBSS.
        Supported Ciphers:
                * WEP40 (00-0f-ac:1)
                * WEP104 (00-0f-ac:5)
                * TKIP (00-0f-ac:2)
                * CCMP-128 (00-0f-ac:4)
                * CCMP-256 (00-0f-ac:10)
                * GCMP-128 (00-0f-ac:8)
                * GCMP-256 (00-0f-ac:9)
        Available Antennas: TX 0 RX 0
        Supported interface modes:
                 * IBSS
                 * managed
                 * monitor
        Band 1:
                Capabilities: 0x107e
                        HT20/HT40
                        SM Power Save disabled
                        RX Greenfield
                        RX HT20 SGI
                        RX HT40 SGI
                        No RX STBC
                        Max AMSDU length: 3839 bytes
                        DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT Max RX data rate: 300 Mbps
                HT RX MCS rate indexes supported: 0-15
                TX unequal modulation not supported
                HT TX Max spatial streams: 1
                HT TX MCS rate indexes supported may differ
                Bitrates (non-HT):
                        * 1.0 Mbps
                        * 2.0 Mbps (short preamble supported)
                        * 5.5 Mbps (short preamble supported)
                        * 11.0 Mbps (short preamble supported)
                        * 6.0 Mbps
                        * 9.0 Mbps
                        * 12.0 Mbps
                        * 18.0 Mbps
                        * 24.0 Mbps
                        * 36.0 Mbps
                        * 48.0 Mbps
                        * 54.0 Mbps
                Frequencies:
                        * 2412 MHz [1] (14.0 dBm)
                        * 2417 MHz [2] (14.0 dBm)
                        * 2422 MHz [3] (14.0 dBm)
                        * 2427 MHz [4] (14.0 dBm)
                        * 2432 MHz [5] (14.0 dBm)
                        * 2437 MHz [6] (14.0 dBm)
                        * 2442 MHz [7] (14.0 dBm)
                        * 2447 MHz [8] (14.0 dBm)
                        * 2452 MHz [9] (14.0 dBm)
                        * 2457 MHz [10] (14.0 dBm)
                        * 2462 MHz [11] (14.0 dBm)
                        * 2467 MHz [12] (14.0 dBm) (no IR)
                        * 2472 MHz [13] (14.0 dBm) (no IR)
        Supported commands:
                 * new_interface
                 * set_interface
                 * new_key
                 * start_ap
                 * new_station
                 * new_mpath
                 * set_mesh_config
                 * set_bss
                 * authenticate
                 * associate
                 * deauthenticate
                 * disassociate
                 * join_ibss
                 * join_mesh
                 * remain_on_channel
                 * set_tx_bitrate_mask
                 * frame
                 * frame_wait_cancel
                 * set_wiphy_netns
                 * set_channel
                 * probe_client
                 * set_noack_map
                 * register_beacons
                 * start_p2p_device
                 * set_mcast_rate
                 * connect
                 * disconnect
                 * set_qos_map
                 * set_multicast_to_unicast
        software interface modes (can always be added):
                 * monitor
        interface combinations are not supported
        HT Capability overrides:
                 * MCS: ff ff ff ff ff ff ff ff ff ff
                 * maximum A-MSDU length
                 * supported channel width
                 * short GI for 40 MHz
                 * max A-MPDU length exponent
                 * min MPDU start spacing
        Device supports TX status socket option.
        Device supports HT-IBSS.
        Device supports SAE with AUTHENTICATE command
        Device supports scan flush.
        Device supports per-vif TX power setting
        Driver supports full state transitions for AP/GO clients
        Driver supports a userspace MPM
        Device supports static SMPS
        Device supports dynamic SMPS
        Device supports configuring vdev MAC-addr on create.
        max # scan plans: 1
        max scan plan interval: -1
        max scan plan iterations: 0
        Supported TX frame types:
                 * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
                 * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
        Supported RX frame types:
                 * IBSS: 0x40 0xb0 0xc0 0xd0
                 * managed: 0x40 0xb0 0xd0
                 * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * mesh point: 0xb0 0xc0 0xd0
                 * P2P-client: 0x40 0xd0
                 * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
                 * P2P-device: 0x40 0xd0
        Supported extended features:
                * [ RRM ]: RRM
                * [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
                * [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
                * [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
                * [ EXT_KEY_ID ]: extended key ID support

Step 4:配置WiFi monitor模式

#查看笔记本网卡
$ nmcli device
DEVICE   TYPE      STATE         CONNECTION
enp8s0   ethernet  connected     Wired connection 1
docker0  bridge    connected     docker0
wlp5s0   wifi      disconnected  --
lo       loopback  unmanaged     --

#设置监听模式
$ sudo ifconfig wlp5s0 down
$ sudo iwconfig wlp5s0 mode monitor
$ sudo ifconfig wlp5s0 up

#查询当前网卡的模式
$ sudo iwconfig
lo        no wireless extensions.

enp8s0    no wireless extensions.

wlp5s0    IEEE 802.11  Mode:Monitor  Frequency:2.412 GHz  Tx-Power=14 dBm
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

docker0   no wireless extensions.

Step 5:查看&设置WiFi RF信道

$ sudo iwlist wlp5s0 channel
wlp5s0    13 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Current Frequency:2.462 GHz (Channel 11)

#设置当前信道为6
$ sudo iwconfig wlp5s0 channel 6 

$ sudo iwlist wlp5s0 channel
wlp5s0    13 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 12 : 2.467 GHz
          Channel 13 : 2.472 GHz
          Current Frequency:2.437 GHz (Channel 6)

Step 6:检验WiFi monitor模式

通常我们周边的WiFi环境是很复杂的,也就是说充满了RF信号,所以一般来说每个信道都是有信息的,会接收到RF L2数据链路报文。这也是为什么我们的带宽没有理想的那么高的速率。

PS.玩游戏,关注时延的朋友记得一定用有线网络,有线鼠标。无线都是坑!!!

在这里插入图片描述

查看下当前6通道2.437 GHz频段上是否有数据

$ sudo tcpdump -i wlp5s0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wlp5s0, link-type IEEE802_11_RADIO (802.11 plus radiotap header), capture size 262144 bytes
09:04:25.630909 24.0 Mb/s 2437 MHz 11g -69dBm signal antenna 3 Request-To-Send TA:60:3a:7c:77:22:f1 (oui Unknown)
09:04:25.656676 1.0 Mb/s 2437 MHz 11b -82dBm signal antenna 3 Beacon (ChinaNet-Yp4f) [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.656816 24.0 Mb/s 2437 MHz 11g -72dBm signal antenna 3 Clear-To-Send RA:c0:d2:f3:2b:9f:54 (oui Unknown)
09:04:25.662118 1.0 Mb/s 2437 MHz 11b -79dBm signal antenna 3 Beacon (501) [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.665980 1.0 Mb/s 2437 MHz 11b -73dBm signal antenna 3 Beacon (M-hM-^LM-^IM-hM-^NM-^IM-eM-.M-6) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.683112 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 Clear-To-Send RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.683181 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 BA RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.683423 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 Clear-To-Send RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.683773 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 Clear-To-Send RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.684074 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 Clear-To-Send RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.686923 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 Clear-To-Send RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.687011 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 BA RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.687407 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 Clear-To-Send RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.687486 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 BA RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.697762 1.0 Mb/s 2437 MHz 11b -58dBm signal antenna 3 Beacon (suncheng) [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.700238 1.0 Mb/s 2437 MHz 11b -58dBm signal antenna 3 Data IV:6763 Pad 20 KeyID 2
09:04:25.703526 1.0 Mb/s 2437 MHz 11b -74dBm signal antenna 3 Beacon (401) [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.706720 1.0 Mb/s 2437 MHz 11b -58dBm signal antenna 3 Beacon () [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.707171 11.0 Mb/s 2437 MHz 11b -66dBm signal antenna 3 Acknowledgment RA:2a:d9:a0:0c:c4:62 (oui Unknown)
09:04:25.707868 24.0 Mb/s 2437 MHz 11g -69dBm signal antenna 3 Request-To-Send TA:60:3a:7c:77:22:f1 (oui Unknown)
09:04:25.711027 11.0 Mb/s 2437 MHz 11b -66dBm signal antenna 3 Acknowledgment RA:2a:d9:a0:0c:c4:62 (oui Unknown)
09:04:25.718055 1.0 Mb/s 2437 MHz 11b -80dBm signal antenna 3 Beacon (Xiaomi_A2EC) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] ESS CH: 7, PRIVACY
09:04:25.730225 1.0 Mb/s 2437 MHz 11b -18dBm signal antenna 3 Beacon (AutoConnect) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.741653 1.0 Mb/s 2437 MHz 11b -79dBm signal antenna 3 Beacon (TP-LINK-101) [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.768447 1.0 Mb/s 2437 MHz 11b -74dBm signal antenna 3 Beacon (M-hM-^LM-^IM-hM-^NM-^IM-eM-.M-6) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.768732 11.0 Mb/s 2437 MHz 11b -67dBm signal antenna 3 Data IV:8fc9 Pad 20 KeyID 2
09:04:25.774773 1.0 Mb/s 2437 MHz 11b -76dBm signal antenna 3 Data IV:6a2d Pad 20 KeyID 1
09:04:25.794897 1.0 Mb/s 2437 MHz 11b -88dBm signal antenna 3 Beacon (101) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.798020 1.0 Mb/s 2437 MHz 11b -57dBm signal antenna 3 Beacon (suncheng) [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.802698 1.0 Mb/s 2437 MHz 11b -58dBm signal antenna 3 Data IV:6764 Pad 20 KeyID 2
09:04:25.805997 1.0 Mb/s 2437 MHz 11b -74dBm signal antenna 3 Beacon (401) [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.809156 1.0 Mb/s 2437 MHz 11b -59dBm signal antenna 3 Beacon () [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.833067 1.0 Mb/s 2437 MHz 11b -18dBm signal antenna 3 Beacon (AutoConnect) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.840922 1.0 Mb/s 2437 MHz 11b -84dBm signal antenna 3 Beacon (TP-LINK-101) [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.853205 1.0 Mb/s 2437 MHz 11b -78dBm signal antenna 3 Beacon (wangxuemin) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.857430 1.0 Mb/s 2437 MHz 11b -74dBm signal antenna 3 Data IV:6d6f Pad 20 KeyID 1
09:04:25.864671 1.0 Mb/s 2437 MHz 11b -80dBm signal antenna 3 Probe Response (501) [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] CH: 6, PRIVACY
09:04:25.883431 1.0 Mb/s 2437 MHz 11b -87dBm signal antenna 3 Beacon () [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.885002 24.0 Mb/s 2437 MHz 11g -72dBm signal antenna 3 BA RA:60:3a:7c:77:22:f1 (oui Unknown)
09:04:25.885875 24.0 Mb/s 2437 MHz 11g -77dBm signal antenna 3 Request-To-Send TA:c6:1a:3a:1e:f9:9f (oui Unknown)
09:04:25.886150 24.0 Mb/s 2437 MHz 11g -77dBm signal antenna 3 Request-To-Send TA:c6:1a:3a:1e:f9:9f (oui Unknown)
09:04:25.886369 24.0 Mb/s 2437 MHz 11g -75dBm signal antenna 3 Request-To-Send TA:c6:1a:3a:1e:f9:9f (oui Unknown)
09:04:25.888065 24.0 Mb/s 2437 MHz 11g -74dBm signal antenna 3 Clear-To-Send RA:60:3a:7c:77:22:f1 (oui Unknown)
09:04:25.888655 24.0 Mb/s 2437 MHz 11g -77dBm signal antenna 3 Request-To-Send TA:c6:1a:3a:1e:f9:9f (oui Unknown)
09:04:25.888964 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 Clear-To-Send RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.889100 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 BA RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.889290 24.0 Mb/s 2437 MHz 11g -72dBm signal antenna 3 BA RA:2a:d9:a0:0c:c4:62 (oui Unknown)
09:04:25.889991 24.0 Mb/s 2437 MHz 11g -76dBm signal antenna 3 Request-To-Send TA:a4:1a:3a:1e:f9:9f (oui Unknown)
09:04:25.891854 24.0 Mb/s 2437 MHz 11g -63dBm signal antenna 3 Clear-To-Send RA:a4:1a:3a:1e:f9:9f (oui Unknown)
09:04:25.891862 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 Clear-To-Send RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.891967 24.0 Mb/s 2437 MHz 11g -61dBm signal antenna 3 BA RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.892418 24.0 Mb/s 2437 MHz 11g -62dBm signal antenna 3 BA RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.893163 24.0 Mb/s 2437 MHz 11g -61dBm signal antenna 3 Clear-To-Send RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.893288 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 BA RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.895494 1.0 Mb/s 2437 MHz 11b -81dBm signal antenna 3
09:04:25.902891 24.0 Mb/s 2437 MHz 11g -70dBm signal antenna 3 Request-To-Send TA:60:3a:7c:77:22:f1 (oui Unknown)
09:04:25.903699 6.0 Mb/s 2437 MHz 11g -79dBm signal antenna 3 Acknowledgment RA:cc:b5:d1:8a:f0:90 (oui Unknown)
09:04:25.904414 24.0 Mb/s 2437 MHz 11g -79dBm signal antenna 3 BA RA:cc:b5:d1:8a:f0:90 (oui Unknown)
09:04:25.931026 2437 MHz 11n -69dBm signal antenna 3 19.5 Mb/s MCS 2 20 MHz long GI mixed Data IV:dfe1 Pad 20 KeyID 0
09:04:25.932718 1.0 Mb/s 2437 MHz 11b -76dBm signal antenna 3 Beacon (501) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.935011 1.0 Mb/s 2437 MHz 11b -34dBm signal antenna 3 Beacon (AutoConnect) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.936286 11.0 Mb/s 2437 MHz 11b -67dBm signal antenna 3 Acknowledgment RA:2a:d9:a0:0c:c4:62 (oui Unknown)
09:04:25.943268 1.0 Mb/s 2437 MHz 11b -83dBm signal antenna 3 Beacon (TP-LINK-101) [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] ESS CH: 6, PRIVACY
09:04:25.943425 24.0 Mb/s 2437 MHz 11g -74dBm signal antenna 3 Clear-To-Send RA:60:3a:7c:77:22:f1 (oui Unknown)
09:04:25.946289 1.0 Mb/s 2437 MHz 11b -78dBm signal antenna 3 Beacon (xu) [1.0* 2.0* 5.5* 11.0* 9.0 18.0 36.0 54.0 Mbit] ESS CH: 4, PRIVACY
09:04:25.957327 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 BA RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.959083 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 Clear-To-Send RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.959092 6.0 Mb/s 2437 MHz 11g -78dBm signal antenna 3 Acknowledgment RA:cc:b5:d1:8a:f0:90 (oui Unknown)
09:04:25.959133 24.0 Mb/s 2437 MHz 11g -60dBm signal antenna 3 BA RA:b8:78:26:94:07:3e (oui Unknown)
09:04:25.978663 1.0 Mb/s 2437 MHz 11b -77dBm signal antenna 3 Beacon (Xiaomi_A2EC) [1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0 Mbit] ESS CH: 7, PRIVACY
09:04:25.980290 24.0 Mb/s 2437 MHz 11g -22dBm signal antenna 3 Clear-To-Send RA:88:2d:53:be:74:d4 (oui Unknown)
09:04:25.980411 2437 MHz 11n -34dBm signal antenna 3 72.2 Mb/s MCS 7 20 MHz short GI mixed Data IV:3223 Pad 20 KeyID 0
09:04:25.980419 24.0 Mb/s 2437 MHz 11g -18dBm signal antenna 3 BA RA:88:2d:53:be:74:d4 (oui Unknown)
^C
73 packets captured
73 packets received by filter
0 packets dropped by kernel

3. 参考资料

【1】wikipedia: WiFi monitor mode
【2】wikipedia: OSI model - 7 layer

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/174132.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

有了独自开,我们离自己开发一套系统还会远吗

目录 一、结识独自开 二、独自开的介绍 三、独自开的需求 四、独自开注册流程 五、神仙公司独自开 一、结识独自开 算是机缘巧合,我被C站白佬拉入了他的聊天群,群内均是来自于CSDN的不同领域的优质作者,其中不乏相关领域工作多年的老工程…

“任性”华为 | 七十八岁老人的“四渡赤水”(二)

导读华为是一家“任性”的企业——因为任正非将自己的性格赋予了华为——在企业前进的每一个路口,都会看见这种性格的印记。2022年12月,当美国总统拜登出现在凤凰城出席台积电工厂迁机仪式上,苹果公司首席执行官库克等约900名政商界人士前往捧…

c#检测网络连接信息

用手机全屏看B站视频时可以看到右上角标识有WIFI,比较好奇如何检测当前网络连接是wifi还是数据网络什么的。于是百度相关信息,找到参考文献1-2,其中介绍采用Xamarin.Essentials检测网络连接性,其中的Connectivity类可用于监视设备…

【MATLAB】三维旋转的实现

1 三维旋转的表达方式 三维空间中常用的表示旋转的方式有: **[1]旋转矩阵(rotation matrix) [2]旋转向量(rotation vector)/角轴(轴角)(axis angle) [3]欧拉角(euler angles) [4]四元数(quaternion)**主动旋转和被动旋转&#x…

现场工程师出手-PCAPHub与云IP实现异地LAN工业联测

在去年,因为众所周知的因素影响,项目的甲方主动提出延缓设备的交付。作为乙方,尽管项目延缓是甲方提出的,但依旧希望按期交付,这样才能回款,熬过一年。其实,2022年初,几类传感器、压…

Visual Studio 17.5 拼写检查器预览版现已推出,来说说你的看法吧

写在前面: Visual Studio17.5版本已添加拼写检查器功能,Visual Studio 中的许多功能旨在帮助你编写所需的代码。Visual Studio帮助你确保代码的编译,甚至可以帮助代码样式。现在它甚至可以确保您的拼写准确。Visual Studio 17.5 preview 3 引…

Linux常用命令——talk命令

在线Linux命令查询工具(http://www.lzltool.com/LinuxCommand) talk 让用户和其他用户聊天 补充说明 talk命令是talk服务器的客户端工具,通过talk命令可以让用户和其他用户聊天。linux中talk命令参数程序的使用很简单,只要知道交谈对象的地址&#x…

plt自定义主要刻度值和次要刻度值

使用set_xticks方法和set_xticklabels方法即可 1、set_xticks方法 参数说明: set_xticks(self, ticks, minorFalse)参数1:ticks:指定刻度出现的位置参数2:minor:指定是否是次要刻度返回值1:包含XTick实例…

【数学建模】华为杯研究生数学建模备赛的一些建议

文章目录前言一、建模题目介绍1.1、题目数量1.2、题目种类1.3、题目难度1.4、题目选择二、笔者的备赛过程2.1.简单的题目(本科比赛,学科大作业)2.2.真题三、编程的备赛建议3.1.matlab和python的基础语法3.2.数据预处理3.3.常用的机器学习算法…

win10系统新增的几款非常有用的基础快捷键

win就是键盘的这个键winq或wins 打开搜索winw 打开白板、全屏截图wint 配合左右箭头←→,来回切换最小化窗口在任务栏的缩略图winu 设置显示器wini 打开设置winp 屏幕投影、扩展屏幕wina 查看最近消息通知winh 语音输入法wink 查找设备(如:打…

线程池默认大小为CPU核数的2倍

1、前言 有位工作5年的小伙伴问我说,为什么Netty线程池默认大小为CPU核数的2倍,今天,我花2分钟时间给大家专门分享一下我对这个问题的理解。 另外,我花了1个多星期把往期的面试题解析配套文档准备好了,想获取的小伙伴…

Introduction to Multi-Armed Bandits——03 Thompson Sampling[1]

Introduction to Multi-Armed Bandits——03 Thompson Sampling[1] 参考资料 Russo D J, Van Roy B, Kazerouni A, et al. A tutorial on thompson sampling[J]. Foundations and Trends in Machine Learning, 2018, 11(1): 1-96. ts_tutorial 在线学习(MAB)与强化学习(RL)[…

JavaScript基础知识点整理(一)——数据类型、判定、转换、this指向

JavaScript是每一位前端开发者都必备的技能,接下来会分章节文章阐述介绍每一部分的内容。 JavaScript基础整理①1、JavaScript类型2、原始(primitive)类型3、对象(Object)类型4、类型判定4.1、typeof4.2、instanceof4.…

Vue2基础、组件化编程、脚手架、Vuex、Vue路由、UI组件库

尚硅谷张天禹老师讲课 学习视频 1、Vue简介 Vue2中文官网 1.1 Vue 介绍 一套用于构建用户界面的渐进式JavaScript框架 构建用户界面:把数据通过某种办法变成用户界面渐进式:可以自底向上逐层的应用,简单应用只需要一个轻量小巧的核心库&…

SQL--DQL

目录 1、基础查询 1. 查询多个字段 1. 举例 2. 举例 2. 字段设置别名 1. 举例 2. 举例 3. 去除重复记录 1. 举例 2、条件查询 1. 等于&#xff08;&#xff09; 2. 小于&#xff08;<&#xff09; 3. 小于等于&#xff08;<&#xff09; 4. 没有&#xff…

Java设计模式中命令模式是怎么回事/命令模式如何使用,什么场景适用

继续整理记录这段时间来的收获&#xff0c;详细代码可在我的Gitee仓库SpringBoot克隆下载学习使用&#xff01; 6.4 命令模式 6.4.1 定义 将一个请求封装为一个对象&#xff0c;使发出请求的责任和执行请求的责任分隔开&#xff0c;方便了将命令对象进行存储&#xff0c;传递…

激活函数(26个)

最近在学习网络&#xff0c;发现一会这个网络用了这个激活函数&#xff0c;一会那个网络用了那个激活函数&#xff0c;这些激活函数都有什么作用啊&#xff0c;不知道&#xff0c;这里学习一下&#xff0c;整理下来&#xff0c;方便以后查阅。 激活函数&#xff08;26个&#x…

Elasticsearch7.8.0版本高级查询——组合查询文档

目录一、初始化文档数据二、组合查询文档2.1、概述2.2、示例一、初始化文档数据 在 Postman 中&#xff0c;向 ES 服务器发 POST 请求 &#xff1a;http://localhost:9200/user/_doc/1&#xff0c;请求体内容为&#xff1a; {"name":"张三","age"…

ruoyi_cloud==启动

1-下载ruoyi_cloud源码&#xff0c;新建数据库 下载ruoyi_cloud源码&#xff0c; 新建数据库ry-config&#xff0c;并在数据库中执行ruoyi-cloud源码中ry_config_20220929.sql &#xff0c; 即导入若依这个项目的一些交给nacos管理的配置信息&#xff0c;后面nacos会来读取。…

[java/初学者]类的继承

前言 继承是OOP的三大特征之一&#xff0c; 它的作用是在现有类的基础上派生出一个新的类&#xff0c;这个类中继承了现有类的数据属性和行为&#xff0c;并且能进行扩展。 基于这一特性&#xff0c;我们将前者命名为“父类”或者“基类”&#xff0c;而后者则因此命名为“子…