• This repository has been archived on 18/Jun/2022
  • Stars
    star
    220
  • Rank 180,422 (Top 4 %)
  • Language
    JavaScript
  • License
    BSD 3-Clause "New...
  • Created about 8 years ago
  • Updated about 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Multi-probe looking glass with simple but powerful configuration for probes and lookup types (BIRD, MTR, Ping & Traceroute pre-configured)

intrace

intrace is a multi-purpose and multi-location looking glass supporting a wide variety of query types through some easy configuration files (BIRD, MTR, Ping & Traceroute pre-configured)

Deploying a new intrace instance

  • Build Node.js from source or install pre-built .deb/.rpm packages
  • Install git and tmux or screen on the looking glass server: sudo apt-get install git-core tmux/screen or yum install git tmux/screen
  • Pull the latest master code from the repository: git clone https://github.com/Fusl/intrace $HOME/intrace
  • Change directory to intrace: cd $HOME/intrace
  • Copy the example configuration files: cp config/caps.json.example config/caps.json; cp config/private.json.example config/private.json; cp config/probes.json.example config/probes.json; cp config/public.json.example config/public.json
  • Read through the configuration reference and edit the caps.json, private.json, probes.json and public.json configuration files to your needs
  • Install package dependencies: npm install
  • Create a SSH keypair: ssh-keygen -t ed25519
  • Copy the SSH public key to all probe servers: ssh-copy-id -i $HOME/.ssh/id_ed25519.pub user@hostname
  • Make sure you can SSH into (all) probe servers: ssh user@hostname
  • Make sure all required commands on all probe servers are installed: Default configuration with bird, traceroute, ping and mtr require the packages bird, iputils-ping, traceroute and mtr-tiny to be installed
  • Start the looking glass daemon: node lg.js
  • Open the looking glass frontend in your browser: http://<ip address>:<port number>/
  • Additional step: Stop the looking glass (CTRL+C) and start it within tmux or screen: tmux -Lintrace -f /dev/null new-session 'node lg.js' or screen -amdS intrace 'node lg.js'

Using behind nginx proxy on a relative path

In order for nginx reverse proxying to work, you must set the following additional nginx headers in its location block:

	location /mtr/ {
		proxy_pass http://<host-or-ip-of-intrace-instance>:8080/;
		proxy_http_version 1.1;
		proxy_set_header Orig_Host $http_host;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection "upgrade";
	}

Upgrading an existing intrace instance

  • Change directory to intrace: cd $HOME/intrace
  • Pull all changes from the repository: git pull
  • Stop and restart the currently running intrace instance: tmux -Lintrace attach or screen -x intrace to attach the tmux/screen, stop the looking glass (CTRL+C) and start it again within tmux or screen: tmux -Lintrace -f /dev/null new-session 'node lg.js' or screen -amdS intrace 'node lg.js'

More Repositories

1

opennic-resolvconf-update

Shell
44
star
2

nodecast

nodecast is a high performance shoutcast-/icecast-like server, playlist, stream transcoder and dispatcher
JavaScript
36
star
3

tinc-deploy

Simple script for automatically deploying a tinc VPN network - Uses flat files as configuration sources
Shell
8
star
4

go-resp

Fast Redis serialization protocol implementation in Golang (RESP2 and RESP3 compatible)
Go
6
star
5

discolored

stupidly simple discord bot written in golang to allow discord server members to self-assign color roles
Go
5
star
6

ovz7-on-rbd

A collection of proof-of-concept scripts to allow OpenVZ 7 to mount the root filesystem for containers from a Ceph-backed RBD storage
Shell
4
star
7

ateam-airsync

Archive Team dockerized rsync target
Shell
3
star
8

pvecloud

Scripts to mimic and emulate a full cloud environment on Proxmox VE
Shell
3
star
9

munin-mj12

Munin MJ12Monitor Statistics
3
star
10

mj12docker

Majestic-12 Crawler Bot Docker Image
Shell
2
star
11

simfs2ploop

Proof of concept code for converting an OpenVZ container from simfs to ploop using LIVE MIGRATION methods
Shell
2
star
12

ovz6-on-iscsi

A collection of PoC scripts to allow OpenVZ 6 to mount the VE rootfs from a ZFS-on-FreeBSD iSCSI target
Shell
2
star
13

opennic-tier2-installer

Shell
2
star
14

docker-certstream

Real-time certificate transparency log update stream. See SSL certificates as they're issued in real time.
Dockerfile
2
star
15

autoload

Full-automatic OpenVZ container resource scaling to prevent over-utilization of OpenVZ HNs
JavaScript
1
star
16

docker-steam-rust

Dockerized Rust Game Server
Dockerfile
1
star
17

zfsync

[POC] Simple configuration-free ZFS storage synchronization tool to keep two or more hosts synced up (tested with FreeBSD 10.3)
Shell
1
star
18

mini-request

Minimalistic Node.js http.request wrapper
1
star
19

mj12redir

m12redir binds to port 80 as a normal webserver and redirects to the Majestic-12 Bot-Information page
Perl
1
star
20

ceph-mgr-plugin-influx-ng

Fork of https://github.com/ceph/ceph/tree/master/src/pybind/mgr/influx but each datapoint in a single row separated by metric in colums instead of multiple rows
Python
1
star
21

huepdate

Simple but powerful Philips Hue API rules manipulation script
JavaScript
1
star