Giter VIP home page Giter VIP logo

cnote's Introduction

cnote

rust protocol analyzer (early dev)

How it works

if not Open Suse (or maybe other linux variations)

first make sure rust is installed then clone the project then in the root of the project cargo run and the basic window should show up.

if OpenSuse (or maybe other linux variations)

cargo build --release \
&& sudo setcap cap_net_raw,cap_net_admin+eip target/release/cnote

if in Pop!_Os (in the cnote directory)

cargo build --release
sudo ./target/release/cnote

If you are linux, you may have to install the following dependencies:

dbus-x11
libgtk-3-dev

Supported protocols

Ethernet, IPv4, UDP, and TCP right now

base frame

#[derive(Default, Debug)]
pub struct EthernetFrame {
    pub id: i32,
    pub timestamp: String,
    pub header: EthernetHeader,
    pub payload: Option<Box<dyn Layer>>,
}

Layer is a trait object that gets implemented further down the line. Ever protocol it encapsulates implements the trait Layer
so
Ethernet -> IP -> TCP

Layers

Every packet implements the layer trait, layer implements the Send marker

Sniffers

Sniffers are the packet capture logic.

This is just a rough outline for anyone who reads this/myself so i know what im doing.

Each packet that implements layer handles the logic for the layer it encapsulates.

Milestones

  1. Establish a general framework for the backend that is a reasonable approach
    🔵🔵🔵🔵🔵⬜⬜⬜⬜⬜ 50%
  2. Logging -
    ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜ 0 %
  3. Set up basic gui -
    🔵🔵⬜⬜⬜⬜⬜⬜⬜⬜ 0 %
  4. Figure out how to handle 802.11 frame -
    ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜ 0%
  5. Figure out how to highlight problem packets -
    ⬜⬜⬜⬜⬜⬜⬜⬜⬜⬜ 0%

cnote's People

Contributors

chinoto avatar kipnek avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

chinoto

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.