Coder Social home page Coder Social logo

wperf's Introduction

A test tool for 802.11 monitor mode frame injection and reception

Wperf is an iperf-like test tool for injecting and receiving 802.11 frames using the mac80211 wireless stack in Linux. The tool kan be run in client mode (transmitting data to a wperf server) or in server mode (receiving data from a wperf client). Each end-point may use either monitor mode or the native in-kernel UDP/IP/802.11 stack. For example, AP-side frame injection can be tested by running the wperf client in monitor mode on the AP, transmitting data to a wperf server running in native UDP mode on the STA side.

Command line options

  Usage: wperf [-s|-c host] [options]
         wperf [-h|--help]

  Options:
         -p, --port     <port> server UDP port to listen on/connect to
         -m, --mtu      <mtu>  set the MTU size, default 1500
         -s, --server          run in server mode
         -c, --client   <host> run in client mode, connecting to <host>
         -b, --bandwidh <bps>  set the bandwidth in [G|M|k]bit/s
         -M, --monitor  <if>   use a monitor interface for send/receive
         -D, --dhost    <mac>  dest MAC address (monitor only)
         -S, --shost    <mac>  source MAC address (monitor only)
         -B, --bssid    <mac>  AP BSSID MAC address (monitor only)
         -q, --tid      <tid>  set TID, -1 for non-QoS (monitor only)
         -t, --sta             run as STA instead of AP (monitor only)
         -i, --interval <sec>  set the printout interval (default 1s)
         -h, --help            display this help and exit

Examples

Native UDP server

  wperf -s

Monitor mode server (AP side)

  wperf -s --monitor=<ifname> --bssid=<bssid> --shost=<mac> [--dhost=<mac>]

Monitor mode server (STA side)

  wperf -s --sta --monitor=<ifname> --bssid=<bssid> --dhost=<mac> [--shost=<mac>]

Native UDP client

  wperf -c <ip>

Monitor mode client (AP side)

  wperf -c <ip> --monitor=<ifname> --bssid=<bssid> --dhost=<mac> [--shost=<mac>]

Monitor mode client (STA side)

  wperf -c <ip> --sta --monitor=<ifname> --bssid=<bssid> --shost=<mac> [--dhost=<mac>]

wperf's People

Contributors

almbladh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.