Davide Beatrici
740a4aafe1
Merge PR #831 : SHA-0 Implementation replacement from GPLv3 to Apache License
2018-12-02 02:53:59 +01:00
Davide Beatrici
e87a8693bb
Merge PR #828 : Added the "OpenVPNPushDummyIPv4AddressOnL2Mode" option for the OpenVPN L2 mode.
2018-12-02 00:35:44 +01:00
Davide Beatrici
32172ed82d
Merge PR #830 : CI: avoid not needed builds, make AppVeyor upload src with submodules
2018-12-01 20:07:01 +01:00
Davide Beatrici
aefbd2e903
Add custom HTTP header feature for HTTP proxy
...
A custom HTTP header can be used to bypass certain restrictions imposed on the network or to avoid speed limitations applied by the QoS.
2018-11-29 20:32:21 +01:00
Davide Beatrici
0c7ba23621
Merge PR #824 : AppVeyor: shorten artifacts path, move github token to variables
2018-11-29 20:07:55 +01:00
Davide Beatrici
bf0d5c551e
Merge PR #823 : Cedar: allow @ in username
2018-11-28 18:32:17 +01:00
Davide Beatrici
a1722ac2e0
Cedar: allow @ in username
2018-11-28 15:51:04 +01:00
Davide Beatrici
28e9b46634
Merge PR #820 : travis-ci: do not do anything on tag, source is packed automatically
2018-11-27 20:51:56 +01:00
Davide Beatrici
dbfc990701
Merge PR #819 : CMake: build targets with versioning info on Windows
2018-11-27 17:03:36 +01:00
Davide Beatrici
8d37f3fa0f
BuildUtil: use new variables
2018-11-27 05:26:28 +01:00
Davide Beatrici
6903f9b89f
CMake: build targets with versioning info on Windows
2018-11-27 05:26:21 +01:00
Davide Beatrici
0642427080
BuildFiles: edit "ver.rc" so that it uses CMake's variables syntax
2018-11-27 05:00:30 +01:00
Davide Beatrici
04188f8606
CMake: change project name to "SoftEther VPN", create and use "TOP_DIRECTORY" variable
2018-11-27 05:00:30 +01:00
Davide Beatrici
e143873337
Merge PR #816 : Cedar: add new "UsernameHubSeparator" configuration option for the server, to specify a different character from '@'
2018-11-26 21:59:52 +01:00
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