Code Monkey home page Code Monkey logo

documents's Introduction

Documents

This is the repository where our meeting minutes and other important documents and planning notes live.

You can find out more about Toronto Mesh on our website.

Getting Involved

We are still in the early stages and would love involvement from more people! Please be in touch by:

We have guidelines for getting involved as well as contributing.

documents's People

Contributors

asotnetworks avatar benhylau avatar darkdrgn2k avatar dasanchez avatar dcwalk avatar garrying avatar joshuaopolko avatar pedro-nonfree avatar seapancakes avatar shrinks99 avatar timtor avatar uditvira avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

documents's Issues

Tech - YGGDRASIL/CJDNS mulit hop test

Document Yggdrsaill vs CJDNS testing

Logical map of nodes (CJDNS addresses) connected for MESHPOINT and signal strengths between them
image

Results

CJDNS/YGGDRASIL with 802.11s routeing disabled
This is the "standard" mode for Prototype peering. CJDNS/YGGDRASIL will see multiple hops if peers are out of range and direct hops if they are in range.

image

CJDNS/YGGDRASIL with 802.11s routeing enabled

Enabliing 802.11s routing, the 802.11s protocol will shuttle the packets/frames around based on its routing protocol.

CJDNS/YGGRASILL see a flat 1 hop network to all nodes even though some paths may actually be multi hopped. 802.11s deasl with the multi hops

image

Vector HTTPS set up is incomplete

https://chat.tomesh.net has a proper cert, but this specific request leads to browsers complaining about unauthenticated script execution. It occurs when clicking on Room Settings:

Mixed Content: The page at 'https://chat.tomesh.net/#/room/#tomesh:tomesh.net' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://localhost:5050/register'. This content should also be served over HTTPS.
http://localhost:5050/register Failed to load resource: net::ERR_CONNECTION_REFUSED

Org update at Planning Meeting

  • Workshop pilot at TPL Fort York and open-source curriculum
  • Diversify meeting location effort
  • Partnerships (TPL, student housing co-op, etc.)
  • Website changes and new room logos / general improving presentation efforts by @Shrinks99
  • OurNetworks.ca status
  • Presentations at UofT, CCC, MaRS, etc.

Document alexandria.tomesh.net

Media Content

Installation

Clean install - Debian 9 x64

Format Storage Slice

mkfs.ext3 /dev/sda1
add `/dev/sda1 /mnt/sda1 ext4 defaults 0 0` to `/etc/fstab`

Install basic stuff

apt-get install rsync nginx xinetd

Add ffcdn user

adduser ffcdn
mkdir /mnt/sda1/data
mkdir /mnt/sda1/data/freifunk
chown ffcdn.ffcdn /mnt/sda1/data/freifunk

Configure rsync daemon

cat <<EOF> /etc/rsyncd.conf
use chroot = true 

#hosts
allow = 0.0.0.0 

transfer logging = true 
log file = /var/log/rsyncd-ffcdn.log 
log format = %h %o %f %l %b 

[ffcdn-mediaread] 
path = /mnt/sda1/data/freifunk
read only = yes 
list = yes 

[ffcdn-mediawrite] 
path = /mnt/sda1/data/freifunk
hosts allow = 
http://cdnmaster.media.freifunk.net 
 
hosts deny * 
read only = no 
uid = ffcdn 
gid = ffcdn
EOF

Configure xinet.d to run rsyncd

cat <<EOF> /etc/xinetd.d/rsyncd
# default: off
# description: The rsync server is a good addition to an ftp server, as it \
# allows crc checksumming etc.
service rsync
{
disable = no
flags = IPv6
socket_type = stream
port = 873
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon
log_on_failure += USERID
}
EOF

Configure nginx to point to correct path and auto indexing

edit '/etc/nginx/sites-enabled/default' set root to `/mnt/sda1/data`
add `autoindex on;` under `location /`

Configure users and enable sudo

apt-get install sudo
adduser benhylau
usermod -aG sudo benhylau

Configure stats server

apt-get install vnstat vnstati
cat <<EOF> /usr/local/bin/updatestats.sh
#!/bin/sh
vnstati -h -i eth0 -o /mnt/sda1/data/stats/eth0-hour.png
vnstati -d -i eth0 -o /mnt/sda1/data/stats/eth0-day.png
vnstati -m -i eth0 -o /mnt/sda1/data/stats/eth0-month.png
vnstati -s -i eth0 -o /mnt/sda1/data/stats/eth0.png
EOF

chmod +x /usr/local/bin/updatestats.sh
echo 59 *    * * *   root    /usr/local/bin/updatestats.sh >> /etc/crontab

cat > /mnt/sda1/data/stats/index.html
<html>
<body>
<h1>Server transfer stats</h1>
<img src="eth0-hour.png"><br>
<img src="eth0-month.png"><br>
<img src="eth0-day.png"><br>
<img src="eth0.png"><br>
</body>
</html>
CTRL+C

Disable SSH Password Login

edit /etc/ssh/sshd_config
add PasswordAuthentication no (usually commented out as YES)

Add ipv6


add to  /etc/network/interfaces


iface eth0 inet6 static
address 2605:6400:0020:0777:0000:0000:0000:0040
netmask 48
gateway 2605:6400:0020:0000:0000:0000:0000:0001

Other

apt-get install screen

Ben's Notes

  • Create users and add RSA keys for SSH, turn off password access and chmod 700 ~/.ssh

Add DNS entries:

A alexandria.tomesh.net 209.141.53.33
AAAA alexandria.tomesh.net 2605:6400:20:777::40
AAAA h.alexandria.tomesh.net fcef:709a:15b:de7f:eb3d:cf30:bdc0:5bfc
AAAA y.alexandria.tomesh.net 201:27b2:1e5d:35f1:b06d:d3b:5fff:8a10

sudo apt-get install -y ca-certificates jq

wget https://github.com/benhylau/mesh-router-builder/releases/download/v0.10/cjdns_20.2-0.10_amd64.deb
sudo dpkg -i cjdns_20.2-0.10_amd64.deb
sudo systemctl start cjdns
Added 8 North American public peers
sudo systemctl restart cjdns

wget https://419-115685026-gh.circle-artifacts.com/0/yggdrasil-0.3.2-amd64.deb
sudo dpkg -i yggdrasil-0.3.2-amd64.deb
sudo systemctl start yggdrasil
Added 7 North American public peers
sudo systemctl restart yggdrasil

  • Set up "nginx + letsencrypt + dehydrated" by following mesh-services
  • Manually run dehydrated script to get certs to bootstrap (cronjob will take care of reissues)

IPFS

WIP

Speaking opportunity at CivicTechTO

As @patcon brought to our attention, CivicTechTO has kindly invited someone from Toronto Mesh to present about the project. Since this project started at CivicTechTO, and it's been a while since we gave an update, this seems like a good time to catch up.

๐Ÿค” I wonder if the drawing exercise we will be doing at our Meet and Greet in Feb can be reproduced / adapted for events like this (as breakout after main talk), both to collect ideas of what people would like to see from our project, and as an opportunity to discuss the issues we care about.

CORS on chat.tomesh.net

Revise Vision Statement

As part of website revamp discussion, we decided to revisit what is on our About page. We should see if the Vision still reflects our current focus. Some of the points raised include:

  • We are doing a lot of work outside of what is traditionally considered a mesh network (e.g. peer-to-peer applications)
  • Our focus is currently quite different from NYC Mesh, referencing their definition is a little misleading for visitors

Given this is a change in one of the most significant outward facing messaging, we should decide on the copy collaboratively. This ticket is to facilitate that consensus process. The output should include:

  • Copy to replace our current About page
  • Short one or two line vision to replace the current We are building a mesh network in Toronto on our landing page

Toronto Mesh workshop at UofT

Had a call with Pegah today about a symposium she is planning at UofT on Saturday, May 25 (~100 people). Wondering if Toronto Mesh would like to facilitate something at event about meshnets and self-managed infrastructure for creative workers, activists, and technologists (e.g. present a little and give markers and paper to draw their ideal communication infra). See more about the event from our meeting notes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.