Giter Site home page Giter Site logo

dabao's Introduction

Dabao - A network visualiser

Dabao is a network visualiser with the aim of showing step-by-step, layer-by-layer, how communication happens on the Internet. It is created with the intent to answer, in-depth, the question: "How does my computer download a web page?". However, it's designed in such a way that other scenarios can be played out too.

The name

In Singapore, to "dabao" or "ๆ‰“ๅŒ…" means to take-away food. More directly, it means to bale/pack or unpack something. This software helps to pack/unpack the contents of messages at different layers of the network stack, so the name seems somewhat fitting.

How to use

Right now, Dabao approximately simluates a simple HTTP request, including DNS lookup and some ARP exchanges. You can "step" through each "hop" of packets, or run the exchange continuously. You will see the packets traverse a network and the contents of the packets change along the way.

Software utilised

dabao's People

Contributors

stevekerrison avatar

Watchers

 avatar  avatar James Cloos avatar

dabao's Issues

Detailed TCP

  • 3-way handshake
  • ACKs
  • Fragmentation
  • Windowing

Would all be nice to show if the LoD is set accordingly

Define LoD data structures and visuals

  • A visual selector for what LoDs we want.
  • A way to define what LoDs different packet components will be present in
  • Consider a "direct transit" mode where at one of the higher LoDs, we just see packets move between source and final destination, not intermediates

PCAP support

  • Define nodes and networks based on observed MACs
  • Challenging because ideally it needs packets captured on every edge of the observed network

Routing tables

Provide a way to demonstrate how nodes determine where to forward packets.

Adding an extra AS may help give more rich examples of this, otherwise it'll be single-choice routes most of the way.

Support NAT

  • Label a node as performing NAT, or define subnets that are expected to be behind NAT and automatically perform NAT on appropriate nodes
  • Apply Source address NAT (SNAT) on outgoing packets

Add packet elements to network

  • Not subject to same layout algorithm as network nodes
  • Will be animated/created/destroyed as part of stepwise/animated data sequences

Show packet contents

  • Each packet's contents bytes and decoded data (a bit like wireshark)
  • Able to drill down the LoDs as desired

Improve visuals

I've done very little to the CSS so far, so it needs enhancements.

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.