Skip to content

Instantly share code, notes, and snippets.

@natesales
natesales / main.go
Created April 9, 2022 23:12
PeeringDB OAuth token exchange error PoC
package main
import (
"context"
"io"
"log"
"net/http"
"os"
"github.com/gofiber/fiber/v2"
#!/bin/bash
# Bootstrap a Teleport install on Debian
sudo apt install -y curl software-properties-common gnupg2
curl https://deb.releases.teleport.dev/teleport-pubkey.asc | sudo apt-key add -
sudo add-apt-repository 'deb https://deb.releases.teleport.dev/ stable main'
sudo apt-get update
sudo apt-get -y install teleport
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
echo "deb http://deb.debian.org/debian/ sid main" >> /etc/apt/sources.list
echo "APT::Default-Release "stable";" > /etc/apt/apt.conf.d/default-release

Keybase proof

I hereby claim:

  • I am natesales on github.
  • I am natesales (https://keybase.io/natesales) on keybase.
  • I have a public key ASAthMQUP-t9ApNafcpHfjefsz5lLNOiSI6zoqnKn24FSgo

To claim this, I am signing this object:

@natesales
natesales / OPP-WG.md
Last active July 24, 2020 04:28
OPP-WG Example Specification

OPP-WG

OPP-WG is a standard for remote peering for routing between AMPRNet allocations and the Internet.

Warning

OPP-WG is in alpha and is likely unstable and contains errors. Make sure to look over the example configs before deploying anything in your network.