Commit Graph

234 Commits

Author SHA1 Message Date
Sergey Abramchuk 6c729008d7 Test parsing PEM data with incorrect value 2017-09-06 22:59:31 +03:00
Sergey Abramchuk da4abe9ba1 Return error object if parsing finished with failure 2017-09-06 22:58:41 +03:00
Sergey Abramchuk 6c008afc59 Add NSError+Message category to the project 2017-09-06 22:58:00 +03:00
Sergey Abramchuk aa6eb81f97 Convert integer result to error reason 2017-09-06 22:57:35 +03:00
Sergey Abramchuk 1d10acb6cf Remove unnecessary nullable keywords from method definitions 2017-09-06 22:35:58 +03:00
Sergey Abramchuk 7cb7602feb Merge branch 'develop' into feature/convert-certificates
* develop:
  Change project name and header names
  Rename OpenVPNEvent to OpenVPNAdapterEvent
2017-09-06 22:34:49 +03:00
Sergey Abramchuk 9c5831fd9d Change project name and header names 2017-09-06 22:34:32 +03:00
Sergey Abramchuk f966977a95 Rename OpenVPNEvent to OpenVPNAdapterEvent 2017-09-06 22:31:20 +03:00
Sergey Abramchuk 7b4a4c0d8d Merge branch 'develop' into feature/convert-certificates
* develop:
  Rename connection queue
2017-09-06 22:23:52 +03:00
Sergey Abramchuk ef90868ac6 Rename connection queue 2017-09-06 22:23:41 +03:00
Sergey Abramchuk 513da9cad4 Add Utils group to the project 2017-09-06 22:21:04 +03:00
Sergey Abramchuk 3c2040aacd Add error domain for identities 2017-09-06 22:09:57 +03:00
Sergey Abramchuk 637a6729e9 Merge branch 'develop' into feature/convert-certificates
* develop:
  Rename OpenVPNError enum to OpenVPNAdapterError
2017-09-06 22:04:59 +03:00
Sergey Abramchuk 85d1276520 Rename OpenVPNError enum to OpenVPNAdapterError 2017-09-06 22:02:34 +03:00
Sergey Abramchuk 760a5c7b74 Add assign modifier to the crt property 2017-09-06 19:04:03 +03:00
Sergey Abramchuk 5f1343f7f2 Implement parsing certificate DER data 2017-09-06 18:18:36 +03:00
Sergey Abramchuk 062b07a957 Implement parsing certificate PEM data 2017-09-06 18:10:26 +03:00
Sergey Abramchuk 55524d4722 Add OpenVPNCertificate to the public headers 2017-09-06 18:09:44 +03:00
Sergey Abramchuk 002e6287f9 Add OpenVPNCertificate files and their tests to the project 2017-09-06 18:09:13 +03:00
Sergey Abramchuk 23beb936cf Declare OpenVPNCertificate class and its methods for parsing PEM and DER format 2017-09-06 18:07:16 +03:00
Sergey Abramchuk b86e4f57ab Rename test targets 2017-08-28 12:12:14 +03:00
Sergey Abramchuk 693f3ad956 Update project configuration 2017-08-22 09:55:07 +03:00
Sergey Abramchuk bd83611821 Update reachability test 2017-08-22 09:52:58 +03:00
Sergey Abramchuk eea832c876 Add callback argument to start tracking method and hide reachability status changed block 2017-08-22 09:52:43 +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 cfb220b118 Update project configuration 2017-07-18 21:19:48 +03:00
Sergey Abramchuk 93bef62d7f Update reachability test 2017-07-18 21:19:31 +03:00
Sergey Abramchuk e2283bf295 Start/stop tracking asynchronously 2017-07-18 21:19:07 +03:00
Sergey Abramchuk cfa7ec3666 Add isTracking property 2017-07-18 18:09:58 +03:00
Sergey Abramchuk bcfd4ef1d9 Perform start/stop tracking in the main queue 2017-07-18 18:06:27 +03:00
Sergey Abramchuk 3ef3239c08 Merge branch 'feature/reachability' into develop 2017-07-18 17:28:14 +03:00
Sergey Abramchuk 13f4e2305d Update project configuration 2017-07-18 17:27:49 +03:00
Sergey Abramchuk 1126b7f413 Add reachability test 2017-07-18 17:27:32 +03:00
Sergey Abramchuk 95d2ec6d17 Add explicit modifiers to the vpnClient property 2017-07-18 17:27:16 +03:00
Sergey Abramchuk c02376339a Implement internet reachability monitor 2017-07-18 17:26:39 +03:00
Sergey Abramchuk 6edc5e3fe2 Add missing public modifier 2017-07-18 17:25:45 +03:00
Sergey Abramchuk 79da4b7571 Update project configuration 2017-07-17 20:25:44 +03:00
Sergey Abramchuk 94397bdbce Add reachability status and class to the umbrella header 2017-07-17 20:25:27 +03:00
Sergey Abramchuk df6bee8862 Update header comments 2017-07-17 20:24:44 +03:00
Sergey Abramchuk d2d46640db Implement abstract tracker class 2017-07-17 20:22:03 +03:00
Sergey Abramchuk a9629cdf86 Declare properties and methods of reachability class 2017-07-17 20:17:29 +03:00
Sergey Abramchuk a773a7f8a0 Define reachability statuses 2017-07-17 20:16:28 +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 445545c57a Merge branch 'feature/incorrect-packet' into develop 2017-06-22 21:22:35 +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