Jeroen Leenarts
6707802e60
Update dependencies and remove unused dependencies.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-06 21:33:41 +02:00
Jeroen Leenarts
7a4cbfa609
Remove incorrect core data model fields.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-06 09:04:54 +02:00
Jeroen Leenarts
5697d6e7e2
Add provider configuration generation.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-06 09:04:29 +02:00
Jeroen Leenarts
2a0b84eeb9
Update submodule.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-05 23:00:05 +02:00
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
b2950694d3
Fix binding.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-05 19:05:41 +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
a1a5e73a5d
Add default allowed IPs.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-05 15:58:01 +02:00
Jeroen Leenarts
978296c965
Update steps in READMe.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-05 14:50:01 +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
2307bf25b5
Assign correct copyright.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-05 07:48:36 +02:00
Jeroen Leenarts
54c9305ae4
A server address is required for proper saving of protocol configuration.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-04 22:49:37 +02:00
Jeroen Leenarts
675227bac5
Remove some silly TODOs.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-04 22:49:03 +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
2ae7984629
Add NETunnelProviderManager management to AppCoordinator.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-08-04 21:28:19 +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
241fe5ffd1
Add acknowledgement to derivation from Apple sample code.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-07-15 11:56:24 +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
Eli Young
0fdcb3c77f
Change absolute paths to relative paths
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-22 13:37:36 -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
Jason A. Donenfeld
17529b300b
Generate fat archive
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-13 02:30:12 +02:00
Jason A. Donenfeld
b861590195
Correct archive file extension
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-13 00:35:15 +02:00
Jason A. Donenfeld
2ec6a90044
Build using c-archive instead
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-12 05:19:21 +02:00
Jason A. Donenfeld
831640312c
First stab at Go bridge
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-06-09 04:22:11 +02:00
Jeroen Leenarts
f7cbe841b7
Allow adding and deleting peers.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-29 22:47:52 +02:00
Jeroen Leenarts
db7b24dd02
Allow adding unvalidated config.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-29 22:21:44 +02:00
Jeroen Leenarts
1407090f94
Wire up TunnelConfigurationTableViewController.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-27 22:38:44 +02:00
Jeroen Leenarts
14cb55dd8b
A config having zero peers is allowed.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-27 14:23:36 +02:00
Jeroen Leenarts
49538c412e
We are dealing with not just any tunnel, but with WireGuard tunnels.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-27 14:23:13 +02:00
Jeroen Leenarts
ef67aa7dc4
Deal with final folder name issues due to Apple's case insensitive case preserving behavior.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-27 14:20:15 +02:00
Jeroen Leenarts
e14faf6fea
Add trash can icon.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-26 09:41:19 +02:00
Jeroen Leenarts
ed28691e4c
Some casing trouble in WireGuard strings.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-26 09:41:09 +02:00
Jeroen Leenarts
9154c7702b
Ad some color based on icon theme.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-26 09:20:12 +02:00
Jeroen Leenarts
15e62d7f02
Everything is a tunnel.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-26 09:17:36 +02:00
Jeroen Leenarts
9724073447
Add bare bones ProfileConfigurationTableViewController
.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-24 22:07:04 +02:00
Jeroen Leenarts
e6c6fd0b34
Basic setup of ConnectionsTableViewController.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-24 20:16:17 +02:00
Jeroen Leenarts
d15972d2ce
Fix casing from Wireguard to WireGuard.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-24 20:13:21 +02:00
Jeroen Leenarts
5d3f97133d
Add app icon.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-24 09:03:21 +02:00
Jeroen Leenarts
d2dd61cf0c
Add wg-quick related model properties.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-24 09:02:47 +02:00
Jeroen Leenarts
c5237d5342
Add data model.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-23 22:13:09 +02:00
Jeroen Leenarts
ae73b78935
Initial project setup.
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-23 21:50:42 +02:00
Jason A. Donenfeld
5b6b71c6e8
Initial commit
...
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2018-05-20 15:09:03 +02:00