Commit Graph

110 Commits

Author SHA1 Message Date
Jeroen Leenarts 562433468b Fix provisioning. 2018-09-15 20:26:17 +02:00
Jason A. Donenfeld 34bea16e06 Let XCode mess with stuff 2018-09-15 16:13:50 +02:00
Jason A. Donenfeld 55c0242e84 Update bundle names 2018-09-15 02:22:10 +02:00
Jason A. Donenfeld 979f47fef3 Remove testing id 2018-09-15 01:33:48 +02:00
Jason A. Donenfeld a23c120b32 Set correct team 2018-09-15 01:32:41 +02:00
Jeroen Leenarts 4be76c16e2 Add note about availability of Go. 2018-09-13 23:36:48 +02:00
Jeroen Leenarts 6c49e9151a Switch copyright assignment from Jason to WireGuard LLC. 2018-09-06 07:42:23 +02:00
Jeroen Leenarts 2cd96f3105 Working zip import. 2018-09-05 20:25:54 +02:00
Jeroen Leenarts 989117a14c Remove item from provider managers on delete. 2018-09-05 20:25:32 +02:00
Jeroen Leenarts 676bf6c312 Make sure to refresh provider managers after saving. 2018-09-05 20:10:09 +02:00
Jeroen Leenarts dd899fa63d Import of zip. 2018-09-03 00:08:34 +02:00
Jeroen Leenarts 273f30d882 Lazy WGContext made connection unstable. 2018-09-02 23:23:30 +02:00
Jeroen Leenarts ca35168dc9 Zip export. 2018-09-02 22:47:41 +02:00
Jeroen Leenarts 815f12c9a3 Add import and export logic. 2018-09-01 00:18:12 +02:00
Jeroen Leenarts fc70a92800 Add addresses, dns and mtu to export string. 2018-08-31 21:40:24 +02:00
Jason A. Donenfeld 14e7391cce wireguard-go-bridge: include header for free function 2018-08-31 10:29:27 -06:00
Jeroen Leenarts 9af7ceac2e Add string conversion for tunnel config. 2018-08-29 15:01:59 +02:00
Jeroen Leenarts 0eb10bbf41 Replace NSLog with os_log. 2018-08-28 14:05:34 +02:00
Jeroen Leenarts 2261e3a9ad Cleanup config extraction. 2018-08-28 14:05:19 +02:00
Jeroen Leenarts 56eed12020 Move connection logic into seperate function. 2018-08-28 14:04:38 +02:00
Jeroen Leenarts a9fe3a3b87 Extract log config to a function and base log level on wg level. 2018-08-28 14:03:53 +02:00
Jeroen Leenarts 91040774a8 Make wgContext lazy. 2018-08-28 14:02:59 +02:00
Jeroen Leenarts 217b632ccb Initial merge of rc's work. 2018-08-27 22:32:47 +02:00
Jeroen Leenarts b730dcf6c0 Select correct IP version identifier based on packet contents. 2018-08-27 13:52:02 +02:00
Jeroen Leenarts acb7caa1f8 Move, modify and add key generation functions to project. 2018-08-27 13:38:50 +02:00
Jason A. Donenfeld 65f5efd6aa wireguard-go-bridge: free C strings
Reported-by: Anders Bergh <anders1@gmail.com>
2018-08-26 21:11:39 -06:00
Jeroen Leenarts 43b7b55cc1 Add autorelease pool markers in Go callback functions. 2018-08-23 09:17:04 +02:00
Eric Kuck dc5a99e0a3 Reworked main tableview switch layout & logic 2018-08-22 13:34:08 -05:00
Jason A. Donenfeld 6ccf19cf80 Import 25519 functions, to be reorganized later 2018-08-21 16:14:17 -07:00
Jeroen Leenarts 2c22d99d4d Use a Switch on each tunnel cell. 2018-08-21 22:27:44 +02:00
Jeroen Leenarts 5728a525c7 Line selection configures the tunnel. 2018-08-21 20:04:14 +02:00
Eric Kuck 5ef1656102 Added ability to add tunnels with a QR code scan. Logic in place to parse conf files as well. 2018-08-21 11:00:41 -05:00
Jeroen Leenarts 798b2fed66 Use first peer's endpoint as the tunnel remote address. 2018-08-17 22:07:01 +02:00
Jeroen Leenarts 93e2264751 Extend validators to work for DNS entries as well. 2018-08-16 22:41:45 +02:00
Jeroen Leenarts 5363be2403 Use `commaSeparatedToArray` utility everywhere. 2018-08-16 22:39:08 +02:00
Jeroen Leenarts 792301e50e If the selected tunnel is not "enabled", make it enabled. 2018-08-16 22:05:22 +02:00
Jeroen Leenarts 11b43206ff Add on demand rule. 2018-08-16 22:04:35 +02:00
Jeroen Leenarts 6b57ca0d98 Do not perform optional try, this ate errors in the addressess and DNS input. 2018-08-16 22:03:40 +02:00
Jeroen Leenarts 5fd6d91b3a Disable warning for function body length. 2018-08-16 21:46:54 +02:00
Jeroen Leenarts 35d88eff60 Calculate and apply CIDR. 2018-08-16 21:26:24 +02:00
Eric Kuck 475b6abb5b Added validation before saving any tunnels
Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
2018-08-15 17:34:16 -05:00
Jeroen Leenarts 4a31ab611e Apply endpoint config to routes. 2018-08-15 22:57:40 +02:00
Jeroen Leenarts 29879c7f0e Improve validator for IPv6. 2018-08-15 22:52:37 +02:00
Jeroen Leenarts bd27798ab9 Assign correct copyright. 2018-08-15 20:38:56 +02:00
Jeroen Leenarts fc1d20e70f Add Validator for Endpoints. 2018-08-15 20:35:21 +02:00
Jeroen Leenarts d6fcc10bd9 Remove old import. 2018-08-15 19:41:19 +02:00
Jeroen Leenarts 60a8274727 Remove unused pods. 2018-08-15 08:35:54 +02:00
Jeroen Leenarts f590c7ad3e Make sure the reference is not nil to packet flow. Thanks go out to "The Eskimo". 2018-08-14 21:40:20 +02:00
Jeroen Leenarts 013a75eda6 Use config key for DNS config setting. 2018-08-13 13:49:14 +02:00
Jeroen Leenarts 8e521b2b8f Do all packet reading from dispatch queue. 2018-08-13 13:48:08 +02:00