1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-11-26 05:11:33 +03:00
Commit Graph

1559 Commits

Author SHA1 Message Date
b9186152bb Update strtable_ru.stb 2019-11-20 17:59:46 +03:00
2200aabe17 Update strtable_ru.stb 2019-11-20 17:50:57 +03:00
890ba8ba18 Update strtable_ru.stb 2019-11-20 16:38:13 +03:00
a676a0a6fd Merge PR #1035: Cedar: add "DisableIPsecAggressiveMode" option 2019-11-18 07:31:27 +01:00
76c330e74b Cedar: add "DisableIPsecAggressiveMode" option
Setting it to "true" mitigates CVE-2002-1623.
2019-11-18 06:16:49 +01:00
5fcd91c390 Update strtable_ru.stb 2019-11-16 21:42:06 +03:00
adb2e0bbbf Update strtable_ru.stb 2019-11-16 20:51:15 +03:00
b4693ab973 Update strtable_ru.stb 2019-11-16 19:44:57 +03:00
f7f1675f6c Update strtable_ru.stb 2019-11-13 17:39:59 +03:00
2a48f85636 Update strtable_ru.stb 2019-11-11 22:29:48 +03:00
3e487bb196 Update strtable_ru.stb 2019-11-11 21:25:46 +03:00
a136957dfc Update strtable_ru.stb 2019-11-10 19:46:36 +03:00
6d9f78ff48 Update strtable_ru.stb 2019-11-10 15:02:16 +03:00
73bacbad2d Update strtable_ru.stb 2019-11-10 14:11:45 +03:00
ec67ec6f5b Update strtable_ru.stb 2019-11-07 17:15:12 +03:00
faaf7e3531 Update strtable_ru.stb 2019-11-07 14:29:55 +03:00
a0fa4ac1ad Update strtable_ru.stb 2019-11-07 11:59:08 +03:00
e2e8562035 Update strtable_ru.stb 2019-11-02 00:03:00 +03:00
4acd7ab98e Merge PR #1022: Move generic proxy stuff from Cedar to Mayaqua 2019-11-01 09:35:18 +01:00
7829fe2c59 Merge PR #1024: Make install dir for unit files configurable 2019-10-31 09:37:15 +01:00
12cbf34302 Make install dir for unit files configurable
Currently the systemd service unit files are installed
into /lib/systemd/system if that directory exists. This
might not be optimal for every user, e.g. when the build
system is not the target system or when building as an
unprivileged user using CMAKE_INSTALL_PREFIX.

Make this configurable by adding a cached cmake variable
CMAKE_INSTALL_SYSTEMD_UNITDIR. Usage:

- install unit files into /lib/systemd/system if it exists (old
behavior)

    cmake

- don't install unit files

   cmake -D CMAKE_INSTALL_SYSTEMD_UNITDIR=

- install into absolute path

   cmake -D CMAKE_INSTALL_SYSTEMD_UNITDIR=/path

- install into path relative to ${CMAKE_INSTALL_PREFIX}

   cmake -D CMAKE_INSTALL_SYSTEMD_UNITDIR=path
2019-10-30 11:33:08 +01:00
63caa4b07f Protocol.c: adapt ClientConnectGetSocket() for new proxy functions
The function has been greatly improved, here are some of the changes:

- The required SESSION (c->Session) parameter is checked correctly: the function returns immediately in case it's NULL. Previously, the function didn't return in case the parameter was NULL; multiple checks were in place, but not in all instances where the parameter was dereferenced.
- The resolved IP address is cached with all proxy types.
- The "RestoreServerNameAndPort" variable is documented.
- The Debug() messages have been improved.
2019-10-30 01:39:11 +01:00
3c21d982fc Wpc.c: adapt WpcSockConnectEx() for new proxy functions 2019-10-30 01:39:11 +01:00
59dc26aa21 Protocol: add ProxyCodeToCedar()
This new function translates a proxy error code to a Cedar error code.
2019-10-30 01:39:11 +01:00
b8f58a2f94 Move generic proxy stuff from Cedar to Mayaqua
This commit moves the generic (not related to our protocol) proxy stuff from Cedar to Mayaqua, in dedicated files.

The functions are refactored so that they all have the same arguments and follow the same logic.

Dedicated error codes are added, in order to indicate clearly why the function(s) failed.
2019-10-30 01:39:04 +01:00
faaad016d9 Update strtable_ru.stb 2019-10-28 17:40:21 +03:00
b78bb4f9d1 Update strtable_ru.stb 2019-10-28 16:16:08 +03:00
9c767d7367 Update strtable_ru.stb 2019-10-28 14:11:23 +03:00
f8cafc7844 Update strtable_ru.stb 2019-10-28 13:04:41 +03:00
08181a3520 Create strtable_ru.stb 2019-10-28 12:21:26 +03:00
4da4f3f5c3 Merge pull request #1 from SoftEtherVPN/master
new
2019-10-28 12:20:02 +03:00
cc65b49014 Create strtable_ru.stb 2019-10-28 12:19:37 +03:00
fd73baa06d Delete strtable_ru.stb 2019-10-28 12:17:14 +03:00
dce351ab3b Update strtable_ru.stb 2019-10-28 12:11:44 +03:00
1e835e7ec2 Merge PR #1020: Proto_OpenVPN.c: improve OvsProcessData(), fix out-of-bounds access found by Coverity 2019-10-27 09:37:11 +01:00
5d73cd878f Proto_OpenVPN.c: improve OvsProcessData(), fix out-of-bounds access found by Coverity
Coverity Scan detected an out-of-bounds access issue: OvsProcessData() checked whether the payload size was bigger than the size of the buffer, instead of checking whether the entire packet size (payload size + 2 bytes) was, resulting in an out-of-bounds access in case the payload size is bigger than 1998.

This commit also improves the variable names, the comments and adds two Debug() lines.
2019-10-27 09:01:56 +01:00
7349c4b16a Merge PR #1018: Proto_OpenVPN.c: fix segmentation fault in OvsProceccRecvPacket() 2019-10-26 00:53:27 +02:00
16bde47763 Proto_OpenVPN.c: fix segmentation fault in OvsProceccRecvPacket()
OvsDecrypt() returns 0 when it fails, resulting in "size" rolling over with an end result of 4294967292.

This commit fixes the issue by checking whether "size" is greater than sizeof(UINT) before performing the subtraction.
2019-10-26 00:36:07 +02:00
79a60bc5f0 Merge PR #1014: Addressing the OpenVPN UDP reflection amplification attack 2019-10-22 09:42:08 +02:00
4d42f450b2 Addressing the UDP reflection amplification attack: https://github.com/SoftEtherVPN/SoftEtherVPN/issues/1001 2019-10-22 11:14:05 +09:00
46d8da6744 Merge PR #1012: Mayaqua.h: include <stdarg.h> for "va_list" on Illumos 2019-10-21 22:08:09 +02:00
51330fdb43 Mayaqua.h: include <stdarg.h> for "va_list" on Illumos 2019-10-21 21:44:38 +02:00
5b15b12ea9 Merge PR #1011: Protocol.c: fix bug in ClientConnectGetSocket() causing custom HTTP header not to work 2019-10-21 21:38:34 +02:00
12cc242529 Protocol.c: fix bug in ClientConnectGetSocket() causing custom HTTP header not to work
The bug was caused by a typo in the StrCpy() call: the source buffer was the same as the destination one, meaning that the function didn't do anything.
2019-10-21 20:26:56 +02:00
4afdad09a1 Merge PR #1009: Move HTTP related functions to dedicated file(s) in Mayaqua 2019-10-20 13:28:53 +02:00
2f90e9ecb8 Mayaqua: move HTTP functions from "Network" to "HTTP" 2019-10-20 04:15:12 +02:00
c3d6ffc533 Move GetMimeTypeFromFileName() and related structure to Mayaqua
The structure (containing all mimetypes) occupies almost 700 lines, which are a lot.

This is just the beginning of the refactor plan.
2019-10-20 04:15:12 +02:00
04ecbf843a Mayaqua.h: include <stdio.h> for "FILE" 2019-10-20 04:15:12 +02:00
6b41b19327 Mayaqua.h: include <stddef.h>, for "wchar_t" 2019-10-20 04:15:12 +02:00
93dcd25d63 Merge PR #1010: Bump mixin-deep from 1.3.1 to 1.3.2 in /src/bin/hamcore/wwwroot/admin/default 2019-10-20 01:06:55 +02:00