Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Logging: Use ringlogger for logging from the app | Roopesh Chander | 2018-12-13 | 1 | -1/+1 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Logging: ringlogger.c: Trim trailing newlines | Roopesh Chander | 2018-12-13 | 1 | -0/+7 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Logging: Use ringlogger for logging from the extension | Roopesh Chander | 2018-12-13 | 4 | -19/+80 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Commit untested ringlogger code | Jason A. Donenfeld | 2018-12-13 | 2 | -0/+139 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | More formatting nits and cyclomatic complexity fixes | Eric Kuck | 2018-12-12 | 2 | -6/+4 | |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
* | More linter warnings fixed, enabled more swiftlint rules, project cleanup | Eric Kuck | 2018-12-12 | 1 | -1/+1 | |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
* | Tons more swiftlint warnings fixed. Still a few remaining. | Eric Kuck | 2018-12-12 | 1 | -7/+7 | |
| | | | | 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 | 5 | -18/+26 | |
| | | | | Signed-off-by: Eric Kuck <eric@bluelinelabs.com> | |||||
* | Model: Declare keyLength constant and use that wherever applicable | Roopesh Chander | 2018-12-09 | 1 | -3/+6 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Make strings consistent | Jason A. Donenfeld | 2018-12-07 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||||
* | Refactoring: Consolidate file deletion into a separate function | Roopesh Chander | 2018-12-07 | 1 | -0/+10 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | NE: Write log to file | Roopesh Chander | 2018-11-30 | 1 | -0/+19 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Model, Tunnels manager: Rewrite the model for VPN-on-demand | Roopesh Chander | 2018-11-12 | 3 | -88/+2 | |
| | | | | | | | | | The VPN-on-demand settings should not be part of the tunnel configuration. Rather, the onDemandRules stored in the tunnel provider configuration serve as the one place where the VPN-on-demand settings are stored. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Model: Add activationType to tunnel configuration | Roopesh Chander | 2018-11-11 | 3 | -19/+25 | |
| | | | | | | | | | We make sure existing tunnel serializations can be deserialized correctly. We also bump up the tunnelConfigurationVersion, because the tunnel configuration contents have changed. Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Model: ActivityType enum to represent VPN-on-demand options | Roopesh Chander | 2018-11-10 | 1 | -0/+66 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Model: TunnelConfiguration: Add explicit conformance to Decodable | Roopesh Chander | 2018-11-10 | 1 | -1/+15 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Model: Ensure that a TunnelConfiguration always has a valid array of peers | Roopesh Chander | 2018-11-10 | 1 | -2/+9 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Remove unused file PacketTunnelOptionKey.swift | Roopesh Chander | 2018-11-08 | 1 | -30/+0 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Model: Endpoint.hostname() | Roopesh Chander | 2018-11-08 | 1 | -0/+11 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Move logic to extension: NETunnelProviderProtocol extension code should be shared | Roopesh Chander | 2018-11-08 | 1 | -0/+35 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Model: Move InterfaceConfiguration.publicKey to Curve25519.swift | Roopesh Chander | 2018-11-08 | 1 | -4/+0 | |
| | | | | | | The code for public key calculation need not be shared with the extension Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Move logic to extension: Move model files to Shared | Roopesh Chander | 2018-11-08 | 4 | -0/+287 | |
| | | | | Signed-off-by: Roopesh Chander <roop@roopc.net> | |||||
* | Global: fix up captialization in headers | 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 | -0/+30 | |
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> |