Commit Graph

13 Commits

Author SHA1 Message Date
Jeroen Leenarts bacf61d153 Call read packets on background queue to allow waiting for signal.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-05 22:59:34 +02:00
Jeroen Leenarts 17d4460df0 A handle of zero is also correct.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-05 22:59:01 +02:00
Jeroen Leenarts ed18f66a6f Set a tunnel (routing) configuration. Still very rough.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-05 22:58:48 +02:00
Jeroen Leenarts b6d8219244 Clean up do_read.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-05 16:02:45 +02:00
Jeroen Leenarts 6cfab94713 Dump and expose WireGuard Go version info.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-05 08:07:04 +02:00
Jeroen Leenarts 40836c2150 Fix entitlement.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-04 22:48:51 +02:00
Jeroen Leenarts 660d5918ff Make sure logs are visible.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-04 22:47:50 +02:00
Jeroen Leenarts efe177605e Finish trampoline code.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-03 22:24:41 +02:00
Jeroen Leenarts f3bccfb5cc Change copyright notice.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-15 11:55:41 +02:00
Jeroen Leenarts b7cf84b7fa Start wire-up of logging and tunnel system.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-07 22:54:44 +02:00
Jason A. Donenfeld 5fa1283466 Fix bizarre name
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-23 02:15:43 +02:00
Eli Young 86fa8e7186 Finish casing fix from Wireguard to WireGuard
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>
2018-06-22 13:50:16 -07:00
Jeroen Leenarts f30f0d1a7b Objective-C wrapper around WireguardGo.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-22 08:23:39 +02:00