678 Commits

Author SHA1 Message Date
Sergey Abramchuk
b578e282f5 Update client methods and prepare it for remote overriding 2019-01-13 13:56:51 +03:00
Sergey Abramchuk
c514bf7312 Add new events: AUTH_PENDING, WARN, UNSUPPORTED_FEATURE 2019-01-13 13:36:25 +03:00
Sergey Abramchuk
ece80f63a9 Add TLS_CRYPT_META_FAIL error 2019-01-13 13:29:07 +03:00
Sergey Abramchuk
9c09e6f507 Merge commit 'f5fda0fa735dc13c5bd18362133467818921bb1b' into feature/update-dependencies 2019-01-13 13:08:43 +03:00
Sergey Abramchuk
f5fda0fa73 Squashed 'Sources/OpenVPNAdapter/Libraries/Vendors/openvpn/' changes from cc90cde57..6608878d5
6608878d5 [OVPN3-341] implement mssfix support
1bf3fc0e4 win: update project files
f8d209435 travis: update to default osx image: xcode9.4
31eb246a8 travis.yml: align deps version to lib-version
996f86635 RunContext: fixed rebase issue that added two "default: signal_rearm();" clauses
aebea6456 build script: minor changes to Cityhash inclusion
1d754072c modstat: make update_file_mod_time_nanoseconds() a no-op on non-Linux
7974c9867 Fixed some breakage caused by recent endian/ffs commits
a0dd7fe8b endian.hpp: break out endian compile-time tests to endian_platform.hpp
c8bdf5a34 ffs.hpp: support additional numeric types
dcb0c9452 BufferType: append() argument can now be a flexible buffer type
2009a8a25 Added AsioTimerSafe
39e71b7dd event_loop_wait_barrier: use a longer default timeout when running under valgrind
8b7e08e9b string::contains_non_space_ctrl: consider ASCII char 127 (DEL) to be a control char
e43024d7c RunContext: rearm non-terminating signals
6ab379323 write_binary_atomic: remove temporary file on move failure
55dc653cd path: added is_contained()
02bf235c6 Reverted previous commit: "ReplyParser: added undefined status"
84dbc5b9b Allow test/cli.cpp to be used with NetCfg Tunbuilder client
80fed2c55 Allow updating auth-token during session
ad7da751e don't print time in debug message and use OPENVPN_LOG_PROTO_VERBOSE
981407994 tls-crypt-v2: implement abstract metadata parser
be38bbeb8 tls-crypt-v2: test/ssl/proto.cpp - extend protocol test
60fcf374f tls-crypt-v2: implement WKc appending/unwrapping logic
51f4a3a29 tls-crypt-v2: introduce CONTROL_HARD_RESET_V3 packet type
156a6e58b tls-crypt-v2: implement client key parser and renderer
54a97b381 ssl: add support for encoding/decoding PEM format
f090fcda4 tls-crypt: make HMAC API more generic
d87f5bbc0 OpenSSL: init library
2ea88a93b Add Remote endpoint information to protect_socket call
0a081ee17 [OVPN3-315] cli/go: add option to compile SITNL component
5bbfb57c0 [OVPN3-315] TunLinux::Client: allow user to select netlink at compile time
e8458a68e [OVPN3-315] GW: add netlink support
4e77edb9e [OVPN3-315] TunLinux: add Netlink implementation for Tun setup methods
68508fe56 bigmutex: include missing extern.hpp header
a7b923e1e Fix logic inversion from commit 2de9aebc
923e10d13 runcontext: arrange members to allow inheritance
2de9aebc7 Replace deprecated mbedtls_sha1 with mbedtls_sha1_ret
e9c0bd00b Remove unused private field
ee17c33c2 Add virtual deconstructor to TransportClientParent
fab64ba0f Fix clang warning about unused attributes and missing overrides
2624d9ddf Also parse dhcp-option DNS6 as DNS server for compatibility with OpenVPN 2
6d12c9cc2 Refuse external pki with non RSA keys
4a25059f5 test/ovpncli: Don't override PROF env variable
f241c4c5f scripts: Add tool to update copyright years
27beeb03d Update lz4 version to 1.8.3
17e356858 Define DASIO_HAS_STD_STRING_VIEW on Android build
b107fd994 Remove unsupported platforms from Android build
6a200f72e Ensure all Android components are always installed
fbcd374a4 [OVPN3-327] OpenSSL: ensure >TLS1.0 is negotiated by default
d9b1f78b6 JSON: #define OPENVPN_JSON_INTERNAL when internal JSON library is used
39290f19d Fix build issues with #if macro on big-endian hardware
d4f62d9ed Fix instantiating a new URL instead of parsing the URL

git-subtree-dir: Sources/OpenVPNAdapter/Libraries/Vendors/openvpn
git-subtree-split: 6608878d57eec1c64c16c5a13ee65b2cf0418ca1
2019-01-13 13:08:42 +03:00
Sergey Abramchuk
008678734f Use full git path and tag in instruction 2018-10-27 14:06:11 +03:00
Sergey Abramchuk
1e010202f7 Delete comments 2018-10-27 13:14:49 +03:00
Sergey Abramchuk
4d36dbddd1 Merge tag '0.1.0' into develop
no message
2018-10-27 13:12:25 +03:00
Sergey Abramchuk
e9ae4bb31b Merge branch 'release/0.1.0' 0.1.0 2018-10-27 13:12:21 +03:00
Sergey Abramchuk
b9e15b6c51 Add Cocoapods section 2018-10-27 13:08:31 +03:00
Sergey Abramchuk
66f7177c1b Specify tag instead of branch 2018-10-22 14:48:04 +03:00
Sergey Abramchuk
16e9999ed0 Merge branch 'feature/cocoapods' into develop 2018-10-19 12:45:47 +03:00
Sergey Abramchuk
c7d2e363c8 Set source branch to develop 2018-10-19 12:45:21 +03:00
Sergey Abramchuk
8e2ee297b3 Move other dependencies to subspecs 2018-10-19 12:42:23 +03:00
Sergey Abramchuk
a29496ac6f Move openvpn to separate subspec 2018-10-19 12:01:52 +03:00
Sergey Abramchuk
5378633319 Update podspec 2018-10-19 11:44:37 +03:00
Sergey Abramchuk
bf6efc5685 Add extra empty line 2018-10-18 17:43:26 +03:00
Sergey Abramchuk
17f653143b Delete extra indents 2018-10-18 17:36:36 +03:00
Sergey Abramchuk
49a5a63166 Cleanup podspec 2018-10-18 17:09:19 +03:00
Sergey Abramchuk
d8f1e17fe1 Enable mbedTLS and lz4 2018-10-18 17:00:17 +03:00
Sergey Abramchuk
7474125cf5 Set local repo as source 2018-10-18 16:49:30 +03:00
Sergey Abramchuk
e5c5d78d25 Configure xcconfig parameters 2018-10-18 15:52:25 +03:00
Sergey Abramchuk
25e7a4d4dc Configure asio subspec 2018-10-18 13:11:09 +03:00
Sergey Abramchuk
a18d1a3a38 Change of include syntaxis 2018-10-18 12:52:58 +03:00
Sergey Abramchuk
0c7e8f07c3 Configure private headers 2018-10-18 11:57:20 +03:00
Sergey Abramchuk
8789052507 Delete category for NSSet 2018-10-18 11:51:40 +03:00
Sergey Abramchuk
646e9655a1 Update configuration 2018-10-18 11:32:59 +03:00
Sergey Abramchuk
7156409baf Initial pod configuration 2018-10-18 11:11:35 +03:00
Sergey Abramchuk
759da6a71d Merge branch 'feature/settings-refactoring' into develop 2018-10-18 09:57:38 +03:00
Sergey Abramchuk
48f5abfba5 Revert previous changes and just check for duplicates within methods of delegate 2018-10-17 14:22:36 +03:00
Sergey Abramchuk
6648a643dd Rename array and set categories 2018-10-17 09:56:18 +03:00
Sergey Abramchuk
4464188292 Don't check network settings for nil 2018-10-16 19:09:46 +03:00
Sergey Abramchuk
fc4446fa7d Check conditions using NSAssert and use Empty categories to check arrays and sets for emptiness 2018-10-16 19:09:28 +03:00
Sergey Abramchuk
10f3985e57 Add helper categories to NSArray and NSSet 2018-10-16 19:08:00 +03:00
Sergey Abramchuk
3231a87660 Use mutable sets for dns, domains, and exception list 2018-10-16 18:23:24 +03:00
Sergey Abramchuk
9ee01d24e2 Merge branch 'feature/update-dependencies' into develop 2018-10-04 14:38:23 +03:00
Sergey Abramchuk
4ea6748dac Update mbedTLS library to version 2.7.5 2018-10-04 14:22:51 +03:00
Sergey Abramchuk
a01ecd6c88 Squashed 'Sources/OpenVPNAdapter/Libraries/Vendors/openvpn/' changes from 554d8b888..cc90cde57
cc90cde57 win: use 'MSVC 2017 Professional' as default compiler
4b072bce1 [OVPN3-311] function.hpp: fix Windows build
48b9b78de [OVPN3-310] logging: fix 'OPENVPN_LOG_NTNL': identifier not found
5a4a87552 cosmetics: helper function to check registry errors
fc52fd8a5 [OC-78] proxy: support PROXY_AUTO_CONFIG_URL on Windows
f5178cff9 [OC-77] proxy: refactor proxy settings code
18e50ec3f ReplyParser: added undefined status
8178ae06f unix file utils: added update_file_mod_time_nanoseconds()
8f20f7693 build: use LZ4_SYS=1 default when target is Linux
4bd996e61 timestr: added date_time_utc() and nanosec_time_to_string()
0eaa2586f string: added remove_spaces() method
d47ae03cc OptionList: added get_c_str() method
1eb9cd657 unix file utils: added mtime_ns parameter to write_binary_unix() and write_binary_atomic()
bf00c6e3e Time::delta_str(): use "INF" to denote infinite time
0e598a87b kovpn.hpp: asio must be included before sys/ and linux/ headers to avoid redefinition conflicts
1d2ce460d BufferType: added read_alloc_buf() method
148ae6085 BufferType: added reset_offset() method
6218ed618 Factor out IP::random_addr_v4() and IP::random_addr_v6() from IP::random_addr().
5468670b9 pool: minor changes
36a885a82 route: allow for specialized IPv4/v6 RouteType
5e29e6628 BufferType: added typedef T value_type
d92021c99 strerror.hpp: added #include <errno.h> for benefit of users
363cbece3 Function: misc cleanup
d88435ecd IP::Route: added defined() method
3371cb745 kovpn.hpp: fix centos build with DCO enabled
dc9e48d98 Fix bug in macos tunnel interface setup. Second ip address should be gateway address
bcdb27993 Merged in schwabe/fix_clang_warnings (pull request #25)
ede5e90ff Merged in schabe/fix_swig_ipadr (pull request #27)
c0d580d24 Merged in schwabe/fix_openvpn_extern (pull request #26)
0965882e5 Merged in schwabe/stats_morecpus (pull request #23)
5f1f8470b Revert bugfix for not compiling IA32 ASM of 2.7.5
bde2c41be dep: switch from mbeTLS 2.7.0 to 2.7.5
9d06b5c97 [OC-77] proxy: support PROXY_AUTO_CONFIG_URL on macOS
3f2ad8e8c Hide const std::string IP methods from SWIG
ba264862a Send also kovpn statistics of CPU Cores >= 16 via status message
2991d38b3 Fix warnings reported by LLVM/Clang
02d2a7975 Fix multiple inclusion of OpenVPN3 header with OPENPVN_EXTERN

git-subtree-dir: Sources/OpenVPNAdapter/Libraries/Vendors/openvpn
git-subtree-split: cc90cde5769dcf9e13fdd9e85d6d0857963dabce
2018-09-27 20:56:53 +03:00
Sergey Abramchuk
815faff487 Merge commit 'a01ecd6c88c0360f8e19eb6493590d0b5b77350c' into feature/update-dependencies 2018-09-27 20:56:53 +03:00
Sergey Abramchuk
ca8b51c84a Check if credentials are required for connection test 2018-09-27 20:54:23 +03:00
Sergey Abramchuk
eb2b48d5b0 Exclude environment example from test bundles 2018-09-27 20:52:01 +03:00
Sergey Abramchuk
9b53ae9723 Merge branch 'feature/test-refactoring' into develop 2018-09-27 17:33:25 +03:00
Sergey Abramchuk
df7cdf7c1d Update tests in order to use VPNProfile 2018-09-27 17:31:45 +03:00
Sergey Abramchuk
1beeda999e Add remote host and remote port to the profile template 2018-09-27 17:15:51 +03:00
Sergey Abramchuk
bc578b423e Add placeholders to VPN profile target 2018-09-27 17:06:36 +03:00
Sergey Abramchuk
b5489568fd Update configuration test 2018-09-27 16:50:44 +03:00
Sergey Abramchuk
a745f356c1 Add script phase in order to fill VPN profile 2018-09-27 16:43:30 +03:00
Sergey Abramchuk
1e8496aae5 Implement ruby script to fill VPN profile 2018-09-27 16:41:48 +03:00
Sergey Abramchuk
6d43d16575 Fix indentation in the template 2018-09-27 16:41:22 +03:00
Sergey Abramchuk
35bfc67ad5 Update VPN profile target file 2018-09-27 16:40:31 +03:00