Coder Social home page Coder Social logo

ethercurve's Introduction

EtherCurve

EtherCurve is a tool for visualizing packets on your network. The packets are drawn using a space-filling Hilbert curve. Packets are scaled by their sizes and coloured using a qualitative colour map that can easily be customized.

Requirements

  • cmake >= 2.8.9 (for building the program)
  • Qt >= 5.2 (for rendering)
  • libpcap >= 1.3.0 (older versions should work as well because I am not doing anything special here)

Build instructions

After extracting the source files to a directory, the following should be sufficient to build EtherCurve:

$ mkdir build
$ cd build
$ cmake ../
$ make

Usage

EtherCurve provides you with a prompt for choosing a network interface. Provided you do not wish to change any options, a simple ./ethercurve suffices to start the tool. See ./ethercurve -h for more options.

Changing the colour scheme

EtherCurve can read a text file containing RGB colours. These colours will be used for packet rendering. The file needs to consist of triples of integers in the range from 0–255. In addition, the file needs to have at least 4 lines, as EtherCurve currently knows three types of packets, i.e. TCP, UDP, ICMP, and the rest. The following is a valid file for EtherCurve:

255,0,0
0,255,0
0,0,255
255,255,255

Licence

EtherCurve is released under the MIT licence. See the file LICENCE in the source directory for details.

ethercurve's People

Contributors

conrad784 avatar pseudomanifold avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

conrad784

ethercurve's Issues

Binary does not compile

[ 62%] Building CXX object CMakeFiles/ethercurve.dir/PacketRenderer.cpp.o /home/conrad/git/stuff/EtherCurve/PacketRenderer.cpp: In member function ‘QGraphicsItem* PacketRenderer::render(qreal, qreal, const pcap_pkthdr*, const uchar*) const’: /home/conrad/git/stuff/EtherCurve/PacketRenderer.cpp:136:27: error: ‘log’ is not a member of ‘std’ relativeLength = std::log( packetHeader->len ) / std::log( _mtu ); ^~~ /home/conrad/git/stuff/EtherCurve/PacketRenderer.cpp:136:59: error: ‘log’ is not a member of ‘std’ relativeLength = std::log( packetHeader->len ) / std::log( _mtu ); ^~~ make[2]: *** [CMakeFiles/ethercurve.dir/build.make:135: CMakeFiles/ethercurve.dir/PacketRenderer.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/ethercurve.dir/all] Error 2 make: *** [Makefile:84: all] Error 2

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.