commit 3fbeeb2012b4be8b679c817e7de0da3481739c02 Author: Matthew Nelson 05nelsonm@protonmail.com Date: Fri Oct 18 11:06:33 2019 -0400
bugfix issue #271 fixes HiddenService creation by adding correct version to the torrc.custom file --- .../src/main/java/org/torproject/android/service/TorService.java | 1 + 1 file changed, 1 insertion(+)
diff --git a/orbotservice/src/main/java/org/torproject/android/service/TorService.java b/orbotservice/src/main/java/org/torproject/android/service/TorService.java index e2eb9589..96dedfd8 100644 --- a/orbotservice/src/main/java/org/torproject/android/service/TorService.java +++ b/orbotservice/src/main/java/org/torproject/android/service/TorService.java @@ -1738,6 +1738,7 @@ public class TorService extends Service implements TorServiceConstants, OrbotCon
extraLines.append("HiddenServiceDir" + ' ' + hsDirPath).append('\n'); extraLines.append("HiddenServicePort" + ' ' + HSOnionPort + " 127.0.0.1:" + HSLocalPort).append('\n'); + extraLines.append("HiddenServiceVersion 2").append('\n');
if(HSAuthCookie == 1) extraLines.append("HiddenServiceAuthorizeClient stealth " + HSname).append('\n');