[bisq-network/bisq] Bisq can now use an external Tor service (#1935)

Florian Reimair notifications at github.com
Sat Nov 17 17:32:13 UTC 2018


Bisq can now use an already running Tor service (TorBrowser for example). The feature can be used by supplying the required command line parameters on Bisq start, being:
```
--torControlCookieFile <Path>           The cookie file for authenticating    
                                          against the already running Tor     
                                          service. Use in conjunction with -- 
                                          torControlUseSafeCookieAuth (default: )
--torControlPassword <String>           The password for controlling the      
                                          already running Tor service. (default: )
--torControlPort <Integer>              The control port of an already running
                                          Tor service to be used by Bisq      
                                          [port]. (default: )
--torControlUseSafeCookieAuth           Use the SafeCookie method when        
                                          authenticating to the already       
                                          running Tor service. (default: )    
```
In order to get this functionality, the Netlayer dependency and the jtorctl dependency have been bumped to version [0.6](https://github.com/JesusMcCloud/netlayer/releases/tag/0.6) and [1](https://github.com/JesusMcCloud/jtorctl/releases/tag/1), respectively.

closes #1761, closes #811, closes #492, closes #1887 

You can view, comment on, or merge this pull request online at:

  https://github.com/bisq-network/bisq/pull/1935

-- Commit Summary --

  * Refactored TorNetworkNode
  * Declutter TorNetworkNode
  * Connect to external Tor with NullAuthentication
  * Connect with PasswordAuthentication
  * Connect with CookieAuthentication
  * Added hashes and Netlayer release 0.6

-- File Changes --

    M build.gradle (5)
    M core/src/main/java/bisq/core/app/BisqEnvironment.java (20)
    M core/src/main/java/bisq/core/app/BisqExecutable.java (18)
    M gradle/witness/gradle-witness.gradle (16)
    M p2p/src/main/java/bisq/network/NetworkOptionKeys.java (4)
    M p2p/src/main/java/bisq/network/p2p/NetworkNodeProvider.java (13)
    M p2p/src/main/java/bisq/network/p2p/P2PModule.java (4)
    A p2p/src/main/java/bisq/network/p2p/network/NewTor.java (117)
    A p2p/src/main/java/bisq/network/p2p/network/RunningTor.java (87)
    A p2p/src/main/java/bisq/network/p2p/network/TorMode.java (60)
    M p2p/src/main/java/bisq/network/p2p/network/TorNetworkNode.java (77)
    M p2p/src/test/java/bisq/network/p2p/network/TorNetworkNodeTest.java (18)

-- Patch Links --

https://github.com/bisq-network/bisq/pull/1935.patch
https://github.com/bisq-network/bisq/pull/1935.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/1935
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20181117/cabdac05/attachment.html>


More information about the bisq-github mailing list