mirror of
https://github.com/cwinfo/yggdrasil-map
synced 2024-11-09 16:00:27 +00:00
5b53e0fb20
CWINFO (@cwinfo) ------------------------- cloudberry.fr1.servers.devices.cwinfo.net fr2.servers.devices.cwinfo.net Nginx Reverse Proxy https://yggdrasil-map.cwo.fi -> http://[21f:dd73:7cdb:773b:a924:7ec0:800b:221e]:80/ https://yggdrasil-map.h.cwo.fi -> http://[21f:dd73:7cdb:773b:a924:7ec0:800b:221e]:80/ https://yggdrasil-map.y.cwo.fi -> http://[21f:dd73:7cdb:773b:a924:7ec0:800b:221e]:80/
26 lines
1.3 KiB
Markdown
26 lines
1.3 KiB
Markdown
# Yggdrasil map
|
|
|
|
* Internet: https://yggdrasil-map.cwo.fi
|
|
* Hyperboria: https://yggdrasil-map.h.cwo.fi
|
|
* Yggdrasil Network: https://yggdrasil-map.y.cwo.fi
|
|
|
|
Forked from the code for http://www.fc00.org (http://h.fc00.org on Hyperboria).
|
|
|
|
## Sending your view of the network
|
|
|
|
This code reads a map of known nodes from `y.yakamo.org:3000/current` (reachable over yggdrasil). You may alternatively generate your own view of the network by running [a crawler script](scripts/crawl-dht.py), but this may take some time (figuring out how to run it and use the results is left as an exercise to the user).
|
|
|
|
## Web server
|
|
```bash
|
|
git clone https://github.com/Arceliar/yggdrasil-map.git
|
|
sudo apt-get install python-flask python-flup python-mysqldb python-pygraphviz python-networkx
|
|
|
|
cd yggdrasil-map/web
|
|
cp web_config.example.cfg web_config.cfg
|
|
python web.py
|
|
```
|
|
|
|
You would need to edit web.py to adjust the address/port the server listens on, and may want to edit the web_config.cfg file. Note that most of the options in web_config.cfg are unused after forking from the fc00.org code, so this is mostly just a workaround until we have time to clean up this code.
|
|
|
|
Run `web/updateGraph.py` periodically to rerender nodes graph. You may want to customize reverse-proxy IP retrieval logic in web.py.
|