GithubHelp home page GithubHelp logo

packetry's Introduction

Packetry

A fast, intuitive USB 2.0 protocol analysis application for use with LUNA.

Packetry is currently in active development and not yet ready for initial release.

Screenshot of Packetry

Development

Packetry is written in Rust, with its GUI using GTK 4 via the gtk-rs bindings.

To build it, you need a working Rust development environment. The minimum supported Rust version is 1.57.

You must also have the GTK 4 headers installed and discoverable via pkg-config, as this is required for Rust to build the gtk-rs crates.

Building and running

To build, run cargo build after installing the necessary prerequisites (see below). Run with cargo run.

If you pass a capture filename as an argument, Packetry will attempt to load it. The current supported file format is a .pcap file with the LINKTYPE_USB_2_0 link layer header type.

If no filename is provided, Packetry will attempt to start live capture from an attached device running the LUNA USB analyzer applet.

Installing prerequisites

Linux

Install the Rust build tools, other essential build tools, and GTK 4 headers.

On Debian based systems it should be sufficient to use the command:

apt install rustc cargo build-essential libgtk-4-dev

For Fedora systems:

yum install rust cargo make gcc gcc-c++ gtk4-devel pango-devel

For other distributions, a similar set of packages should be required.

You can also omit Rust and Cargo and use rustup to get the latest Rust toolchain and manage your Rust installation.

macOS

Install Rust with rustup, and install Homebrew.

Install GTK 4 with brew install gtk4.

Windows

Follow the installation instructions from GUI development with Rust and GTK 4.

You can use either the MSVC or GNU toolchains.

packetry's People

Contributors

martinling avatar miek avatar mossmann avatar dependabot[bot] avatar

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.