Giter Site home page Giter Site logo

odin-wi5-agent's Introduction

Odin agent

We are adding interesting info in this wiki: https://github.com/Wi5/odin-wi5/wiki

Odin agents run on physical APs, and are implemented as Click elements. Agents contain the logic for the Wi-Fi split-MAC and LVAP handling. Agents also record information about clients using radiotap headers, and communicate with the Odin Master over the Odin control channel. The physical AP hosting the agent also requires a slightly modified Wi-Fi device driver to generate ACK frames for every LVAP that is hosted on the AP.

Source files for Odin agent:

src/odinagent{.cc,.hh}

These are the Click OdinAgent element files. They've only been tested in userspace mode so far. To build:

  1. Add these files to /elements/local/

  2. Build Click with the --enable-local and --enable-userlevel flag.

  3. $ make

agent-click-file-gen.py

Click file generator for the agent. Configure and use this script to generate the appropriate Odin agent click file.

This is an example of how to use the python command:

$ python agent-click-file-gen.py 4 50  14:CC:20:AC:72:91 192.168.1.129 2819 /sys/kernel/debug/ieee80211/phy0/ath9k/bssid_extra odin-unizar 192.168.1.7 0 11 12 25 0

where the parameters have the next meaning:

4 number of the channel

50 size of the queue

14:CC:20:AC:72:91 MAC address of the AP

192.168.1.129 IP address of the Controller

2819 port used to connect with the Controller

/sys/kernel/debug/ieee80211/phy0/ath9k/bssid_extra directory of the debug file

odin-unizar SSID

192.168.1.7 IP address of the AP

0 No click debug info

11 Debug level 1, with Demo appearance (1)

12 6 Mbps of TX rate

25 the Tx power of the AP is 25 dBm (obtained with $iw dev mon0 info)

`0 no hidden mode: the AP will respond to all active scanning requests, even if they have no SSID name

odin-wi5-agent's People

Contributors

josemariasaldana avatar luissequeira avatar lalithsuresh avatar juanlucruz avatar

Watchers

Fangxin Xu 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.