guardianproject / orbot-apple

Orbot VPN app for iOS
MIT License
186 stars 34 forks source link

Please consider restoring PT support removed in #1df0b9c #88

Closed alteman closed 1 month ago

alteman commented 3 months ago

In countries with DPI Tor blocking the app doesn't currently do anything. I have an older version installed on an iPhone 13 Pro and it seems to work just fine with obfs4 bridges. Removing features just because they don't work for everyone is, well,.. authoritarian :)

At least add an option to enable it in settings - could be off by default until the RAM usage is firmly under control.

ref: 1df0b9c

tladesignz commented 3 months ago

Deeply sorry, but unfortunately, that's not how it works.

Obfs4proxy aka. Lyrebird is a Go module. Go uses a runtime with significant memory overhead. Just referencing that library starts the Go runtime which eats memory without doing anything.

Hence I had to remove it. I had loved not doing that, but alas... That's how it is.

tladesignz commented 3 months ago

If your needs are HTTP-related, you may consider using Onion Browser, which now has a built-in Tor again which works on iOS 17 an onwards. (Since Apple finally provided a proxy interface for WKWebView.)

amirrh6 commented 2 months ago

@tladesignz So the only remaining solution would be porting Lyrebird to Swift?

tladesignz commented 2 months ago

Swift, Objective-C, C, Rust.

But not just porting it once. Follow along changes. Keep maintaining it.

Challenges:

If you like this challenge, you're happily invited! 🤗