mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 02:18:50 +00:00
Bumps [wintun](https://github.com/nulldotblack/wintun) from 0.2.1 to 0.3.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/nulldotblack/wintun/releases">wintun's releases</a>.</em></p> <blockquote> <h2>v0.3.1</h2> <h2>Added</h2> <ul> <li>Support for non 32bit x86 and arm targets in all three examples</li> </ul> <h3>Updated</h3> <ul> <li>Adapter docs</li> </ul> <h2>v0.3.0</h2> <h3>Added</h3> <ul> <li>udp-echo example which mirrors packets via the tun interface</li> <li><code>Adapter::get_name</code>, <code>Adapter::set_name</code>, and <code>Adapter::get_guid</code></li> <li><code>Adapter::set_address</code> <code>Adapter::set_gateway</code>, <code>Adapter::set_netmask</code>, or <code>Adapter::set_network_addresses_tuple</code> to set all three at once <ul> <li>Easily configure adapter address, netmask, and gateway properties to more easily control how it interacts with the Windows networking stack</li> </ul> </li> <li>And <code>Adapter::get_addresses</code>, <code>Adapter::get_gateways</code>, <code>Adapter::get_netmask_of_address</code> to read this state</li> </ul> <h3>Breaking Changes</h3> <ul> <li>Renamed <code>enum ApiError</code> -> <code>enum Error</code> and added more variants. <ul> <li>All functions returning <code>wintun::Result</code> are effected.</li> </ul> </li> <li>Removed <code>pool: &str</code> parameter from <code>Adapter::create</code> as this was removed from the wintun c library</li> <li>Changed return type of <code>Session::get_read_wait_event</code> from <code>Result<winnt::HANDLE, ()></code> to <code>Result<windows::Win32::HANDLE, wintun::Error></code></li> </ul> <p>Plus internal refactoring and cleanup by <a href="https://github.com/ssrlive"><code>@ssrlive</code></a> in <a href="https://redirect.github.com/nulldotblack/wintun/issues/7">#7</a>. Thanks!</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/nulldotblack/wintun/blob/main/CHANGELOG.md">wintun's changelog</a>.</em></p> <blockquote> <h2>[0.3.1] - 2023-09-16</h2> <h2>Added</h2> <ul> <li>Support for non 32bit x86 and arm targets in all three examples</li> </ul> <h3>Updated</h3> <ul> <li>Adapter docs</li> </ul> <h2>[0.3.0] - 2023-09-15</h2> <h3>Added</h3> <ul> <li>udp-echo example which mirrors packets via the tun interface</li> <li><code>Adapter::get_name</code>, <code>Adapter::set_name</code>, and <code>Adapter::get_guid</code></li> <li><code>Adapter::set_address</code> <code>Adapter::set_gateway</code>, <code>Adapter::set_netmask</code>, or <code>Adapter::set_network_addresses_tuple</code> to set all three at once <ul> <li>Easily configure adapter address, netmask, and gateway properties to more easily control how it interacts with the Windows networking stack</li> </ul> </li> <li>And <code>Adapter::get_addresses</code>, <code>Adapter::get_gateways</code>, <code>Adapter::get_netmask_of_address</code> to read this state</li> </ul> <h3>Breaking Changes</h3> <ul> <li>Renamed <code>enum ApiError</code> -> <code>enum Error</code> and added more variants. <ul> <li>All functions returning <code>wintun::Result</code> are effected.</li> </ul> </li> <li>Removed <code>pool: &str</code> parameter from <code>Adapter::create</code> as this was removed from the wintun c library</li> <li>Changed return type of <code>Session::get_read_wait_event</code> from <code>Result<winnt::HANDLE, ()></code> to <code>Result<windows::Win32::HANDLE, wintun::Error></code></li> </ul> <p>Plus internal refactoring and cleanup by <a href="https://github.com/ssrlive"><code>@ssrlive</code></a>: <a href="https://redirect.github.com/nulldotblack/wintun/pull/7">nulldotblack/wintun#7</a>. Thanks!</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="7aa2059895"><code>7aa2059</code></a> prep 0.3.1 (<a href="https://redirect.github.com/nulldotblack/wintun/issues/10">#10</a>)</li> <li><a href="d962317331"><code>d962317</code></a> Minor changes (<a href="https://redirect.github.com/nulldotblack/wintun/issues/9">#9</a>)</li> <li><a href="aa68d4c43f"><code>aa68d4c</code></a> Merge pull request <a href="https://redirect.github.com/nulldotblack/wintun/issues/8">#8</a> from nulldotblack/prep-0.3.0</li> <li><a href="6844dcf9b8"><code>6844dcf</code></a> Remove vim undo file</li> <li><a href="549a1e9b73"><code>549a1e9</code></a> update changlog</li> <li><a href="fe906e46fc"><code>fe906e4</code></a> Merge pull request <a href="https://redirect.github.com/nulldotblack/wintun/issues/7">#7</a> from ssrlive/main</li> <li><a href="3b48c40a46"><code>3b48c40</code></a> Modified as required by <a href="https://github.com/TroyNeubauer"><code>@TroyNeubauer</code></a></li> <li><a href="e5b9bfdfae"><code>e5b9bfd</code></a> some links</li> <li><a href="84890b4c03"><code>84890b4</code></a> set_network_addresses_tuple</li> <li><a href="97ffe9876a"><code>97ffe98</code></a> get_gateways</li> <li>Additional commits viewable in <a href="https://github.com/nulldotblack/wintun/compare/v0.2.1...v0.3.1">compare view</a></li> </ul> </details> <br /> [](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 <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Connlib
Firezone's connectivity library shared by all clients.
🚧 Disclaimer 🚧
NOTE: This repository is undergoing heavy construction. You could say we're Building In The Open™ in true open source spirit. Do not attempt to use anything released here until this notice is removed. You have been warned.
Building Connlib
Setting the CONNLIB_MOCK environment variable when packaging for Apple or Android will activate the mock feature flag, replacing connlib's normal connection logic with a mock for testing purposes.
- You'll need a Rust toolchain installed if you don't have one already. We recommend following the instructions at https://rustup.rs.
rustup showwill install all needed targets since they are added torust-toolchain.toml.- Follow the relevant instructions for your platform:
- Apple
- Android
- Linux
- Windows
Apple
Connlib should build successfully with recent macOS and Xcode versions assuming you have Rust installed. If not, open a PR with the notes you found.