summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorFilesLines
2023-10-09Add naming custom access methodsMarkus Pettersson5-43/+100
Just a bookkeeping feature for the end user
2023-10-09Minor code cleanupMarkus Pettersson3-17/+36
- Fix removal of API access methods from daemon settings When removing an API access method, we now compare the ID (hash) of the "access method-to-remove" with the access methods stored in the daemon settings. This is because using the `==`/`!=` operator on two similiar `AccessMethod`s only differing in the `enabled` field will be different from hashing the objects and comparing those instead. The hash does not consider the `enabled` field in its calculation.
2023-10-09Add `mullvad api-access enable/disable`Markus Pettersson9-66/+310
Add `mullvad api-access enable/disable`, which allows for toggling API access methods On/Off. Make `ApiConnectionModeProvider` consider status of access method. `ApiConnectionModeProvider` will only be able to return access methods which are enabled, as it will disregard those which are disabled. Add logic to guarantee the invariant that at least one API access method is available for selection by the `ApiConnectionModeProvider`
2023-10-09Allowing traffic to and from a SOCKS5-proxy running on localhost.Markus Pettersson3-39/+78
The daemon has to add a rule to allow traffix to/from the remote server which the locally running SOCKS5-proxy communicates with.
2023-10-09Update used access methods on a daemon settings changeMarkus Pettersson1-0/+11
2023-10-09(De)Serialize uuid for custom API access methodsMarkus Pettersson3-15/+25
2023-10-09Code cleanupMarkus Pettersson12-204/+362
- Add a new datastructures for distinguishing between built-in & custom api access methods - Implement `TryFrom` instead of `From` for fallible conversions - Do not panic if a protobuf-message is ill-formatted - Do not allow removal of built-in api access methods - Refactor notification logic in `access_methods.rs` - Rename `mullvad proxy api` to simply `mullvad proxy` - Since there are no other kinds of proxies at the moment, the subcommand `proxy api` does not make much sense. - Remove left-over comments
2023-10-09Add `mullvad proxy api edit` commandMarkus Pettersson7-9/+213
Allow a user to edit an existing custom api proxy method
2023-10-09Add `mullvad proxy api remove` commandMarkus Pettersson5-5/+83
Allow the user to manually remove a custom api proxy.
2023-10-09Add `mullvad proxy add` commandMarkus Pettersson11-21/+519
Add daemon logic for storing custom access methods & allow a user to add a custom socks5 or shadowsocks proxy. Add all the necessary information for establishing Socks5 connections (both using a local Socks-proxy as well as the normal, remote-proxy, use case) and Shadowsocks connections. Add `api_access_settings` to `mullvad-daemon` Naturally, the Protobuf types has to be mirrored on the Rust/daemon side and lots of boilerplate code had to be written to convert between the two.
2023-10-09Add `mullvad proxy` commandMarkus Pettersson5-0/+105
The `proxy` subcommand will allow for adding/deleting/editing/showing different API access methods using the mullvad CLI.
2023-10-09Add `Socks5` as a Proxy settingMarkus Pettersson5-59/+170
- Rename `InnerConnectionMode` variant `Proxied` to `Shadowsocks` - Move proxy/socket connection logic to `InnerConnectMode` impl block - Move `handle_x_connection` functions to `InnerConnectionMode` impl block - These functions does not need to be visible in the entire module, really. - Refactor some code into standalone functions - Mostly for visibilities' sake, but it also helps `rustc` with inferring the return type of each match arm inside of `stream_fut`.
2023-10-09Merge branch 'add-back-jonathans-gpg-key'Oskar Nyberg1-0/+34
2023-10-09Revert "Remove Jonathan's gpg key while he's on leave"Oskar Nyberg1-0/+34
This reverts commit 7d89e4ec89955ea64288373cffcab3981b2326b1.
2023-10-09Merge branch 'add-added-text-to-custom-list-dialog'Oskar Nyberg2-1/+7
2023-10-09Add label to custom list row in add dialogOskar Nyberg2-1/+7
2023-10-09Merge branch 'tunnel-async'Bug Magnet77-1285/+3766
2023-10-09PacketTunnel: introduce proper state and blocked stateAndrej Mihajlov77-1285/+3766
2023-10-09Merge branch 'custom-lists-gui-des-198'Oskar Nyberg33-410/+1648
2023-10-09Simplify location specification interfacesOskar Nyberg2-7/+4
2023-10-09Update translation template with custom list stringsOskar Nyberg1-0/+42
2023-10-09Fix calculated properties when searching in relay listOskar Nyberg7-38/+87
2023-10-09Add custom lists list in select location viewOskar Nyberg16-240/+914
2023-10-09Add dialogs for editing custom listsOskar Nyberg1-0/+201
2023-10-09Update types for filter function and export search functionOskar Nyberg1-19/+22
2023-10-09Make select location button show list name if list is selectedOskar Nyberg1-24/+30
2023-10-09Add custom lists to settings, ipc and rpc callsOskar Nyberg13-106/+301
2023-10-09Add input componentOskar Nyberg1-0/+71
2023-10-06Merge branch 'evaluate-replacing-collapsing-toolbar-droid-272'Albin17-820/+573
2023-10-06Fix split tunneling view and scrollable menu barDavid Göransson3-14/+17
2023-10-06Remove old versionDavid Göransson1-1/+0
2023-10-06Update gradle lockfileAlbin1-33/+10
2023-10-06Remove remaining uses of old topbarDavid Göransson10-263/+172
2023-10-06Replace old topbar with Material3David Göransson11-562/+427
2023-10-06Merge branch 'fix-signature-verification-script'Albin1-1/+1
2023-10-06Fix signature verification path extractionAlbin1-1/+1
This commit fixes a problem where the path extraction would only extract paths up until any path containing a `*` character. This commit also removes an unwanted backslash in the path matching portion of the `sed` command, since the backslash is not special within the list according to the documentation: https://www.gnu.org/software/sed/manual/html_node/Regular-Expressions.html
2023-10-06Merge branch ↵Jonatan Rhodin1-1/+4
'too-much-spacing-between-text-and-button-in-local-network-droid-391'
2023-10-06Fix extra newline added by fromHtmlDavid Göransson1-1/+4
2023-10-06Merge branch 'incorrect-font-color-in-the-account-view-droid-372'Jonatan Rhodin1-0/+2
2023-10-06Fix text color in account viewDavid Göransson1-0/+2
2023-10-05Merge branch 'macos-delete-ifscope-routes' into mainDavid Lönnhager4-222/+213
2023-10-05Find router IP using system configuration frameworkDavid Lönnhager2-170/+103
2023-10-05Parse ipconfig instead of the routing tableEmīls4-150/+215
Co-authored-by: David Lönnhager <david.l@mullvad.net>
2023-10-05Remove old scoped route when the default route changesDavid Lönnhager1-47/+40
2023-10-05Merge branch 'macos-add-routing-debounce' into mainDavid Lönnhager6-122/+150
2023-10-05Coalesce route events in macOS route monitorDavid Lönnhager6-36/+60
2023-10-05Move debounce logic out of windows modDavid Lönnhager3-88/+92
2023-10-05Merge branch 'investigate-using-xcode-15-on-the-ios-ci-environment-ios-328'Bug Magnet1-2/+2
2023-10-05Try using Xcode15 on github CIBug Magnet1-2/+2
2023-10-05Merge branch 'fix-log-duration'Andrej Mihajlov1-3/+1