1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-27 11:59:53 +03:00
Commit Graph

1829 Commits

Author SHA1 Message Date
Ilya Shipitsin
6440521f81 src/Mayaqua/Network.c: remove reccuring check
found by PVS analyzer

src/Mayaqua/Network.c	18715	err	V571 Recurring check. The 'if (u->GetNatTIpThread == NULL)' condition was already verified in line 18712.
2018-11-04 01:04:58 +05:00
Ilya Shipitsin
dcc684ea28 src/Cedar/Admin.c: remove reccuring check
found by PVS analyzer

src/Cedar/Admin.c	5583	err	V571 Recurring check. The 'if (no_include)' condition was already verified in line 5581.
2018-11-04 01:02:51 +05:00
Ilya Shipitsin
87702f0f7d src/Mayaqua/OS: remove unused functions
found by cppcheck

[src/Mayaqua/OS.c:493]: (style) The function 'OSDec32' is never used.
[src/Mayaqua/OS.c:373]: (style) The function 'OSDeleteDir' is never used.
[src/Mayaqua/OS.c:393]: (style) The function 'OSFileCreate' is never used.
[src/Mayaqua/OS.c:353]: (style) The function 'OSFileDelete' is never used.
[src/Mayaqua/OS.c:383]: (style) The function 'OSFileOpen' is never used.
[src/Mayaqua/OS.c:331]: (style) The function 'OSFileRename' is never used.
[src/Mayaqua/OS.c:487]: (style) The function 'OSInc32' is never used.
[src/Mayaqua/OS.c:363]: (style) The function 'OSMakeDir' is never used.
[src/Mayaqua/OS.c:541]: (style) The function 'OSResetEvent' is never used.
2018-11-04 00:41:12 +05:00
Ilya Shipitsin
f219feda2c
Merge pull request #798 from chipitsine/cleanup
Merge PR #798: src/Cedar/Proto_IkePacket: remove unused functions, redundant assignment
2018-11-04 00:30:16 +05:00
Ilya Shipitsin
bfe8ee8127 src/Cedar/Proto_IkePacket: remove unused functions, redundant assignments
found by cppcheck

[src/Cedar/Proto_IkePacket.c:958]: (style) The function 'IkeNewCertPayload' is never used.
[src/Cedar/Proto_IkePacket.c:942]: (style) The function 'IkeNewCertRequestPayload' is never used.
[src/Cedar/Proto_IkePacket.c:875]: (style) The function 'IkeNewNoticeErrorInvalidExchangeTypePayload' is never used.
[src/Cedar/Proto_IkePacket.c:2542]: (style) The function 'IkeNewSpi' is never used.
[src/Cedar/Proto_IkePacket.c:142]: (style) The function 'IkePhase1CryptIdToKeySize' is never used.
[src/Cedar/Proto_IkePacket.c:157]: (style) The function 'IkePhase2CryptIdToKeySize' is never used.
[src/Cedar/Proto_IkePacket.c:172]: (style) The function 'IkeStrToPhase1CryptId' is never used.
[src/Cedar/Proto_IkePacket.c:187]: (style) The function 'IkeStrToPhase1HashId' is never used.
[src/Cedar/Proto_IkePacket.c:196]: (style) The function 'IkeStrToPhase2CryptId' is never used.
[src/Cedar/Proto_IkePacket.c:211]: (style) The function 'IkeStrToPhase2HashId' is never used.
[src/Cedar/Proto_IkePacket.c:2168]: (style) Condition 'b==NULL' is always true
2018-11-04 00:13:51 +05:00
Ilya Shipitsin
90902f1364
Merge pull request #797 from chipitsine/test
Merge PR #797: AppVeyor: enable parallel builds and push systemctl log as artifact
2018-11-04 00:10:51 +05:00
Ilya Shipitsin
cdc3551ad3 AppVeyor: enable parralel builds 2018-11-03 23:51:09 +05:00
Ilya Shipitsin
f97a20a9cc AppVeyor: only add systemctl log when appropriate 2018-11-03 23:49:22 +05: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
Nate Stuyvesant
c0731ee9b5
docs(BUILD_UNIX): add macOS specifics 2018-10-31 15:14:39 -04:00
Davide Beatrici
953989d344 Proto_OpenVPN.c: move encrypt and decrypt process into dedicated functions 2018-10-31 18:14:38 +01:00
Ilya Shipitsin
080edcdb81 v5.01.9662
Signed-off-by: Ilya Shipitsin <chipitsine@gmail.com>
2018-10-30 16:47:37 +00: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
Ilya Shipitsin
b02dd7ca53 gitlab-ci: add "vpntest" memory tests 2018-10-30 01:30:11 +05:00
Davide Beatrici
919cb2ae75
Merge PR #788: travis-ci: add "vpntest" memory checks 2018-10-29 20:33:42 +01:00
Ilya Shipitsin
5f7d9b8c11 travis-ci: add "vpntest" memory checks 2018-10-29 23:21:08 +05:00
Ilya Shipitsin
3411625177
Merge pull request #785 from chipitsine/gitlab_badge
Merge PR #785: README.md: add gitlab-ci badge
2018-10-29 20:56:48 +05:00
Ilya Shipitsin
32ccec317a README.md: add gitlab-ci badge 2018-10-29 20:28:13 +05:00
Davide Beatrici
7f8926e0c1
Merge PR #782: AppVeyor: run "vpntest" for ubuntu 18.04 2018-10-29 13:59:21 +01:00
Ilya Shipitsin
1af74e50ad AppVeyor: run "vpntest" for ubuntu 18.04 2018-10-29 15:53:42 +05:00
Ilya Shipitsin
8da2464831
Merge pull request #781 from chipitsine/BN_free
Merge PR #781: src/Mayaqua/Encrypt.c: fix memory leak occasionally found by valgrind
2018-10-29 14:22:45 +05:00
Ilya Shipitsin
b5125e566c
Merge pull request #780 from dnobori/181029_fixmemoryleak
Merge PR #780: Fix a single memory leak in loading the string table
2018-10-29 11:32:08 +05:00
Ilya Shipitsin
5e75a1fb99 src/Mayaqua/Encrypt.c: fix memory leak occasionally found by valgrind 2018-10-29 10:52:56 +05:00
Daiyuu Nobori
0e4f2a3864 Add .suo (Visual Studio user setting) file to the .gitignore file. 2018-10-29 14:49:09 +09:00
Daiyuu Nobori
4e4db36c11 Fix a single memory leak in loading the string table. 2018-10-29 14:48:15 +09:00
Davide Beatrici
18f7bfe33f
Merge PR #776: AppVeyor: non interactive mode of journalctl 2018-10-28 16:46:09 +01:00
Ilya Shipitsin
103b6eb194 AppVeyor: non interactive mode of journalctl 2018-10-28 20:25:56 +05:00
Ilya Shipitsin
ae34141b7a
Merge pull request #774 from chipitsine/master
Merge PR #774: vpntest: return non zero on invalid syntax
2018-10-27 10:16:13 +05:00
Ilya Shipitsin
292670cfa2 vpntest: return non zero on invalid syntax 2018-10-27 09:55:42 +05:00
Davide Beatrici
9ae379bc31
Merge PR #773: ci repair and refactoring 2018-10-26 15:08:20 +02:00
Ilya Shipitsin
8908f4a933 app veyor: add "on_failure" linux script 2018-10-26 17:31:55 +05:00
Ilya Shipitsin
60acfae417 gitlab-ci: drop 16.04 and 18.04 builds in favour of app veyor 2018-10-26 17:24:37 +05:00
Ilya Shipitsin
092fe96676 app veyor: make it green again 2018-10-26 17:24:09 +05:00
Ilya Shipitsin
1cb225c0ba
Merge pull request #771 from chipitsine/travis_fix
Merge PR #771: travis-ci: fix osx build, remove unneeded "apt" plugin (it is unused since CPack)
2018-10-25 01:03:57 +05:00
Davide Beatrici
ef6b15bda2
Merge PR #769: CMake: add support for Windows (Visual C++ 2017 toolset) 2018-10-24 21:43:45 +02:00
Ilya Shipitsin
aff8566957 travis-ci: fix osx build, remove unneeded "apt" plugin (it is unused since CPack) 2018-10-25 00:33:58 +05: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
Ilya Shipitsin
fe71635603
Merge pull request #770 from chipitsine/cmake_fix
Merge PR #770: CMake: change ${CMAKE_SOURCE_DIR}/tmp with ${CMAKE_BINARY_DIR}
2018-10-25 00:16:47 +05:00
Ilya Shipitsin
97393bbe45 CMake: change ${CMAKE_SOURCE_DIR}/tmp with ${CMAKE_BINARY_DIR} 2018-10-24 23:47:17 +05:00
Ilya Shipitsin
b34d036647
Merge pull request #767 from chipitsine/cmake_fix
Merge PR #767: CMake: add dynamic libraries to RPATH
2018-10-24 13:42:27 +05:00
Ilya Shipitsin
7d1fced672 try to fix App Veyor 2018-10-24 00:33:19 +05:00
Ilya Shipitsin
e50cf278cd CMake: add dynamic libraries to RPATH
Fixes #766
2018-10-24 00:32:41 +05:00
Ilya Shipitsin
5b11e6bffd fix typo issued by the previous commit 2018-10-22 22:22:08 +05:00