Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | WireGuardKit: Conditionally turn on/off wireguard-go | Andrej Mihajlov | 2020-12-11 | 3 | -106/+213 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardGoKit: drop support for armv7 | Jason A. Donenfeld | 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 | Jason A. Donenfeld | 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 | Jason A. Donenfeld | 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 | Jason A. Donenfeld | 2020-12-09 | 2 | -39/+13 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | global: bump year in header | Jason A. Donenfeld | 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 | Andrej Mihajlov | 2020-12-04 | 1 | -16/+0 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Delegate IPv*Address initialization to self.init | Andrej Mihajlov | 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 | Andrej Mihajlov | 2020-12-04 | 3 | -40/+2 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Log XLAT resolution errors | Andrej Mihajlov | 2020-12-04 | 2 | -5/+20 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: Disable SWIFT_PRECOMPILE_BRIDGING_HEADER | Andrej Mihajlov | 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 | Andrej Mihajlov | 2020-12-04 | 1 | -2/+2 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Update checkout path in README | Andrej Mihajlov | 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) | Andrej Mihajlov | 2020-12-04 | 1 | -4/+3 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Keychain: Remove unnecessary cast to String in Keychain queries | Andrej Mihajlov | 2020-12-04 | 1 | -23/+23 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: Remove WireGuardKit.swift from Xcode source tree | Andrej Mihajlov | 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 | Andrej Mihajlov | 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 | Andrej Mihajlov | 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 | Andrej Mihajlov | 2020-12-04 | 2 | -2/+5 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: integrate WireGuardKit sources directly | Andrej Mihajlov | 2020-12-03 | 27 | -85/+188 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Remove Sources/ in project folder names | Andrej Mihajlov | 2020-12-03 | 1 | -6/+9 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Rename WireGuardKitSwift -> WireGuardKit | Andrej Mihajlov | 2020-12-03 | 14 | -2/+2 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Linter: Fix all linter issues across the codebase | Andrej Mihajlov | 2020-12-03 | 12 | -42/+48 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: Fix build working dir for go-bridge targets | Andrej Mihajlov | 2020-12-03 | 1 | -2/+2 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardNetworkExtension: Remove wireguard.h from bridging header | Andrej Mihajlov | 2020-12-03 | 1 | -1/+0 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Fix paths pointing to xcconfigs | Andrej Mihajlov | 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 | Andrej Mihajlov | 2020-12-03 | 1 | -0/+7 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Set publicHeadersPath = "." to flatten public headers structure | Andrej Mihajlov | 2020-12-03 | 3 | -4/+6 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Fix module map for WireGuardKitC | Andrej Mihajlov | 2020-12-03 | 1 | -1/+1 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Fix import statements | Andrej Mihajlov | 2020-12-03 | 3 | -3/+3 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Move all source files to `Sources/` and rename WireGuardKit targets | Andrej Mihajlov | 2020-12-03 | 209 | -58/+54 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Assert that resolutionResults must not contain failures | Andrej Mihajlov | 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 | Andrej Mihajlov | 2020-12-03 | 1 | -1/+5 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Remove handleLogLine from WireGuardAdapter | Andrej Mihajlov | 2020-12-03 | 1 | -22/+9 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Remove isStarted: bool from WireGuardAdapter | Andrej Mihajlov | 2020-12-03 | 1 | -17/+6 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Fix docs for WireGuardAdapterError | Andrej Mihajlov | 2020-12-03 | 1 | -5/+5 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Fix docs for WireGuardLogLevel | Andrej Mihajlov | 2020-12-03 | 1 | -2/+1 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Pass logHandler via constructor | Andrej Mihajlov | 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 | Andrej Mihajlov | 2020-12-03 | 1 | -2/+2 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Rename cannotLocateSocketDescriptor -> cannotLocateTunnelFileDescriptor in WireGuardAdapterError | Andrej Mihajlov | 2020-12-03 | 2 | -5/+5 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardApp: Switch WireGuardKit to master branch | Andrej Mihajlov | 2020-12-03 | 3 | -5/+3 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Add TODO to log the error coming from `withReresolvedIP` | Andrej Mihajlov | 2020-12-03 | 1 | -0/+1 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Change getWireGuardVersion() -> wireGuardVersion | Andrej Mihajlov | 2020-12-03 | 4 | -5/+4 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Update README | Andrej Mihajlov | 2020-12-03 | 1 | -0/+48 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | Packet tunnel: Implement packet tunnel provider using WireGuardAdapter | Andrej Mihajlov | 2020-12-02 | 1 | -140/+81 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Add WireGuardAdapter | Andrej Mihajlov | 2020-12-02 | 6 | -114/+556 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | WireGuardKit: Add wrappers for PrivateKey, PublicKey, PreSharedKey | Andrej Mihajlov | 2020-12-02 | 21 | -220/+176 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | iOS/macOS: Remove "Extract wireguard-go version" build phase | Andrej Mihajlov | 2020-12-02 | 1 | -40/+0 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> | |||||
* | iOS/macOS: Remove main bundle apps dependence on WireGuardgoBridge. | Andrej Mihajlov | 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 | Andrej Mihajlov | 2020-12-02 | 25 | -163/+122 | |
| | | | | Signed-off-by: Andrej Mihajlov <and@mullvad.net> |