summaryrefslogtreecommitdiffhomepage
path: root/mullvad-jni/src/classes.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-04-03Add product flavor to in app logsKalle Lindström1-0/+1
2025-03-25Avoid using an unavailable ip version to connect to a relayJonatan Rhodin1-1/+3
Co-authored-by: Sebastian Holmin <sebastian.holmin@mullvad.net>
2025-03-07Track IPv6 connectivity on AndroidDavid Lönnhager1-0/+2
Co-authored-by: Jonatan Rhoidn <jonatan.rhodin@mullvad.net> Co-authored-by: David Göransson <david.goransson@mullvad.net>
2025-02-06Replace old waitForTunnelUp functionDavid Göransson1-1/+3
After invoking VpnService.establish() we will get a tunnel file descriptor that corresponds to the interface that was created. However, this has no guarantee of the routing table beeing up to date, and we might thus send traffic outside the tunnel. Previously this was done through looking at the tunFd to see that traffic is sent to verify that the routing table has changed. If no traffic is seen some traffic is induced to a random IP address to ensure traffic can be seen. This new implementation is slower but won't risk sending UDP traffic to a random public address at the internet.
2024-11-27Handle legacy always-on vpn profilesDavid Göransson1-1/+3
Co-authored-by: Jonatan Rhodin <jonatan.rhodin@mullvad.net>
2024-08-30Initialize mullvad daemon directly in vpn service on createJonatan Rhodin1-0/+1
As a consequence move the address resolve to the daemon
2024-06-24Remove unused HashSet from preloaded Java classesDavid Lönnhager1-1/+0
2024-05-29Migrate to gRPCDavid Göransson1-96/+6
Co-authored-by: Jonatan Rhodin <jonatan.rhodin@mullvad.net> Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net>
2024-03-19Implement JNI support for Server IP overridesDavid Göransson1-0/+2
2024-03-14Return success or error when creating and updating a custom listJonatan Rhodin1-0/+3
2024-02-08Add support for custom lists in jniJonatan Rhodin1-0/+2
2023-11-17Add missing FirewallPolicyError classJonatan Rhodin1-0/+1
2023-10-31Replace UpdateRelaySettings with SetRelaySettingsDavid Lönnhager1-3/+0
2023-10-25Add providers model and enable it in the daemonJonatan Rhodin1-0/+2
2023-10-23Add relay ownership enum to relay constraintsJonatan Rhodin1-0/+1
2023-10-16Add play purchasing modelsJonatan Rhodin1-0/+5
2023-06-29Cleanup review comments, CI issues and android supportJonathan1-3/+7
Add necessary android support to allow it to not crash due to interface changes. Format the code, remove redundant async functions, fix android issues related to not having to use a Vec to store the custom lists and a string as an id. Fix unit tests.
2023-06-28Expose wireguard port ranges to the android appJonatan Rhodin1-0/+2
2023-06-28Update rust and java code to expose wireguard port settingsJonatan Rhodin1-0/+2
- Add converters for wireguard constraint to and from java - Add java clas for wireguard constraint - Add code to set wireguard port
2023-06-07Add android support for quantum tunneling in the daemonJonatan Rhodin1-0/+1
2023-05-09Propagate udp2tcp settings between app and daemonCubxity1-0/+5
Co-authored-by: Albin <albin@mullvad.net> Co-authored-by: David Lönnhager <david.l@mullvad.net> Co-authored-by: Odd Stranne <odd@mullvad.net>
2022-12-21Unify Android DNS options with desktopAlbin1-0/+3
Unifyies the Android DNS options with the desktop DNS options so that the Android<->Daemon FFI gets support for content blockers. This UI for content blockers will be implemented in a separate commit.
2022-07-07Adapt Android to new relay structureAlbin1-2/+4
2022-06-22Add missing device port modelAlbin1-0/+1
2022-05-18Fix JNI class listAlbin1-3/+0
2022-05-12Adapt new device event/state to AndroidAlbin1-0/+4
2022-05-05Hide private device type in `mullvad-daemon`David Lönnhager1-1/+1
2022-03-23Initial Android adaption of daemon device APIAlbin1-0/+5
Initial limited adaption of the daemon device changes. Makes it possible to launch, login and connect. However, there are some limitiations: * State is not properly handled thoughout the app. * The app itself doesn't expose any device functionality to the user. * The wireguard key actions are disabled (regenerate and verify). * Accounts are not remembered across app restart.
2020-12-16Create error state cause for invalid DNS serverJanito Vaqueiro Ferreira Filho1-0/+1
2020-12-16Add `CreateTunResult.InvalidDnsServers` variantJanito Vaqueiro Ferreira Filho1-0/+1
2020-12-16Create `CreateTunResult` helper typeJanito Vaqueiro Ferreira Filho1-0/+3
2020-12-04Derive `IntoJava` for `DnsOptions`Janito Vaqueiro Ferreira Filho1-0/+1
2020-12-03Remove obsolete virtual adapter code and errorsDavid Lönnhager1-1/+0
2020-11-25Rename TAP adapter error cause on AndroidDavid Lönnhager1-1/+1
2020-05-11Use `VoucherSubmissionResult` insteadJanito Vaqueiro Ferreira Filho1-0/+1
2020-05-11Create `VoucherSubmission` classJanito Vaqueiro Ferreira Filho1-0/+1
2020-04-27Show specific error when VPN permission is deniedJanito Vaqueiro Ferreira Filho1-0/+1
2020-02-11Remove obsoleted `from_java` moduleJanito Vaqueiro Ferreira Filho1-1/+0
2020-02-11Derive `FromJava` for `RelaySettingsUpdate`Janito Vaqueiro Ferreira Filho1-0/+1
2020-02-11Derive `FromJava` for `RelayConstraintsUpdate`Janito Vaqueiro Ferreira Filho1-0/+1
2019-12-11Finish refactor into ui and service packagesEmīls1-2/+2
2019-12-09Adjust android code to use new error stateEmīls1-9/+10
2019-12-04Implement offline monitor for AndroidJanito Vaqueiro Ferreira Filho1-0/+1
2019-11-28Fix tunnel parameter error mismatchEmīls1-1/+1
2019-11-28Fix key generation type mismatchEmīls1-3/+2
2019-11-22Derive `IntoJava` for `ParameterGenerationError`Janito Vaqueiro Ferreira Filho1-4/+1
2019-11-22Derive `IntoJava` for `ActionAfterDisconnect`Janito Vaqueiro Ferreira Filho1-3/+1
2019-11-22Derive `IntoJava` for `RelaySettings`Janito Vaqueiro Ferreira Filho1-1/+1
2019-11-22Derive `IntoJava` for `RelayConstraints`Janito Vaqueiro Ferreira Filho1-0/+1
2019-11-22Derive `IntoJava` for `RelayTunnels`Janito Vaqueiro Ferreira Filho1-0/+1