celzero / rethink-app

DNS over HTTPS / DNS over Tor / DNSCrypt client, WireGuard proxifier, firewall, and connection tracker for Android.
https://rethinkfirewall.com/
Apache License 2.0
2.78k stars 139 forks source link

Multi-process #95

Open ignoramous opened 3 years ago

ignoramous commented 3 years ago

Run the vpn-service and the app-ui (activities) and other related services / broadcasts / content-providers in a separate process to improve resilience?

Cross-process communication is peculiar and that complicates things, but still worth doing if we don't want the crashes elsewhere in the app to take down the vpn-service and vice-versa.

Ref: medium.com/@rotxed/going-multiprocess-on-android

ignoramous commented 3 years ago

Ref: https://github.com/Jigsaw-Code/outline-client/pull/869