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

39 Commits

Author SHA1 Message Date
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
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
6015692e6b In clilib, segregate dist directories by platform. 2012-05-25 20:30:12 +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
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
53fa94260f Added clang/LLVM support. 2012-05-22 12:25:33 +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
ca680ba568 Added capability for PolarSSL to use OpenSSL ciphers/digests. 2012-03-23 20:04:33 +00:00
James Yonan
1022d56e94 Added cross-compile build script for PolarSSL. 2012-03-14 05:13:57 +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
James Yonan
74503a4efa Started PolarSSL port. Initially just add RNG support.
Because PolarSSL RNG requires state object, add state
objects for all other RNG providers (OpenSSL, Apple SSL)
to maintain a polymorphic model.
2012-03-11 12:09:25 +00:00
James Yonan
eca10fa23d Minor changes to Android 4 client and core:
* clear_auth() now clears username field.

* OpenSSL impl in core now logs TLS handshake details.

* Added build-openssl-small to build a trimmed-down version
  of OpenSSL.
2012-03-11 04:59:51 +00:00
James Yonan
3f30ffc74f Added additional files missing from previous commit. 2012-02-19 17:43:42 +00:00
James Yonan
540c58e5d8 Android client successfully tested with null tun/tap. 2012-02-16 20:46:38 +00:00
James Yonan
47995da329 Partial Android 4 port of cli.cpp running as native
terminal app with null tun driver.
2012-02-14 00:00:12 +00:00
James Yonan
b31a80da6b Added compression methods LZO, LZ4, and Snappy.
Note that only LZO has been tested yet.
2012-01-31 11:15:21 +00:00
James Yonan
5ac932f842 Added LZ4 test case to compression benchmark. 2012-01-30 08:47:32 +00:00
James Yonan
3dfa240849 Added compression benchmarks for LZO vs. Snappy.
Revamped vars-x scripts and build.

Added feature to cli.cpp to write a packet log for
compression benchmarking.
2012-01-30 07:08:26 +00:00
James Yonan
89f0a186e2 Enhanced build script for cross-compile scenarios.
Minor doc changes.
2012-01-28 00:42:10 +00:00
James Yonan
e5c2791c65 Ported cli.cpp to Mac. Still a couple fixmes to address. 2012-01-05 07:47:24 +00:00
James Yonan
fb163b65f4 ProtoContext object can now be reused via reset() method.
Fixed rare bug where client receives auth, goes ACTIVE, but the ACK
response back to the server is dropped causing the server to receive
post-ACTIVE app messages from the client while it's still stuck
in the S_WAIT_AUTH_ACK state.
2011-12-17 10:53:21 +00:00
James Yonan
1aa65c259b Implemented soft reset in proto.hpp. 2011-12-13 04:46:56 +00:00
James Yonan
bade2e77f2 Added dirty bit to KeyContext. 2011-12-11 10:27:02 +00:00
James Yonan
3ed5459996 Minor fixes. 2011-12-05 21:00:43 +00:00
James Yonan
75e2ae5fc4 Minor linux fix for test/reliable/ssl.cpp.
Added NOTHREADS build arg.
2011-12-03 01:06:27 +00:00
James Yonan
d77746ce40 Allow test/reliable/ssl.cpp to be built with either
Apple SSL client and OpenSSL server, or OpenSSL
for both client and server (see README.txt).
2011-12-03 00:46:17 +00:00
James Yonan
b67235fef5 Fixed minor build script regression on linux. 2011-11-30 19:59:47 +00:00
James Yonan
532c79e46e Added test/osx/ssl.cpp, simulates an SSL connection between
an Apple-crypto-based client and an OpenSSL server.
2011-11-27 11:33:27 +00:00
James Yonan
fc0635e657 Read PKCS#12 file using Apple crypto. 2011-11-26 11:33:39 +00:00
James Yonan
d0e1d06812 Ported tlsprf to CommonCrypto. 2011-11-23 03:35:51 +00:00
James Yonan
0d293533f5 Added OpenSSL-like HMAC API using Apple
CommonCrypto as backend.
2011-11-22 03:01:28 +00:00
James Yonan
f09b9ae12a Added reltest.cpp for testing ReliableRecv and ReliableSend
objects by simulating an unreliable packet stream.

Modified packet_id code so that current time (now) is passed
via function calls rather than accessed as a global.

Added integer random number support via boost::random.
2011-11-09 05:52:52 +00:00
James Yonan
1fcf65fbda Started PKI tree for wrapping OpenSSL PKI objects.
Started SSL Context class.

Implemented dgram & stream buffer queues that can operate as
OpenSSL BIOs.

Reworked Frame class to make it more flexible.
2011-10-25 17:32:26 +00:00