Files
firezone/rust/connlib/snownet
Thomas Eizinger d6a1966a42 refactor(snownet): reduce log noise for unhandled packets (#7952)
When `snownet` originally got developed, its API was designed with the
idea in mind that a packet that doesn't get handled is an error. Whilst
that is technically true, we don't have any other component that
processes packets within Firezone. When a connection is killed by e.g.
an ICE timeout, we may still be receiving packets from the other party.
Those fill the logs until the other party also runs into a timeout. To
prevent this, we don't return errors for these but instead, log them on
TRACE.

For the case where we are given a packet that doesn't match any known
format, we still emit an error.
2025-01-30 01:49:57 +00:00
..

snownet

snownet is a SANS-IO connectivity library built on top of ICE (brr cold) and wireguard. In case direct connectivity cannot be established, TURN servers are used as a fallback.