0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
Commit Graph

212 Commits

Author SHA1 Message Date
James Yonan
f91339e739 First working iOS build. 2012-07-01 15:37:46 +00:00
James Yonan
8f289dd085 Minor iOS test code.
Added replace-path command to smod.
One-off script for rebranding iOS VPN sample.
2012-06-20 20:22:18 +00:00
James Yonan
e4d4b4d9f9 Updated Android build for Android Market:
* updated version number to 1.0
* removed expiration
2012-06-20 20:20:11 +00:00
James Yonan
5d3ef89157 Android core build updates.
* Updated OpenSSL to 1.0.1c
* Updated Boost to 1_49_0
* Updated core expiration to 2012.09.01
2012-05-31 12:23:48 +00:00
James Yonan
5489c01b29 Minor build script change. 2012-05-31 10:01:58 +00:00
James Yonan
eccd2cf64f Extended build script to build static libraries.
First version of static libovpncli tested on
iPad (without tun support yet).
2012-05-29 21:15:28 +00:00
James Yonan
2206210562 Misc fixes to update PolarSSL support for 1.1.3. 2012-05-29 16:29:11 +00:00
James Yonan
350558dbe4 Extend PolarSSL build scripts to Apple family. 2012-05-29 12:55:39 +00:00
James Yonan
1a6134106c Added ovpncli static library target for Mac. 2012-05-27 21:04:18 +00:00
James Yonan
7b55f4d767 Refactored Mac build scripts to easily switch between OS X, iOS, and iOS simulator. 2012-05-27 09:55:44 +00:00
James Yonan
6b9475ca1f Moved source for Objective-C client wrapper to cliobjc. 2012-05-25 21:02:59 +00:00
James Yonan
6015692e6b In clilib, segregate dist directories by platform. 2012-05-25 20:30:12 +00:00
James Yonan
3bacaf84c3 Added Blowfish support for iOS. 2012-05-25 20:28:14 +00:00
James Yonan
1f7d3ac4ef Added Objective-C wrapper for client core. 2012-05-25 17:54:53 +00:00
James Yonan
8f65e98cb1 Added clilib scripts for linux.
Added build-boost for linux.
2012-05-23 14:22:13 +00:00
James Yonan
ce1431f3c2 Added clilib:
* scripts to build ovpncli shared library for C++ clients
* test client test/clilib/test.cpp
2012-05-23 13:50:41 +00:00
James Yonan
ce9820fed5 Moved ovpncli.hpp and ovpncli.cpp to client/ so that they can be used
by library wrappings other than javacli.
2012-05-23 05:05:42 +00:00
James Yonan
dafe931877 Build script changes when CLANG=1:
* use -fvisibility=hidden
* use -O4 (LTO) by default
2012-05-23 04:45:01 +00:00
James Yonan
1d7861fc31 Minor clang build change. 2012-05-22 19:49:13 +00:00
James Yonan
40ada7a7db cli tool builds without errors for iOS (arm). 2012-05-22 19:18:41 +00:00
James Yonan
e07f6fcb12 Build boost with clang on mac. 2012-05-22 14:51:17 +00:00
James Yonan
53fa94260f Added clang/LLVM support. 2012-05-22 12:25:33 +00:00
James Yonan
462fb89246 Server checkpoint. 2012-05-22 10:45:25 +00:00
James Yonan
c59c0828f3 Added copyright. 2012-05-06 01:34:42 +00:00
James Yonan
452b19b787 Checkpoint for new core server implementation
(not yet complete).
2012-05-06 00:39:39 +00:00
James Yonan
3c99b8976b C++ core fixes for Windows. 2012-04-21 04:47:30 +00:00
James Yonan
abbe662dcb Android 4 client changes:
* Allow protocol to be specified by "proto" directive instead
  of requiring it to be present in "remote" directive.

* Throw error if tls-remote is specified in client config file.

Updated Android client.txt notes.
2012-04-18 12:13:29 +00:00
James Yonan
f8f2cb5a81 Added special build for Private Tunnel. 2012-04-18 00:42:33 +00:00
James Yonan
d5a32c5a75 Copyright updates.
OpenSSL license now embedded in core.
Added OpenVPNClient::copyright() method.
Beta expire extended to 2012.6.1.
2012-04-17 22:12:27 +00:00
James Yonan
c5d6254cac Removed "using namespace openvpn" from cliopt.hpp where it
doesn't belong.

Minor comment change.
2012-04-13 04:55:05 +00:00
James Yonan
b02b6ab865 Added IP::Pool and IP::Range with tests. 2012-04-10 05:52:41 +00:00
James Yonan
6fb53c3abb Fixed a race condition issue with "hot connect", i.e. sending a
connect intent to service when already connected.  

One of the ramifications of the "hot connect" fix above is that
OpenVPNClientBase.is_active() will now return a value that is
instantaneously up-to-date, whereas events might lag because
of the mechanics of inter-thread message posting.  Keep this in
mind when correlating received events to is_active() values.

For C++ core threads, increased allowed thread-stop delay to 2.5
seconds before thread is marked as unresponsive and abandoned.
Previous delay was 1 second.  This delay can't be made too long,
otherwise Android will tell the user that the app is unresponsive
and invite them to kill it.

When closing out an abandoned core thread, indicate this condition
with a new event type called CORE_THREAD_ABANDONED.  If the thread
is abandoned due to lack of response to a disconnect request, then
the CORE_THREAD_ABANDONED event will occur followed by
CORE_THREAD_INACTIVE.  For core threads that properly exit,
the DISCONNECTED event will be followed by CORE_THREAD_INACTIVE.

Added save_as_filename parameter to importProfileRemote method for
controlling the filename that the imported profile is saved as.
This parameter may be set to null to have the method choose an
appropriate name.  To have an imported profile replace an existing
profile, the filenames much match.

Added UI_OVERLOADED debugging constant to OpenVPNClient to allow
the UI to connect to a profile when already connected to another
profile in order to test "hot connect".

Added new events CLIENT_HALT and CLIENT_RESTART for compatibility
with an Access Server feature that allows the server to remotely
kill or restart the client.

When connecting a profile, the core will now automatically fill in
the username if it is not specified for userlocked profiles.

Version 0.902.
2012-03-31 16:08:20 +00:00
James Yonan
635fa4537d Added PolarSSL README file.
Minor comment edits in polarssl/config.h.
2012-03-25 22:37:48 +00:00
James Yonan
130364c1a5 Add sha2/sha4 to PolarSSL/OpenSSL bridge.
Clean up PolarSSL build scripts, allow testing target.
2012-03-25 22:07:45 +00:00
James Yonan
7fd2b81ca7 Use -fvisibility=hidden instead of -fwhole-program for Linux
builds as well.
2012-03-25 00:35:26 +00:00
James Yonan
8528564b51 For Android builds, moved away from gcc -fwhole-program in favor
of -fvisibility=hidden.
2012-03-25 00:26:50 +00:00
James Yonan
e7cc39a99f Change build script for java-wrapped core to use a two-step
build process, one for core and one for java wrapper.
This is so that different optimization flags can be applied
to each step.  In particular, the wrapper needs
-fno-strict-aliasing, but the core does not.
2012-03-24 20:22:24 +00:00
James Yonan
ae1afc453d Fixed minor build regression. 2012-03-24 17:54:28 +00:00
James Yonan
d4066b10a2 Minor tweaks to previous commit (PolarSSL use of OpenSSL ciphers/digests). 2012-03-23 20:43:09 +00:00
James Yonan
ca680ba568 Added capability for PolarSSL to use OpenSSL ciphers/digests. 2012-03-23 20:04:33 +00:00
James Yonan
8800506ed3 Minor fix to profile autologin detection.
Android version 0.901.
2012-03-20 14:48:52 +00:00
James Yonan
d4386a1d72 Updated sources files. 2012-03-19 17:47:11 +00:00
James Yonan
04c68e3e7a Android 4 -- Added Import from Access Server. 2012-03-19 16:13:06 +00:00
James Yonan
1531bb6f8f Implemented AppleCryptoAPI for Mac. 2012-03-15 12:13:16 +00:00
James Yonan
65eef6cb5d Android 4 client -- Added External PKI support for PolarSSL usage. 2012-03-14 10:37:19 +00:00
James Yonan
0146e7f262 First working version of Android 4 client with PolarSSL.
Added build-android-polar and supporting scripts.
2012-03-14 06:11:07 +00:00
James Yonan
1022d56e94 Added cross-compile build script for PolarSSL. 2012-03-14 05:13:57 +00:00
James Yonan
c4d19c69ea Minor reorg in SSLContext classes. 2012-03-14 03:24:45 +00:00
James Yonan
1b0088ab2e PolarSSL support fully implemented (except for External PKI). 2012-03-14 00:51:40 +00:00
James Yonan
801bfae881 Added Polar SSL crypto support via PolarSSLCryptoAPI. 2012-03-13 04:51:52 +00:00