Python implementation of the Spinning Cube of Potential Doom.
Project description
NetCube is a tool for visualizing network traffic in three dimensions. It is inspired by the Spinning Cube of Potential Doom and was originally developed back in 2005.
- NetCube requires:
pcapy
OpenGL
pygame
It uses pcapy to capture packets via libpcap allowing the use of the same filters used by tcpdump and part of Ethereal. After capturing a packet, NetCube adds it to a list to be rendered as a pixel within a 3d cube. Each access corresponds to a different parameter of the packet. At present these are the source address, the destination address, and the port number. The color of the pixel corresponds to the vertical axis (port number) in order to make the diagram more readable as it rotates.