mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 10:18:51 +00:00
When forwarding UDP DNS queries through the tunnel, `connlib` needs to mangle the IP header to set upstream as the correct destination of the packet. In order to know, which ones need to be mangled back, we keep a map of query ID to timestamp. This isn't good enough as the added proptest failure case shows. If there are two concurrent queries with the same query ID to different resolvers, we only handle one of those and don't mangle the 2nd one.
Connlib
Firezone's connectivity library shared by all clients.
Building Connlib
You shouldn't need to build connlib directly; it's typically built as a dependency of one of the other Firezone components. See READMEs in those directories for relevant instructions.