Commit Graph

2470 Commits

Author SHA1 Message Date
dependabot[bot]
186dfb95a9 build(deps): Bump anyhow from 1.0.72 to 1.0.75 in /rust (#1934)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.72 to 1.0.75.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/anyhow/releases">anyhow's
releases</a>.</em></p>
<blockquote>
<h2>1.0.75</h2>
<ul>
<li>Partially work around rust-analyzer bug (<a
href="https://redirect.github.com/rust-lang/rust-analyzer/issues/9911">rust-lang/rust-analyzer#9911</a>)</li>
</ul>
<h2>1.0.74</h2>
<ul>
<li>Add bootstrap workaround to allow rustc to depend on anyhow (<a
href="https://redirect.github.com/dtolnay/anyhow/issues/320">#320</a>,
thanks <a
href="https://github.com/RalfJung"><code>@​RalfJung</code></a>)</li>
</ul>
<h2>1.0.73</h2>
<ul>
<li>Update backtrace support to nightly's new Error::provide API (<a
href="https://redirect.github.com/rust-lang/rust/pull/113464">rust-lang/rust#113464</a>,
<a
href="https://redirect.github.com/dtolnay/anyhow/issues/319">#319</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6485caebde"><code>6485cae</code></a>
Release 1.0.75</li>
<li><a
href="238223af99"><code>238223a</code></a>
Work around ridiculous rust-analyzer behavior</li>
<li><a
href="cbade7d00a"><code>cbade7d</code></a>
Release 1.0.74</li>
<li><a
href="0798a9a635"><code>0798a9a</code></a>
Reword bootstrap comment</li>
<li><a
href="61d86763da"><code>61d8676</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/anyhow/issues/320">#320</a>
from RalfJung/bootstrap</li>
<li><a
href="663c6633e3"><code>663c663</code></a>
don't run build probes in rustc bootstrap</li>
<li><a
href="e471b2b650"><code>e471b2b</code></a>
Release 1.0.73</li>
<li><a
href="8cf1d150f7"><code>8cf1d15</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/anyhow/issues/319">#319</a>
from dtolnay/errorprovide</li>
<li><a
href="31c8dff2cd"><code>31c8dff</code></a>
Update to nightly's new Error::provide API</li>
<li><a
href="496b9584c4"><code>496b958</code></a>
Ignore ignored_unit_patterns pedantic clippy lint in test suite</li>
<li>Additional commits viewable in <a
href="https://github.com/dtolnay/anyhow/compare/1.0.72...1.0.75">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.72&new-version=1.0.75)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 22:02:30 +00:00
dependabot[bot]
54dd780a60 build(deps): Bump thiserror from 1.0.44 to 1.0.47 in /rust (#1935)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.44 to
1.0.47.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/thiserror/releases">thiserror's
releases</a>.</em></p>
<blockquote>
<h2>1.0.47</h2>
<ul>
<li>Work around rust-analyzer bug (<a
href="https://redirect.github.com/rust-lang/rust-analyzer/issues/9911">rust-lang/rust-analyzer#9911</a>)</li>
</ul>
<h2>1.0.46</h2>
<ul>
<li>Add bootstrap workaround to allow rustc to depend on thiserror (<a
href="https://redirect.github.com/dtolnay/thiserror/issues/248">#248</a>,
thanks <a
href="https://github.com/RalfJung"><code>@​RalfJung</code></a>)</li>
</ul>
<h2>1.0.45</h2>
<ul>
<li>Update backtrace support to nightly's new Error::provide API (<a
href="https://redirect.github.com/rust-lang/rust/pull/113464">rust-lang/rust#113464</a>,
<a
href="https://redirect.github.com/dtolnay/thiserror/issues/246">#246</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="0495eaa802"><code>0495eaa</code></a>
Release 1.0.47</li>
<li><a
href="2d9425c374"><code>2d9425c</code></a>
Work around ridiculous rust-analyzer behavior</li>
<li><a
href="5ada5d5198"><code>5ada5d5</code></a>
Release 1.0.46</li>
<li><a
href="f51271a0d5"><code>f51271a</code></a>
Reword bootstrap comment</li>
<li><a
href="1f02cdfcdd"><code>1f02cdf</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/thiserror/issues/248">#248</a>
from RalfJung/bootstrap</li>
<li><a
href="fa637828ae"><code>fa63782</code></a>
don't run build probes in rustc bootstrap</li>
<li><a
href="2fd79cd52a"><code>2fd79cd</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/thiserror/issues/247">#247</a>
from dtolnay/errorprovide</li>
<li><a
href="78e0ffed90"><code>78e0ffe</code></a>
Pull in anyhow's new Error::provide support</li>
<li><a
href="06f1895832"><code>06f1895</code></a>
Release 1.0.45</li>
<li><a
href="a11330f7fb"><code>a11330f</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/thiserror/issues/246">#246</a>
from dtolnay/errorprovide</li>
<li>Additional commits viewable in <a
href="https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.47">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=thiserror&package-manager=cargo&previous-version=1.0.44&new-version=1.0.47)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 22:02:12 +00:00
dependabot[bot]
d71635c651 build(deps): Bump rustls-webpki from 0.100.1 to 0.100.2 in /rust (#1941)
Bumps [rustls-webpki](https://github.com/rustls/webpki) from 0.100.1 to
0.100.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rustls/webpki/releases">rustls-webpki's
releases</a>.</em></p>
<blockquote>
<h2>v/0.100.2</h2>
<h2>Release notes</h2>
<ul>
<li>certificate path building and verification is now capped at 100
signature validation operations to avoid the risk of CPU usage
denial-of-service attack when validating crafted certificate chains
producing quadratic runtime. This risk affected both clients, as well as
servers that verified client certificates.</li>
</ul>
<h2>What's Changed</h2>
<ul>
<li>v0.100.2 prep by <a
href="https://github.com/cpu"><code>@​cpu</code></a> in <a
href="https://redirect.github.com/rustls/webpki/pull/154">rustls/webpki#154</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rustls/webpki/compare/v/0.100.1...v/0.100.2">https://github.com/rustls/webpki/compare/v/0.100.1...v/0.100.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c8b821450b"><code>c8b8214</code></a>
Bump MSRV to 1.60</li>
<li><a
href="855752292e"><code>8557522</code></a>
Avoid testing MSRV of dev-dependencies</li>
<li><a
href="73a7f0c7d7"><code>73a7f0c</code></a>
Cargo: version 0.100.1 -&gt; 0.100.2</li>
<li><a
href="4ea052366f"><code>4ea0523</code></a>
verify_cert: enforce maximum number of signatures.</li>
<li>See full diff in <a
href="https://github.com/rustls/webpki/compare/v/0.100.1...v/0.100.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rustls-webpki&package-manager=cargo&previous-version=0.100.1&new-version=0.100.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/firezone/firezone/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-22 22:01:58 +00:00
Roopesh Chander
e1ac496545 apple: macOS app: Some bugfixes (#1937)
Fixes the following issues with the macOS app:

 1. Every alternate launch of the app caused the tunnel to go down
2. When signing out and signing back in, resources were not getting
updated
3. While the tunnel is up, when we quit the app and restart the app, the
tunnel was brought down
2023-08-22 15:25:16 +00:00
Jamil
54e1a79a50 fix(ios): portal connectivity and tunnel setup (#1927)
This PR fixes issues with the iOS client connecting to the portal and
setting up the tunnel.

- portal IPv6 unique-local prefix typo
- Use `rustls-webpki-roots` instead of `rustls-native-roots` for tokio
tungstenite since the latter [only supports macOS, Linux, and
Windows](https://github.com/rustls/rustls-native-certs) while the former
seems to work on all platforms(?)
- Remove Multipath TCP entitlement for iOS since it's not relevant for
us.

@conectado After this is merged, we _almost_ have a working tunnel on
iOS. I believe the error we're hitting now is the 4-byte address family
header that we need to add and strip from each packet written to / read
from the tunnel. See below log for sample output when attempting to
connect to the `HTTPbin` resource:

```
dev.firezone.firezone.network-extension	packet-tunnel	debug	16:10:13.401705-0700	FirezoneNetworkExtensioniOS	Adapter state changed to: tunnelReady
dev.firezone.firezone.network-extension	packet-tunnel	debug	16:10:13.401731-0700	FirezoneNetworkExtensioniOS	Beginning path monitoring
com.apple.network	path	default	16:10:13.402211-0700	FirezoneNetworkExtensioniOS	nw_path_evaluator_start [1ACDE975-615B-4557-BF7C-678F3594452E <NULL> generic, multipath service: 1, attribution: developer]
	path: satisfied (Path is satisfied), interface: en0[802.11], scoped, ipv4, ipv6, dns
com.apple.network	path	info	16:10:13.402235-0700	FirezoneNetworkExtensioniOS	nw_path_evaluator_call_update_handler [1ACDE975-615B-4557-BF7C-678F3594452E] scheduling update
com.apple.network	path	info	16:10:13.402261-0700	FirezoneNetworkExtensioniOS	nw_path_evaluator_call_update_handler_block_invoke [1ACDE975-615B-4557-BF7C-678F3594452E] delivering update
com.apple.network		debug	16:10:13.402286-0700	FirezoneNetworkExtensioniOS	nw_path_copy_interface_with_generation Cache miss for interface for index 3 (generation 4574)
com.apple.network		debug	16:10:13.402312-0700	FirezoneNetworkExtensioniOS	nw_path_copy_interface_with_generation Cache miss for interface for index 31 (generation 141)
dev.firezone.firezone.network-extension	packet-tunnel	debug	16:10:13.402363-0700	FirezoneNetworkExtensioniOS	Suppressing calls to disableSomeRoamingForBrokenMobileSemantics() and bumpSockets()
dev.firezone.firezone	connlib	debug	16:10:14.368105-0700	FirezoneNetworkExtensioniOS	Reading from iface 76 bytes
dev.firezone.firezone	connlib	debug	16:10:15.369018-0700	FirezoneNetworkExtensioniOS	Reading from iface 76 bytes
dev.firezone.firezone	connlib	debug	16:10:16.095618-0700	FirezoneNetworkExtensioniOS	Reading from iface 76 bytes
dev.firezone.firezone	connlib	debug	16:10:16.370908-0700	FirezoneNetworkExtensioniOS	Reading from iface 76 bytes
dev.firezone.firezone	connlib	debug	16:10:17.372035-0700	FirezoneNetworkExtensioniOS	Reading from iface 76 bytes
dev.firezone.firezone	connlib	debug	16:10:18.373423-0700	FirezoneNetworkExtensioniOS	Reading from iface 76 bytes
dev.firezone.firezone	connlib	debug	16:10:20.402863-0700	FirezoneNetworkExtensioniOS	Reading from iface 76 bytes
dev.firezone.firezone	connlib	debug	16:10:24.381581-0700	FirezoneNetworkExtensioniOS	Reading from iface 76 bytes
dev.firezone.firezone	connlib	debug	16:10:32.374566-0700	FirezoneNetworkExtensioniOS	Reading from iface 76 bytes
dev.firezone.firezone	connlib	debug	16:10:38.137437-0700	FirezoneNetworkExtensioniOS	Text("{\"ref\":null,\"topic\":\"phoenix\",\"event\":\"phx_reply\",\"payload\":{\"status\":\"ok\",\"response\":{}}}")
dev.firezone.firezone	connlib	debug	16:10:38.137757-0700	FirezoneNetworkExtensioniOS	Phoenix status message
dev.firezone.firezone	connlib	debug	16:10:48.376339-0700	FirezoneNetworkExtensioniOS	Reading from iface 76 bytes
dev.firezone.firezone	connlib	debug	16:11:08.148369-0700	FirezoneNetworkExtensioniOS	Text("{\"ref\":null,\"topic\":\"phoenix\",\"event\":\"phx_reply\",\"payload\":{\"status\":\"ok\",\"response\":{}}}")
dev.firezone.firezone	connlib	debug	16:11:08.148654-0700	FirezoneNetworkExtensioniOS	Phoenix status message
```
2023-08-21 20:48:30 -07:00
Jamil
1699a72d6f feat(website): Replace cust logos (#1928)
Will need to remake these when 1.0 launches to be higher res and larger.
For now, this should suffice.
2023-08-21 18:51:22 +00:00
Jamil
6638049f3a Apply @thomaseizinger's docs feedback (#1926)
For completeness, this updates the Rust doc for `Server` to be more
end-user friendly for self-hosting the Relay down the line.
2023-08-18 14:08:41 -07:00
Gabi
8c6d487e89 swift: update app capabilities to enable UDP binding (#1925)
cc @jamilbk

---------

Signed-off-by: Jamil <jamilbk@users.noreply.github.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-08-18 13:27:19 -07:00
Jamil
bf2d794064 feat(relay): allow configuration for lowest and highest allocation port (#1921)
This PR allows the TURN allocation binding to be optionally configured
by `TURN_LOWEST_PORT` and `TURN_HIGHEST_PORT` environment variables.

This will allow client app developers to test their apps against a
fully-working local development cluster in Docker Desktop for
Linux/macOS/Windows, allowing us to remove the PortalMock, Connlib Mock,
and SwiftMock codepaths entirely.

cc @roop @pratikvelani
2023-08-18 13:04:26 -07:00
Thomas Eizinger
79a24ca9cf feat(relay): remove LISTEN_IPX_ADDR parameters (#1922)
Previously, we required the user to specify a `LISTEN_IP4_ADDR` and/or a
`LISTEN_IP6_ADDR` parameter. This is cumbersome because dynamically
fetching the address of the local interface is not trivial in all
environments.

We remove this parameter in exchange for listening on all interfaces.
This is a trade-off. The relay will now listen on all interfaces, even
the ones not exposed to the public internet. This is true for the main
socket on port 3478 and for all created allocations. Actually relaying
data relies on the 4-tuple of a "connection", i.e. the source and
destination address and port. Technically, I think it is possible with
this change to send traffic to a relay via an interface that was not
intended to be used for that. I think this will still require spoofing
the source address which is a known and accepted problem.

It is still recommended that operators put appropriate firewall rules in
place to not allow ingress traffic on any interface other than the one
intended for relaying.

I've tested locally that we are correctly using the `IPV6_ONLY` flag. In
other words, a relay listening on the `0.0.0.0` wildcard interface will
not accept IPv6 traffic and vice versa.

Resolves #1886.
2023-08-18 09:44:41 +00:00
Jamil
b8cb59beb2 Use tunnelOverheadBytes to properly set tunnel interface MTU (#1924)
Apple provides a mechanism to calculate a smarter MTU for the tunnel
interface that is created.

This will be automatically adjusted depending on the MTU of the
underlying physical device.
2023-08-18 05:14:04 +00:00
Andrew Dryga
0bd4d9e7b5 Grant Thomas access to staging env
Signed-off-by: Andrew Dryga <andrew@dryga.com>
2023-08-17 16:53:08 -06:00
Jamil
1091c47f22 Read client_platform and client_csrf_token from params (#1919)
Fixes a small bug where `client_platform` wasn't being added to the
redirect_params in the magic link auth flow, so the token form input was
never shown.

Also adds a `hidden` type input that omits the `class=` attribute and
`div` wrapper.

Feel free to build off this or close and open a more thorough fix if
this is not the desired approach.
2023-08-17 17:34:24 +00:00
Jamil
82e70411ae Fix incorrect IPv6 subnets used (#1917)
`fc00::/7` is the local prefix space.

Fixes #1819
2023-08-17 08:40:56 +00:00
Jamil
2adeb4836c Revert "Apple: Add support for magic links" (#1913)
Reverts firezone/firezone#1909

As discussed [in this
thread](https://firezonehq.slack.com/archives/C04HRQTFY0Z/p1691797780786319),
I didn't catch that this PR would introduce a potential token-stealing
vulnerability into the application.

Magic link auth flow will be fixed in #1912
2023-08-16 21:11:20 -07:00
Gabi
d1537b0839 connlib: different backoff strategy for gateway/client (#1910)
With this PR we will keep retrying reconnection forever for the gateway
after it disconnects.
2023-08-16 22:05:48 +00:00
Andrew Dryga
508b803d98 Change magic link flow to require copy-pasting the magic link code on mobile platforms (#1916)
Signed-off-by: Andrew Dryga <andrew@dryga.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-08-16 15:40:22 -06:00
Gabi
577ce43942 Gabi/fix relay expected message size (#1911)
This PR should fix the way we handle the `length` field in the
`DataChannel` messages, previous to this fix relaying data (using the
`webrtc-rs` crate) was impossible)

The new way to handle this is if the actual message is bigger than what
this data field says we ignore the extra bytes (which I think is the
correct way to do it according to spec)

Also, I added an integration test to verify relay messages using
`iptables`, not the cleanest way to do it but the easiest, in this vein
I tried to fix the caching for rust containers since 2 integration test
in our current state would take ~20 minutes each.
2023-08-16 20:29:51 +00:00
Jamil
f59ed16dca Add note re: debugging network extension in ios sim (#1895)
https://developer.apple.com/forums/thread/101663

🙃 

I'll leave the build in CI enabled for now, but wanted to note this in
docs.
2023-08-15 08:00:33 +00:00
Roopesh Chander
6ed762d5b4 Apple: Add support for magic links (#1909)
Addresses #1899.

Tested only with PortalMock. Works with Safari. Not tested yet with
non-Safari browsers as default in macOS (if required, will address that
separately).

`client_csrf_token` is always passed. It's verified only if the sign in
happens with the external open-app-with-URL scenario. It's not checked
if the user logs in inside of the `ASWebAuthenticationSession` webpage
itself.
2023-08-14 20:06:01 +00:00
Pratik Velani
0b228934d6 android: integrate firebase crashlytics (#1908)
- Added Firebase dependencies
- Integrated crashlytics
2023-08-14 19:59:20 +00:00
dependabot[bot]
67147aa33a build(deps): Bump clap from 4.3.19 to 4.3.21 in /rust (#1907)
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.19 to 4.3.21.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/releases">clap's
releases</a>.</em></p>
<blockquote>
<h2>v4.3.21</h2>
<h2>[4.3.21] - 2023-08-08</h2>
<h3>Features</h3>
<ul>
<li>Expose <code>TryMapValueParser</code> so the type can be named</li>
</ul>
<h2>v4.3.20</h2>
<h2>[4.3.20] - 2023-08-08</h2>
<h3>Features</h3>
<ul>
<li>Expose <code>TryMapValueParser</code> so the type can be named</li>
<li><code>Command::mut_args</code> for modifying all arguments en
masse</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's
changelog</a>.</em></p>
<blockquote>
<h2>[4.3.21] - 2023-08-08</h2>
<h3>Features</h3>
<ul>
<li>Expose <code>TryMapValueParser</code> so the type can be named</li>
</ul>
<h2>[4.3.20] - 2023-08-08</h2>
<h3>Features</h3>
<ul>
<li><code>Command::mut_args</code> for modifying all arguments en
masse</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="ee1388c0a3"><code>ee1388c</code></a>
chore: Release</li>
<li><a
href="390436681a"><code>3904366</code></a>
docs: Update changelog</li>
<li><a
href="3156e1a35c"><code>3156e1a</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5066">#5066</a>
from 9999years/export-trymapvalueparser</li>
<li><a
href="da19141560"><code>da19141</code></a>
chore: Release</li>
<li><a
href="b96cbafcbe"><code>b96cbaf</code></a>
chore: Release</li>
<li><a
href="174f12c7f8"><code>174f12c</code></a>
docs: Update changelog</li>
<li><a
href="fe04b3cc4e"><code>fe04b3c</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5056">#5056</a>
from ModProg/dynamic-completions-help</li>
<li><a
href="aa3f47c239"><code>aa3f47c</code></a>
test(complete): Help for possible value</li>
<li><a
href="65b9c2b37d"><code>65b9c2b</code></a>
test(complete): Helper for asserting dynamic completions</li>
<li><a
href="c86172e891"><code>c86172e</code></a>
feat: Export <code>builder::TryMapValueParser</code></li>
<li>Additional commits viewable in <a
href="https://github.com/clap-rs/clap/compare/v4.3.19...v4.3.21">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=clap&package-manager=cargo&previous-version=4.3.19&new-version=4.3.21)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 19:49:50 +00:00
dependabot[bot]
0d42028d7e build(deps): Bump redis from 0.23.0 to 0.23.2 in /rust (#1906)
Bumps [redis](https://github.com/redis-rs/redis-rs) from 0.23.0 to
0.23.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/redis-rs/redis-rs/releases">redis's
releases</a>.</em></p>
<blockquote>
<h2>v0.23.2</h2>
<p>0.23.2 (2023-08-10)</p>
<h4>Fixes</h4>
<ul>
<li>Fix sentinel tests flakiness (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/912">#912</a>)</li>
<li>Rustls: Remove usage of deprecated method (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/921">#921</a>)</li>
<li>Fix compiling with sentinel feature, without aio feature (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/923">#922</a>
<a href="https://github.com/brocaar"><code>@​brocaar</code></a>)</li>
<li>Add timeouts to tests github action (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/911">#911</a>)</li>
</ul>
<h2>v0.23.1</h2>
<h3>0.23.1 (2023-07-28)</h3>
<h4>Features</h4>
<ul>
<li>Add basic Sentinel functionality (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/836">#836</a>
<a href="https://github.com/felipou"><code>@​felipou</code></a>)</li>
<li>Enable keep alive on tcp connections via feature (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/886">#886</a>
<a
href="https://github.com/DoumanAsh"><code>@​DoumanAsh</code></a>)</li>
<li>Support fan-out commands in cluster-async (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/843">#843</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
<li>connection_manager: retry and backoff on reconnect (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/804">#804</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
</ul>
<h4>Changes</h4>
<ul>
<li>Tests: Wait for all servers (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/901">#901</a>
<a href="https://github.com/barshaul"><code>@​barshaul</code></a>)</li>
<li>Pin <code>tempfile</code> dependency (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/902">#902</a>)</li>
<li>Update routing data for commands. (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/887">#887</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
<li>Add basic benchmark reporting to CI (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/880">#880</a>)</li>
<li>Add <code>set_options</code> cmd (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/879">#879</a>
<a
href="https://github.com/RokasVaitkevicius"><code>@​RokasVaitkevicius</code></a>)</li>
<li>Move random connection creation to when needed. (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/882">#882</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
<li>Clean up existing benchmarks (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/881">#881</a>)</li>
<li>Improve async cluster client performance. (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/877">#877</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
<li>Allow configuration of cluster retry wait duration (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/859">#859</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
<li>Fix async connect when ns resolved to multi ip (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/872">#872</a>
<a
href="https://github.com/hugefiver"><code>@​hugefiver</code></a>)</li>
<li>Reduce the number of unnecessary clones. (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/874">#874</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
<li>Remove connection checking on every request. (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/873">#873</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
<li>cluster_async: Wrap internal state with Arc. (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/864">#864</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
<li>Fix redirect routing on request with no route. (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/870">#870</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
<li>Amend README for macOS users (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/869">#869</a>
<a href="https://github.com/sarisssa"><code>@​sarisssa</code></a>)</li>
<li>Improved redirection error handling (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/857">#857</a>)</li>
<li>Fix minor async client bug. (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/862">#862</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
<li>Split aio.rs to separate files. (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/821">#821</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
<li>Add time feature to tokio dependency (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/855">#855</a>
<a href="https://github.com/robjtede"><code>@​robjtede</code></a>)</li>
<li>Refactor cluster error handling (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/844">#844</a>)</li>
<li>Fix unnecessarily mutable variable (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/849">#849</a>
<a href="https://github.com/kamulos"><code>@​kamulos</code></a>)</li>
<li>Newtype SlotMap (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/845">#845</a>)</li>
<li>Bump MSRV to 1.60 (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/846">#846</a>)</li>
<li>Improve error logging. (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/838">#838</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
<li>Improve documentation, add references to <code>redis-macros</code>
(<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/769">#769</a>
<a
href="https://github.com/daniel7grant"><code>@​daniel7grant</code></a>)</li>
<li>Allow creating Cmd with capacity. (<a
href="https://redirect.github.com/redis-rs/redis-rs/pull/817">#817</a>
<a href="https://github.com/nihohit"><code>@​nihohit</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="fe2a7df986"><code>fe2a7df</code></a>
Release redis 0.23.2 / redis-test 0.2.2 (<a
href="https://redirect.github.com/redis-rs/redis-rs/issues/924">#924</a>)</li>
<li><a
href="bd3cef5aac"><code>bd3cef5</code></a>
add timeouts to tests github action. (<a
href="https://redirect.github.com/redis-rs/redis-rs/issues/911">#911</a>)</li>
<li><a
href="e5727a1505"><code>e5727a1</code></a>
Fix AsyncConnection usage in sentinel if aio feature is not used. (<a
href="https://redirect.github.com/redis-rs/redis-rs/issues/923">#923</a>)</li>
<li><a
href="e7a733af25"><code>e7a733a</code></a>
Rustls: Remove usage of deprecated method.</li>
<li><a
href="ed44bad0d6"><code>ed44bad</code></a>
log pushing existing replica.</li>
<li><a
href="e4dfc8650e"><code>e4dfc86</code></a>
Remove tuple casting on command result.</li>
<li><a
href="cbe47c6724"><code>cbe47c6</code></a>
Release redis 0.23.1 / redis-test 0.2.1 (<a
href="https://redirect.github.com/redis-rs/redis-rs/issues/907">#907</a>)</li>
<li><a
href="a6b4c74d7b"><code>a6b4c74</code></a>
Tests: Wait for all servers (<a
href="https://redirect.github.com/redis-rs/redis-rs/issues/901">#901</a>)</li>
<li><a
href="dfacf67649"><code>dfacf67</code></a>
Additional cluster-async benchmarks (<a
href="https://redirect.github.com/redis-rs/redis-rs/issues/903">#903</a>)</li>
<li><a
href="80a4a3873a"><code>80a4a38</code></a>
Add basic Sentinel functionality (<a
href="https://redirect.github.com/redis-rs/redis-rs/issues/836">#836</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/redis-rs/redis-rs/compare/redis-0.23.0...redis-0.23.2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=redis&package-manager=cargo&previous-version=0.23.0&new-version=0.23.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 19:49:38 +00:00
dependabot[bot]
ae9a619703 build(deps): Bump pnet_packet from 0.33.0 to 0.34.0 in /rust (#1905)
Bumps [pnet_packet](https://github.com/libpnet/libpnet) from 0.33.0 to
0.34.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/libpnet/libpnet/releases">pnet_packet's
releases</a>.</em></p>
<blockquote>
<h2>v0.34.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Add blanket impls of Packet for Box<!-- raw HTML omitted --> and
&amp;T. by <a href="https://github.com/landhb"><code>@​landhb</code></a>
in <a
href="https://redirect.github.com/libpnet/libpnet/pull/606">libpnet/libpnet#606</a></li>
<li>GitHub actions updates by <a
href="https://github.com/mrmonday"><code>@​mrmonday</code></a> in <a
href="https://redirect.github.com/libpnet/libpnet/pull/608">libpnet/libpnet#608</a></li>
<li>Fix typos by <a
href="https://github.com/darxriggs"><code>@​darxriggs</code></a> in <a
href="https://redirect.github.com/libpnet/libpnet/pull/609">libpnet/libpnet#609</a></li>
<li>Update pnet_macros to use syn v2 by <a
href="https://github.com/james-jra"><code>@​james-jra</code></a> in <a
href="https://redirect.github.com/libpnet/libpnet/pull/627">libpnet/libpnet#627</a></li>
<li>Spell check with <code>typos</code>. Add <code>spell-check</code> CI
job by <a href="https://github.com/vvv"><code>@​vvv</code></a> in <a
href="https://redirect.github.com/libpnet/libpnet/pull/621">libpnet/libpnet#621</a></li>
<li>Add LINKTYPE_LINUX_SLL2 support and fix link to SLL by <a
href="https://github.com/reticulis"><code>@​reticulis</code></a> in <a
href="https://redirect.github.com/libpnet/libpnet/pull/619">libpnet/libpnet#619</a></li>
<li>TCP header remove NS flag by <a
href="https://github.com/rikonaka"><code>@​rikonaka</code></a> in <a
href="https://redirect.github.com/libpnet/libpnet/pull/625">libpnet/libpnet#625</a></li>
<li>Assorted cleanup by <a
href="https://github.com/mrmonday"><code>@​mrmonday</code></a> in <a
href="https://redirect.github.com/libpnet/libpnet/pull/630">libpnet/libpnet#630</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/james-jra"><code>@​james-jra</code></a>
made their first contribution in <a
href="https://redirect.github.com/libpnet/libpnet/pull/627">libpnet/libpnet#627</a></li>
<li><a href="https://github.com/vvv"><code>@​vvv</code></a> made their
first contribution in <a
href="https://redirect.github.com/libpnet/libpnet/pull/621">libpnet/libpnet#621</a></li>
<li><a href="https://github.com/reticulis"><code>@​reticulis</code></a>
made their first contribution in <a
href="https://redirect.github.com/libpnet/libpnet/pull/619">libpnet/libpnet#619</a></li>
<li><a href="https://github.com/rikonaka"><code>@​rikonaka</code></a>
made their first contribution in <a
href="https://redirect.github.com/libpnet/libpnet/pull/625">libpnet/libpnet#625</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/libpnet/libpnet/compare/v0.33.0...v0.34.0">https://github.com/libpnet/libpnet/compare/v0.33.0...v0.34.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="9bd20d82c0"><code>9bd20d8</code></a>
Release v0.34.0</li>
<li><a
href="b8bd8e031e"><code>b8bd8e0</code></a>
Merge pull request <a
href="https://redirect.github.com/libpnet/libpnet/issues/630">#630</a>
from mrmonday/fix-build-warnings</li>
<li><a
href="47ae47de30"><code>47ae47d</code></a>
Assorted cleanup</li>
<li><a
href="c32d9db6ec"><code>c32d9db</code></a>
Merge pull request <a
href="https://redirect.github.com/libpnet/libpnet/issues/625">#625</a>
from rikonaka/master</li>
<li><a
href="391b133ef7"><code>391b133</code></a>
Merge pull request <a
href="https://redirect.github.com/libpnet/libpnet/issues/619">#619</a>
from reticulis/sll2</li>
<li><a
href="12636deb8a"><code>12636de</code></a>
Merge pull request <a
href="https://redirect.github.com/libpnet/libpnet/issues/621">#621</a>
from vvv/spell-check</li>
<li><a
href="d29848e39b"><code>d29848e</code></a>
Merge pull request <a
href="https://redirect.github.com/libpnet/libpnet/issues/627">#627</a>
from james-jra/syn-2</li>
<li><a
href="08622c53c9"><code>08622c5</code></a>
Fix compile test stderr for correct rustc version</li>
<li><a
href="431ced23f8"><code>431ced2</code></a>
add more compilation error tests for #[construct_with]</li>
<li><a
href="b46f7f36b0"><code>b46f7f3</code></a>
Update compile fail test error messages</li>
<li>Additional commits viewable in <a
href="https://github.com/libpnet/libpnet/compare/v0.33.0...v0.34.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pnet_packet&package-manager=cargo&previous-version=0.33.0&new-version=0.34.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 19:49:25 +00:00
dependabot[bot]
9d13a6001b build(deps): Bump android_logger from 0.13.1 to 0.13.3 in /rust (#1904)
Bumps [android_logger](https://github.com/rust-mobile/android_logger-rs)
from 0.13.1 to 0.13.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-mobile/android_logger-rs/blob/master/CHANGELOG.md">android_logger's
changelog</a>.</em></p>
<blockquote>
<h1><code>android_logger</code> changelog</h1>
<p>All user visible changes to this project will be documented in this
file. This project uses [Semantic Versioning 2.0.0].</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/rust-mobile/android_logger-rs/commits">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=android_logger&package-manager=cargo&previous-version=0.13.1&new-version=0.13.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 19:48:46 +00:00
dependabot[bot]
66e78c5e72 build(deps): Bump log from 0.4.19 to 0.4.20 in /rust (#1903)
Bumps [log](https://github.com/rust-lang/log) from 0.4.19 to 0.4.20.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/log/blob/master/CHANGELOG.md">log's
changelog</a>.</em></p>
<blockquote>
<h2>[0.4.20] - 2023-07-11</h2>
<ul>
<li>Remove rustversion dev-dependency by <a
href="https://github.com/Thomasdezeeuw"><code>@​Thomasdezeeuw</code></a>
in <a
href="https://redirect.github.com/rust-lang/log/pull/568">rust-lang/log#568</a></li>
<li>Remove <code>local_inner_macros</code> usage by <a
href="https://github.com/EFanZh"><code>@​EFanZh</code></a> in <a
href="https://redirect.github.com/rust-lang/log/pull/570">rust-lang/log#570</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4708f1484c"><code>4708f14</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/log/issues/574">#574</a>
from chrysn-pull-requests/doc-log-to-defmt</li>
<li><a
href="6de3cccc36"><code>6de3ccc</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/log/issues/571">#571</a>
from rust-lang/cargo/0.4.20</li>
<li><a
href="838920cf18"><code>838920c</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/log/issues/575">#575</a>
from EFanZh/group-target-module-path-and-file</li>
<li><a
href="3985711f74"><code>3985711</code></a>
Group <code>target</code>, <code>module_path</code> and
<code>file</code> arguments</li>
<li><a
href="3f534d00e4"><code>3f534d0</code></a>
Move private APIs into a single module</li>
<li><a
href="f5ab686e9b"><code>f5ab686</code></a>
doc: Add log-to-defmt to other-facilities section</li>
<li><a
href="6d173bf941"><code>6d173bf</code></a>
prepare for 0.4.20 release</li>
<li><a
href="cab10885de"><code>cab1088</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/log/issues/570">#570</a>
from EFanZh/remove-local-inner-macros</li>
<li><a
href="9d052b17d3"><code>9d052b1</code></a>
Remove <code>local_inner_macros</code> usage</li>
<li><a
href="e9123d6d9a"><code>e9123d6</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/log/issues/568">#568</a>
from Thomasdezeeuw/remove-rustversion-dep</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/log/compare/0.4.19...0.4.20">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=log&package-manager=cargo&previous-version=0.4.19&new-version=0.4.20)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 19:48:32 +00:00
Andrew Dryga
2879eba56c Only run one relay for now 2023-08-14 09:24:16 -06:00
Jamil
1fb196d2e3 Fix SettingsView for iOS (#1897)
Just a quick fix to get the buttons working for iOS so we can test the
packet tunnel. Could still be improved.
2023-08-14 05:12:56 +00:00
Jamil
97f067c397 Update team page (#1901) 2023-08-13 09:45:27 -05:00
Jamil
80e17b2270 fix: load SSO cookies in ASWebAuthenticationSession (#1898) 2023-08-13 04:24:28 +00:00
Jamil
ded6a6558d Add android build output to docker ignore (#1894) 2023-08-12 23:24:58 -05:00
Andrew Dryga
65bd044ab0 Enable google_workspace auth on staging and locally 2023-08-11 17:56:56 -05:00
Andrew Dryga
a6c28be0e8 Persist client auth params during magic link redirects 2023-08-11 17:43:01 -05:00
Gabi
721d2ffc45 Fix/webrtc failure (#1896) 2023-08-11 17:15:42 -05:00
Jamil
e9c0729b98 Use public Logger from FirezoneKit (#1888)
Enables the NetworkExtension to use the Logger helpers so that its
bundle id is used for the logging subsystem
2023-08-11 13:33:29 -05:00
Jamil
d0a472b8c1 Build for iphonesimulator (#1890)
Fixes the iphonesimulator build.
2023-08-11 13:33:04 -05:00
Gabi
eebf98510e relay: fix sent ip to the portal (#1892) 2023-08-11 13:13:54 -05:00
Andrew Dryga
c0844dfdb0 Fix discovery for listen address and make it optional 2023-08-11 12:20:58 -05:00
Andrew Dryga
44868369eb Set relay log level to trace 2023-08-11 12:20:58 -05:00
Pratik Velani
a2aa12d418 android: code refactoring and update permission flow (#1884)
Signed-off-by: Pratik Velani <pratikvelani@gmail.com>
Co-authored-by: Jamil <jamilbk@users.noreply.github.com>
2023-08-11 16:48:42 +00:00
Roopesh Chander
fbd2329e9d apple: Separate auth URL and control plane URL (#1887)
Auth base URL and Control Plane URL are configurable in a new
Server.xcconfig (so that we can have Server_Dev.xcconfig,
Server_Staging.xcconfig, and Server_Prod.xcconfig and switch between
them by copying / symbolic linking).

App's Settings View takes in Team ID instead of a URL. App forms auth
URL from Auth base URL from Server.xcconfig and the Team ID in settings.
Tunnel passes control plane URL from Server.xcconfig to connlib.

~~Marked as draft because this PR depends on #1881.~~ #1881 has been
merged.
2023-08-11 11:08:40 -05:00
Andrew Dryga
b63440dcbe Fix another relays status issue 2023-08-11 10:04:48 -05:00
Andrew Dryga
98647417c2 Remove Thomas until he gets a corp email 2023-08-11 09:30:43 -05:00
Jamil
3a79f4c0aa apple: refactor portal_url to be opaque (#1881)
* Remove JWT to be an opaque token and update variable names accordingly
* Use new `actor_name` param from the portal instead of user info from
old JWT
* Log attempted portal URL from connlib
* Remove account slug/id from portal_url before sending to connlib

@roop The token from the portal is a Phoenix.Token, not a valid JWT, so
this was causing a JWTDecodeError. Discussed with @AndrewDryga and
concluded this should be an opaque token. Expiry and other invalid token
scenarios will be bubbled up from connlib via an `onError` callback (or
perhaps a dedicated `onTokenInvalid` callback). For now connlib doesn't
handle this specifically.
2023-08-11 06:17:44 -05:00
Andrew Dryga
2e38db090d Show connection status for global relays 2023-08-11 02:30:21 -05:00
Andrew Dryga
f05daf27bc Grant Thomas access to staging env 2023-08-11 02:26:56 -05:00
Andrew Dryga
bbff335233 Fix return value for a new socket message 2023-08-11 01:45:42 -05:00
Andrew Dryga
37fc1b549d Do not bind device/client session to the IP address or User Agent
Clients use WebView to authorize so binding to UA doesn't make sense, IP's can change while roaming between cell towers.
2023-08-11 01:38:24 -05:00
Andrew Dryga
a26dab8087 Fix global relays indexes 2023-08-11 01:01:33 -05:00
Andrew Dryga
5600163ea1 Set LOG_LEVEL for elixir apps 2023-08-11 00:31:15 -05:00