Commit Graph

37 Commits

Author SHA1 Message Date
Jeroen Leenarts ae1af569d6 Remove a few prints, add some whitespace. 2018-10-02 22:36:39 +02:00
Jeroen Leenarts 41e0459521 Don't crash on failure to obtain version info and inform user on what is needed to be able to retrieve version info from the Go client. 2018-10-01 15:37:15 +02:00
Jeroen Leenarts 406d72d8d9 Use message to extension to obtain version info. 2018-09-26 11:26:52 +02:00
Jeroen Leenarts 9cb4d0f50e Fix function length warning. 2018-09-26 11:22:54 +02:00
Jason A. Donenfeld 631bdb7eb4 Keep tabs on memory usage 2018-09-25 02:50:03 +02:00
Jason A. Donenfeld fcd5923cbc Prevent signal and wait from racing 2018-09-24 03:15:21 +02:00
Jason A. Donenfeld 809cb2ef78 PacketTunnelProvider: fix locking logic 2018-09-22 04:13:02 +02:00
Jeroen Leenarts 2cd52ebd7a Change network prefix length for excluded routes to 128. 2018-09-18 22:53:00 +02:00
Jeroen Leenarts 7f9d9d4509 Add settings screen. Move export as zip to settings screen. 2018-09-18 21:49:59 +02:00
Jeroen Leenarts ffd392a526 Small comment layout tweak. 2018-09-16 22:43:40 +02:00
Jeroen Leenarts 65bf6d807d Clean up old school headers. 2018-09-16 21:17:54 +02:00
Jeroen Leenarts 6c49e9151a Switch copyright assignment from Jason to WireGuard LLC. 2018-09-06 07:42:23 +02:00
Jeroen Leenarts 273f30d882 Lazy WGContext made connection unstable. 2018-09-02 23:23:30 +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 798b2fed66 Use first peer's endpoint as the tunnel remote address. 2018-08-17 22:07:01 +02:00
Jeroen Leenarts 5363be2403 Use `commaSeparatedToArray` utility everywhere. 2018-08-16 22:39:08 +02:00
Jeroen Leenarts 35d88eff60 Calculate and apply CIDR. 2018-08-16 21:26:24 +02:00
Jeroen Leenarts 4a31ab611e Apply endpoint config to routes. 2018-08-15 22:57:40 +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
Jeroen Leenarts ec4bc66094 Do not set MTU if none available or zero. 2018-08-13 13:46:56 +02:00
Jeroen Leenarts 6d977e13b2 Config tweaking. 2018-08-12 21:49:38 +02:00
Jeroen Leenarts 9ce5fccbd3 Add back addresses. 2018-08-12 21:37:56 +02:00
Jeroen Leenarts 126ea25ef1 Switch from using a single VPN manager to a VPN manager per configuration. 2018-08-08 07:04:42 +02:00
Jeroen Leenarts a6b2f2edca Add provider configuration generation. 2018-08-06 09:04:29 +02:00
Jeroen Leenarts e6d7dfb92c Set a tunnel (routing) configuration. Still very rough. 2018-08-05 22:58:48 +02:00
Jeroen Leenarts bb81c14656 Finish trampoline code. 2018-08-03 22:24:41 +02:00
Jeroen Leenarts 0f1aa701df Change copyright notice. 2018-07-15 11:55:41 +02:00
Jeroen Leenarts 6344f3d25f Start wire-up of logging and tunnel system. 2018-07-07 22:54:44 +02:00
Eli Young 3da6c5a54c 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.
2018-06-22 13:50:16 -07:00
Jeroen Leenarts bb1e05f9db Objective-C wrapper around WireguardGo. 2018-06-22 08:23:39 +02:00