ifconfig wlan0 promisc 与 iw wlan0 set type monitor 区别
来源:互联网 发布:用友软件建账步骤 编辑:程序博客网 时间:2024/06/06 06:48
Promiscuous mode allows you to view all wireless packets on a network to which you have associated. The need to associate means that you must have some measn of authenticating yourself with an access point. In promiscuous mode, you will not see packets until you have associated. Not all wireless drivers support promiscuous mode.
One important difference is Promiscuous mode does, indeed, tell the card to process all frames, (i.e. remove 802.11 frame headers ) including those not destined for it.
But, monitor mode tells the card to pass along the frames intact (with 802.11 headers) and not present plain 'ol Ethernet frames to the host。
Reason
In monitor mode the SSID filter mentioned above is disabed and all packets of all SSID's from the currently selected channel are captured.
Even in promiscuous mode, an 802.11 adapter will only supply packets to the host of the SSID the adapter has joined. Although it can receive, at the radio level, packets on other SSID's, it will not forward them to the host.
So in order to capture all traffic that the adapter can receive, the adapter must be put into "monitor mode", sometimes called "rfmon mode". In this mode, the driver will not make the adapter a member of any service set, so it won't support sending any traffic and will only supply received packets to a packet capture mechanism, not to the networking stack. This means that the machine will not be able to use that adapter for network traffic; if it doesn't have any other network adapters, it will not be able to:
* resolve addresses to host names using a network protocol such as DNS;
* save packets to a file on a network file server;
etc..
Monitor mode is not supported by WinPcap, and thus not by Wireshark or TShark, on Windows.
It is supported, for at least some interfaces, on some versions of Linux, FreeBSD, and NetBSD.
Command to put Wireless card in monitor mode on linux (Use sudo in front, if not in root login)
ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up
- ifconfig wlan0 promisc 与 iw wlan0 set type monitor 区别
- openwrt iw 扫描AP iw wlan0 scan
- ifconfig中lo、eth0、br0、wlan0接口
- ifconfig中lo、eth0、br0、wlan0接口
- wireless驱动程序的安装以及ifconfig wlan0 up
- 安凯AK3918E加载mtk7601驱动不能ifconfig wlan0 down
- ifconfig promisc
- cubietruck+ vncserver+source+wlan0
- lo、eth0、br0、wlan0
- Error for wireless request "Set AP Address" (8B14) : SET failed on device wlan0 错误解决办法
- wlan0 unknown error 132 [SOLVED]
- linux 改 wlan2为wlan0
- 获取wlan0&ð0联网状态
- 小白的辛酸泪--ubuntu没有wlan0
- ubuntu 14.04 server 配置wlan0 笔记
- udev: renamed network interface wlan0 to wlan1
- 固定无线网卡interface名称为wlan0
- 新路程------wlan0 连接wifi操作
- 如何在HPUX的终端提示符前显示当前登录用户信息和所在目录
- Masonry介绍与使用实践
- 微信开发笔记
- iOS键盘设置透明色
- easyui 客户端分页
- ifconfig wlan0 promisc 与 iw wlan0 set type monitor 区别
- 通过友盟分享内容到新浪微博错误解决方法
- KSImageNamed-Xcode插件在xcode 6.4/6.3或其余版本中不能使用解决方案
- 安卓开发手记—ListView下面跟着Button
- Linux启动过程详解
- ubuntu 安装pip
- python 一个比较好的讲解beanstalkc模块的网站
- 据技术Hadoop入门理论系列之一----hadoop生态圈介绍
- android调用相应的应用市场进行评价功能开发