Davide Beatrici
8a58af86b1
Cedar: add new "UsernameHubSeparator" configuration option for the server, to specify a different character from '@'
2018-11-25 20:50:14 +01:00
Davide Beatrici
b8629f324f
Merge PR #814 : travis-ci: run Coverity only after openssl is built
2018-11-20 16:07:40 +01:00
Davide Beatrici
7f29f8df85
Merge PR #812 : Cedar/Proto_OpenVPN.c: don't release data channel if it's not established, improve logic and debug messages
2018-11-20 05:00:49 +01:00
Davide Beatrici
03f80edfcd
Cedar/Proto_OpenVPN.c: don't release data channel if it's not established, improve logic and debug messages
2018-11-19 21:30:42 +01:00
Davide Beatrici
264760aaf5
Merge PR #808 : OpenVPN: Add packet scrambling/obfuscation feature
2018-11-19 21:14:27 +01:00
Davide Beatrici
52f4e5fb48
AppVeyor: provide PDB files in a ZIP archive
2018-11-18 04:18:51 +01:00
Davide Beatrici
c48de5924a
Mayaqua: ability to toggle memory tracking at runtime, various logic improvements
2018-11-18 04:18:51 +01:00
Davide Beatrici
4e7d946214
configure: set build type to "RelWithDebInfo"
2018-11-18 04:18:51 +01:00
Davide Beatrici
e1bd84d7f3
CMake: set PDB output directory, don't set default build type
2018-11-18 04:18:42 +01:00
Davide Beatrici
6a45921f41
OpenVPN: Add packet scrambling/obfuscation feature
...
This allows an OpenVPN client to bypass a firewall which is aware of the protocol and is able to block it.
The XOR mask set on the server has to be the same on the client, otherwise it will not be able to connect with certain obfuscation modes.
A special OpenVPN client built with the "XOR patch" is required in order to use this function, because it has never been merged in the official OpenVPN repository.
Two parameters are added to the server configuration: "OpenVPNObfuscationMethod" and "OpenVPNObfuscationMask".
Their value can be retrieved with "OpenVpnObfuscationGet" and set with "OpenVpnObfuscationEnable" in the VPN Command Line Management Utility.
2018-11-12 22:32:37 +01:00
Davide Beatrici
25c99a7e04
Merge PR #807 : gitlab-ci: enable SAST
2018-11-10 19:19:58 +01:00
Davide Beatrici
e5fdbfd1e1
Merge PR #805 : travis-ci: add libressl build, make builds parallel, remove not needed brew
2018-11-10 17:44:52 +01:00
Davide Beatrici
b51ebabbf4
Merge PR #806 : src/Cedar/Protocol, src/Cedar/Session: cleanup, remove unused functions, variables
2018-11-10 17:43:30 +01:00
Davide Beatrici
f154cf1cec
Mayaqua/Encrypt.h: fix missing AEAD macro for OpenBSD
2018-11-08 19:24:42 +01:00
Davide Beatrici
c259138225
src/BUILD_WINDOWS.md: remove ATL/MFC step
2018-11-08 15:44:52 +01:00
Davide Beatrici
0bc6a9ba5e
src: change "afxres.h" to "winres.h" in all resource files, to remove MFC dependency
2018-11-07 21:23:55 +00:00
Davide Beatrici
a5f18087cd
Merge PR #790 : Add support for SOCKS5 proxy protocol
2018-11-07 01:30:56 +01:00
Davide Beatrici
6322497023
Merge PR #524 : Cedar/Proto_PPP.c: push 192.0.0.8 instead of 1.0.0.1 as gateway IP address
2018-11-07 00:32:20 +01:00
Davide Beatrici
85ebba5e39
Cedar/Proto_PPP.c: push 192.0.0.8 instead of 1.0.0.1 as gateway IP address
...
1.0.0.1 is a real IP address, owned by CloudFlare and used for their DNS service.
This commit changes the IP address we push to 192.0.0.8, which is defined in RFC7600 as dummy IPv4 address.
2018-11-07 00:07:01 +01:00
Davide Beatrici
540dffda05
Merge PR #793 : Added Windows CMake setup info
2018-11-04 04:11:37 +01:00
Davide Beatrici
ba930668ba
Merge PR #796 : Cedar/Proto_OpenVPN: add support for GCM ciphers
2018-11-04 01:01:10 +01:00
Davide Beatrici
ac16d0e882
Merge PR #799 : Cedar, Mayaqua: remove unused functions and redundant checks
2018-11-03 21:24:41 +01:00
Davide Beatrici
0357024e62
hamcore/openvpn_sample.ovpn: improve "cipher" and "auth" documentation, remove list of supported ciphers
2018-11-03 16:44:56 +01:00
Davide Beatrici
9afcc91ae1
Cedar/Proto_OpenVPN: add support for GCM ciphers
2018-11-03 16:14:56 +01:00
Davide Beatrici
aae9ec0492
Mayaqua/Encrypt: add CipherProcessAead() function to encrypt/decrypt with AEAD ciphers
2018-11-03 15:14:56 +01:00
Davide Beatrici
8b7b45b301
Merge PR #794 : Proto_OpenVPN.c: move encrypt and decrypt process into dedicated functions
2018-11-01 00:04:18 +01:00
Davide Beatrici
17dd802be3
Merge PR #795 : docs(BUILD_UNIX): add macOS specifics
2018-10-31 20:31:39 +01:00
Davide Beatrici
953989d344
Proto_OpenVPN.c: move encrypt and decrypt process into dedicated functions
2018-10-31 18:14:38 +01:00
Davide Beatrici
53e0a2e5e2
Add support for SOCKS5 proxy protocol
2018-10-30 15:11:16 +01:00
Davide Beatrici
079ef10e1f
Merge PR #789 : gitlab-ci: add "vpntest" memory tests
2018-10-30 12:52:24 +01:00
Davide Beatrici
919cb2ae75
Merge PR #788 : travis-ci: add "vpntest" memory checks
2018-10-29 20:33:42 +01:00
Davide Beatrici
7f8926e0c1
Merge PR #782 : AppVeyor: run "vpntest" for ubuntu 18.04
2018-10-29 13:59:21 +01:00
Davide Beatrici
18f7bfe33f
Merge PR #776 : AppVeyor: non interactive mode of journalctl
2018-10-28 16:46:09 +01:00
Davide Beatrici
9ae379bc31
Merge PR #773 : ci repair and refactoring
2018-10-26 15:08:20 +02:00
Davide Beatrici
ef6b15bda2
Merge PR #769 : CMake: add support for Windows (Visual C++ 2017 toolset)
2018-10-24 21:43:45 +02:00
Davide Beatrici
374ba7fc7d
AppVeyor: add Visual Studio 2017 build, improve matrix
2018-10-24 21:25:57 +02:00
Davide Beatrici
c1f522c10e
CMake: add support for Windows (Visual C++ 2017 toolset)
2018-10-24 21:25:57 +02:00
Davide Beatrici
5fe90bb180
hamcorebuilder: include all files on Windows
2018-10-24 21:21:36 +02:00
Davide Beatrici
ddf4c28789
Merge PR #764 : adjust systemd paths according to installation path
2018-10-22 14:51:17 +02:00
Davide Beatrici
c1d6ddf361
Merge PR #761 : CMake: build Cedar and Mayaqua as shared libraries, create "common" package
2018-10-20 14:38:59 +02:00
Davide Beatrici
b72292edd1
Try to fix macOS build
2018-10-20 13:31:45 +02:00
Davide Beatrici
3429e1bf31
CMake: build Cedar and Mayaqua as shared libraries, create "common" package
2018-10-20 13:12:49 +02:00
Davide Beatrici
99a029c7c4
Merge PR #759 : Protocol.c: fix crash with OpenVPN when the certificate's common name is empty
2018-10-18 22:24:37 +02:00
Davide Beatrici
f061557aad
Protocol.c: fix crash with OpenVPN when the certificate's common name is empty
2018-10-18 21:21:37 +02:00
Davide Beatrici
8173eb4509
CMake: build all targets in the same directory, so that "hamcore.se2" doesn't have to be copied for each of them
2018-10-18 02:02:17 +02:00
Davide Beatrici
a3b5484587
Merge PR #756 : src/Cedar/Logging.c: clean compiler warning
2018-10-17 13:15:27 +02:00
Davide Beatrici
966a5e6dea
Merge PR #754 : Cedar/Bridge.c: fix NULL pointer dereference in GetEthDeviceHash()
2018-10-16 10:21:20 +02:00
Davide Beatrici
91c5d5feb8
Cedar/Bridge.c: fix NULL pointer dereference in GetEthDeviceHash()
2018-10-16 04:40:22 +02:00
Davide Beatrici
e35e2c73d3
Merge PR #751 : src/Mayaqua/MayaType.h: fix extra bracket
2018-10-14 19:40:28 +02:00
Davide Beatrici
c10fdcff2c
Merge PR #750 : Memory.c: fix pointer cast in TrackChangeObjSize() call
2018-10-14 08:07:33 +02:00
Davide Beatrici
e496f33455
Memory.c: fix pointer cast in TrackChangeObjSize() call
...
This commit fixes the "TrackDeleteObj: 0x12345678 is not Object!!" (where 0x12345678 is the actual address) errors with memcheck enabled.
It also fixes the following related warnings:
warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
TrackChangeObjSize((DWORD)addr, size, (DWORD)new_addr);
^
warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
TrackChangeObjSize((DWORD)addr, size, (DWORD)new_addr);
^
2018-10-14 07:51:53 +02:00
Davide Beatrici
9e967ce5ed
Merge PR #749 : MayaType.h: fix pointer casting warnings
2018-10-14 07:43:42 +02:00
Davide Beatrici
ec7a9d7281
MayaType.h: fix pointer casting warnings
...
warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define POINTER_TO_KEY(p) ((sizeof(void *) == sizeof(UINT)) ? (UINT)(p) : HashPtrToUINT(p))
^
warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
#define UINT64_TO_POINTER(i) ((sizeof(void *) == sizeof(UINT64)) ? (void *)(i) : (void *)((UINT)(i)))
^
warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
#define POINTER_TO_UINT64(p) (((sizeof(void *) == sizeof(UINT64)) ? (UINT64)(p) : (UINT64)((UINT)(p))))
^
2018-10-14 07:24:18 +02:00
Davide Beatrici
081db26359
Merge PR #748 : hamcorebuilder.c: check for "_DEBUG" macro and don't enable memcheck
2018-10-14 06:17:19 +02:00
Davide Beatrici
40cca2379e
hamcorebuilder.c: check for "_DEBUG" macro and don't enable memcheck
2018-10-14 03:19:12 +02:00
Davide Beatrici
e3402ac676
Merge PR #741 : Added OpenSSL and zlib .pdb files for .lib for Windows.
2018-10-10 06:05:21 +02:00
Davide Beatrici
76f0b2d037
BuildAll.cmd: copy "ossl_static.pdb" where the linker expects it to be
2018-10-10 05:52:54 +02:00
Davide Beatrici
d291929bd2
Merge PR #740 : Fix VS2017 x64 debug OpenSSL libraries name. For backward compatibility, libcrypto.lib is stored as libeay32.lib, and libssl.lib is stored as ssleay32.lib.
2018-10-10 00:47:09 +02:00
Davide Beatrici
0e22adc598
Merge PR #739 : vpntest improvement: add Server Manager UI and Client Manager UI test
2018-10-09 19:47:33 +02:00
Davide Beatrici
6dcba8f492
Merge PR #738 : Upgrade Windows OpenSSL to 1.1.1, and also Visual Studio 2017 static link libraries support.
2018-10-09 19:45:38 +02:00
Davide Beatrici
03d78693a3
Merge PR #735 : Debug flag and test mode improvements
2018-10-08 21:00:44 +02:00
Davide Beatrici
8ddd336c38
Merge PR #736 : vpntest project for programmers: runs VPN Server / VPN Client / VPN Bridge in test mode with full debug console output and memory leak checks
2018-10-08 06:33:47 +02:00
Davide Beatrici
97d7f3fb05
Add "vpntest" to CMake
2018-10-08 05:10:54 +02:00
Davide Beatrici
da8cd6a10d
Merge PR #734 : Mayaqua/Network.c: improve RecvFrom() and RecvFrom6()
2018-10-08 03:53:10 +02:00
Davide Beatrici
9fa9f6cdc1
Mayaqua/Network.c: improve RecvFrom() and RecvFrom6()
...
This commit improves the RecvFrom() and RecvFrom6() functions by:
- Using the right data type for the struct size variable passed to recvfrom().
- Improving the arguments validation mechanism.
- Printing unhandled errors.
2018-10-08 03:21:10 +02:00
Davide Beatrici
66b906378f
Merge PR #733 : Mayaqua/OS: improve UnixGetOsInfo() so that it retrieves info on recent Linux/BSD systems
2018-10-07 04:39:09 +02:00
Davide Beatrici
afe994f252
Mayaqua/OS: improve UnixGetOsInfo() so that it retrieves info on recent Linux/BSD systems
2018-10-07 01:38:02 +02:00
Davide Beatrici
335e0503c9
Mayaqua/Str: add TrimQuotes() function to remove quotes from a string
2018-10-06 22:42:29 +02:00
Davide Beatrici
9970d6f657
Mayaqua/Memory: move and adapt entry list functions from Cedar/Proto_OpenVPN
2018-10-06 22:41:35 +02:00
Davide Beatrici
2271bf5fba
Merge PR #730 : Add string for "IF_TYPE_PROP_VIRTUAL" network interface type
2018-10-03 09:26:05 +02:00
Davide Beatrici
e02237f397
Add string for "IF_TYPE_PROP_VIRTUAL" network interface type
2018-10-03 09:10:27 +02:00
Davide Beatrici
c5c1403f46
Merge PR #729 : legal.txt: remove unneeded text
2018-10-03 08:40:32 +02:00
Davide Beatrici
1f4d8c5a4b
legal.txt: remove unneeded text
2018-10-03 08:17:46 +02:00
Davide Beatrici
01caded489
Merge PR #728 : Copy authors file into "src/bin/hamcore" automatically
2018-10-03 07:41:27 +02:00
Davide Beatrici
e8050651c0
Copy authors file into "src/bin/hamcore" automatically
2018-10-03 07:24:42 +02:00
Davide Beatrici
750f583f41
Merge PR #727 : AUTHORS.TXT: update contributors list using "git log --format='%aN <%aE>' | sort -f | uniq"
2018-10-03 06:18:00 +02:00
Davide Beatrici
3bd2cf34f7
AUTHORS.TXT: update contributors list using "git log --format='%aN <%aE>' | sort -f | uniq"
...
Email addresses ending with "@users.noreply.github.com" are replaced with the GitHub profile links.
2018-10-03 05:52:16 +02:00
Davide Beatrici
6717877231
Merge PR #726 : AUTHORS.TXT: move development board members into a dedicated section
2018-10-02 02:10:59 +02:00
Davide Beatrici
69aef9c5f8
AUTHORS.TXT: move development board members into a dedicated section
2018-10-01 21:55:17 +02:00
Davide Beatrici
00f66616d2
Merge PR #721 : Encrypt.c: fix MdProcess()'s HMAC implementation
2018-10-01 19:08:38 +02:00
Davide Beatrici
34f443c0c7
Merge PR #718 : src/Cedar/BridgeUnix.c: resolve null pointer dereference
2018-09-29 23:30:28 +02:00
Davide Beatrici
05fecef6d8
Merge PR #725 : BridgeUnix.c: enable local bridge function on all BSD systems
2018-09-28 23:11:20 +02:00
Davide Beatrici
34b8666df1
Merge PR #722 : cmake: compare PROJECT_VERSION against src/CurrentBuild.txt
2018-09-28 21:00:21 +02:00
Davide Beatrici
aee6084b19
BridgeUnix.c: enable local bridge function on all BSD systems
2018-09-28 20:56:10 +02:00
Davide Beatrici
53c8abfd80
Encrypt.c: fix MdProcess()'s HMAC implementation
2018-09-27 20:28:48 +02:00
Davide Beatrici
33f5de78ba
Merge PR #715 : src/Cedar: resolve possible null pointer dereference and silence dead code warning
2018-09-24 20:35:47 +02:00
Davide Beatrici
f5bba7499d
Merge PR #712 : travis-ci: run stbcheck utility
2018-09-23 20:17:34 +02:00
Davide Beatrici
bfb188df0d
Merge PR #714 : fix localization files, missing strings were taken from "en"
2018-09-23 19:40:16 +02:00
Davide Beatrici
f449b0b405
Merge PR #704 : vpncmd: Added information about "Disable UDP Acceleration" setting into output of AccountGet command.
2018-09-23 17:05:45 +02:00
Davide Beatrici
4c0e562019
Merge PR #713 : AppVeyor: add Ubuntu 16.04 and 18.04 builds
2018-09-23 13:44:39 +02:00
Davide Beatrici
a015cc04b6
AppVeyor: add Ubuntu 16.04 and 18.04 builds
2018-09-22 21:07:07 +02:00
Davide Beatrici
c1d81c0940
Merge PR #695 : Revamp digest functions
2018-09-22 19:18:52 +02:00
Davide Beatrici
50b42070e2
Encrypt: reorder digest functions
2018-09-22 06:47:03 +02:00
Davide Beatrici
3f5f716357
Revamp digest functions
...
- Hash() has been removed because it was ambiguous, Md5() and Sha0() are proper replacements.
- HMacMd5() and HMacSha1() now share a common implementation handled by the new Internal_HMac() function.
- NewMd() and MdProcess() now support plain hashing (without the key).
- NewMd(), SetMdKey() and MdProcess() now check the OpenSSL functions' return value and in case of failure a debug message is printed along with the error string, if available.
- SetMdKey()'s return value has been changed from void to bool, so that it's possible to know whether the function succeeded or not.
- MdProcess()' return value has been changed from void to UINT (unsigned int) and the function now returns the number of bytes written by HMAC_Final() or EVP_DigestFinal_ex().
2018-09-22 06:36:09 +02:00
Davide Beatrici
69b35f875a
Merge PR #709 : Add 'stbcheck': the STB File Multilanguage Full-Mesh Consistency Checker
2018-09-22 05:17:12 +02:00
Davide Beatrici
a78bcb4f21
Merge PR #707 : src/Cedar/Hub.c: resolve null pointer dereference found by coverity
2018-09-19 04:23:56 +02:00
Davide Beatrici
f73d435302
Merge PR #706 : BridgeUnix.c: add TAP local bridge support for FreeBSD
2018-09-18 21:40:58 +02:00
Davide Beatrici
60a2583ee4
BridgeUnix.c: add TAP local bridge support for FreeBSD
2018-09-18 01:35:23 +02:00
Davide Beatrici
cb2aec1314
BridgeUnix.c: convert line endings from CRLF to LF
2018-09-18 01:32:01 +02:00
Davide Beatrici
93c962fb68
Merge PR #705 : src/Cedar/Client.c: remove not needed condition
2018-09-18 00:03:21 +02:00