Giter VIP home page Giter VIP logo

mctk's Introduction

mctk - multicasting toolkit

simple utility to test multicast routing

In troubleshooting multicast routing I wanted a lightweight multicast message sender and receiver. mctk provides an extremely lightweight process that can send packets to a multicast group at a configurable rate of a specified size (to test MTU). it also can receive the packets.

Written in Rust, it is runs on any platform that Rust supports. It has been tested on Linux (Redhat 6/7) and Windows 10.

Basic Usage

This will send small multicast packets every 1 second to the 224.1.1.1 multicast group.

mctk send -g 224.1.1.1

This will join the group, and receive multicast packets.

mctk receive -g 224.1.1.1

In both send/receive you can specify the port (-p). In send you can also specify the sending interval in milliseconds (-i) and the packet size in bytes (-s).

Full Usage

$ mctk -h
multicast toolkit 0.1
Curtis Ruck <[email protected]>
supports testing of multicast routing and packet flow

USAGE:
    mctk [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    help       Prints this message or the help of the given subcommand(s)
    receive    Runs a multicast receiver
    send       Runs a multicast sender
$ mctk help send
mctk-send
Runs a multicast sender

USAGE:
    mctk send [OPTIONS] --group <group>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -g, --group <group>              Sets the multicast group
    -i, --interval <milliseconds>    Sets the sender's packet transmission interval [default: 1000]
    -s, --packet-size <bytes>        Sets the sender's packet size [default: 1000]
    -p, --port <port>                Sets the multicast port [default: 8201]
    -t, --ttl <ttl>                  Sets the sender's time to live value [default: 2]
$ mctk help receive
mctk-receive
Runs a multicast receiver

USAGE:
    mctk receive [OPTIONS] --group <group>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -g, --group <group>    Sets the multicast group
    -p, --port <port>      Sets the multicast port [default: 8201]

mctk's People

Contributors

dependabot[bot] avatar ruckc avatar

Watchers

 avatar  avatar  avatar

mctk's Issues

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.