1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-12-25 09:39:52 +03:00
Commit Graph

840 Commits

Author SHA1 Message Date
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
Ilya Shipitsin
971893c7b4 CI: avoid not needed builds, make AppVeyor upload src with submodules 2018-12-01 23:19:18 +05:00
Daiyuu Nobori
58e2f74f7f Added the "OpenVPNPushDummyIPv4AddressOnL2Mode" option for the OpenVPN L2 mode.
To fix the bug of OpenVPN 2.4.6 and particular version of kernel mode TAP driver on Linux, the TAP device must be up after the OpenVPN client is connected. However there is no direct push instruction to do so to OpenVPN client. Therefore we push the dummy IPv4 address (RFC7600) to the OpenVPN client to enforce the TAP driver UP state.
2018-12-01 16:20:30 +09:00
Ilya Shipitsin
08465e3f39
Merge pull request #772 from davidebeatrici/http-proxy-custom-header
Merge PR #772: Add custom HTTP header feature for HTTP proxy
2018-11-30 10:22:32 +05:00
Ilya Shipitsin
cbaf198bd1
Merge pull request #826 from chipitsine/issue_689
Merge PR #826: missing warning_ru.txt which caused null pointer dereference
2018-11-30 02:56:23 +05: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
Ilya Shipitsin
4be45342b7
Merge pull request #825 from chipitsine/cleanup
Merge PR #825: src/Mayaqua/Mayaqua: remove unused functions
2018-11-30 00:20:43 +05:00
Davide Beatrici
0c7ba23621
Merge PR #824: AppVeyor: shorten artifacts path, move github token to variables 2018-11-29 20:07:55 +01:00
Ilya Shipitsin
9e250e62be src/Mayaqua/Mayaqua: remove unused functions
found by cppcheck

[src/Mayaqua/Mayaqua.c:753]: (style) Consecutive return, break, continue, goto or throw statements are unnecessary.
[src/Mayaqua/Mayaqua.c:484]: (style) The function 'IsUnicode' is never used.
[src/Mayaqua/Mayaqua.c:438]: (style) The function 'MayaquaDotNetMode' is never used.
[src/Mayaqua/Mayaqua.c:774]: (style) The function 'PrintOsInfo' is never used.
2018-11-30 00:01:11 +05:00
Ilya Shipitsin
e8ad95b083 AppVeyor: shorten artifacts path, move github token to variables 2018-11-29 22:11:47 +05:00
Ilya Shipitsin
f985a50f31 quick and dirty fix for issue 689 2018-11-28 23:19:56 +05: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
Ilya Shipitsin
974f18505b v5.01.9665
Signed-off-by: Ilya Shipitsin <chipitsine@gmail.com>
2018-11-28 10:34:59 +00:00
Ilya Shipitsin
b65ebce4d6
Merge pull request #821 from chipitsine/master
Merge PR #821: AppVeyor refactor
2018-11-28 03:00:38 +05:00
Ilya Shipitsin
557d0a02d9 AppVeyor: do not upload ubuntu packages (we will swtich to Launchpad instead),
make vs2017 and vs2015 names different from each other, rename linux test script
2018-11-28 02:33:52 +05: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
Ilya Shipitsin
bc1070a7fd travis-ci: do not do anything on tag, source is packed automatically 2018-11-28 00:34:18 +05: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
Ilya Shipitsin
70ee8abae8
Merge pull request #818 from chipitsine/cleanup
Merge PR #818: src/Mayaqua/Cfg: remove unused functions, variables
2018-11-27 02:13:10 +05: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
Ilya Shipitsin
d72329c007 src/Mayaqua/Cfg: remove unused functions, variables
found by cppcheck

[src/Mayaqua/Cfg.c:669]: (style) Variable 'invalid_file' is assigned a value that is never used.
[src/Mayaqua/Cfg.c:2111]: (style) Variable 'v' is assigned a value that is never used.
[src/Mayaqua/Cfg.c:1114]: (style) The function 'CfgFolderToBufText' is never used.
[src/Mayaqua/Cfg.c:539]: (style) The function 'CfgRead' is never used.
[src/Mayaqua/Cfg.c:418]: (style) The function 'CfgSave' is never used.
[src/Mayaqua/Cfg.c:1425]: (style) The function 'CfgStrToType' is never used.
[src/Mayaqua/Cfg.c:708]: (style) The function 'CfgTest' is never used.
[src/Mayaqua/Cfg.c:704]: (style) The function 'CfgTest2' is never used.
[src/Mayaqua/Cfg.c:247]: (style) The function 'NewCfgRwW' is never used.
2018-11-27 01:52:27 +05:00
Ilya Shipitsin
4cbb8a8560
Merge pull request #817 from chipitsine/appveyor_pwsh
Merge PR #817: AppVeyor: renew github token, renamed APPVEYOR_REPO_TAG to upper case,
2018-11-27 01:20:29 +05:00
Ilya Shipitsin
6640f05233 AppVeyor: renew github token, renamed APPVEYOR_REPO_TAG to upper case,
added vpntest.exe to test memory
2018-11-27 01:01:30 +05: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
Ilya Shipitsin
2d30d718a0 travis-ci: run Coverity only after openssl is built 2018-11-20 09:34:17 +05:00
Ilya Shipitsin
3842e813d6 Release v5.01.9664
Signed-off-by: Ilya Shipitsin <chipitsine@gmail.com>
2018-11-20 04:20:51 +00: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
Ilya Shipitsin
1c89bf7ede
Merge pull request #811 from davidebeatrici/build-release-debug-info
Merge PR #811: Build debug info in release builds, provide PDB files on AppVeyor
2018-11-18 10:27:32 +05: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
Ilya Shipitsin
759d3f8709 gitlab-ci: enable SAST 2018-11-10 22:39:22 +05: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
Ilya Shipitsin
304893c139 src/Cedar/Protocol, src/Cedar/Session: cleanup, remove unused functions, variables,
resolve possible null pointer dereference

found by cppcheck

[src/Cedar/Protocol.c:3138] -> [src/Cedar/Protocol.c:3071]: (warning) Either the condition 's!=NULL' is redundant or there is possible null pointer dereference: s.
[src/Cedar/Protocol.c:916]: (style) Variable 'save' is assigned a value that is never used.
[src/Cedar/Protocol.c:6242]: (style) Variable 'size' is assigned a value that is never used.
[src/Cedar/Protocol.c:778]: (style) Variable 'old_disable' is assigned a value that is never used.
[src/Cedar/Protocol.c:1021]: (style) Variable 'save' is assigned a value that is never used.
[src/Cedar/Protocol.c:3708]: (style) Variable 'is_vgc' is assigned a value that is never used.
[src/Cedar/Protocol.c:5785]: (style) Variable 's' is assigned a value that is never used.
[src/Cedar/Protocol.c:6164]: (style) The function 'SocksConnectEx' is never used.
[src/Cedar/Protocol.c:907]: (style) The function 'CompareNodeInfo' is never used.
[src/Cedar/Protocol.c:6968]: (style) The function 'ProxyConnect' is never used.
[src/Cedar/Protocol.c:3986]: (style) The function 'SecureDelete' is never used.
[src/Cedar/Protocol.c:4042]: (style) The function 'SecureEnum' is never used.
[src/Cedar/Protocol.c:4127]: (style) The function 'SecureWrite' is never used.
[src/Cedar/Protocol.c:6463]: (style) The function 'SocksConnect' is never used.
[src/Cedar/Protocol.c:7185]: (style) The function 'TcpConnectEx2' is never used.
[src/Cedar/Protocol.c:7206]: (style) The function 'TcpIpConnect' is never used.
2018-11-10 14:18:18 +05:00
Ilya Shipitsin
3e042e093b travis-ci: add libressl build, make builds parallel, remove not needed brew 2018-11-10 12:32:21 +05:00
Ilya Shipitsin
da13915d1e
Merge pull request #804 from davidebeatrici/openbsd-aead-tag-macro-build-fix
Merge PR #804: Mayaqua/Encrypt.h: fix missing AEAD macro for OpenBSD
2018-11-09 00:23:19 +05:00
Ilya Shipitsin
aa9effbf4e
AppVeyor: automatically upload releases to github 2018-11-09 00:20:08 +05:00