aboutsummaryrefslogtreecommitdiffstats
path: root/WireGuard/Shared/Model/IPAddressRange.swift (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-20wireguard-go-bridge: styleJason A. Donenfeld1-0/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-11-05README: specify required version in readmeJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-11-05Version bump0.0.20191105-16Jason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-11-05[REVERT ME SOON] TunnelsManager: Workaround for macOS Catalina deleting tunnels arbitrarilyRoopesh Chander1-2/+161
In macOS Catalina, for some users, the tunnels get deleted arbitrarily by the OS. It's not clear what triggers that. As a workaround, in macOS Catalina, when we realize that tunnels have been deleted outside the app, we reinstate those tunnels using the information in the keychain. Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-11-05wireguard-go-bridge: update to 1.13.4Jason A. Donenfeld3-448/+12
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-25UI: iOS: more dark mode fixesJason A. Donenfeld4-10/+36
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-25wireguard-go-bridge: work around Go 1.13.3 regressionJason A. Donenfeld4-10/+449
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-15Revert "NetworkExtension: don't use exit(0) hack on Catalina"Jason A. Donenfeld1-4/+1
This reverts commit 3619279a65d9a506fb13d7f24909b38a5202fa8f. Still broken! Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-15Version bump0.0.20191015-15Jason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-15iOS: UI: Make edit views full screen modalJason A. Donenfeld2-2/+2
This might be worse on the iPad. Oh well. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-15NetworkExtension: don't use exit(0) hack on CatalinaJason A. Donenfeld1-1/+4
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-15UI: iOS: adjust colors for iOS 13Diab Neiroukh9-20/+70
To be compatible with Dark Mode, we need to change some of our color references to be "dynamic". Signed-off-by: Diab Neiroukh <officiallazerl0rd@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-12Version bump0.0.20191012-14Jason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-12iOS: UI: abort is optimized out in release buildsJason A. Donenfeld1-2/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-11Keychain: make verification errors only happen when we're sure it's due to not foundJason A. Donenfeld2-1/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-11ui: add donation linkJason A. Donenfeld3-4/+23
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-08wireguard-go-bridge: reduce version checks and cleanupJason A. Donenfeld3-39/+21
We now rely on -trimpath which restricts us to >= 1.13, and the patch application should fail too. This has the downside that the user will need to clean their xcode project when they upgrade go, though. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-04wireguard-go-bridge: update for 1.13Jason A. Donenfeld6-463/+34
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-28UI: iOS: set CFBundleDisplayName to satisfy new ITMS-90783 errorJason A. Donenfeld1-0/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-28Version bump0.0.20190610-13Jason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-28WgQuickConfig: Swift treats \r\n as a single characterJason A. Donenfeld1-1/+1
let blah = "hello\nworld\ndoes\nthis\nwork" print(blah.split(separator: "\n")) //output: ["hello", "world", "does", "this", "work"] let blah2 = "hello\r\nworld\r\ndoes\r\nthis\r\nwork" print(blah2.split(separator: "\n")) //output: ["hello\r\nworld\r\ndoes\r\nthis\r\nwork"] //expected: ["hello\r", "world\r", "does\r", "this\r", "work\r"] In blah2, the string splitting fails because swift considers \r\n to be its own character. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-28UI: macOS: Show useful error message on .conf importJason A. Donenfeld1-3/+13
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-13iOS: Importing: If tunnelsManager isn't ready yet, we should wait for itRoopesh Chander2-4/+14
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-06-13macOS: Tunnel detail: Handle deletion outside app, againRoopesh Chander1-1/+8
This was previously done in commit f281b93, but the changes in commit 1507a97 for handling deletion of multiple tunnels undid this capability. Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-06-11TunnelsManager: store UID on macOS for keychain availabilityJason A. Donenfeld4-34/+45
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-10Version bump0.0.20190610-12Jason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-10TunnelProvider: remove all clevernessJason A. Donenfeld1-5/+1
This will cause more socket flaps than necessary but hopefully will fix some bugs. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-09on-demand: iOS: Fix crash on selecting Any SSID when already selectedRoopesh Chander1-0/+4
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-06-09on-demand: Don't crash on encountering unexpected on-demand rulesRoopesh Chander1-20/+33
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-06-09macOS: Remove unused stringsRoopesh Chander1-2/+0
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-06-09Version bump0.0.20190609-11Jason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-09macOS: remove store update escape hatchJason A. Donenfeld1-4/+0
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-09TunnelProvider: store the entire NWPathJason A. Donenfeld1-6/+3
Otherwise [utun0, en0] == [en0, utun0] before WiFi has connected, and we wind up not rebinding after WiFi does successfully connect, which means people have trouble when resuming from sleep. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-09README: update repo locationJason A. Donenfeld1-3/+5
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-06Version bump0.0.20190531-10Jason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-06macOS: App menu > Quit shall show a prompt to quit or close windowRoopesh Chander3-3/+35
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-06-04macOS: Save/restore the log window's sizeRoopesh Chander1-0/+4
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-06-04macOS: Log view: Allow resizing horizontallyRoopesh Chander2-20/+34
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-05-31go-bridge: bump versionJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-31Version bump0.0.20190531-9Jason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-31NetworkExtension: bump sockets on path changeJason A. Donenfeld5-12/+34
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-31macOS: Dismiss modals correctlyRoopesh Chander2-9/+12
Previously, the presented vc were leaking when discarding edits or when closing the log view controller. Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-05-31macOS: Update app iconRoopesh Chander11-1/+1
Reduce the size and add a drop shadow Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-05-27iOS: Should be able to re-show tunnel detailRoopesh Chander1-11/+9
Fixes a bug introduced in the refactoring in commit 7322fb084087774e8b58e347902f6d7036cbde5c Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-05-27macOS: Tunnel detail: No need to update runtime info on tunnelSaved()Roopesh Chander1-11/+7
Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-05-27macOS: Start refreshing runtime info in viewWillAppear(), not init()Roopesh Chander1-1/+6
Because when the window is closed and reopened, we should start refreshing runtime info again. Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-05-26macOS: Fix residual menu highlight on reopenRoopesh Chander1-1/+3
If we close the window with Cmd+W or Cmd+Q and then re-launch the app, the main menu shows residual highlight from the close action. This commit fixes that. Signed-off-by: Roopesh Chander <roop@roopc.net>
2019-05-26macOS: do not call out to recent tunnels trackerJason A. Donenfeld1-0/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-26NetworkExtension: apparently the extension process is scoped properly anywayJason A. Donenfeld4-52/+10
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-26NetworkExtension: use excludedRoutes instead of binding on iOSJason A. Donenfeld2-1/+25
The networking stack there is to flaky and the notifier doesn't always fire correctly. Hopefully excludedRoutes works well with XLAT; otherwise we're in trouble. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>