Commit Graph

539 Commits

Author SHA1 Message Date
Sergey Abramchuk
56284506fc Squashed 'OpenVPN Adapter/Vendors/openvpn/' changes from e6d68831a..35bbca799
35bbca799 Merged in OVPN3-184-generate-warning (pull request #1)
a73d2ce68 Merged in antonio/OVPN3-169-pure-ssl-transport (pull request #3)
8d7f5f3c1 Merged in feature/docker (pull request #2)
d9b5055cd [OVPN3-169] cli.cpp: compile with -DOPENVPN_TLS_LINK when requested
2d99bbfea [OVPN3-169] cliopt.hpp: add support for TLS transport module
62c8461d2 [OVPN3-169] tcpcli.hpp: add runtime support for TLSLink
e0e76bb28 [OVPN3-169] tcplink: introduce LinkBase abstract class
a71014d40 [OVPN3-169] tcplink: create LinkCommon class and inherit from it
cfd6df5bc build system: fix 'git apply'
3e49de7de [OVPN3-210] ovpncli: handle "allow-name-constraints" for OpenSSL
08d72bd76 [OVPN3-184] mbedtls: handle Name Constraints
40c70113d [OVPN3-184] Add mbedTLS patch
ef8d11f34 [OVPN3-169] OpenSSL: implement write_ciphertext_unbuffered() function
37dc86378 [OVPN3-169] mbedTLS: implement write_ciphertext_unbuffered() function
5834ed401 [OVPN3-169] SSLAPI: add write_ciphertext_unbuffered() function
071050b5f vars-linux-dbg: update linux debug profile
5bbfe68c3 [OVPN3-169] Protocol: add support for TLS transport protocol type
dc12d3189 [OVPN3-223] build: add docker images

git-subtree-dir: OpenVPN Adapter/Vendors/openvpn
git-subtree-split: 35bbca799dfa3fbe8e17f8d6e94c3946c397b593
2018-05-03 11:46:13 +03:00
Sergey Abramchuk
c67e05a1ad Fix missing inline keyword 2018-04-04 13:08:45 +03:00
Sergey Abramchuk
84ad2a289f Squashed 'OpenVPN Adapter/Vendors/openvpn/' changes from 098fd412a..e6d68831a
e6d68831a deps: update mbedTLS to 2.7.0
59de63fa6 cli.cpp: added OPENVPN_REMOTE_OVERRIDE
caf9cf6c1 RedirectPipe: added additional flags for flexibility
68595de4d ClientAPI::RemoteOverride: added error status
37d848ca2 Log lines from C++ exceptions should contain the text "exception"
f05802cf9 Increase server validation of password size to 16KB to support bundling SAML messages.
52e4d4a5f Increase client validation of password/response size to 16KB to support bundling SAML messages.
a0416ed92 [OVPN3-209] win: add dependencies checksum verification
f6eadbc4d [OVPN3-206] Refactor Windows build system
7b30c2f12 [OVPN3-220] proto.hpp: send initial options set on rekeying
33dd2f29e mbedtls: backport fixes for CVE-2018-0487
0912a9b62 [OVPN3-213] build system: mbedtls timing tests
98fa55576 deps: update asio to 1.12.0
620531101 [OVPN3-215] asio: apply external patches
f4a73bde5 [OVPN3-215] asio: rebase external patches on top of our current commit ID
a61cac928 mbedtls: Patches from 2.7 to fix timing test failures
c892f41fb win: tune dependencies build
8a394a37d [OVPN3-213] build system: mbedtls timing tests
0a3dd67da [OVPN3-190] tun linux: add to/from_json methods
44c6cdfdc [OVPN3-206] readme: update Windows build instructions
0edec4a09 [OVPN3-206] win: update directories in VS projects
3d6fd62cb mac build: improve unittest stability
758ae98c6 [OVPN3-209] win: add dependencies checksum verification
a7642ee82 [OVPN3-205] win: apply mbedTLS patches
ac94b6eb7 [OVPN3-206] Refactor Windows build system
c5bc3859e mbedTLS: don't set endpoint twice in conf object
3d5dd9ee3 [OVPN3-199] mac build: do not overwrite DEP_DIR
b713762ba mbedtls: Patches from 2.7 to fix timing test failures
37ab79fa6 tun linux: apply changes from 362acf0
6a7aee2c9 [OVPN3-190] tun: implement persistence
1d2ebb07f [OVPN3-190] tun: move tun creation to separate class
53e33d634 [OVPN3-190] tun: move content of tun to tuncli
85d3377c2 [OVPN3-190] tun: move tun setup methods to separate file
735b985eb i/o layer:  wrap raw pointers embedded in closures
322ae24b5 OptionList: support variadic template parameter pack in constructors
8a012b454 lz4: added namespace and improved error handling
34998e94a zlib: removed verbose parameter
846ed217d OpenSSL: set SSL_MODE_RELEASE_BUFFERS to conserve memory by releasing unneeded buffers
32e3ea117 OptionList: added show_unused_options() method
fe38233a8 Buffer: added typedefs for thread-safe refcounts
b34b6271e compression: added compress_lz4() and decompress_lz4()
755e1a181 linux/core.hpp: added exclude_from_core() function
a7f6fe64f ManClientInstance::Send: added userprop_local_update() virtual method
94526ac19 BufferAllocated: fixed regression in buffer copy
33c16812e [OVPN3-144] mbedTLS: fix support for 4096bit encrypted keys
f249ab4bd [OVPN3-144] build-mbedtls: run make check before compiling
5040aef4c [OVPN3-144] build-mbedtls: apply patches using git-apply instead of patch
8a5e838ab [OVPN3-144] mbedTLS: fix incompatibility with PKI created by OpenSSL 1.1
e7badefd7 proto.hpp/tls-crypt: fix access to ACK IDs during packet validation
73fa974db proto.hpp: print buffer exception in case of packet access error
79ad5eded Estblishing a stable branch
1c5f20ab0 Hide the @ sign in logs if username is empty
01ee1f5a4 Added ClientAPI::Config::retryOnAuthFailed parameter
05880b136 Added ProfileParseLimits::MAX_SERVER_LIST_SIZE and raise limit to 4096
eedee4fa6 cli.cpp: allow -s server override to reference a friendly name
6e350e9f9 Linux tun setup: use LinuxGW46 to obtain gateway info
3e044c6c7 top-level .gitignore was missing a trailing newline
a27355ac7 Use C++11 push_back(std::move(...))) for pushing objects onto vectors
8c3af2704 HostPort::split_host_port: support unix socket filename as an alternative kind of host
14b588c86 asio: added asio_resolver_results_to_string()
fd6e8e9bf AsioPolySock: minor changes to remote_endpoint_str()
06f5e4d71 AsioBoundSocket::Socket: added to_string() method
8fd968532 RemoteList: minor cleanup in set_endpoint_range()
f9fc2f54e BufferAllocated: improve movability
8cb8d52cd string: added first_line() method
a26b1646b AsioPolySock: extend AltRouting support
ef3a40c27 Listen::Item: added AltRouting mode
02e786bc9 write_binary_atomic: support ConstBuffer
6745799c9 fileunix: added read_binary_unix_fast()
5689c2d9c write_binary_unix(): added ConstBuffer variant
2b0e76453 enum_dir: refactor to allow enumeration via lambda
116a5bd5e bufstr: added const_buf_from_string() method
f8ec81413 Buffer: added const_buffer_ref() variant accepting a const argument
ae98aa8b6 AsioPolySock: support AltRouting
8f81479f1 AsioBoundSocket::Socket: support inheritance
9598918e9 ServerProto: added schedule_disconnect() method.
4516cf67b ServerProto: reset CoarseTime object when AsioTimer is canceled
0ffc76a0b Route: implement operator< so Route objects can be used as map/set keys.
c4af9f68b event_loop_wait_barrier: raise default timeout to 30 seconds
d7fe87540 appversion.hpp: rename VERSION -> BUILD_VERSION

git-subtree-dir: OpenVPN Adapter/Vendors/openvpn
git-subtree-split: e6d68831a71131b7d92fbea93d3b9cbe10ba2068
2018-04-04 12:34:20 +03:00
Sergey Abramchuk
3030551e3d Merge commit '84ad2a289f33a43dd71276cc494f337d0fbb3ed6' into feature/update-dependencies 2018-04-04 12:34:20 +03:00
Sergey Abramchuk
f3baaed4df Merge branch 'feature/fix-issue-thread-local' into develop 2018-04-04 12:29:17 +03:00
Sergey Abramchuk
ff9b972634 Add USE_ASIO_THREADLOCAL flag 2018-04-04 12:28:45 +03:00
Sergey Abramchuk
fa558ff5df Update schemes 2018-04-04 12:25:42 +03:00
Sergey Abramchuk
c92becad0c Change project format to Xcode 8.0 compatible 2018-04-04 12:23:53 +03:00
Sergey Abramchuk
ba4ab84b92 Merge branch 'feature/update-dependencies' into develop 2018-03-08 18:13:55 +03:00
Sergey Abramchuk
7d62d32641 Compile C++ files as Objective-C++ 2018-02-25 14:14:11 +03:00
Sergey Abramchuk
78331c508f Update mbedTLS headers 2018-02-25 14:13:38 +03:00
Sergey Abramchuk
ec5ffdf50a Recompile mbedTLS libraries with optimization 2018-02-25 14:11:11 +03:00
Sergey Abramchuk
0a0eece4bf Update mbedTLS libs to version 2.7.0 2018-02-23 12:20:16 +03:00
Sergey Abramchuk
055bb04c14 Squashed 'OpenVPN Adapter/Vendors/openvpn/' changes from 3e002c83c..098fd412a
098fd412a [OVPN3-182] mac: add XCode project
fd5fa9403 [OI-29] Report IV_HWADDR on iOS
d3dd348c0 [OVPN3-165] send keydir opt string only when tls-auth is enabled
d0532df66 mbedTLS: add support for ECDSA
fa872c4ff [OVPN3-146] build: switch from sha256sum to shasum -a 256

git-subtree-dir: OpenVPN Adapter/Vendors/openvpn
git-subtree-split: 098fd412a26b681e55e8c3de924d133f5547fd2f
2018-02-23 12:14:04 +03:00
Sergey Abramchuk
e0c451870a Merge commit '055bb04c14f30cc627492680d1cf486d7b9b0f79' into feature/update-dependencies 2018-02-23 12:14:04 +03:00
Sergey Abramchuk
f016614ed3 Merge branch 'feature/documentation' into develop 2018-02-22 15:48:19 +03:00
Sergey Abramchuk
c71d2fbef9 Add missing comments to the code 2018-02-22 15:47:57 +03:00
Sergey Abramchuk
3eaf2a060d Add missing description to the configuration of NETunnelProviderManager 2018-02-22 15:32:54 +03:00
Jonathan Downing
134769f421 Add synchronousDNSLookup property (#51) 2018-02-16 10:13:30 +03:00
Sergey Abramchuk
3deaebcb3c Fulfill overview section 2018-02-13 17:47:05 +03:00
Sergey Abramchuk
239557e650 Add an example of NETunnelProviderManager configuration 2018-02-13 16:37:51 +03:00
Sergey Abramchuk
44c3eaed99 Fulfill acknowledgments section 2018-02-07 18:06:58 +03:00
Sergey Abramchuk
4ed405ced3 Add comments to the example 2018-02-07 17:37:54 +03:00
Sergey Abramchuk
7ff489782e Add a missing article 2018-02-06 16:39:39 +03:00
Sergey Abramchuk
9f99b4cdee Add links to LICENSE and NOTICE 2018-02-06 16:32:04 +03:00
Sergey Abramchuk
f442d987a2 Fulfill contributing section 2018-02-06 16:31:17 +03:00
Sergey Abramchuk
ad02563da3 Update formatting of license section 2018-02-06 16:19:03 +03:00
Sergey Abramchuk
d371503278 Fulfill license section 2018-02-06 16:04:00 +03:00
Sergey Abramchuk
cef7751879 Add example of configuration without comments 2018-02-06 15:33:40 +03:00
Sergey Abramchuk
497a410f38 Fulfill installation section 2018-02-05 13:29:19 +03:00
Sergey Abramchuk
d7330ae96d Update badge labels 2018-02-05 13:20:02 +03:00
Sergey Abramchuk
2b2388b26e Define readme sections 2018-02-05 12:44:55 +03:00
Sergey Abramchuk
542b48e2dd Add additional badges 2018-02-05 12:44:36 +03:00
Sergey Abramchuk
f3381f898d Merge branch 'develop' into feature/documentation
* develop:
  Update method signatures that have error objects
2018-02-02 11:43:53 +03:00
Sergey Abramchuk
82a42eddc3 Update method signatures that have error objects 2018-02-02 11:40:53 +03:00
Jonathan Downing
03029d73ca Resolve issue where fatal flag is hard coded to YES (#46) 2018-02-02 10:08:30 +03:00
Sergey Abramchuk
c15813d9f4 Mention 3rd party dependency licenses 2018-01-30 11:33:23 +03:00
Sergey Abramchuk
e497071b08
Create LICENSE (#44) 2018-01-29 14:43:14 +03:00
Sergey Abramchuk
336b773a3d Merge branch 'develop' into feature/documentation
* develop: (32 commits)
  Add header guards
  Update project settings
  Update tests
  Fix crash if empty data was provided
  Apply style guide rules to the remaining classes
  Update tracking property name regarding style guide
  Apply style guide rules to the openvpn configuration class
  Add missing import of reachability status header
  Apply style guide rules to certificate, key and reachability classes
  Refactor generation of mbedTLS errors
  Add Nullability Annotations to OpenVPNAdapterPacketFlow (#43)
  Refactor generation of OpenVPN adapter errors
  Refactor implementation of OpenVPNAdapter class
  Redefine networkSettings as method instead of property
  Return false if URL is nil
  Initializer shouldn't return nil, and return socket setup error during socket configuration
  Add socket setup error
  Rename a few delegate methods and fix memory warning
  Add extra spaces and empty lines
  Add pragma marks
  ...
2018-01-23 17:25:19 +03:00
Sergey Abramchuk
4a951f626e Merge branch 'feature/cleanup' into develop 2018-01-23 17:24:36 +03:00
Sergey Abramchuk
32ea25ecd7 Add header guards 2018-01-23 17:19:32 +03:00
Sergey Abramchuk
2bb3c1ff8e Update project settings 2018-01-23 17:18:06 +03:00
Sergey Abramchuk
c838baef4d Update tests 2018-01-23 17:17:48 +03:00
Sergey Abramchuk
f22ffdc4f0 Fix crash if empty data was provided 2018-01-23 17:14:03 +03:00
Sergey Abramchuk
badd6d28be Apply style guide rules to the remaining classes 2018-01-23 17:04:32 +03:00
Sergey Abramchuk
c682c2a325 Update tracking property name regarding style guide 2018-01-23 16:11:30 +03:00
Sergey Abramchuk
9c6e1fed2a Apply style guide rules to the openvpn configuration class 2018-01-23 16:02:16 +03:00
Sergey Abramchuk
cde1208002 Add missing import of reachability status header 2018-01-18 17:07:51 +03:00
Sergey Abramchuk
7078de3bae Apply style guide rules to certificate, key and reachability classes 2018-01-18 17:00:28 +03:00
Sergey Abramchuk
eff0bccfef Refactor generation of mbedTLS errors 2018-01-18 16:39:41 +03:00