| Age | Commit message (Collapse) | Author | Files | Lines |
|
Patch tunnel config to block traffic to non-gateway destinations during
PQ setup when using Boringtun on Android.
Move `patch_allowed_ips` to `config` module.
|
|
|
|
|
|
- Fix remaining rustc warnings on non-Android platforms
- Fix lookup entry peer if it exists in wireguard-go
- Fix talpid-wireguard not compiling on windows
- Fix entry peer config code
- Fix clippy issue
- Fix Daita
- Remove TODOs
|
|
Use `WgGoTunnel` directly on Android because a specialized implemenation
of `set_config` has to be used.
|
|
|
|
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
|
|
|
|
Gate DAITA compilation on `"cargo::rustc-cfg=daita"` emitted in build
files per platform.
|
|
Activate the setting when DAITA is enabled and write constant
packet size to WG config string.
Co-authored-by: Sebastian Holmin <sebastian.holmin@mullvad.net>
|
|
- Add local wireguard go import
- Activate DAITA and add `wgActivateDaita` and `wgReceiveEvent` FFI
- Implement `start_daita` on Wireguard-go tunnel type
- Mention DAITA in `wireguard-go-rs` description
- Do not compile `wireguard-go-rs` on Windows
- Handle DAITA closed on `nil` event
- Handle daita action timeouts in libwg
- Remove noisy log lines
- Remove `maybenot_on_action` callback
- Remove unused link to `../build/lib` for `talpid-wireguard`
- Bump the `wireguard-go` submodule to a signed release tag in Mullvad's
`wireguard-go` fork.
- Update path to `libwg/go.sum` in verification script
Also:
- Use u64 instead of *mut void as log context
- Make Tunnel::set_config take a &mut self
- Use dyn Error instead of i32s for wg errors
Co-authored-by: Joakim Hulthe <joakim@hulthe.net>
|
|
|
|
`err_derive` is unmaintained and will probably stop working with rust
edition 2024. `thiserror` is almost a drop-in replacement. This commit
simply replaces all occurences of `derive(err_derive::Error)` with
`derive(thiserror::Error)` and fixes the attributes, but the Error and
Display impls should be identical.
|
|
|
|
|
|
|
|
|
|
tunnel
|
|
|