Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Tidy up str to gostr conversion | Jason A. Donenfeld | 2018-12-13 | 1 | -16/+8 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Rewrite Logger | Jason A. Donenfeld | 2018-12-13 | 1 | -23/+4 | |
| | | | | | | | This reverts all of Roop's changes to the C code, and then rewrites the logger logic to be cleaner. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Logging: Write versions from both app and extension | Roopesh Chander | 2018-12-13 | 1 | -17/+2 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Logging: Use ringlogger for logging from the extension | Roopesh Chander | 2018-12-13 | 2 | -39/+3 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Avoid using 'VPN' in code where possible | Roopesh Chander | 2018-12-13 | 1 | -1/+1 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Remove useless whitespace | Jason A. Donenfeld | 2018-12-13 | 1 | -9/+9 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | More formatting nits and cyclomatic complexity fixes | Eric Kuck | 2018-12-12 | 3 | -98/+62 | |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
* | More linter warnings fixed, enabled more swiftlint rules, project cleanup | Eric Kuck | 2018-12-12 | 4 | -26/+31 | |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
* | Tons more swiftlint warnings fixed. Still a few remaining. | Eric Kuck | 2018-12-12 | 4 | -35/+32 | |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
* | Added swiftlint and fixed all errors (and a bunch, but not all, warnings) | Eric Kuck | 2018-12-12 | 4 | -21/+21 | |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
* | Supply missing pieces of path change | Jason A. Donenfeld | 2018-12-12 | 2 | -10/+12 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Fixed a potential race condition, better naming on PacketTunnelSettingsGenerator methods | Eric Kuck | 2018-12-11 | 2 | -18/+24 | |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
* | Added an (unfinished) NWPathMonitor implementation for reconnecting on network changes | Eric Kuck | 2018-12-11 | 2 | -1/+39 | |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
* | PacketTunnelProvider: Show log timestamp | Jason A. Donenfeld | 2018-12-07 | 1 | -14/+3 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Plist: Handle crypto export | Jason A. Donenfeld | 2018-12-07 | 1 | -0/+2 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | NE: Logging: Log file should begin with version numbers and tunnel name | Roopesh Chander | 2018-12-07 | 2 | -0/+16 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | NE: Logging: Make it clear which calls to wg_log use String and which use StaticString | Roopesh Chander | 2018-12-04 | 1 | -11/+11 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | NE: Write log to file | Roopesh Chander | 2018-11-30 | 1 | -10/+79 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Info.plist: Add app group id for accessing from both the app and the network extension | Roopesh Chander | 2018-11-29 | 1 | -0/+2 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Xcode: Add app groups capability | Roopesh Chander | 2018-11-29 | 1 | -0/+4 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | NE: All DNS queries must first go through the VPN's DNS servers | Roopesh Chander | 2018-11-23 | 1 | -1/+3 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | NE: Minor refactoring to enable calling startTunnel() with a tunnelConfiguration | Roopesh Chander | 2018-11-09 | 1 | -1/+6 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | NE: When there's an error starting the tunnel, show it to the user using displayMessage() | Roopesh Chander | 2018-11-09 | 2 | -1/+30 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Move logic to extension: Bring up the tunnel from the stored providerConfiguration | Roopesh Chander | 2018-11-08 | 1 | -77/+33 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | DNSResolver: Simplify | Roopesh Chander | 2018-11-08 | 1 | -28/+6 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | DNSResolver: Let's not cache DNS resolution results anymore | Roopesh Chander | 2018-11-08 | 1 | -17/+9 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | DNSResolver: DNS resolution can now happen synchronously | Roopesh Chander | 2018-11-08 | 1 | -18/+23 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Move logic to extension: Refactor PacketTunnelOptionsGenerator into a PacketTunnelSettingsGenerator | Roopesh Chander | 2018-11-08 | 1 | -38/+63 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Move logic to extension: Move DNSResolver to extension | Roopesh Chander | 2018-11-08 | 1 | -0/+158 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Move logic to extension: Move PacketTunnelOptionsGenerator to the extension | Roopesh Chander | 2018-11-08 | 1 | -0/+178 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | PacketTunnelProvider: modernize header | Jason A. Donenfeld | 2018-11-06 | 1 | -3/+2 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | wireguard-go-bridge: take fd instead of fnptr | Jason A. Donenfeld | 2018-11-06 | 1 | -95/+11 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | PacketTunnelProvider: clamp v6 addresses to /120 | Jason A. Donenfeld | 2018-11-05 | 1 | -1/+7 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | XCode: use old network extension ID0.0.20181104-1 | Jason A. Donenfeld | 2018-11-04 | 1 | -9/+0 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | XCode: unify version strings | Jason A. Donenfeld | 2018-11-04 | 1 | -2/+2 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Global: no periods at the end of error messages | Jason A. Donenfeld | 2018-11-03 | 1 | -2/+2 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | NetworkExtension: check isTunnelClosed before packet existence | Jason A. Donenfeld | 2018-11-01 | 1 | -2/+2 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Global: fix up strings | Jason A. Donenfeld | 2018-11-01 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | NE: Show an alert when someone tries to start the VPN from iOS Settings | Roopesh Chander | 2018-11-01 | 1 | -2/+5 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | wireguard-go-bridge: extract version for consumption by network extension | Jason A. Donenfeld | 2018-10-31 | 1 | -5/+1 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | wireguard-go-bridge: simplify logging and remove tags | Jason A. Donenfeld | 2018-10-31 | 1 | -3/+2 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | NetworkExtension: close context before turning off go | Jason A. Donenfeld | 2018-10-31 | 1 | -1/+1 | |
| | | | | | | | | The go turnOff code waits for all readers to have completed. In order to make readers complete, we must send the signal to unblock the request. Thus, we must reorder these. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | NE: Print error when unable to start the tunnel | Roopesh Chander | 2018-10-30 | 1 | -1/+4 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Global: fix up captialization in headers | Jason A. Donenfeld | 2018-10-30 | 2 | -2/+2 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | XCode: fall back to default settings | Jason A. Donenfeld | 2018-10-30 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | VPN: Bring up the tunnel | Roopesh Chander | 2018-10-27 | 1 | -69/+74 | |
| | | | | | | | | | | The app figures out all settings and passes them in the 'options' parameter of startTunnel(). The network extension just takes them as is and just plugs the supplied values into the right places. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | NE: Add bridging header | Roopesh Chander | 2018-10-27 | 1 | -2/+1 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | NE: Remove entitlements we don't need for now | Roopesh Chander | 2018-10-27 | 1 | -8/+0 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Prepare for rewrite: Move WireGuardNetworkExtension into the new project folder | Roopesh Chander | 2018-10-27 | 5 | -0/+311 | |
Signed-off-by: Roopesh Chander <roop@roopc.net> |