yno
automatically troubleshoots your server. yno
will look up DNS, find external IPs, and trace packets to figure out exactly where your connection is breaking down.
yno
should be run from the server you are trying to connect to. It assumes you at least have shell access and are trying to get other stuff to work.
DISCLAIMER: yno
is a jam project and is therefore woefully incomplete. Don't expect it to actually work.
Since yno
is a jam project, it has some extra dependencies that could be avoided in future versions.
You will need the following command-line programs:
tcpdump
ss
You will also need libpcap-dev
:
sudo apt install libpcap-dev
Then, if you have a sufficiently recent version of Go, you can install it from source:
go install github.com/bvisness/yno@latest
Make sure $(go env GOPATH)/bin
is on your PATH
.
yno
has only been tested on Ubuntu 22.04.
yno localhost:8080
yno mywebsite.com
Because yno
needs to trace packets, it must be run as root.
yno
is a submission for the Handmade Network's 2023 Visibility Jam. Its goal is to make your network problems visible and save you from having to remember so many arcane commands for completely routine work. In the future, maybe systems like yno
could be persistently running to help you find and fix network issues much more quickly!