[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #32303 [Applications/Tor Browser]: obfs4proxy incompatibility on Android Q



#32303: obfs4proxy incompatibility on Android Q
-------------------------------------------------+-------------------------
 Reporter:  sysrqb                               |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:  new
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-rbm, TorBrowserTeam201910,       |  Actual Points:
  tbb-9.0-issues, tbb-9.0.1-can                  |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by n8fr8):

 Orbot uses obfs4proxy privated by our AndroidPluggableTransports library:

 It is available through our github hosted repository:

 allprojects {
     repositories {
 ...
         maven { url
 "https://raw.githubusercontent.com/guardianproject/gpmaven/master"; }
 ...
     }
 }

 then exclude the version in tor-android-binary
 packagingOptions {
         exclude 'assets/arm/obfs4proxy' //this is redundant
     }

 and then include these

   implementation 'info.pluggabletransports.aptds:apt-dispatch-
 library:1.0.7'
     implementation 'info.pluggabletransports.aptds:apt-meek-
 obfs4-legacy:1.0.7'

 from there, you call this to install:

 private boolean pluggableTransportInstall () {

         fileObfsclient = new TransportManager() {
             @Override
             public void startTransportSync(TransportListener
 transportListener) {

             }
         }.installTransport(this, OBFSCLIENT_ASSET_KEY);

         if (fileObfsclient != null && fileObfsclient.exists()) {

             fileObfsclient.setReadable(true);
             fileObfsclient.setExecutable(true);
             fileObfsclient.setWritable(false);
             fileObfsclient.setWritable(true, true);

             return fileObfsclient.canExecute();
         }

         return false;
     }

 as seen here:
 https://github.com/guardianproject/orbot/blob/master/orbotservice/src/main/java/org/torproject/android/service/TorService.java#L584

 More on on APT library at:
 https://github.com/guardianproject/AndroidPluggableTransports

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32303#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs