Giter Site home page Giter Site logo

johnclawson / servicemap Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 968 KB

ServiceMap is a tool to correlate and graph TCP/UDP connections between servers.

License: GNU General Public License v2.0

Python 12.53% HTML 20.68% CSS 48.26% JavaScript 18.52%

servicemap's Introduction

servicemap

ServiceMap is a tool to correlate and graph TCP/UDP connections between servers.

This is a work in progress. BYU web template is included, feel free to switch it out for your own branding and just edit out those portions of the HTML files.

Installation instructions:

Collector:

  • install Python, Apache, MySQL/MariaDB, rsyslog, NetworkX, Python MySQL connector, other Python packages I can't remember (keep * installing until cgi scripts stop complaining.
  • use rsyslog's DB create script to set up database
  • run LogSummary.sql create script
  • change DB connect password in cgi scripts and iptables-collector.conf
  • start rsyslog listening on UDP and configure to write messages to DB (udpListen.conf, iptables-collector.conf)
  • edit cgi-bin/hostList.py for list of desired subnets to be shown/graphed
  • enable Apache or other web server CGI and put cgi-bin and html directories in place
  • link connectionSummary.py to cron to be run at desired frequency (10 minutes seems to work well)

Nodes:

  • add iptablesRules.txt lines to iptables configuration file
  • add iptables.conf rsyslog rule and change hostname to point at collector

Sample Web UI

servicemap's People

Contributors

johnclawson avatar

Stargazers

 avatar  avatar

Watchers

 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.