Commit Graph

80 Commits

Author SHA1 Message Date
Sergey Abramchuk
082a70ca7e Define OPENVPN_EXTERNAL_TUN_FACTORY flag and remove USE_TUN_BUILDER 2017-04-15 14:22:22 +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
fd67ca8ee1 Merge branch 'feature/update-dependencies' into develop 2017-04-15 12:15:07 +03:00
Sergey Abramchuk
43ab8f1a32 Merge commit '9b95600d069b5477fb0a091ffb9a51500c73c87d' into feature/update-dependencies 2017-04-15 11:59:39 +03:00
Sergey Abramchuk
9b95600d06 Squashed 'OpenVPN Adapter/Vendors/openvpn/' changes from da99df6..4095565
4095565 OpenVPN 3 client: added tun abstraction layer.
4bfaafc AsioTimer: use expires_after() method when possible.
782e8eb Apple: moved some source files.
f89da96 OpenVPN 3 client: added single-thread mode:
233dfde OpenVPN 3 client: fixed state->session typos.
d689b6d Added new Apple Core Foundation wrappers:
3838a62 i/o layer: added OPENVPN_IO_REQUIRES_STOP compile flag.
138ec96 asiopolysock.hpp: don't call SockOpt::set_cloexec(fd) if fd is undefined (i.e. fd == -1).
10eb723 Apple CF wrapper: renamed OWN/BORROW.
962fe87 Apple CF wrapper: simplify cf.hpp dependency profile.
4fcc99c Objective C++: fix symbol conflicts.
8f63cbb tunwrapasio.hpp: make generic with respect to i/o layer.
67e0013 AsioTimer: added expires_after() method.
fc7eaaf Apple CF wrappers: moved CFRunLoop/CFRunLoopSource wrapper to applecrypto/cf, where all other CF wrappers currently reside.
1215912 Revamped Function (our own functor object) to be more flexible.
10fa276 process.hpp: added compile option to avoid async pipe usage.
9e09451 gwv4.hpp: added missing includes
916856d build script: updated Objective-C support when OBJC=1.

git-subtree-dir: OpenVPN Adapter/Vendors/openvpn
git-subtree-split: 4095565b4de2c7d738e728cae989f632100a8ce8
2017-04-15 11:59:39 +03:00
Sergey Abramchuk
c1e47dd519 Disable code signing 2017-04-15 11:58:50 +03:00
Sergey Abramchuk
630ea40e80 Explicitly define targets and schemes for iOS and macOS 2017-04-15 11:53:52 +03:00
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
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
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
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