From c1fd818f0b2828b5cc1139b79814a9625c2baeb2 Mon Sep 17 00:00:00 2001 From: Matthew Stewart Date: Fri, 25 Feb 2022 21:15:11 -0800 Subject: [PATCH 1/3] add .DS_Store for mac users --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index e2b7399..fcea006 100644 --- a/.gitignore +++ b/.gitignore @@ -60,4 +60,8 @@ typings/ # dotenv environment variables file .env +# IDE .idea + +# MacOS +.DS_Store From f5889387892dd3b875ed393ca5886aae97257069 Mon Sep 17 00:00:00 2001 From: Matthew Stewart Date: Fri, 25 Feb 2022 21:15:39 -0800 Subject: [PATCH 2/3] add mermaid exit node svg diagram --- public/exit-node.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 public/exit-node.svg diff --git a/public/exit-node.svg b/public/exit-node.svg new file mode 100644 index 0000000..33827a6 --- /dev/null +++ b/public/exit-node.svg @@ -0,0 +1 @@ +
InterWeb
Exit Node
Gateway A
Node A1
Node A2
Node A3
Gateway B
Node B1
Node B2
Node B3
Gateway C
Node C1
Node C2
Node C3
\ No newline at end of file From 8b493ce50d266b98ea0b53ee8a2b950aceea4cd3 Mon Sep 17 00:00:00 2001 From: Matthew Stewart Date: Fri, 25 Feb 2022 21:16:22 -0800 Subject: [PATCH 3/3] add embedded mermaid exit node diagram --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7c2907c..627f8b4 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,12 @@ To help monitor network health. -Exit nodes periodically execute [post-routing-table.sh](./post-routing-table.sh), hitting an API endpoint at https://peoplesopen.herokuapp.com/api/v0/nodes. This relays information about the number of active routes, active gateways, and the full contents of the exit node's routing table. If an exit node hasn't checked in in more than 2 minutes, it is assumed to be down. +## Exit Nodes +Exit nodes periodically execute [post-routing-table.sh](./post-routing-table.sh), hitting an API endpoint at https://peoplesopen.herokuapp.com/api/v0/nodes. This relays information about the number of active routes, active gateways, and the full contents of the exit node's routing table. If an exit node hasn't checked in in more than 2 minutes, it is assumed to be down. + +### Exit Node: +[![](https://mermaid.ink/img/pako:eNptkjFPwzAQhf-KdXM7xNkyIOWOCiEhBhgYMIOpDY0gSWUcQVX1v3NO4RpL9mLrvXf-pKc7wnZ0Hhp4D3a_U3cPZlB8nvzrs4HbIfrATwMvZ3nz00XW06XueU6MGxt9y066v-1BteKkWFuxlR6qrXJDi6FzoxajziC4gGA2ggLBHIICwRyCAsEcQgsIZSMkEMohJBDKISQQukC4U7VeX819XpqdpbnJRamzeC6xqOqiWhd-xUWLksSqqOqiWvqVFrVJkqqiqotqDSvofeht53gPjyljIO58z-vV8NPZ8GHADCfOTXvHwxvXxTFA82Y_v_wK7BTHx8OwhSaGyf-HrjvLO93_pU6_Vc7Y1Q)](https://mermaid.live/edit#pako:eNptkjFPwzAQhf-KdXM7xNkyIOWOCiEhBhgYMIOpDY0gSWUcQVX1v3NO4RpL9mLrvXf-pKc7wnZ0Hhp4D3a_U3cPZlB8nvzrs4HbIfrATwMvZ3nz00XW06XueU6MGxt9y066v-1BteKkWFuxlR6qrXJDi6FzoxajziC4gGA2ggLBHIICwRyCAsEcQgsIZSMkEMohJBDKISQQukC4U7VeX819XpqdpbnJRamzeC6xqOqiWhd-xUWLksSqqOqiWvqVFrVJkqqiqotqDSvofeht53gPjyljIO58z-vV8NPZ8GHADCfOTXvHwxvXxTFA82Y_v_wK7BTHx8OwhSaGyf-HrjvLO93_pU6_Vc7Y1Q) + Uses memcache/memjs, and mongo db. Deployed to heroku.