<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mullvadvpn/mullvad-cli/src/cmds/relay.rs, branch Add-imperative-verb-tidy</title>
<subtitle>The Mullvad VPN client app for desktop and mobile</subtitle>
<id>http://git.waynecole.info/mullvadvpn/atom?h=Add-imperative-verb-tidy</id>
<link rel='self' href='http://git.waynecole.info/mullvadvpn/atom?h=Add-imperative-verb-tidy'/>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/mullvadvpn/'/>
<updated>2024-03-27T10:43:44Z</updated>
<entry>
<title>Refactor `mullvad-relay-selector`</title>
<updated>2024-03-27T10:43:44Z</updated>
<author>
<name>Markus Pettersson</name>
<email>markus.pettersson@mullvad.net</email>
</author>
<published>2024-02-16T15:24:33Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/mullvadvpn/commit/?id=707ecf44bd2b21642e51c8b9f5440bc287bcc511'/>
<id>urn:sha1:707ecf44bd2b21642e51c8b9f5440bc287bcc511</id>
<content type='text'>
Implement a system built on 'queries' for selecting appropriate relays.
A query is a set of constraints which dictates which relay(s) that *can*
be chosen by the relay selector.

The user's settings can naturally be expressed as a query. The semantics
of merging two queries in a way that always prefer user settings is
defined by the new `Intersection` trait.

Split `mullvad-relay-selector` into several modules:

- `query.rs`: Definition of a query on different types of relays. This
module is integral to the new API of `mullvad-relay-selector`
- `matcher.rs`: Logic for filtering out candidate relays based on a
query.
- `detailer.rs`: Logic for deriving connection details for the selected
relay.
- `tests/`: Integration tests for the new relay selector. These tests
only use the public APIs of `RelaySelector` and make sure that the
output matches the expected output in different scenarios.
</content>
</entry>
<entry>
<title>Add subcommand level `entry` to `wireguard`</title>
<updated>2023-11-23T14:14:21Z</updated>
<author>
<name>Sebastian Holmin</name>
<email>sebastian.holmin@mullvad.net</email>
</author>
<published>2023-11-17T14:15:41Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/mullvadvpn/commit/?id=de51170bec7f193384598b4731607ba5888fa77b'/>
<id>urn:sha1:de51170bec7f193384598b4731607ba5888fa77b</id>
<content type='text'>
The command
`relay set tunnel wireguard entry-location` is replaced with
`relay set tunnel wireguard entry location` and
`relay set tunnel wireguard custom-list` is replaced with
`relay set tunnel wireguard entry custom-list`.

This is intended to communicate that the `custom-list` also affects
the entry relay and are mutually exclusive.
</content>
</entry>
<entry>
<title>Add `resolve_location_constraint` fn</title>
<updated>2023-11-23T14:14:20Z</updated>
<author>
<name>Sebastian Holmin</name>
<email>sebastian.holmin@mullvad.net</email>
</author>
<published>2023-11-17T14:15:41Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/mullvadvpn/commit/?id=53bbcb266e2328c916a8c3b688198c36ae2b578f'/>
<id>urn:sha1:53bbcb266e2328c916a8c3b688198c36ae2b578f</id>
<content type='text'>
The fn exists and returns error on hostname having wrong server type.

Allow any host in custom-lists, only the currently configured tunnel
protocol for `relay set location`, only bridges for the  `bridge`
subcommand and only wireguard servers in for the `wireguard` entry
command.

Reduce repeated init of rpc client

Refactor inconsistent filtering on hostname
</content>
</entry>
<entry>
<title>Simplify relay filter fn</title>
<updated>2023-11-23T14:14:20Z</updated>
<author>
<name>Sebastian Holmin</name>
<email>sebastian.holmin@mullvad.net</email>
</author>
<published>2023-11-17T14:15:41Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/mullvadvpn/commit/?id=9302a34178863d094a284b456c0a92d40b8b64e3'/>
<id>urn:sha1:9302a34178863d094a284b456c0a92d40b8b64e3</id>
<content type='text'>
Refactor: Unwrap result return type

Refactor: for loop to iter map
</content>
</entry>
<entry>
<title>Warn if setting relay overrides for non-existent hostname in the CLI</title>
<updated>2023-11-13T09:54:42Z</updated>
<author>
<name>David Lönnhager</name>
<email>david.l@mullvad.net</email>
</author>
<published>2023-11-09T14:18:43Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/mullvadvpn/commit/?id=14968821c3a0dda206833954db49d3cfed27946f'/>
<id>urn:sha1:14968821c3a0dda206833954db49d3cfed27946f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add CLI for relay overrides</title>
<updated>2023-11-13T09:54:42Z</updated>
<author>
<name>David Lönnhager</name>
<email>david.l@mullvad.net</email>
</author>
<published>2023-11-09T08:46:32Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/mullvadvpn/commit/?id=1d4b66058343a9ed93d253e742e5e517fea60ddf'/>
<id>urn:sha1:1d4b66058343a9ed93d253e742e5e517fea60ddf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace UpdateRelaySettings with SetRelaySettings</title>
<updated>2023-10-30T23:45:17Z</updated>
<author>
<name>David Lönnhager</name>
<email>david.l@mullvad.net</email>
</author>
<published>2023-10-25T11:02:13Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/mullvadvpn/commit/?id=e02d812d55064fc114d38edbdcbbeda5aca6a6b7'/>
<id>urn:sha1:e02d812d55064fc114d38edbdcbbeda5aca6a6b7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor custom list implementation</title>
<updated>2023-09-27T08:25:35Z</updated>
<author>
<name>David Lönnhager</name>
<email>david.l@mullvad.net</email>
</author>
<published>2023-09-20T22:37:07Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/mullvadvpn/commit/?id=52cdf0bfbed50179b1da5ccad80fa0245a524c1e'/>
<id>urn:sha1:52cdf0bfbed50179b1da5ccad80fa0245a524c1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix clippy lints</title>
<updated>2023-08-30T13:46:16Z</updated>
<author>
<name>Emīls</name>
<email>emils@mullvad.net</email>
</author>
<published>2023-08-28T14:11:13Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/mullvadvpn/commit/?id=abeccca73438f4fc5704b284d4ba3d5c9c44714f'/>
<id>urn:sha1:abeccca73438f4fc5704b284d4ba3d5c9c44714f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Decouple `get_filtered_relays` from `mullvad_cli::relay::Relay`</title>
<updated>2023-08-21T15:02:27Z</updated>
<author>
<name>Markus Pettersson</name>
<email>markus.pettersson@mullvad.net</email>
</author>
<published>2023-08-11T08:59:50Z</published>
<link rel='alternate' type='text/html' href='http://git.waynecole.info/mullvadvpn/commit/?id=cc7c0943039c2ed5e3e7176e747792d3ba2c6a41'/>
<id>urn:sha1:cc7c0943039c2ed5e3e7176e747792d3ba2c6a41</id>
<content type='text'>
To be able to more easily re-use `get_filtered_relays` from other
modules, such as `custom_lists`, the function was to the module level.
</content>
</entry>
</feed>
