Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Team
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 43
    • Issues 43
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • The Tor Project
  • Anti-censorship
  • Team
  • Wiki
  • Tor Browser Integration Guide for New Pluggable Transports

Tor Browser Integration Guide for New Pluggable Transports · Changes

Page history
Update Tor Browser Integration Guide for New Pluggable Transports authored Oct 14, 2022 by Cecylia Bocovich's avatar Cecylia Bocovich
Hide whitespace changes
Inline Side-by-side
Tor-Browser-Integration-Guide-for-New-Pluggable-Transports.md
View page @ a83f1ed5
...@@ -205,7 +205,20 @@ diff --git a/projects/tor-onion-proxy-library/build b/projects/tor-onion-proxy-l ...@@ -205,7 +205,20 @@ diff --git a/projects/tor-onion-proxy-library/build b/projects/tor-onion-proxy-l
The `tor-android-service` project is maintained by the applications team and has [its own repository](https://gitlab.torproject.org/tpo/applications/tor-android-service). You will need to open a merge request with changes to the repository to complete the android builds. The `tor-android-service` project is maintained by the applications team and has [its own repository](https://gitlab.torproject.org/tpo/applications/tor-android-service). You will need to open a merge request with changes to the repository to complete the android builds.
The only change we need is to update the call to `configurePluggableTransportsFromSettings` to match the changes we made in our patch above. Update the call to `configurePluggableTransportsFromSettings` to match the method signature made in the patch to `tor-onion-proxy-library` above. What this looks like will depend on how many pluggable transports there are. For the patch above, it will look like this:
```diff
diff --git a/service/src/main/java/org/torproject/android/service/TorService.java b/service/src/main/java/org/torproject/android/service/TorService.java
--- a/service/src/main/java/org/torproject/android/service/TorService.java
+++ b/service/src/main/java/org/torproject/android/service/TorService.java
@@ -369,8 +369,10 @@ public final class TorService extends Service implements TorServiceConstants, Or
File pluggableTransportSnow = new File(nativeDir, "libSnowflake.so");
if(!pluggableTransportSnow.canExecute()) pluggableTransportSnow.setExecutable(true);
+ File pluggableTransportNewpt = new File(nativeDir, "libNewpt.so");
+ if(!pluggableTransportNewpt.canExecute()) pluggableTransportNewpt.setExecutable(true);
- builder.configurePluggableTransportsFromSettings(pluggableTransportObfs, pluggableTransportSnow);
+ builder.configurePluggableTransportsFromSettings(pluggableTransportObfs, pluggableTransportSnow, pluggableTransportNewpt);
```
## Restrict to alpha versions of Tor Browser ## Restrict to alpha versions of Tor Browser
......
Clone repository
  • AChildsGardenOfPluggableTransports
  • Anti censorship reading group
  • Baby Name Book
  • Censorship Events
  • Default Bridges
  • Onbasca Survival Guide
  • OnionSproutsBot Survival Guide
  • Previous Roadmaps
  • Processes
    • Emergencies
    • Miscellaneous
    • Monthly team report
    • Supporting NGOs with private bridges
  • Research ideas
  • Roadmaps
    • Core Tor Roadmap
View All Pages