Commit Graph

199 Commits

Author SHA1 Message Date
Sergey Abramchuk
9b35611783 Rename file contains configuration values and refactor getter/setter for compression mode property 2017-04-24 14:58:22 +03:00
Sergey Abramchuk
92b4a2ee49 Wrap peer info property and refactor getters/setters for min tbs version and tbs cert profile 2017-04-24 14:44:54 +03:00
Sergey Abramchuk
2fc3e13911 Wrap force ciphersuite and min tbs version properties 2017-04-24 13:34:50 +03:00
Sergey Abramchuk
61228ed00d Wrap private key password and key direction properties 2017-04-24 13:11:25 +03:00
Sergey Abramchuk
dcf06ced20 Wrap disable cert, ssl debug level and compression mede properties 2017-04-24 12:58:04 +03:00
Sergey Abramchuk
b8861003a3 Add assertion to port setter and update error message in ipv6 setter 2017-04-23 14:48:23 +03:00
Sergey Abramchuk
a010c67510 Define enum for transport protocol used in proto property and rename ipv6 preference enum, server and proto 2017-04-23 14:33:19 +03:00
Sergey Abramchuk
b6c10d766c Wrap google DNS fallback property 2017-04-23 14:10:40 +03:00
Sergey Abramchuk
6de9f6c7f9 Wrap tun persist property and add assertion to ipv6 setter 2017-04-23 14:02:55 +03:00
Sergey Abramchuk
8decbe13aa Wrap connection timeout property and update documentation for IPv6 preference options 2017-04-23 13:54:54 +03:00
Sergey Abramchuk
092c6a525c Wrap IPv6 preference 2017-04-23 13:35:34 +03:00
Sergey Abramchuk
874773b14c Wrap serverOverride and protoOverride properties 2017-04-23 13:07:08 +03:00
Sergey Abramchuk
3343a0e5a8 Wrap guiVersion property 2017-04-22 22:45:16 +03:00
Sergey Abramchuk
0bbc860b6f Early exit if settings is nil and use short format for nil checking 2017-04-22 22:36:23 +03:00
Sergey Abramchuk
1fbf4e52b3 Wrap content list 2017-04-22 20:19:28 +03:00
Sergey Abramchuk
9e7836aae1 Add header of configuration class into umbrella header 2017-04-21 19:28:37 +03:00
Sergey Abramchuk
b33020e4cc Wrap file content property 2017-04-21 19:28:09 +03:00
Sergey Abramchuk
a043f5eb84 Declare class contains client configuration 2017-04-21 18:41:08 +03:00
Sergey Abramchuk
8cba80999b Clean up unnecessary methods and classes 2017-04-21 18:04:45 +03:00
Sergey Abramchuk
44f826cb12 Declare tun factory and return its instance in new_tun_factory method 2017-04-15 15:40:32 +03:00
Sergey Abramchuk
ef06fec9f7 Define method returning custom tun factory 2017-04-15 14:29:41 +03:00
Sergey Abramchuk
a51bedaef5 Delete extra lines and spaces 2017-04-15 14:17:50 +03:00
Sergey Abramchuk
832b9f94bc Fix duplicate symbol issue 2017-04-15 14:16:13 +03:00
Sergey Abramchuk
43ab8f1a32 Merge commit '9b95600d069b5477fb0a091ffb9a51500c73c87d' into feature/update-dependencies 2017-04-15 11:59:39 +03:00
Sergey Abramchuk
be46d31c7e Add comment about waiting time 2017-04-15 10:39:54 +03:00
Sergey Abramchuk
91c521ec34 Delete unused get_subnet method and add TODO for interfacing with keychain 2017-04-09 16:37:31 +03:00
Sergey Abramchuk
2329b92919 Update link to client header 2017-04-09 16:10:46 +03:00
Sergey Abramchuk
3bdeb20737 Fix module redefinition issue 2017-04-09 16:10:30 +03:00
Sergey Abramchuk
a0534904c9 Delete polarise and add update mbedtls instead 2017-04-09 16:09:40 +03:00
Sergey Abramchuk
962795dbbe Merge commit 'd8b5f1556acbaaf9b4c1453a3bf3ef981f66f43b' as 'OpenVPN Adapter/Vendors/asio' 2017-04-09 14:15:15 +03:00
Sergey Abramchuk
47959a77e8 Merge commit 'f65d76170b26155358c2fc27686f87e0475f6a94' as 'OpenVPN Adapter/Vendors/openvpn' 2017-04-09 14:13:07 +03:00
Sergey Abramchuk
b662539303 Delete asio sources 2017-04-09 13:28:44 +03:00
Sergey Abramchuk
2de8ab8859 Delete old openvpn sources 2017-04-09 12:56:18 +03:00
Sergey Abramchuk
e423ade642 Update name of configuration method and add templates for documentation 2017-03-22 19:22:47 +03:00
Sergey Abramchuk
a953a8ab24 Don’t clear username and password after disconnection 2017-03-22 19:15:05 +03:00
Sergey Abramchuk
6fa887de8d Fix format of returned subnet mask 2017-03-20 21:56:47 +03:00
Sergey Abramchuk
a5531f61fb Fix forgotten initialization of configuration 2017-03-20 21:31:21 +03:00
Sergey Abramchuk
40eeafc99d Add support of IPv6 addresses 2017-03-20 21:23:00 +03:00
Sergey Abramchuk
42c692b225 Add method for handling OpenVPN log to the adapter delegate 2017-03-17 20:12:07 +03:00
Sergey Abramchuk
c83816ce06 Discard username and password after disconnection 2017-03-16 20:09:08 +03:00
Sergey Abramchuk
6860411e53 Add TODOs 2017-03-16 20:00:07 +03:00
Sergey Abramchuk
d33692bf1d Add socket source to run loop with default mode 2017-03-16 19:59:53 +03:00
Sergey Abramchuk
8fc4ef3c7c Fix issue with iOS testing 2017-03-11 14:55:55 +03:00
Sergey Abramchuk
42e85175fa Fix typo 2017-03-11 14:01:21 +03:00
Sergey Abramchuk
146ea30114 OpenVPN Adapter now can be compiled for both macOS and iOS 2017-03-11 13:48:47 +03:00
Sergey Abramchuk
efdc474411 Fix possible memory leaks and decrease timeout for establishing tunnel 2017-03-09 19:58:55 +03:00
Sergey Abramchuk
1e886eaca7 Define OpenVPNAdapterPacketFlow and use it instead of NEPacketTunnelFlow object to simplify testing 2017-03-09 19:16:08 +03:00
Sergey Abramchuk
3c840cd0f8 Declare variables for username, password and delegate.
Implement getters and setters for declared variables.
Fix deallocation issue when sockets are not configured.
Fix issue with username and password when they are nil.
2017-03-09 16:05:41 +03:00
Sergey Abramchuk
8903bb6fc6 Put OpenVPN adapter into separate framework and add libraries compiled for simulator 2017-03-09 15:06:12 +03:00