Commit Graph

69 Commits

Author SHA1 Message Date
Sergey Abramchuk
f3381f898d Merge branch 'develop' into feature/documentation
* develop:
  Update method signatures that have error objects
2018-02-02 11:43:53 +03:00
Sergey Abramchuk
82a42eddc3 Update method signatures that have error objects 2018-02-02 11:40:53 +03:00
Jonathan Downing
03029d73ca Resolve issue where fatal flag is hard coded to YES (#46) 2018-02-02 10:08:30 +03:00
Sergey Abramchuk
e4f7152cba Refactor generation of OpenVPN adapter errors 2018-01-17 16:49:44 +03:00
Sergey Abramchuk
96d2ab1850 Refactor implementation of OpenVPNAdapter class 2018-01-17 14:01:09 +03:00
Sergey Abramchuk
f7678976c5 Rename OpenVPNPacketFlow to OpenVPNPacketFlowBridge 2017-10-28 13:12:25 +03:00
Sergey Abramchuk
542d449f91 Light refactoring: line breaking and classes/vars renaming 2017-10-28 12:56:23 +03:00
Sergey Abramchuk
8a0c88cd8d Initialize packet flow adapter inside completion handler 2017-10-28 12:34:22 +03:00
Sergey Abramchuk
21e5b5be4d Fix order of import statements 2017-10-28 10:55:37 +03:00
Jonathan Downing
f5c85fcb12 Add OpenVPNNetworkSettingsBuilder
Add OpenVPNPacketFlowAdapter
2017-10-12 13:50:30 +01:00
Jonathan Downing
3bb4ff773a Add Spacing to Interface Declarations 2017-10-11 19:27:42 +01:00
Jonathan Downing
1e48a38de0 Use NEProxySettings 2017-10-11 19:25:01 +01:00
Jonathan Downing
d1456adf85 Refactor OpenVPNAdapter, update tests 2017-10-11 13:39:41 +01:00
Sergey Abramchuk
ae3e8ee0c3 Fix typo 2017-10-05 13:19:36 +03:00
Jonathan Downing
aecdeaf0f1 Change -establishTunnel return type (#25) 2017-09-23 12:36:07 +03:00
Sergey Abramchuk
9932456cda Fix variable names corrupted during incomplete conflict resolving 2017-09-23 12:28:54 +03:00
Jonathan Downing
435663953e FIx spurious static analysis warnings relating to CFSocketRef (#24) 2017-09-23 12:25:35 +03:00
Jonathan Downing
73d593fe4c Reconnection Bugfix Proposal (#20)
* Add proposed fix to reconnection bug

* Utilise tun_builder_teardown method to initiate settings reset

* Move socket teardown code to -teardownTunnel:
2017-09-23 11:46:51 +03:00
Sergey Abramchuk
1d10acb6cf Remove unnecessary nullable keywords from method definitions 2017-09-06 22:35:58 +03:00
Sergey Abramchuk
f966977a95 Rename OpenVPNEvent to OpenVPNAdapterEvent 2017-09-06 22:31:20 +03:00
Sergey Abramchuk
ef90868ac6 Rename connection queue 2017-09-06 22:23:41 +03:00
Sergey Abramchuk
85d1276520 Rename OpenVPNError enum to OpenVPNAdapterError 2017-09-06 22:02:34 +03:00
Sergey Abramchuk
cf678a5f24 Remove contain error reason key and return reasons for all available errors 2017-07-21 14:54:29 +03:00
Sergey Abramchuk
385119f073 Provide even empty error message 2017-07-21 14:31:47 +03:00
Sergey Abramchuk
eaee122fac Distinguish events and errors, and add additional info to the error dictionary 2017-07-21 14:27:29 +03:00
Sergey Abramchuk
95d2ec6d17 Add explicit modifiers to the vpnClient property 2017-07-18 17:27:16 +03:00
Sergey Abramchuk
e745b43d52 Refactor TUN packets reading 2017-07-06 16:16:19 +03:00
Sergey Abramchuk
248585943e Fix broken reader of VPN traffic on iOS 2017-06-23 17:44:59 +03:00
Sergey Abramchuk
700c3aad70 Fix incorrect protocol versions for outgoing packets 2017-06-23 17:14:07 +03:00
Sergey Abramchuk
0714a6d0f6 Return protocol family depending on version 2017-06-22 21:19:19 +03:00
Sergey Abramchuk
6d2de5cb4e Fix incorrect macro 2017-06-22 20:55:34 +03:00
Sergey Abramchuk
76413feea7 Get protocol version from header if a target is macOS 2017-06-22 20:50:23 +03:00
Sergey Abramchuk
b0756eae4c Don't add protocol prefix if a target other than iPhone 2017-06-22 20:02:52 +03:00
Sergey Abramchuk
545098ea0e Use openvpn helper to convert prefix length to subnet and call adapter delegate methods within main queue 2017-06-18 14:21:11 +03:00
Sergey Abramchuk
d2ddcbbd5b Add dots to the event description 2017-06-02 14:50:24 +03:00
Sergey Abramchuk
db8424c620 Provide error reason 2017-06-02 14:26:19 +03:00
Sergey Abramchuk
7e0bf6a2ab Fix missing semicolon 2017-05-20 12:28:55 +03:00
Sergey Abramchuk
37cfcbd0b2 Check for UNSPEC gateway within adapter 2017-05-20 11:21:38 +03:00
Sergey Abramchuk
a753067e64 Increase input and output buffers of connected sockets 2017-05-10 11:36:10 +03:00
Sergey Abramchuk
adb995579e Rename tunnel settings class 2017-05-05 19:02:51 +03:00
Sergey Abramchuk
f7b168e114 Return the methods and configurations related to the tun builder which were removed after merging 2017-05-05 17:50:53 +03:00
Sergey Abramchuk
036e9f9ab4 Call clock_tick method 2017-05-01 13:07:07 +03:00
Sergey Abramchuk
1464cd1ce9 Reconnect vpn client 2017-05-01 12:48:24 +03:00
Sergey Abramchuk
a66c3eed27 Resume vpn client 2017-05-01 12:29:28 +03:00
Sergey Abramchuk
099309c498 Pause vpn client 2017-05-01 12:26:09 +03:00
Sergey Abramchuk
105810082f Call handleLog only if delegate responds to selector 2017-05-01 00:24:27 +03:00
Sergey Abramchuk
1cf30b1175 Return core copyright 2017-04-30 23:56:03 +03:00
Sergey Abramchuk
c05b7215eb Remove expiration class method and convert platform to class property 2017-04-30 23:51:24 +03:00
Sergey Abramchuk
7d9f0abe76 Return expiration and platform 2017-04-30 19:15:41 +03:00
Sergey Abramchuk
a195d65e96 Return session token 2017-04-30 18:25:48 +03:00