Commit Graph

  • ae3e8ee0c3 Fix typo Sergey Abramchuk 2017-10-05 13:19:36 +03:00
  • e63494c23e Create README.md Sergey Abramchuk 2017-09-26 12:43:15 +03:00
  • 70bfe52d13 Add Xcode 9/Swift 4 Compatibility Changes for macOS target Sergey Abramchuk 2017-09-23 12:47:28 +03:00
  • aecdeaf0f1 Change -establishTunnel return type (#25) Jonathan Downing 2017-09-23 10:36:07 +01:00
  • 9932456cda Fix variable names corrupted during incomplete conflict resolving Sergey Abramchuk 2017-09-23 12:28:54 +03:00
  • 435663953e FIx spurious static analysis warnings relating to CFSocketRef (#24) Jonathan Downing 2017-09-23 10:25:35 +01:00
  • 73d593fe4c Reconnection Bugfix Proposal (#20) Jonathan Downing 2017-09-23 09:46:51 +01:00
  • 7230e1f83d Convert OpenVPNAdapterError to NS_ERROR_ENUM (#22) Jonathan Downing 2017-09-18 11:43:51 +03:00
  • 98ee12d961 Use placeholder instead of declared value to suppress warning Sergey Abramchuk 2017-09-16 21:58:04 +03:00
  • 9721462c9d Add Xcode 9/Swift 4 Compatibility Changes (#18) Jonathan Downing 2017-09-16 21:54:00 +03:00
  • cf5b705bef Merge pull request #19 from JonathanDowning/static-analysis-error-pointer-fix Sergey Abramchuk 2017-09-16 20:10:09 +03:00
  • bfa8ab801a OpeVPNTransportStats lastPacketReceived NSInteger -> NSDate (#21) Jonathan Downing 2017-09-16 19:59:57 +03:00
  • 270d5b8cac Add NSCopying, NSSecureCoding Support to Informational Classes (#17) Jonathan Downing 2017-09-16 17:42:57 +03:00
  • fc4b257ffd Fix a possible null pointer dereference error Jonathan Downing 2017-09-16 14:45:38 +03:00
  • 8e387bfb98 Merge branch 'feature/convert-certificates' into develop Sergey Abramchuk 2017-09-07 20:14:17 +03:00
  • d747d1f613 Update project configuration Sergey Abramchuk 2017-09-07 20:11:20 +03:00
  • 8af3fab41e Add test of parsing private key PEM and DER data Sergey Abramchuk 2017-09-07 20:11:05 +03:00
  • 3b9bba9e21 Update name of test certificate Sergey Abramchuk 2017-09-07 20:10:30 +03:00
  • cd1390fb46 Use malloc instead of calloc Sergey Abramchuk 2017-09-07 20:09:14 +03:00
  • edea44cd0a Increase buffer length Sergey Abramchuk 2017-09-07 20:08:54 +03:00
  • 5746b24e5f Fix incorrect password length and increase size of the buffers Sergey Abramchuk 2017-09-07 20:04:32 +03:00
  • b5b8834c75 Add private key and certificate for testing Sergey Abramchuk 2017-09-07 20:03:20 +03:00
  • ebb2157390 Implement writing private key DER and PEM data Sergey Abramchuk 2017-09-07 14:50:08 +03:00
  • 6b1b0c95eb Add missing semicolon Sergey Abramchuk 2017-09-07 14:36:12 +03:00
  • 8b390e969f Return type of the key Sergey Abramchuk 2017-09-07 14:35:33 +03:00
  • 69718e1e74 Add OpenVPNKeyType.h to the umbrella header Sergey Abramchuk 2017-09-07 14:31:48 +03:00
  • 1ddcad1487 Define available key types Sergey Abramchuk 2017-09-07 14:30:59 +03:00
  • 519b8f62e6 Add OpenVPNKeyType.h to the project Sergey Abramchuk 2017-09-07 14:30:43 +03:00
  • 8ead0babeb Return size of the key in bits Sergey Abramchuk 2017-09-07 14:26:05 +03:00
  • a346e0c51a Free allocated PEM buffer Sergey Abramchuk 2017-09-07 14:11:57 +03:00
  • 6d0b1d28b0 Implement parsing private key DER and PEM data Sergey Abramchuk 2017-09-07 14:07:42 +03:00
  • 9df7dee2df Add OpenVPNPrivateKey.h to the umbrella header Sergey Abramchuk 2017-09-07 13:56:46 +03:00
  • 388b8231d7 Set OpenVPNPrivateKey.h as public header Sergey Abramchuk 2017-09-07 13:56:22 +03:00
  • 6fcb0f6da3 Add OpenVPNPrivateKeyTests to the project Sergey Abramchuk 2017-09-07 13:49:58 +03:00
  • 682831ba87 Test converting PEM certificate data to DER and vice versa Sergey Abramchuk 2017-09-07 10:53:35 +03:00
  • 2e289ec88c Add OpenVPNPrivateKey files to the project Sergey Abramchuk 2017-09-07 10:52:22 +03:00
  • b3ecfa1680 Add boilerplate for OpenVPNPrivateKey implementation Sergey Abramchuk 2017-09-07 10:51:57 +03:00
  • e4d57245ad Remove null character Sergey Abramchuk 2017-09-07 10:35:57 +03:00
  • 066d6704f2 Use predefined result value for error reason Sergey Abramchuk 2017-09-07 10:35:02 +03:00
  • b714cf11a1 Implement writing certificate DER data Sergey Abramchuk 2017-09-07 10:21:10 +03:00
  • d5a96bf764 Modify localized descriptions Sergey Abramchuk 2017-09-06 23:31:25 +03:00
  • 7cbb69fed5 Implement writing certificate PEM data Sergey Abramchuk 2017-09-06 23:29:06 +03:00
  • 18a41d88d1 Remove a condition from the deallocation Sergey Abramchuk 2017-09-06 23:05:15 +03:00
  • f22702d2f6 Remove unnecessary nullable keywords from method definitions Sergey Abramchuk 2017-09-06 23:02:22 +03:00
  • 6c729008d7 Test parsing PEM data with incorrect value Sergey Abramchuk 2017-09-06 22:59:31 +03:00
  • da4abe9ba1 Return error object if parsing finished with failure Sergey Abramchuk 2017-09-06 22:58:41 +03:00
  • 6c008afc59 Add NSError+Message category to the project Sergey Abramchuk 2017-09-06 22:58:00 +03:00
  • aa6eb81f97 Convert integer result to error reason Sergey Abramchuk 2017-09-06 22:57:35 +03:00
  • 1d10acb6cf Remove unnecessary nullable keywords from method definitions Sergey Abramchuk 2017-09-06 22:35:58 +03:00
  • 7cb7602feb Merge branch 'develop' into feature/convert-certificates Sergey Abramchuk 2017-09-06 22:34:49 +03:00
  • 9c5831fd9d Change project name and header names Sergey Abramchuk 2017-09-06 22:32:12 +03:00
  • f966977a95 Rename OpenVPNEvent to OpenVPNAdapterEvent Sergey Abramchuk 2017-09-06 22:31:20 +03:00
  • 7b4a4c0d8d Merge branch 'develop' into feature/convert-certificates Sergey Abramchuk 2017-09-06 22:23:52 +03:00
  • ef90868ac6 Rename connection queue Sergey Abramchuk 2017-09-06 22:23:41 +03:00
  • 513da9cad4 Add Utils group to the project Sergey Abramchuk 2017-09-06 22:21:04 +03:00
  • 3c2040aacd Add error domain for identities Sergey Abramchuk 2017-09-06 22:09:57 +03:00
  • 637a6729e9 Merge branch 'develop' into feature/convert-certificates Sergey Abramchuk 2017-09-06 22:04:59 +03:00
  • 85d1276520 Rename OpenVPNError enum to OpenVPNAdapterError Sergey Abramchuk 2017-09-06 22:02:34 +03:00
  • 760a5c7b74 Add assign modifier to the crt property Sergey Abramchuk 2017-09-06 19:04:03 +03:00
  • 5f1343f7f2 Implement parsing certificate DER data Sergey Abramchuk 2017-09-06 18:18:36 +03:00
  • 062b07a957 Implement parsing certificate PEM data Sergey Abramchuk 2017-09-06 18:10:26 +03:00
  • 55524d4722 Add OpenVPNCertificate to the public headers Sergey Abramchuk 2017-09-06 18:09:44 +03:00
  • 002e6287f9 Add OpenVPNCertificate files and their tests to the project Sergey Abramchuk 2017-09-06 18:08:39 +03:00
  • 23beb936cf Declare OpenVPNCertificate class and its methods for parsing PEM and DER format Sergey Abramchuk 2017-09-06 18:07:16 +03:00
  • b86e4f57ab Rename test targets Sergey Abramchuk 2017-08-28 12:12:14 +03:00
  • 693f3ad956 Update project configuration Sergey Abramchuk 2017-08-22 09:55:07 +03:00
  • bd83611821 Update reachability test Sergey Abramchuk 2017-08-22 09:52:58 +03:00
  • eea832c876 Add callback argument to start tracking method and hide reachability status changed block Sergey Abramchuk 2017-08-22 09:52:43 +03:00
  • cf678a5f24 Remove contain error reason key and return reasons for all available errors Sergey Abramchuk 2017-07-21 14:50:24 +03:00
  • 385119f073 Provide even empty error message Sergey Abramchuk 2017-07-21 14:31:47 +03:00
  • eaee122fac Distinguish events and errors, and add additional info to the error dictionary Sergey Abramchuk 2017-07-21 14:27:29 +03:00
  • cfb220b118 Update project configuration Sergey Abramchuk 2017-07-18 21:19:48 +03:00
  • 93bef62d7f Update reachability test Sergey Abramchuk 2017-07-18 21:19:31 +03:00
  • e2283bf295 Start/stop tracking asynchronously Sergey Abramchuk 2017-07-18 21:19:07 +03:00
  • cfa7ec3666 Add isTracking property Sergey Abramchuk 2017-07-18 18:09:58 +03:00
  • bcfd4ef1d9 Perform start/stop tracking in the main queue Sergey Abramchuk 2017-07-18 18:06:27 +03:00
  • 3ef3239c08 Merge branch 'feature/reachability' into develop Sergey Abramchuk 2017-07-18 17:28:14 +03:00
  • 13f4e2305d Update project configuration Sergey Abramchuk 2017-07-18 17:27:49 +03:00
  • 1126b7f413 Add reachability test Sergey Abramchuk 2017-07-18 17:27:32 +03:00
  • 95d2ec6d17 Add explicit modifiers to the vpnClient property Sergey Abramchuk 2017-07-18 17:27:16 +03:00
  • c02376339a Implement internet reachability monitor Sergey Abramchuk 2017-07-18 17:26:39 +03:00
  • 6edc5e3fe2 Add missing public modifier Sergey Abramchuk 2017-07-18 17:25:45 +03:00
  • 79da4b7571 Update project configuration Sergey Abramchuk 2017-07-17 20:25:44 +03:00
  • 94397bdbce Add reachability status and class to the umbrella header Sergey Abramchuk 2017-07-17 20:25:27 +03:00
  • df6bee8862 Update header comments Sergey Abramchuk 2017-07-17 20:24:44 +03:00
  • d2d46640db Implement abstract tracker class Sergey Abramchuk 2017-07-17 20:22:03 +03:00
  • a9629cdf86 Declare properties and methods of reachability class Sergey Abramchuk 2017-07-17 20:17:29 +03:00
  • a773a7f8a0 Define reachability statuses Sergey Abramchuk 2017-07-17 20:16:28 +03:00
  • e745b43d52 Refactor TUN packets reading Sergey Abramchuk 2017-07-06 16:16:19 +03:00
  • 248585943e Fix broken reader of VPN traffic on iOS Sergey Abramchuk 2017-06-23 17:44:59 +03:00
  • 700c3aad70 Fix incorrect protocol versions for outgoing packets Sergey Abramchuk 2017-06-23 17:14:07 +03:00
  • 445545c57a Merge branch 'feature/incorrect-packet' into develop Sergey Abramchuk 2017-06-22 21:22:35 +03:00
  • 0714a6d0f6 Return protocol family depending on version Sergey Abramchuk 2017-06-22 21:19:19 +03:00
  • 6d2de5cb4e Fix incorrect macro Sergey Abramchuk 2017-06-22 20:55:34 +03:00
  • 76413feea7 Get protocol version from header if a target is macOS Sergey Abramchuk 2017-06-22 20:50:23 +03:00
  • b0756eae4c Don't add protocol prefix if a target other than iPhone Sergey Abramchuk 2017-06-22 20:02:52 +03:00
  • 545098ea0e Use openvpn helper to convert prefix length to subnet and call adapter delegate methods within main queue Sergey Abramchuk 2017-06-18 14:21:11 +03:00
  • 8fd29acf1c Update project configuration Sergey Abramchuk 2017-06-05 16:42:13 +03:00
  • f3c85a5d1b Use macros for export instead of keyword extern Sergey Abramchuk 2017-06-05 16:41:59 +03:00
  • d2ddcbbd5b Add dots to the event description Sergey Abramchuk 2017-06-02 14:50:24 +03:00