# m11 **Repository Path**: ferryboat/m11 ## Basic Information - **Project Name**: m11 - **Description**: Monitor 802.11 WIFI network interface under Linux. Only for capturing all 802.11 radiotap packets from a monitor interface, saved as *.pcap. You can call her "shi yi mei" as a chinese MM. - **Primary Language**: C - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-07-22 - **Last Updated**: 2020-12-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Copyright (c) 2015, Ferry Zhou and contributors All Rights Reserved. This program is licensed under the GPL v2 license in COPYING. m11: Monitor 802.11 network interface. At yourself, you can call her "shi yi mei" as chinese. Only for capturing all 802.11 radiotap PF_PACKET:SOCK_RAW from a monitor interface, packets save as *.pcap. Some m11's characters: 1. She is concise and elegant for easy use. 2. She is single-minded with linux and .pcap. 3. She is simple and nice to get along with, and you can KISS and unstand her with least effort. 4. She is a lovely girly, in a word. 5. She is not tcpdump that's a big miscellaneous man. 6. She can be cross-compiled to several archs like ARM, MIPS etc, cause she has a pure heart filled with only standard C and POSIX libs. Usage: m11 [-i] [-B] [-o] options: -h = show this help text -i = interface name like wlan0, moni0 etc. -B = buffer size KB to store all packets captured -o = output to file must like *.pcap -v = show version example: ifconfig wlan0 down iw dev wlan0 set type monitor ifconfig wlan0 up m11 -i wlan0 -B 2048 -o tmp.pcap press CTRL+C to finish and store packets in tmp.pcap Install: make make install History: 2015-07-22 m11 1st version v0.1 m11 will be CRAZY if you take it with interface eth0 that is not 802.11 monitor interface. Now, m11 has been tested with wifi module rtl8188cus driven by rtlwifi open source driver under Ubuntu 14.04.02-64bit with kernel 3.13.0. 2015-07-23 m11 2nd version v0.2 m11 will be CRAZY if stay with eth0 as before. Now, m11 always wait on the interface even if no data comes up, until we get packets when the interace is up halfway. So, the only way to end up capturing is to press CTRL+C. change log: 1. fix bug that terminal is blocked all the time 2. assure that all packets are written to file when program exits 3. prompt number of packets received