Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bittorrent #2572

Open
wants to merge 21 commits into
base: master
Choose a base branch
from
Open

Bittorrent #2572

wants to merge 21 commits into from

Conversation

georgejhunt
Copy link
Contributor

Installed on an clean rpi 4 with current master. Initially it did not work. But changed to a venv, and it seemed to work. I'm assuming that there were some packages that archive.org wanted that were the wrong version.

The defaults seem to be that local cache gets shared, which is not what we want without explicit setting in local_vars. But this is in response to the observation that there was not anything visible about this effort.

A lot of my testing has been interactive, though that's not what is needed long term. There is an interactive --all option which makes the local machine into a seeder.

I'm sure there is much that I haven't thought of.

@holta
Copy link
Member

holta commented Oct 17, 2020

As background to @georgejhunt's initiative here, please see the design discussion ongoing here:

#2553 "Extremely slow downloads of IIAB Maps from archive.org (often 1-2 Mbit/s) - would torrents solve this - or is there a better way? [OSM]"

(Thanks Much to @sptankard and @mitra42 !)

Of course Learning Content Peering applies online AND in-the-field (we call these grassroots civic networks IIAB's "Sneakernet-of-Alexandria" somewhat similar to Cuba's https://en.wikipedia.org/wiki/El_Paquete_Semanal etc).

So hopefully both workflows + their HCI/UX affordances (one more online and one more offline) will continue to inform each other in support of teachers & students everywhere !!

e.g. SHAREit, Xender, Zapya file transfer apps for Android — are quite ubiquitous apps in the developing world — making user interfaces far more humane for Bluetooth & WiFi Direct (& USB On-The-Go and other cables, microSD, etc).

As this is all about much more than Map Packs + Khan Academy + Wikipedia "mass media consumption" in the end ~ this also must support indigenous cultural exchanges at the very root of the human right to self-determination ~

@georgejhunt
Copy link
Contributor Author

Adam was seeing 2Mb (250kB/sec). Using transmission-daemon, I saw 5-10MB download speeds (my download pipe is only 8MB). So I don't have a way to test, once we get a few other seeders working-- because archive.org can fill my downstream bandwidth without any other seeders we might put online.

I'm not sure I know all that will be necessary to get IIAB devices to seed if they are behind a NAT router. I may need a tool, or learn to use the tools we already have, to verify that machines we put online are discovered, and used.

Tim, are you willing to use iiab.me as a seeder? How much of your upstream are you willing to make available? I googled "transmission-daemon security". There was a vulnerability discovered in 2018, that was foxed in our version 2.92. See https://www.cvedetails.com/vulnerability-list/vendor_id-9749/product_id-17422/Transmissionbt-Transmission.html
https://majenko.co.uk/blog/securing-transmission-daemon

@tim-moody
Copy link
Contributor

@georgejhunt please contact me directly to discuss security. My first take is that CVE-2018-5702 does apply to the Ubuntu 18.04 version 2.92, but not to Ubuntu 20.04 version 2.94. I'm also not sure it is relevant to seeding.

@holta holta modified the milestones: 8.0, 7.2 Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants