Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace NSLog with os_log. | Jeroen Leenarts | 2018-08-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Cleanup config extraction. | Jeroen Leenarts | 2018-08-28 | 1 | -6/+4 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Move connection logic into seperate function. | Jeroen Leenarts | 2018-08-28 | 1 | -43/+46 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Extract log config to a function and base log level on wg level. | Jeroen Leenarts | 2018-08-28 | 1 | -7/+21 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Make wgContext lazy. | Jeroen Leenarts | 2018-08-28 | 1 | -2/+3 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Initial merge of rc's work. | Jeroen Leenarts | 2018-08-27 | 5 | -265/+164 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Select correct IP version identifier based on packet contents. | Jeroen Leenarts | 2018-08-27 | 1 | -2/+12 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Add autorelease pool markers in Go callback functions. | Jeroen Leenarts | 2018-08-23 | 1 | -47/+53 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Use first peer's endpoint as the tunnel remote address. | Jeroen Leenarts | 2018-08-17 | 1 | -4/+3 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Use `commaSeparatedToArray` utility everywhere. | Jeroen Leenarts | 2018-08-16 | 1 | -5/+3 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Calculate and apply CIDR. | Jeroen Leenarts | 2018-08-16 | 1 | -20/+23 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Apply endpoint config to routes. | Jeroen Leenarts | 2018-08-15 | 1 | -4/+16 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Make sure the reference is not nil to packet flow. Thanks go out to "The Eskimo". | Jeroen Leenarts | 2018-08-14 | 3 | -3/+11 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Use config key for DNS config setting. | Jeroen Leenarts | 2018-08-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Do all packet reading from dispatch queue. | Jeroen Leenarts | 2018-08-13 | 3 | -15/+52 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Do not set MTU if none available or zero. | Jeroen Leenarts | 2018-08-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | bridge: don't put on another thread | Jason A. Donenfeld | 2018-08-12 | 1 | -11/+10 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Config tweaking. | Jeroen Leenarts | 2018-08-12 | 1 | -14/+21 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Universal logging. | Jeroen Leenarts | 2018-08-12 | 1 | -1/+7 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Do not read from packetFlow when tunnel is not yet fully initialized and configured. | Jeroen Leenarts | 2018-08-12 | 2 | -0/+11 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Add back addresses. | Jeroen Leenarts | 2018-08-12 | 1 | -2/+7 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Switch from using a single VPN manager to a VPN manager per configuration. | Jeroen Leenarts | 2018-08-08 | 1 | -4/+5 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Add provider configuration generation. | Jeroen Leenarts | 2018-08-06 | 1 | -6/+0 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Call read packets on background queue to allow waiting for signal. | Jeroen Leenarts | 2018-08-05 | 1 | -6/+7 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | A handle of zero is also correct. | Jeroen Leenarts | 2018-08-05 | 1 | -1/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Set a tunnel (routing) configuration. Still very rough. | Jeroen Leenarts | 2018-08-05 | 1 | -1/+20 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Clean up do_read. | Jeroen Leenarts | 2018-08-05 | 1 | -4/+9 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Dump and expose WireGuard Go version info. | Jeroen Leenarts | 2018-08-05 | 2 | -0/+7 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Fix entitlement. | Jeroen Leenarts | 2018-08-04 | 1 | -0/+4 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Make sure logs are visible. | Jeroen Leenarts | 2018-08-04 | 1 | -1/+1 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Finish trampoline code. | Jeroen Leenarts | 2018-08-03 | 4 | -37/+78 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Change copyright notice. | Jeroen Leenarts | 2018-07-15 | 4 | -4/+4 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Start wire-up of logging and tunnel system. | Jeroen Leenarts | 2018-07-07 | 3 | -5/+67 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Fix bizarre name | Jason A. Donenfeld | 2018-06-23 | 1 | -2/+2 |
| | | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Finish casing fix from Wireguard to WireGuard | Eli Young | 2018-06-22 | 3 | -3/+3 |
| | | | | | | | | | | | This also removes from the project various duplicate file entries that differed only in casing. Note that, if working with a case-insensitive filesystem (as are generally used on macOS systems), it is recommended to destroy the affected files in the working tree and check them out again. Failure to do this will result in XCode recreating duplicate file entries in the project. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | Objective-C wrapper around WireguardGo. | Jeroen Leenarts | 2018-06-22 | 6 | -0/+160 |
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |