GithubHelp home page GithubHelp logo

cmon's Introduction

CMon

A Simple Connection Monitor Written in Go

Installation

To install CMon, simply run:

go get github.com/vaelen/cmon/cmds/cmon

Example Output

The output is well formatted MarkDown.

Thu, 06 Apr 2017 12:10:44 -0500

Active Connections

Interface Source -> Destination Count State
lo 172.28.128.100:0 -> 172.28.128.100:0 1 Closed
lo 127.0.0.1:40066 -> 127.0.1.1:27000 29 Active
lo 127.0.1.1:27000 -> 127.0.0.1:40066 27 Active
enp0s3 0.0.0.0:68 -> 255.255.255.255:67 1 Closed
enp0s3 fe80::9892:755f:c064:a26:546 -> ff02::1:2:547 2 Closed
enp0s3 54.173.82.137:443 -> 192.168.1.135:50716 7 Closed
enp0s3 192.168.1.135:50716 -> 54.173.82.137:443 7 Active
enp0s8 :0 -> :0 3 Active

Inactive Connections

Source -> Destination State
127.0.1.1:27000 -> 127.0.0.1:44778 Inactive
172.28.128.100:36948 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
127.0.1.1:27000 -> 127.0.0.1:44730 Inactive
172.28.128.100:36948 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
127.0.1.1:27000 -> 127.0.0.1:40134 Inactive
172.28.128.100:36948 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
127.0.1.1:27000 -> 127.0.0.1:44724 Inactive
172.28.128.100:36948 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
127.0.0.1:44778 -> 127.0.1.1:27000 Inactive
172.28.128.100:36948 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
127.0.0.1:44728 -> 127.0.1.1:27000 Inactive
172.28.128.100:36950 -> 172.28.128.101:27000 New
172.28.128.100:36948 -> 172.28.128.101:27000 New
127.0.0.1:40086 -> 127.0.1.1:27000 Inactive
172.28.128.100:36950 -> 172.28.128.101:27000 New
172.28.128.100:36948 -> 172.28.128.101:27000 New
127.0.0.1:44726 -> 127.0.1.1:27000 Inactive
172.28.128.100:36948 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
127.0.1.1:27000 -> 127.0.0.1:40086 Inactive
172.28.128.100:36948 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
127.0.0.1:44730 -> 127.0.1.1:27000 Inactive
172.28.128.100:36948 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
172.28.128.100:36948 -> 172.28.128.101:27000 New
127.0.1.1:27000 -> 127.0.0.1:44726 Inactive
172.28.128.100:36950 -> 172.28.128.101:27000 New
172.28.128.100:36948 -> 172.28.128.101:27000 New
127.0.1.1:27000 -> 127.0.0.1:44728 Inactive
172.28.128.100:36948 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
127.0.0.1:44724 -> 127.0.1.1:27000 Inactive
172.28.128.100:36948 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
172.28.128.100:36948 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
172.28.128.100:36948 -> 172.28.128.101:27000 New
127.0.0.1:40134 -> 127.0.1.1:27000 Inactive
172.28.128.100:36948 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
172.28.128.100:36950 -> 172.28.128.101:27000 New
172.28.128.100:36948 -> 172.28.128.101:27000 New

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.