ss-abramchuk / OpenVPNAdapter

Objective-C wrapper for OpenVPN library. Compatible with iOS and macOS.
GNU Affero General Public License v3.0
473 stars 209 forks source link

Any chance to recompile the underlying client with XOR patch? #181

Open houmie opened 4 years ago

houmie commented 4 years ago

Hi @ss-abramchuk

Sorry, I know this question was asked before a couple of years ago about XOR support.

I checked your client code and it seems to be in C++ https://github.com/ss-abramchuk/OpenVPNAdapter/tree/master/Sources/OpenVPN3

But the OpenVPN source (and the Tunnelblick's XOR Patch) seem to be in C. https://github.com/Tunnelblick/Tunnelblick/tree/master/third_party/sources/openvpn/openvpn-2.4.9/patches

Therefore it is not possible applying the XOR patch locally to your underlying OpenVPN client and recompile it.

Is there anyway to patch the underlying OpenVPN client to support the extra client parameters such as scramble obfuscate password?

Many Thanks, Houman

ss-abramchuk commented 4 years ago

Hi @houmie,

That's right, Tunnelblick uses 2.4 version of the openvpn library written on C, and I use 3.5 written on C++. I don't know if there is XOR patch for C++ version but you may try to find it. Also, you may take a look at this fork, looks like somebody applied something related to XOR there

houmie commented 4 years ago

That's an amazing finding. Thank you so much! I'll have a look and report back later.

sergey-zhuravel commented 3 years ago

guys how are you? support for the Xor patch planned?