Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | WireGuardKit: Conditionally turn on/off wireguard-go | 2020-12-11 | 3 | -106/+213 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardGoKit: drop support for armv7 | 2020-12-09 | 1 | -3/+2 | ||
| | | | | | | Apple and Go have both dropped it, so we do the same. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | global: fix remaining swiftlint violations | 2020-12-09 | 4 | -4/+5 | ||
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | WireGuardKitGo: get rid of missing -Wno-unused-command-line-argument flag | 2020-12-09 | 1 | -1/+1 | ||
| | | | | | | Recent toolchains error out on it, and it's no longer needed. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | WireGuardKitGo: rebase boottime patch onto Go 1.15.6 | 2020-12-09 | 2 | -39/+13 | ||
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | global: bump year in header | 2020-12-04 | 102 | -102/+102 | ||
| | | | | | | A bit overdue, but better late than never. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | WireGuardApp: Update target membership to exclude sources that are only used in network extensions | 2020-12-04 | 1 | -16/+0 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Delegate IPv*Address initialization to self.init | 2020-12-04 | 1 | -10/+2 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: Remove backend version call in Logger.swift & extract wireguard-go version script from network extension targets | 2020-12-04 | 3 | -40/+2 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Log XLAT resolution errors | 2020-12-04 | 2 | -5/+20 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: Disable SWIFT_PRECOMPILE_BRIDGING_HEADER | 2020-12-04 | 1 | -0/+2 | ||
| | | | | | | Clang automatically picks up module.modulemap files from WireGuardKit directories when precompiling bridging header file, which causes the compiler to fail with obscure error. Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: Update swift version from 4.2 to 5.0 | 2020-12-04 | 1 | -2/+2 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Update checkout path in README | 2020-12-04 | 1 | -1/+1 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Keychain: Avoid roundtrip via items when accessing item label (stored in kSecAttrLabel) | 2020-12-04 | 1 | -4/+3 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Keychain: Remove unnecessary cast to String in Keychain queries | 2020-12-04 | 1 | -23/+23 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: Remove WireGuardKit.swift from Xcode source tree | 2020-12-04 | 1 | -10/+0 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuadKit: Rename WireGuardAdapter.version -> .backendVersion & remove `var wireGuardVersion` with WireGuardKit.swift | 2020-12-04 | 2 | -9/+1 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: Add back the wireguard-go version extraction script and use WIREGUARD_GO_VERSION directly | 2020-12-04 | 5 | -8/+86 | ||
| | | | | | | Avoids linking against libwg-go.a in order to access the WireGuard backend version. Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: Include headers from WireGuardKitC | 2020-12-04 | 2 | -2/+5 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: integrate WireGuardKit sources directly | 2020-12-03 | 27 | -85/+188 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Remove Sources/ in project folder names | 2020-12-03 | 1 | -6/+9 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Rename WireGuardKitSwift -> WireGuardKit | 2020-12-03 | 14 | -2/+2 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Linter: Fix all linter issues across the codebase | 2020-12-03 | 12 | -42/+48 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: Fix build working dir for go-bridge targets | 2020-12-03 | 1 | -2/+2 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardNetworkExtension: Remove wireguard.h from bridging header | 2020-12-03 | 1 | -1/+0 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Fix paths pointing to xcconfigs | 2020-12-03 | 2 | -4/+4 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Add wireguard-go files to exclude list to eliminate SwiftPM warnings | 2020-12-03 | 1 | -0/+7 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Set publicHeadersPath = "." to flatten public headers structure | 2020-12-03 | 3 | -4/+6 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Fix module map for WireGuardKitC | 2020-12-03 | 1 | -1/+1 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Fix import statements | 2020-12-03 | 3 | -3/+3 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Move all source files to `Sources/` and rename WireGuardKit targets | 2020-12-03 | 209 | -58/+54 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Assert that resolutionResults must not contain failures | 2020-12-03 | 1 | -1/+1 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Only assign self.settingsGenerator upon success to set tunnel network settings to avoid inconsistent state | 2020-12-03 | 1 | -1/+5 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Remove handleLogLine from WireGuardAdapter | 2020-12-03 | 1 | -22/+9 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Remove isStarted: bool from WireGuardAdapter | 2020-12-03 | 1 | -17/+6 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Fix docs for WireGuardAdapterError | 2020-12-03 | 1 | -5/+5 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Fix docs for WireGuardLogLevel | 2020-12-03 | 1 | -2/+1 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Pass logHandler via constructor | 2020-12-03 | 2 | -31/+15 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Packet tunnel: Remove last error in the completion handler given to adapter.stop | 2020-12-03 | 1 | -2/+2 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Rename cannotLocateSocketDescriptor -> cannotLocateTunnelFileDescriptor in WireGuardAdapterError | 2020-12-03 | 2 | -5/+5 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: Switch WireGuardKit to master branch | 2020-12-03 | 3 | -5/+3 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Add TODO to log the error coming from `withReresolvedIP` | 2020-12-03 | 1 | -0/+1 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Change getWireGuardVersion() -> wireGuardVersion | 2020-12-03 | 4 | -5/+4 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Update README | 2020-12-03 | 1 | -0/+48 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Packet tunnel: Implement packet tunnel provider using WireGuardAdapter | 2020-12-02 | 1 | -140/+81 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Add WireGuardAdapter | 2020-12-02 | 6 | -114/+556 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Add wrappers for PrivateKey, PublicKey, PreSharedKey | 2020-12-02 | 21 | -220/+176 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | iOS/macOS: Remove "Extract wireguard-go version" build phase | 2020-12-02 | 1 | -40/+0 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | iOS/macOS: Remove main bundle apps dependence on WireGuardgoBridge. | 2020-12-02 | 1 | -13/+0 | ||
| | | | | | | Main bundle apps do not have to depend on WireGuardGoBridge<PLATFORM> as they depend on network extnesions which in turn depend on WireGuardGoBridge<PLATFORM>. Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | iOS/macOS: Integrate WireGuardKit | 2020-12-02 | 25 | -163/+122 | ||
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> |