| Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
We accidentally borrowed the file descriptor when we should have moved
it. This commit adds more `OwnedFd` and friends to help handle
ownership correctly.
Signed-off-by: Joakim Hulthe <joakim.hulthe@mullvad.net>
|
|
|
|
|
|
The 2024 edition contains new formatting rules.
All of these are not compatible with the 2021
formatting style, but most of them are.
To change the formatting to be as close to the
new style as possible while remaining compatible
with the 2021 edition, I first ran
`cargo +beta fmt` with the edition set to 2024,
then, with the edition set to 2021, I ran
`cargo fmt`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: Markus Pettersson <markus.pettersson@mullvad.net>
|
|
- 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
|
|
- Fix outdated comment
- Remove unused go function
- Remove outdated TODO comment
- Run `go fmt` on `libwg_android.go`
- Document `AllowedTunnelTraffic`, `get_socket_v4` and `get_socket_v6`
|
|
- Add some minor wireguard go changes
|
|
|
|
|
|
|
|
|
|
Co-authored-by: David Lönnhager <david.l@mullvad.net>
|
|
Gate DAITA compilation on `"cargo::rustc-cfg=daita"` emitted in build
files per platform.
|
|
- 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>
|