From 9daf12bd1ec4674061619984396536f357bdda89 Mon Sep 17 00:00:00 2001 From: Matias Insaurralde Date: Tue, 7 Jun 2016 22:58:17 -0400 Subject: [PATCH] Updating notes about Tor --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c41b79e..6993182 100644 --- a/README.md +++ b/README.md @@ -64,10 +64,14 @@ I'm working on providing a [set of "marshalers" and a simple API to combine them ## Tor support -There's a Tor integration idea for the "server" side, I've did a few tests with it, under the following scenario: +There's a Tor integration idea for the server side, I've did a few tests with it, under the following scenario: ![Tor Diagram](docs/tor_diagram.png) +The [Whatsapp transport](https://github.com/matiasinsaurralde/transports/blob/master/transport_whatsapp.go) includes a flag to enable Tor (```UseTor```), I'm expecting to extend this flag to any transport. + +The Tor support is achieved by overriding the default ```http.Transport``` dialer with a [custom one](https://github.com/matiasinsaurralde/transports/blob/master/transport.go#L24). + ## Ideas/to-do * Handle SSL.