mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Bumps [pnet_packet](https://github.com/libpnet/libpnet) from 0.34.0 to 0.35.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.35.0</h2> <h2>What's Changed</h2> <ul> <li>Update license field following SPDX 2.1 license expression standard by <a href="https://github.com/frisoft"><code>@frisoft</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/633">libpnet/libpnet#633</a></li> <li>transport: Add option to set ECN on the TransportSender socket. by <a href="https://github.com/hawkinsw"><code>@hawkinsw</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/685">libpnet/libpnet#685</a></li> <li>Fix failing tests by <a href="https://github.com/Paul-weqe"><code>@Paul-weqe</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/676">libpnet/libpnet#676</a></li> <li>remove the repetitive word by <a href="https://github.com/cuishuang"><code>@cuishuang</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/672">libpnet/libpnet#672</a></li> <li>Add apple tvos support by <a href="https://github.com/lcruz99"><code>@lcruz99</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/652">libpnet/libpnet#652</a></li> <li>Adding vxlan to pnet_packet by <a href="https://github.com/stevedoyle"><code>@stevedoyle</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/654">libpnet/libpnet#654</a></li> <li>Add ICMP Destination unreachable Next-hop MTU by <a href="https://github.com/fabi321"><code>@fabi321</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/662">libpnet/libpnet#662</a></li> <li>Update ARP example to also support IPv6 via NDP by <a href="https://github.com/tgross35"><code>@tgross35</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/642">libpnet/libpnet#642</a></li> <li>Ensure BPF read is 4-byte aligned by <a href="https://github.com/frankplow"><code>@frankplow</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/655">libpnet/libpnet#655</a></li> <li>Expose the various values in the TcpOption structure for external program access by <a href="https://github.com/rikonaka"><code>@rikonaka</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/640">libpnet/libpnet#640</a></li> <li>Definition for ethernet flow control packets. by <a href="https://github.com/AJMansfield"><code>@AJMansfield</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/649">libpnet/libpnet#649</a></li> <li>Expose set_ecn on unix only by <a href="https://github.com/mrmonday"><code>@mrmonday</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/689">libpnet/libpnet#689</a></li> <li>datalink(linux): add feature to pass the fd (socket) to ::channel() by <a href="https://github.com/Martichou"><code>@Martichou</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/584">libpnet/libpnet#584</a></li> <li>Added DNS protocol support by <a href="https://github.com/tomDev5"><code>@tomDev5</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/678">libpnet/libpnet#678</a></li> <li>linux: use poll api instead of select inorder to support fd > 1024. Fixes <a href="https://redirect.github.com/libpnet/libpnet/issues/612">#612</a> and <a href="https://redirect.github.com/libpnet/libpnet/issues/639">#639</a> by <a href="https://github.com/nemosupremo"><code>@nemosupremo</code></a> in <a href="https://redirect.github.com/libpnet/libpnet/pull/681">libpnet/libpnet#681</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/frisoft"><code>@frisoft</code></a> made their first contribution in <a href="https://redirect.github.com/libpnet/libpnet/pull/633">libpnet/libpnet#633</a></li> <li><a href="https://github.com/hawkinsw"><code>@hawkinsw</code></a> made their first contribution in <a href="https://redirect.github.com/libpnet/libpnet/pull/685">libpnet/libpnet#685</a></li> <li><a href="https://github.com/Paul-weqe"><code>@Paul-weqe</code></a> made their first contribution in <a href="https://redirect.github.com/libpnet/libpnet/pull/676">libpnet/libpnet#676</a></li> <li><a href="https://github.com/cuishuang"><code>@cuishuang</code></a> made their first contribution in <a href="https://redirect.github.com/libpnet/libpnet/pull/672">libpnet/libpnet#672</a></li> <li><a href="https://github.com/lcruz99"><code>@lcruz99</code></a> made their first contribution in <a href="https://redirect.github.com/libpnet/libpnet/pull/652">libpnet/libpnet#652</a></li> <li><a href="https://github.com/stevedoyle"><code>@stevedoyle</code></a> made their first contribution in <a href="https://redirect.github.com/libpnet/libpnet/pull/654">libpnet/libpnet#654</a></li> <li><a href="https://github.com/fabi321"><code>@fabi321</code></a> made their first contribution in <a href="https://redirect.github.com/libpnet/libpnet/pull/662">libpnet/libpnet#662</a></li> <li><a href="https://github.com/tgross35"><code>@tgross35</code></a> made their first contribution in <a href="https://redirect.github.com/libpnet/libpnet/pull/642">libpnet/libpnet#642</a></li> <li><a href="https://github.com/frankplow"><code>@frankplow</code></a> made their first contribution in <a href="https://redirect.github.com/libpnet/libpnet/pull/655">libpnet/libpnet#655</a></li> <li><a href="https://github.com/AJMansfield"><code>@AJMansfield</code></a> made their first contribution in <a href="https://redirect.github.com/libpnet/libpnet/pull/649">libpnet/libpnet#649</a></li> <li><a href="https://github.com/tomDev5"><code>@tomDev5</code></a> made their first contribution in <a href="https://redirect.github.com/libpnet/libpnet/pull/678">libpnet/libpnet#678</a></li> <li><a href="https://github.com/nemosupremo"><code>@nemosupremo</code></a> made their first contribution in <a href="https://redirect.github.com/libpnet/libpnet/pull/681">libpnet/libpnet#681</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0">https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="97ece70e2f"><code>97ece70</code></a> Release v0.35.0</li> <li><a href="49c8c683f9"><code>49c8c68</code></a> Merge pull request <a href="https://redirect.github.com/libpnet/libpnet/issues/681">#681</a> from ionosnetworks/feat/linux-poll-api</li> <li><a href="07526a7f6f"><code>07526a7</code></a> Merge pull request <a href="https://redirect.github.com/libpnet/libpnet/issues/678">#678</a> from tomDev5/dns</li> <li><a href="b319ca2f64"><code>b319ca2</code></a> fixed dns code</li> <li><a href="a3a46e6fb2"><code>a3a46e6</code></a> removed BooleanField for u1</li> <li><a href="7086ed22a6"><code>7086ed2</code></a> dns layer in pnet</li> <li><a href="14a01ffc37"><code>14a01ff</code></a> Merge pull request <a href="https://redirect.github.com/libpnet/libpnet/issues/584">#584</a> from Martichou/raw_socket</li> <li><a href="bd4c8b0e32"><code>bd4c8b0</code></a> datalink(linux): add feature to pass the fd (socket) to ::channel()</li> <li><a href="28e9de4b8c"><code>28e9de4</code></a> Merge pull request <a href="https://redirect.github.com/libpnet/libpnet/issues/689">#689</a> from mrmonday/ecn-unix-only</li> <li><a href="01eee253ba"><code>01eee25</code></a> Expose set_ecn on unix only.</li> <li>Additional commits viewable in <a href="https://github.com/libpnet/libpnet/compare/v0.34.0...v0.35.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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> > **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Rust development guide
Firezone uses Rust for all data plane components. This directory contains the Linux and Windows clients, and low-level networking implementations related to STUN/TURN.
We target the last stable release of Rust using rust-toolchain.toml.
If you are using rustup, that is automatically handled for you.
Otherwise, ensure you have the latest stable version of Rust installed.
Reading Client logs
The Client logs are written as JSONL for machine-readability.
To make them more human-friendly, pipe them through jq like this:
cd path/to/logs # e.g. `$HOME/.cache/dev.firezone.client/data/logs` on Linux
cat *.log | jq -r '"\(.time) \(.severity) \(.message)"'
Resulting in, e.g.
2024-04-01T18:25:47.237661392Z INFO started log
2024-04-01T18:25:47.238193266Z INFO GIT_VERSION = 1.0.0-pre.11-35-gcc0d43531
2024-04-01T18:25:48.295243016Z INFO No token / actor_name on disk, starting in signed-out state
2024-04-01T18:25:48.295360641Z INFO null