Skip to content

Instantly share code, notes, and snippets.

View chriselsen's full-sized avatar

Christian Elsen chriselsen

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chriselsen
chriselsen / map.geojson
Last active February 5, 2019 21:48
With Akamai POPs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chriselsen
chriselsen / GeoLocation.geojson
Last active February 28, 2019 00:59
Mapping of RIPE Atlas probes to AWS origins
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@chriselsen
chriselsen / ffrouting-install.sh
Last active May 12, 2025 14:25
FFRouting on Ubuntu 18.04
#!/bin/bash
sudo apt-get update && sudo apt-get upgrade -y
# Dependencies
sudo apt-get install -y \
git autoconf automake libtool make libreadline-dev texinfo \
pkg-config libpam0g-dev libjson-c-dev bison flex python3-pytest \
libc-ares-dev python3-dev libsystemd-dev python-ipaddress python3-sphinx \
install-info build-essential libsystemd-dev libsnmp-dev perl libcap-dev \
@chriselsen
chriselsen / RIPE-Atlas-GeoIP-Blocking.py
Last active December 12, 2019 23:53
Python Script to analyze RIPE Atlas measurement result
#!/usr/bin/env python3
import requests
from ripe.atlas.sagan import Result
from ripe.atlas.cousteau import Probe
source = "https://atlas.ripe.net/api/v2/measurements/23515276/latest/?format=json"
response = requests.get(source).json()
for result in response:
user@host:~/Atlas$ ./RIPE-Atlas-GeoIP-Blocking.py
CN: 1000048: 127.0.0.1: OK
CN: 1000050: 127.0.0.1: OK
EC: 10032: 1.2.3.4: OK
CN: 1008: 127.0.0.1: OK
AM: 11623: 1.2.3.4: OK
RS: 12835: 1.2.3.4: OK
CN: 14584: None: Unknown
BA: 14628: 1.2.3.4: OK
GB: 14775: 1.2.3.4: OK
#!/bin/bash
sudo add-apt-repository ppa:wireguard/wireguard -y
sudo apt-get update && sudo apt-get upgrade -y
sudo apt install wireguard -y
cd
umask 077
wg genkey | tee privatekey | wg pubkey > publickey
#!/bin/bash
cd /tmp
wget https://github.com/cloudflare/gortr/releases/download/v0.14.4/gortr_0.14.4_amd64.deb
sudo dpkg -i gortr_0.14.4_amd64.deb
sudo systemctl enable gortr
sudo systemctl start gortr