Git Product home page Git Product logo

netmon's Introduction

Netmon

A simple traffic monitor for users based on mac address for raspbery pi/orange pi

This is simple php project that use wireshark cli (tshark) to capture and analyse transform packages and extract mac and traffic from them. This project implemented and tested on orange pi pc.

The interface is very simple and need more advance features but the foundation is ready. Maybe I can some extra features in future. If you know a good php interface for this application please introduce it.

Install

  1. This project need to php , apache, mysql , tcpdump , upstart be installed. Upstart and tcpdump for Debian/Ubuntu installation described bellow:

    apt install tcpdump upstart
    
  2. Now should install service by copying upstart/netmon.conf to /etc/init.

  3. Put the project files in the /var/www/html/netmon

  4. Create database and tables by importing the database/import.sql.

  5. Start service using service netmon start. Service runs as www-data (the apache user).

  6. Now run simple data summery by navigating http://<server-id>/netmon

For monitoring traffic I enabled ip4_forwarding and use the pi as internet access point.

[MyComputer] <======> (Orange PI) <======> [Internet Router]

This project inspired from ronenb blog , you can find more helpful manual there :

http://blog.ronenb.com/2016/08/20/network-traffic-analyzer-with-raspberrypi/

Also I used this guide to install wirelless ap on my pi:

https://frillip.com/using-your-raspberry-pi-3-as-a-wifi-access-point-with-hostapd/

enter image description here

netmon's People

Contributors

kingofnull 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.