Coder Social home page Coder Social logo

r-rudolph / network-visualizer Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 1.01 MB

A program which graphically displays network traffic in the local network.

License: GNU General Public License v2.0

C++ 95.79% C 1.26% Shell 2.94%
network 3d opengl visualization network-capture

network-visualizer's Introduction

network-visualizer

A program which graphically displays network traffic in the local network.

Description:

network-visualizer captures IPv4 packages with pcap and displays them graphically.

network-visualizer displays 3 kinds of sources/destinations of packets (displayed as big cubes):

  • External: Addresses not from the local subnet are treated as external
  • Local: Packets which are addressed as multicast or to addresses in the local subnet of which the program isn't sure if they exist are sent here
  • Network Entities: Addresses in the local subnet of which the program knows that they exist. It knows, once a IP package from this address is captured.

Captured packages are displayed as smaller cubes (size dependent on packet size), starting at their respective source IP address, moving towards their destination. The color depends on the external IP address involved. Similar IP addresses result in similar colors.

Controls:

  • Left click on packet: Stop packet (only visually, it will of course not stop actual network packages ;) )
  • Right click on packet: Display information on packet (on console)
  • W, A, S, D: Move camera
  • Q, E, 8, 4, 6, 2: Rotate Camera
  • I: Print camera information
  • Ctrl+C: Exit
  • Space: Pause (will stop packets from moving, also stops sniffing while paused)

Libraries:

The libraries used are:

  • libpcap
  • libGL
  • libglut (freeglut)
  • libGLEW
  • libSOIL
  • glm
  • pthread

How to compile/dependencies:

In order to compile make and g++ are needed, as well as the libraries mentioned above.

Compile network-visualizer by executing

make

This will generate the binary named network-visualizer.

How to run

network-visualizer needs priviledged network access, it has to be executed either priviledged

sudo ./network-visualizer

or given the proper capabilities before executing

sudo setcap cap_net_raw+ep network-visualizer

network-visualizer's People

Contributors

mrudolph avatar r-rudolph avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

mrudolph

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.