Giter Site home page Giter Site logo

iwtools's Introduction

IwTools

📡 Ferramenta para monitoramento em tempo real dos dispositivos de rede sem fio.

Com o uso da ferramenta, o administrador de redes poderá escolher quais informações irá coletar dos dispositivos de rede sem fio para resolver um problema espeficico, além de poder analiser o conjunto de dados e auxiliar na tomada de decisão.

💻 Sobre a ferramenta

O Iwtools tem como objetivo auxilar o administrador de rede no monitoramento remoto em tempo real dos dispositvos de rede sem fio, por meio de um terminal CLI ou com scripts Python, podendo ser itegrando com outras ferramentas de monitoramento.

Preparação

Instalação das dependências

$ sudo apt-get install git python3-setuptools iw make

🚀 Get Started

Faça o clone do repositório e instale a ferramenta com os seguintes comandos:

$ git clone https://github.com/wvdomingos/iwtools.git
$ cd iwtools
$ sudo make install

Para conferir a instalação, digite os comandos:

$ cd ~
$ iwtools --version

Instalação

🤔 Como usar?

Para demonstrar o uso do IwTools, vamos emular um ambiente virtual de rede sem fio com a ferramenta Mininet-WiFi, onde temos um Acess Point e três estações conectas via WiFi.

Para iniciar uma simples topologia com um Access Point e três estações conectadas, basta digitar o seguinte comando:

$ sudo mn --wifi --topo single,3

mininet-wifi>

Primeiro listar as interfaces dos APs:

$ iwtools --list-ap
AP
ap1-wlan1

Depois precisamos listar o MAC das estações conectadas:

$ iwtools --list-sta -i ap1-wlan1
AP	MAC
ap1-wlan1	02:00:00:00:00:00
ap1-wlan1	02:00:00:00:01:00
ap1-wlan1	02:00:00:00:02:00

Por fim, executar o comando para saber o RSSI da estação selecionada:

$ iwtools --get-rssi -i ap1-wlan1 -c 02:00:00:00:02:00
AP	MAC	RSSI
ap1-wlan1	02:00:00:00:00:00	-36

Instalação

A seguir temos um fluxo demonstrando esse exemplo.

📖 Help

Comando para listar a documentação da ferramenta:

$ iwtools --help

📄 Lista de Comandos

Informações dos Access Point

Comando Argumento 1 Objetivo
--list-ap Lista os Access Points
--get-ap-mac -i <AP> Lista os MAC dos Access Points
--get-ap-ssid -i <AP> Lista os SSID
--get-ap-channel -i <AP> Lista os Channels
--get-ap-freq -i <AP> Lista as Frequencias
--get-ap-txpower -i <AP> Lista os TX Power
--get-ap-json -i <AP> Gerar arquivo Json sobre AP

Informações das estações

Comando Argumento 1 Argumento 2 Objetivo
--list-sta -i <AP> Lista os MAC das Stations
--get-inactive -i <AP> -c <MAC> Lista o tempo inativo
--get-rxbytes -i <AP> -c <MAC> Lista o RX bytes
--get-rxpackets -i <AP> -c <MAC> Lista o RX Packets
--get-txbytes -i <AP> -c <MAC> Lista o TX bytes
--get-txpackets -i <AP> -c <MAC> Lista o TX Packets
--get-txretries -i <AP> -c <MAC> Lista o TX Retries
--get-txfailed -i <AP> -c <MAC> Lista o TX Failed
--get-rxdrop -i <AP> -c <MAC> Lista o RX Drop
--get-rssi -i <AP> -c <MAC> Lista o RSSI
--get-rssi-avg -i <AP> -c <MAC> Lista o RSSI-AVG
--get-txduration -i <AP> -c <MAC> Lista o TX duration
--get-dtim -i <AP> -c <MAC> Lista o DTIM
--get-beacon -i <AP> -c <MAC> Lista o Beacon
--get-connected -i <AP> -c <MAC> Lista o Timestamp conectado
--get-boottime -i <AP> -c <MAC> Lista o tempo inicio da conexão
--get-associated -i <AP> -c <MAC> Lista o Timestamp associado
--get-current -i <AP> -c <MAC> Lista o Timestamp autal
--get-sta-json -i <AP> -c <MAC> Gera arquivo Json sobre Station

🎞️ Demonstração

Click aqui! para assistir a demonstração da ferramenta.

Licença

Apache

iwtools's People

Contributors

wvdomingos avatar

Watchers

 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.