Enterprise-Onion-Toolkit/README.md

142 wiersze
7.4 KiB
Markdown

2017-02-01 08:19:33 +00:00
# The Enterprise Onion Toolkit
2017-12-03 11:52:13 +00:00
![banner image](docs.d/hello-onion-text.png)
2017-12-03 11:53:24 +00:00
2022-03-05 20:32:34 +00:00
## :warning: Important HTTPS-related Annoucement: March 2022 :warning:
2022-03-05 00:40:41 +00:00
2022-03-05 20:22:58 +00:00
I've landed a small breaking change in order to better-support HARICA as a certificate provider,
2022-03-05 00:53:22 +00:00
but also for better usability; this change impacts any project with a multi-onion
EV certificate from Digicert.
2022-03-05 00:40:41 +00:00
2022-03-05 20:22:58 +00:00
* v3 onion addresses used in pathnames are now truncated at 20 chars
of onion, rather than 30 overall, to make shorter pathnames for unix
domain sockets
* onion scratch-directory name changes:
2022-03-05 00:48:00 +00:00
* was: `projects.d/tweep.d/abcdefghijklmnopqrstuvwxyza-v3.d/port-80.sock`
2022-03-05 20:22:58 +00:00
* now: `projects.d/tweep.d/abcdefghijklmnopqrst-v3.d/port-80.sock`
2022-03-05 20:32:34 +00:00
* :warning: this means that some scratch directories may be are remade,
so a full restart is advisable after updating
2022-03-05 20:22:58 +00:00
* https certificate path-name changes
* was: HTTPS certificate files used the full onion address
* now: onion HTTPS certificates are now expected to be installed in
per-onion-truncated-at-20 pathnames: e.g. for each ONIONADDRESS in
PROJECTNAME:
* `/projects.d/PROJECTNAME.d/ssl.d/ONIONADDRFIRST20CHAR-v3.onion.cert`
* `/projects.d/PROJECTNAME.d/ssl.d/ONIONADDRFIRST20CHAR-v3.onion.pem`
2022-03-05 20:32:34 +00:00
* :warning: this means that you will need to rename pre-existing certificate
2022-03-05 20:29:32 +00:00
`cert` and `pem` files after you update and reconfigure;
2022-03-05 20:36:23 +00:00
* :warning: **if you fail to do this you will experience "self-signed certificate" warnings**
2022-03-05 20:29:32 +00:00
* if you are using 'multi' certificates (such as some Digicert EV) where a
2022-03-05 20:22:58 +00:00
single certificate contains all SubjectAltNames for 2+ onion
addresses that are part of a single project:
2022-03-05 20:32:34 +00:00
* :warning: do `set ssl_cert_each_onion 0` in the configuration, to re-enable
2022-03-05 20:22:58 +00:00
multi cert handling
* :warning: the names of the certificate files must be changed:
* was: filenames used to be
`projects.d/PROJECTNAME.d/ssl.d/PRIMARYONIONADDRESSWASHERE.{pem,cert}`
* now: multi-certificates now must be named with the more meaningful
`projects.d/PROJECTNAME.d/ssl.d/PROJECTNAME.{pem,cert}`
2022-03-05 00:40:41 +00:00
2022-03-05 00:48:00 +00:00
If you have any issues, please reach out to @alecmuffett on Twitter, or log an issue above.
2022-03-05 00:40:41 +00:00
2017-02-26 21:51:15 +00:00
## Primary Supported Platforms
2017-02-08 18:32:45 +00:00
2021-05-18 12:16:38 +00:00
* Ubuntu 20.04LTS, Latest Updates
2019-02-08 12:39:24 +00:00
* OSX Mojave with Homebrew, Latest Updates
2017-12-03 13:09:19 +00:00
* Raspbian Stretch/Stretch-Lite, Latest Updates
2017-02-01 11:56:52 +00:00
2017-03-22 09:20:36 +00:00
## Maillist / Group
General discussion mailllist: deployment, tweaks and tuning:
2017-02-11 21:03:04 +00:00
2017-03-22 09:16:02 +00:00
* mailto:eotk-users+subscribe@googlegroups.com (via email)
* https://groups.google.com/group/eotk-users/subscribe (via web)
2019-07-04 11:18:26 +00:00
NB: bugs should be reported through `Issues`, above.
2017-02-11 21:03:04 +00:00
2019-10-24 19:14:53 +00:00
### EOTK In the News
2019-02-08 12:39:24 +00:00
2021-05-18 06:50:22 +00:00
* Apr 2021 [The Intercept launches onionsite using EOTK](https://theintercept.com/2021/04/28/tor-browser-onion/)
2020-12-08 00:38:56 +00:00
* Oct 2020 [Brave browser launches onionsite using EOTK](https://brave.com/new-onion-service/)
2019-10-24 19:14:53 +00:00
* Oct 2019 [BBC News launches 'dark web' Tor mirror](https://www.bbc.co.uk/news/technology-50150981)
* Oct 2019 [BBC launches dark web news site in bid to dodge censors](https://www.cityam.com/bbc-launches-dark-web-news-site-in-bid-to-dodge-censors/)
* Oct 2019 [Tor blimey, Auntie! BBC launches dedicated dark web mirror site](https://www.theregister.co.uk/2019/10/24/beeb_launches_dedicated_dark_web_site/)
* Oct 2019 [BBC News heads to the dark web with new Tor mirror
](https://www.theverge.com/2019/10/24/20930085/bbc-news-dark-web-tor-the-onion-browser-secure-censorship)
2019-02-08 12:39:24 +00:00
* Jan 2018 [Volunteer Spotlight: Alec Helps Companies Activate Onion Services
](https://blog.torproject.org/volunteer-spotlight-alec-helps-companies-activate-onion-services)
* Nov 2017 [Un service Wikipedia pour le Dark Web a été lancé par un ingénieur en sécurité](https://www.developpez.com/actu/175523/Un-service-Wikipedia-pour-le-Dark-Web-a-ete-lance-par-un-ingenieur-en-securite-afin-de-contourner-la-censure-dans-certains-pays/)
* Nov 2017 [Δημιουργήθηκε σκοτεινή έκδοση της Βικιπαίδειας για ανθρώπους σε λογοκριμένα καθεστώτα](https://texnologia.net/dhmiourgithike-skoteinh-ekdosh-ths-wikipedia-gia-anthropous-se-logokrimena-kathestota/2017/11)
* Nov 2017 [A security expert built an unofficial Wikipedia for the dark web](https://www.engadget.com/2017/11/25/a-security-expert-built-an-unofficial-wikipedia-for-the-dark-web/)
* Nov 2017 [Theres Now a Dark Web Version of Wikipedia](https://motherboard.vice.com/en_us/article/7x4g4b/theres-now-a-dark-web-version-of-wikipedia-tor-alec-muffett)
* Oct 2017 [The New York Times is Now Available as a Tor Onion Service](https://open.nytimes.com/https-open-nytimes-com-the-new-york-times-as-a-tor-onion-service-e0d0b67b7482)
* Apr 2017 [This Company Will Create Your Own Tor Hidden Service](https://motherboard.vice.com/en_us/article/this-company-will-create-your-own-tor-hidden-service)
* Feb 2017 [New Tool Takes Mere Minutes to Create Dark Web Version of Any Site](https://motherboard.vice.com/en_us/article/new-tool-takes-mere-minutes-to-create-dark-web-version-of-any-site)
2017-02-11 21:03:04 +00:00
## Introduction
2019-07-04 11:18:26 +00:00
EOTK provides a tool for deploying HTTP and HTTPS onion sites to
provide official onion-networking presences for popular websites.
2019-07-04 11:18:26 +00:00
The result is essentially a "man in the middle" proxy; you should set
them up only for your own sites, or for sites which do not require
login credentials of any kind.
2017-02-01 11:59:52 +00:00
2017-02-27 10:52:39 +00:00
## Installation
2017-02-26 21:52:40 +00:00
2019-07-04 11:53:00 +00:00
Please refer to the [How To Install](docs.d/HOW-TO-INSTALL.md) guide,
and the other documents in [that folder](docs.d/).
2017-02-26 21:52:40 +00:00
2019-07-04 11:25:36 +00:00
## Help I'm Stuck!
2017-02-08 18:32:45 +00:00
Ping @alecmuffett on Twitter, or log an `Issue`, above.
2019-07-04 11:37:43 +00:00
## Important Note About Anonymity
The presumed use-case of EOTK is that you have an already-public
website and you wish to give it a corresponding Onion address.
A lot of people mistakenly believe that Tor Onion Networking is "all
about anonymity" - which is incorrect, since it also includes:
* extra privacy
* identity/surety of to whom you are connected
* freedom from oversight/network surveillance
* anti-blocking, and...
* enhanced integrity/tamperproofing
...none of which are the same as "anonymity", but all of which are
valuable qualities to add to communications.
Further: setting up an Onion address can provide less contention, more
speed & more bandwidth to people accessing your site than they would
get by using Tor "Exit Nodes".
If you set up EOTK in its intended mode then your resulting site is
almost certainly not going to be anonymous; for one thing your brand
name (etc) will likely be plastered all over it.
If you want to set up a server which includes anonymity **as well as**
all of the aforementioned qualities, you [want to be reading an
entirely different document,
instead](https://github.com/alecmuffett/the-onion-diaries/blob/master/basic-production-onion-server.md).
## Acknowledgements
2017-02-05 16:20:26 +00:00
2017-02-08 18:14:46 +00:00
EOTK stands largely on the experience of work I led at Facebook to
create `www.facebookcorewwwi.onion`, but it owes a *huge* debt to
[Mike Tigas](https://github.com/mtigas)'s work at ProPublica to put
2017-02-11 21:03:04 +00:00
their site into Onionspace through using NGINX as a rewriting proxy --
2019-07-04 11:37:43 +00:00
and that [he wrote the whole experience up in great
detail](https://www.propublica.org/nerds/item/a-more-secure-and-anonymous-propublica-using-tor-hidden-services)
including [sample config
files](https://gist.github.com/mtigas/9a7425dfdacda15790b2).
2017-02-05 16:20:26 +00:00
2017-02-11 21:03:04 +00:00
Reading this prodded me to learn about NGINX and then aim to shrink &
2017-02-08 18:14:46 +00:00
genericise the solution; so thanks, Mike!
2017-02-05 16:29:31 +00:00
2017-02-11 21:03:04 +00:00
Also, thanks go to Christopher Weatherhead for acting as a local NGINX
2017-02-08 18:14:46 +00:00
*sounding board* :-)
2017-02-05 16:29:31 +00:00
2017-02-08 18:14:46 +00:00
And back in history: Michal Nánási, Matt Jones, Trevor Pottinger and
the rest of the FB-over-Tor team. Hugs.