Giter VIP home page Giter VIP logo

cosmokit's Introduction

CosmoKit

Scripts & tools for building & configuring Cosmos ecosystem nodes

About

This toolkit is a collection of scripts, tips, & utilities that I've found useful during my time as a Cosmos ecosystem node operator.

Hopefully, you find some of these tools useful, too. :)

Scripts:

1. setup_ufw_fail2ban.sh

A simple script to automate the process of installing UFW and configuring some basic rules/ports for Tendermint-based chains:

  • allow outgoing
  • deny incoming
  • allow ssh/tcp
  • limit ssh/tcp
  • allow 26656 (Cosmos peers)
  • allow 26657 (RPC port)
  • allow 9093 (we've configured this port for Prometheus, instead of port 9090)
  • allow 16524/tcp (new SSH)
  • limit 16524/tcp
  • deny 22/tcp (default SSH)
  • allow 1317 (LCD port)

The same script also includes the installation of Fail2Ban, a simple way to automatically ban IPs that are attempting to spam/bruteforce your server.

2. install_prometheus.sh (INCOMPLETE)

Pretty self explanatory. This script will run through the necessary setup steps required to isntall prometheus, as well as node_exporter_full, which are great for exporting node data directly to Grafana servers.

Note: this script is configured for port 9093 instead of the default port 9090.

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.