1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-04-03 18:00:08 +03:00
Commit Graph

1622 Commits

Author SHA1 Message Date
Ilya Shipitsin
3a309c9f6e
Merge pull request #1041 from chipitsine/master
Merge PR #1041: 5.01.9672 release
2019-11-24 17:12:05 +01:00
Ilya Shipitsin
3b6c4d02ac 5.01.9672 release 2019-11-24 20:47:23 +05:00
djony
9749301e89
Update strtable_ru.stb 2019-11-24 01:45:57 +03:00
Davide Beatrici
876ca4ef3e
Merge PR #1039: Port latest improvements from stable repository 2019-11-23 06:41:57 +01:00
dnobori
1d2a58b172 Cedar: handle UDP acceleration and R-UDP versions 2019-11-23 04:38:27 +01:00
Davide Beatrici
6b08a451da Mayaqua: implement R-UDP version 2, powered by ChaCha20-Poly1305 2019-11-23 04:38:20 +01:00
Davide Beatrici
2ea5c2a7b0 Cedar: implement UDP acceleration version 2, powered by ChaCha20-Poly1305 2019-11-23 04:23:56 +01:00
dnobori
82a81a3ce6 Cedar: serve new web management interface 2019-11-23 04:23:56 +01:00
dnobori
9aaa9a7f15 Cedar: implement detailed protocol info 2019-11-23 04:23:56 +01:00
dnobori
ab57ef3f54 Mayaqua: add Windows Server 2019 to the supported operating systems list 2019-11-23 04:23:56 +01:00
dnobori
76ae935172 Cedar: various fixes 2019-11-23 04:23:51 +01:00
djony
9c66fff31c
Update strtable_ru.stb 2019-11-21 08:39:38 +03:00
djony
00a513f0f3
Update strtable_ru.stb 2019-11-21 08:37:51 +03:00
djony
b9186152bb
Update strtable_ru.stb 2019-11-20 17:59:46 +03:00
djony
2200aabe17
Update strtable_ru.stb 2019-11-20 17:50:57 +03:00
djony
890ba8ba18
Update strtable_ru.stb 2019-11-20 16:38:13 +03:00
Davide Beatrici
a676a0a6fd
Merge PR #1035: Cedar: add "DisableIPsecAggressiveMode" option 2019-11-18 07:31:27 +01:00
Daiyuu Nobori
76c330e74b Cedar: add "DisableIPsecAggressiveMode" option
Setting it to "true" mitigates CVE-2002-1623.
2019-11-18 06:16:49 +01:00
djony
5fcd91c390
Update strtable_ru.stb 2019-11-16 21:42:06 +03:00
djony
adb2e0bbbf
Update strtable_ru.stb 2019-11-16 20:51:15 +03:00
djony
b4693ab973
Update strtable_ru.stb 2019-11-16 19:44:57 +03:00
djony
f7f1675f6c
Update strtable_ru.stb 2019-11-13 17:39:59 +03:00
djony
2a48f85636
Update strtable_ru.stb 2019-11-11 22:29:48 +03:00
djony
3e487bb196
Update strtable_ru.stb 2019-11-11 21:25:46 +03:00
djony
a136957dfc
Update strtable_ru.stb 2019-11-10 19:46:36 +03:00
djony
6d9f78ff48
Update strtable_ru.stb 2019-11-10 15:02:16 +03:00
djony
73bacbad2d
Update strtable_ru.stb 2019-11-10 14:11:45 +03:00
djony
ec67ec6f5b
Update strtable_ru.stb 2019-11-07 17:15:12 +03:00
djony
faaf7e3531
Update strtable_ru.stb 2019-11-07 14:29:55 +03:00
djony
a0fa4ac1ad
Update strtable_ru.stb 2019-11-07 11:59:08 +03:00
djony
e2e8562035
Update strtable_ru.stb 2019-11-02 00:03:00 +03:00
Davide Beatrici
4acd7ab98e
Merge PR #1022: Move generic proxy stuff from Cedar to Mayaqua 2019-11-01 09:35:18 +01:00
Davide Beatrici
7829fe2c59
Merge PR #1024: Make install dir for unit files configurable 2019-10-31 09:37:15 +01:00
Donald Buczek
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
Davide Beatrici
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
Davide Beatrici
3c21d982fc Wpc.c: adapt WpcSockConnectEx() for new proxy functions 2019-10-30 01:39:11 +01:00
Davide Beatrici
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
Davide Beatrici
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
djony
faaad016d9
Update strtable_ru.stb 2019-10-28 17:40:21 +03:00
djony
b78bb4f9d1
Update strtable_ru.stb 2019-10-28 16:16:08 +03:00
djony
9c767d7367
Update strtable_ru.stb 2019-10-28 14:11:23 +03:00
djony
f8cafc7844
Update strtable_ru.stb 2019-10-28 13:04:41 +03:00
djony
08181a3520
Create strtable_ru.stb 2019-10-28 12:21:26 +03:00
djony
4da4f3f5c3
Merge pull request #1 from SoftEtherVPN/master
new
2019-10-28 12:20:02 +03:00
djony
cc65b49014
Create strtable_ru.stb 2019-10-28 12:19:37 +03:00
djony
fd73baa06d
Delete strtable_ru.stb 2019-10-28 12:17:14 +03:00
djony
dce351ab3b
Update strtable_ru.stb 2019-10-28 12:11:44 +03:00
Davide Beatrici
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
Davide Beatrici
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
Davide Beatrici
7349c4b16a
Merge PR #1018: Proto_OpenVPN.c: fix segmentation fault in OvsProceccRecvPacket() 2019-10-26 00:53:27 +02:00