ehubscher / briarproject_390

Concordia University Mini-Capstone (i.e. SOEN 390) project for Team La Famiglia. The Open-Source Project forked is an Android-based secure messaging app called Briar.
Other
4 stars 1 forks source link

Change the current implementation of briar to enable WanTcp Communication | Sub-task #37 #59

Closed Winterhart closed 6 years ago

Winterhart commented 6 years ago

Change the current implementation of Briar application...

Sub-task #37

Winterhart commented 6 years ago

Before going any further, the @NepheriusIsTaken and the TA , ask me to test the current hypotheses:

We can connect our user by manually inject IP, PORT in the TCP / WLAN TCP drivers. For this test I am gonna used my two android device one is going to be connected to the internet on (LTE) while the other is going to be connected with Wifi. Therefore I am going to pass a hard coded IP/PORT of the LTE connected device to the Wifi connected device.

It will simulate the original hypotheses , that was to create a "fake tor" ....

One of the major challenge is that the class InetSocketAddress is locked (Compiled) and can't be changed

Winterhart commented 6 years ago

I was able to "hack" the current implementation of the TCP to insert our address and port : https://github.com/jhubscher/briarproject_390/commit/3f428231736c7de54ecb6d7d7c73a8577591aa43

Now I need to write a more reliable solution than hardcoded IP and Port