Davide Beatrici
d7941be664
Merge PR #875 : Fixed wrong function name in Debug message
2019-02-16 03:04:07 +01:00
Davide Beatrici
c1243c5198
Merge PR #873 : ver.rc: fix misspelling
2019-02-14 08:51:19 +01:00
Davide Beatrici
270d9f1e0b
Merge PR #872 : Fix to show correct version in Server Manager GUI
2019-02-14 08:38:09 +01:00
Davide Beatrici
8657955c92
Merge PR #867 : Improve translations for inf file.
2019-01-24 01:42:25 +01:00
Davide Beatrici
a97b87da68
Cedar/Admin.c: fix segmentation fault caused by non-initialized string in StGetServerCipherList()
...
StrCat() appends a string to an already existing string. In order to know where the existing string ends, it uses StrLen() which in turn uses strlen(), a function considered unsafe because it doesn't stop until it finds the null character.
Since the string was allocated but not initialized, StrCat() was either:
- Working correctly.
- Copying only a part of the string.
- Making the program crash via strlen().
The fix consists in using StrCpy(), which starts writing at the beginning of the string.
2019-01-21 04:15:55 +01:00
Davide Beatrici
09ee19e72b
Mayaqua/Network.c: fix double free crash in GetCipherList()
...
SSL_free() also frees the associated context.
https://github.com/openssl/openssl/blob/d6c3c1896cf3c0d69bc27da923d63f8130b13ca0/ssl/ssl_lib.c#L1209
From https://www.openssl.org/docs/man1.1.1/man3/SSL_free.html :
"SSL_free() also calls the free()ing procedures for indirectly affected items, if applicable: the buffering BIO, the read and write BIOs, cipher lists specially created for this ssl, the SSL_SESSION. Do not explicitly free these indirectly freed up items before or after calling SSL_free(), as trying to free things twice may lead to program failure."
2019-01-21 04:14:47 +01:00
Davide Beatrici
3b85a116ff
Merge PR #857 : remove unused functions
2019-01-06 20:31:36 +01:00
Davide Beatrici
b882265f84
Merge PR #856 : remove unused functions
2019-01-06 17:26:23 +01:00
Davide Beatrici
359918c1cb
Merge PR #855 : AppVeyor: run openvpn integration tests
2019-01-06 13:24:13 +01:00
Davide Beatrici
4e6f58584e
Merge PR #854 : run openvpn tests within Azure Pipelines
2019-01-05 22:33:23 +01:00
Davide Beatrici
8ec43e7618
Merge PR #852 : Cedar: retrieve the list of available encryption algorithms from the server
2019-01-01 22:10:33 +01:00
Davide Beatrici
d62421adcb
Cedar: retrieve the list of available encryption algorithms from the server
2019-01-01 20:31:13 +01:00
Davide Beatrici
422076d6c9
Merge PR #851 : Mayaqua: fix segmentation fault, add new FreeHttpHeaderSafe() function
2018-12-30 15:00:21 +01:00
Davide Beatrici
2a572aab21
Mayaqua: fix segmentation fault, add new FreeHttpHeaderSafe() function
2018-12-30 14:46:26 +01:00
Davide Beatrici
619a533b8f
Merge PR #843 : Mayaqua: query OpenSSL for the list of available ciphers instead of relying on a static list
2018-12-28 20:24:13 +01:00
Davide Beatrici
2aaeed67c4
Merge PR #848 : Fixed a typo in Chinese translation
2018-12-24 22:55:47 +01:00
Davide Beatrici
eee494f046
Merge PR #847 : Mayaqua: add "PTR_TO_PTR" macro intended to be used with FreeSafe()
2018-12-23 11:36:40 +01:00
Davide Beatrici
fca10c0975
Merge PR #845 : Cedar/IPC.c: fix memory leak occurring when both the username and common name are not present (OpenVPN)
2018-12-23 11:35:47 +01:00
Davide Beatrici
e51c319648
Mayaqua: add "PTR_TO_PTR" macro intended to be used with FreeSafe()
2018-12-22 07:38:38 +01:00
Davide Beatrici
ef77e95f87
Cedar/IPC.c: fix memory leak occurring when both the username and common name are not present (OpenVPN)
2018-12-21 21:24:22 +01:00
Davide Beatrici
7f9d47b3aa
Mayaqua: query OpenSSL for the list of available ciphers instead of relying on a static list
2018-12-21 09:54:51 +01:00
Davide Beatrici
545c987a8a
Merge PR #842 : hamcore: fix port number shown in the server management info string of vpncmd
2018-12-21 09:06:02 +01:00
Davide Beatrici
ac5e68b3ed
hamcore: fix port number shown in the server management info string of vpncmd
2018-12-21 07:27:57 +01:00
Davide Beatrici
3c3aa900b6
Merge PR #841 : Mayaqua: fix segmentation fault, add new FreeSafe() function
2018-12-20 03:19:43 +01:00
Davide Beatrici
bd01cbff9a
Mayaqua: add new FreeSafe() function which calls Free() and set the pointer's value to NULL
2018-12-20 02:52:22 +01:00
Davide Beatrici
ada06e218e
Mayaqua: revamp RecvHttpHeader() so that cleanup functions are not called twice
2018-12-19 20:00:18 +01:00
Davide Beatrici
30f37beed2
Merge PR #838 : cleanup: remove ChangeLog, it is not actively maintained
2018-12-18 00:21:04 +01:00
Davide Beatrici
fcba22988f
Merge PR #835 : Cedar: Bind the special listeners to the specified IP address
2018-12-16 17:02:47 +01:00
Davide Beatrici
6c44cecc64
Cedar: Bind the special listeners to the specified IP address
2018-12-15 21:33:37 +01:00
Davide Beatrici
aa3a797edb
Merge PR #833 : Add new icons based on the one made by Icons8
2018-12-14 03:02:23 +01:00
Davide Beatrici
884a402c0c
README.md: Mention Icons8's support
2018-12-07 08:50:34 +00:00
Davide Beatrici
a812910f85
src: Update VPN Client Manager and VPN Server Manager icons
2018-12-07 08:35:02 +00:00
Davide Beatrici
79012b4b21
resources: Add icons based on the one made by Icons8
...
https://icons8.com/icon/39916/softether-vpn
2018-12-07 08:34:33 +00:00
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