Giter Site home page Giter Site logo

xmegz / mndptray Goto Github PK

View Code? Open in Web Editor NEW
30.0 5.0 9.0 1.41 MB

MikroTik Neighbor Discovery Protocol Tools

Home Page: https://xmegz.github.io/MndpTray/

License: GNU General Public License v3.0

C# 95.64% Batchfile 0.35% Shell 1.25% PowerShell 2.77%
mikrotik routeros mndp mikrotik-router discovery network-discovery udp network windows broadcast net-framework cpd lldp tool linux dotnet

mndptray's Introduction

MikroTik Neighbor Discovery Protocol Tools

Build status CodeFactor GitHub All Releases NuGet NuGetDownload MyGet

MndpTray

MndpTray is a Windows utility that allows you, to monitor and manage MikroTik devices, on your network from the system tray.

The information is broadcast using the MikroTik Discovery Protocol (MNDP), which allows MikroTik RouterOS devices to discover other MikroTik RouterOS devices on the same network segment. This makes it possible for MndpTray to provide information about the host, to other MikroTik RouterOS devices and for other MikroTik RouterOS devices, to retrieve this information and display it in their own management interfaces.

By providing this information, MndpTray makes it easier for network administrators to monitor and manage their MikroTik RouterOS devices, as they can quickly see the status of all the devices on their network without having to log in to each device individually.

windows application list window mikrotik winbox neighbor interface

Downloads

  • Download from GitHub Latest
  • Install via WinGet (as administrator)
winget install --accept-source-agreements mndptray.core
mndptray

Details

MNDP similar to CDP and LLDP, but Mikrotik specific, typically includes the following information:

  • MikroTik RouterOS Version: The version of MikroTik RouterOS running on the device.
  • IP Address: The IP address of the device's network interface.
  • Interface: The name of the device's network interface.
  • Board Name: The name of the device's board.
  • Identity: The name of the device
  • Software ID: A unique identifier for the device's software.
  • MAC Address: The MAC address of the device's network interface.
  • Uptime: The amount of time the device has been running.

More functions

  • Includes integration with external tools like WINBOX, SSH, VNC, RDP, HTTP, PING
  • Send message over windows message service (Remote RPC)
  • IPv4 & IPv6 support
  • Self update from GitHub
  • Blocking winbox discovery function when running

Tested

  • Windows 11, Windows 10 Os
  • Single and multiple NIC
  • .NET 8.0 runtime
  • Various Mikrotik devices with 6.x or 7.x OS

MndpService

MndpService is a background service, which is send information about running host

  • Systemd or Windows service support
  • Ubuntu 20.04, 22.04, Debian 10, 12 Linux support
  • Release package self contained .Net runtime (.Net runtime installation isn't necessary)
  • Developement in progress

Linux install one-liner

sudo su -c "bash <(wget -qO- https://github.com/xmegz/MndpTray/releases/download/v2.2.0/install.sh)" root

MndpProtocol

Standalone package for intergation and testing

  • .NET 4.6.2, .NET 8.0 support
  • Linux and Windows support
  • Separate listener and sender thread

Package feeds

Usage

namespace MndpTray.Protocol.Test
{
    using System;
    using System.Threading;

    /// <summary>
    /// Startup Class.
    /// </summary>
    public static class Program
    {
        /// <summary>
        /// Startup Method.
        /// </summary>
        public static void Main()
        {
            MndpListener.Instance.Start();
            MndpListener.Instance.OnDeviceDiscovered += Instance_OnDeviceDiscovered;
            MndpSender.Instance.Start(MndpHostInfo.Instance);

            Console.WriteLine("--- Start ---");
            Console.WriteLine("Press any key to stop");

            while (!Console.KeyAvailable)
                Thread.Sleep(100);

            Console.WriteLine("--- Stop ---");

            MndpListener.Instance.Stop();
            MndpSender.Instance.Stop();
        }

        private static void Instance_OnDeviceDiscovered(object sender, MndpListener.DeviceDiscoveredEventArgs e)
        {
            Console.WriteLine(e.Message.ToString());
        }
    }
}

mndptray's People

Contributors

jtone123 avatar padartamascsiha avatar xmegz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mndptray'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.