Commit Graph

72 Commits

Author SHA1 Message Date
Sergey Abramchuk
be46d31c7e Add comment about waiting time 2017-04-15 10:39:54 +03:00
Sergey Abramchuk
2f10fee86d Update tests product name 2017-04-15 10:39:39 +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
9d6620e3c3 Merge branch 'feature/update-dependencies' into develop 2017-04-09 16:12:52 +03:00
Sergey Abramchuk
df2babf62e Update project configuration 2017-04-09 16:11:04 +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
d8b5f1556a Squashed 'OpenVPN Adapter/Vendors/asio/' content from commit 524288c
git-subtree-dir: OpenVPN Adapter/Vendors/asio
git-subtree-split: 524288cb4fcf84664b3dc39cb4424c7509969b92
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
f65d76170b Squashed 'OpenVPN Adapter/Vendors/openvpn/' content from commit da99df6
git-subtree-dir: OpenVPN Adapter/Vendors/openvpn
git-subtree-split: da99df69492256d7a18bbea303ae98457782a4bf
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
6dc4f7c0b7 Test connections without credentials 2017-03-17 20:12:25 +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
ac4ec556c9 Use target name instead of directory name for tag script 2017-03-17 19:10:28 +03:00
Sergey Abramchuk
669eb029f1 Move iOS client and tunnel provider to another repo 2017-03-17 18:19:01 +03:00
Sergey Abramchuk
60690fd8fb Get rid of forgotten fatal error and just exit 2017-03-16 21:33:09 +03:00
Sergey Abramchuk
82d9b4115f Handle events and errors by tunnel provider 2017-03-16 20:09:30 +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
fd528d6274 Add Then implementation to the provider 2017-03-09 20:14:24 +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
Sergey Abramchuk
cf50678dfc Initialize OpenVPN adapter and establish connection 2017-03-07 22:22:22 +03:00
Sergey Abramchuk
ab57a64a4a Get password from keychain using persistent reference 2017-03-07 22:20:50 +03:00
Sergey Abramchuk
be7bb371e3 Configure keychain access group 2017-03-06 21:25:07 +03:00
Sergey Abramchuk
8f8f7d22d8 Update keychain dependency 2017-03-06 21:24:37 +03:00
Sergey Abramchuk
57577377e1 Set username and password via properties instead of adapter method 2017-03-06 21:24:02 +03:00
Sergey Abramchuk
5ef43a447c Use explicit variables for DNS and domains 2017-03-06 20:13:39 +03:00
Sergey Abramchuk
7b5f0cd714 Read data from OpenVPN and pass it to the TUN interface 2017-03-06 20:12:51 +03:00
Sergey Abramchuk
db6ba2ea8f Read data from TUN interface and pass it to the VPN; Rename sockets. 2017-02-26 16:19:51 +03:00
Sergey Abramchuk
0e90827f3e Don’t wait forever for tunnel configuration 2017-02-26 16:06:56 +03:00
Sergey Abramchuk
4daa634f6c Establish TUN interface 2017-02-26 15:59:30 +03:00
Sergey Abramchuk
6130e19c62 Store and reset TUN configuration 2017-02-26 15:36:03 +03:00
Sergey Abramchuk
16fc55f655 Defined an object containing TUN configuration 2017-02-26 15:09:08 +03:00
Sergey Abramchuk
0b42b1d8ac Disable implicit conversion and documentation warnings 2017-02-26 14:32:20 +03:00
Sergey Abramchuk
acd3093bc9 Added necessary entitlements to the project and changed bundle IDs 2017-02-26 14:27:24 +03:00