mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-09-21 02:39:21 +03:00
Compare commits
18 Commits
5.02.5186
...
903dc856ff
Author | SHA1 | Date | |
---|---|---|---|
903dc856ff | |||
c2487c6b2e | |||
817214da1f | |||
015f93f7b7 | |||
cdd3bddcc6 | |||
0a1f0913d9 | |||
18cbd4627a | |||
a8bc827706 | |||
e475d70c0b | |||
e94240d9a0 | |||
023eb3465d | |||
5d1ce1a2cd | |||
d8569ad31a | |||
e3e0c33e3b | |||
8f0deb576c | |||
27d233a522 | |||
128fefc63e | |||
3a25c6bf73 |
7
.github/workflows/linux.yml
vendored
7
.github/workflows/linux.yml
vendored
@ -26,6 +26,13 @@ jobs:
|
|||||||
cd build
|
cd build
|
||||||
cpack -C Release -G DEB
|
cpack -C Release -G DEB
|
||||||
|
|
||||||
|
- name: Upload DEB packages as artifacts
|
||||||
|
if: github.ref == 'refs/heads/master'
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: deb-packages
|
||||||
|
path: build/*.deb
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
.ci/appveyor-deb-install-test.sh
|
.ci/appveyor-deb-install-test.sh
|
||||||
|
2
.github/workflows/macos.yml
vendored
2
.github/workflows/macos.yml
vendored
@ -7,7 +7,7 @@ jobs:
|
|||||||
build_and_test:
|
build_and_test:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [macos-14, macos-13, macos-12]
|
os: [macos-15, macos-14, macos-13]
|
||||||
name: ${{ matrix.os }}
|
name: ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.15)
|
|||||||
set(BUILD_NUMBER CACHE STRING "The number of the current build.")
|
set(BUILD_NUMBER CACHE STRING "The number of the current build.")
|
||||||
|
|
||||||
if ("${BUILD_NUMBER}" STREQUAL "")
|
if ("${BUILD_NUMBER}" STREQUAL "")
|
||||||
set(BUILD_NUMBER "5186")
|
set(BUILD_NUMBER "5187")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (BUILD_NUMBER LESS 5180)
|
if (BUILD_NUMBER LESS 5180)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"environments": [ { "BuildNumber": "5186" } ],
|
"environments": [ { "BuildNumber": "5187" } ],
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "x64-native",
|
"name": "x64-native",
|
||||||
|
@ -2,4 +2,4 @@ SoftEther VPN ("SoftEther" means "Software Ethernet") is an open-source cross-pl
|
|||||||
Its protocol is very fast and it can be used in very restricted environments, as it's able to transfer packets over DNS and ICMP.
|
Its protocol is very fast and it can be used in very restricted environments, as it's able to transfer packets over DNS and ICMP.
|
||||||
The server includes a free Dynamic DNS service, which can be used to access the server even if the public IP address changes.
|
The server includes a free Dynamic DNS service, which can be used to access the server even if the public IP address changes.
|
||||||
A NAT-Traversal function is also available, very useful in case the required ports cannot be opened on the firewall.
|
A NAT-Traversal function is also available, very useful in case the required ports cannot be opened on the firewall.
|
||||||
The supported third party protocols are OpenVPN, L2TP/IPSec and SSTP.
|
The supported third party protocols are OpenVPN, L2TP/IPSec, SSTP and WireGuard.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net7.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
|
@ -2138,9 +2138,9 @@ void L2TPProcessInterrupts(L2TP_SERVER *l2tp)
|
|||||||
UINT64 l2tpTimeout = L2TP_TUNNEL_TIMEOUT;
|
UINT64 l2tpTimeout = L2TP_TUNNEL_TIMEOUT;
|
||||||
|
|
||||||
// If we got on ANY session a higher timeout than the default L2TP tunnel timeout, increase it
|
// If we got on ANY session a higher timeout than the default L2TP tunnel timeout, increase it
|
||||||
for (i = 0; i < LIST_NUM(t->SessionList); i++)
|
for (j = 0; j < LIST_NUM(t->SessionList); j++)
|
||||||
{
|
{
|
||||||
L2TP_SESSION* s = LIST_DATA(t->SessionList, i);
|
L2TP_SESSION* s = LIST_DATA(t->SessionList, j);
|
||||||
|
|
||||||
if (s->TubeRecv != NULL && s->TubeRecv->DataTimeout > l2tpTimeout)
|
if (s->TubeRecv != NULL && s->TubeRecv->DataTimeout > l2tpTimeout)
|
||||||
{
|
{
|
||||||
|
@ -4259,7 +4259,7 @@ UINT MsService(char *name, SERVICE_FUNCTION *start, SERVICE_FUNCTION *stop, UINT
|
|||||||
|
|
||||||
if ((mode == SVC_MODE_INSTALL || mode == SVC_MODE_UNINSTALL || mode == SVC_MODE_START ||
|
if ((mode == SVC_MODE_INSTALL || mode == SVC_MODE_UNINSTALL || mode == SVC_MODE_START ||
|
||||||
mode == SVC_MODE_STOP || mode == SVC_MODE_SERVICE) &&
|
mode == SVC_MODE_STOP || mode == SVC_MODE_SERVICE) &&
|
||||||
(ms->IsNt == false))
|
(IsNt() == false))
|
||||||
{
|
{
|
||||||
// Tried to use the command for the NT in non-WindowsNT system
|
// Tried to use the command for the NT in non-WindowsNT system
|
||||||
MsgBox(NULL, MB_ICONSTOP, _UU("SVC_NT_ONLY"));
|
MsgBox(NULL, MB_ICONSTOP, _UU("SVC_NT_ONLY"));
|
||||||
|
@ -170,7 +170,6 @@ typedef struct MS
|
|||||||
{
|
{
|
||||||
HINSTANCE hInst;
|
HINSTANCE hInst;
|
||||||
HINSTANCE hKernel32;
|
HINSTANCE hKernel32;
|
||||||
bool IsNt;
|
|
||||||
bool IsAdmin;
|
bool IsAdmin;
|
||||||
HANDLE hCurrentProcess;
|
HANDLE hCurrentProcess;
|
||||||
UINT CurrentProcessId;
|
UINT CurrentProcessId;
|
||||||
|
@ -6,7 +6,9 @@
|
|||||||
// VPN Command Line Management Utility
|
// VPN Command Line Management Utility
|
||||||
|
|
||||||
#include "Cedar/Cedar.h"
|
#include "Cedar/Cedar.h"
|
||||||
|
#ifdef OS_WIN32
|
||||||
|
#include "Cedar/CMInner.h"
|
||||||
|
#endif
|
||||||
#include "Cedar/Command.h"
|
#include "Cedar/Command.h"
|
||||||
|
|
||||||
#include "Mayaqua/Internat.h"
|
#include "Mayaqua/Internat.h"
|
||||||
@ -39,6 +41,10 @@ int main(int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
InitCedar();
|
InitCedar();
|
||||||
|
|
||||||
|
#ifdef OS_WIN32
|
||||||
|
CmExecUiHelperMain();
|
||||||
|
#endif
|
||||||
|
|
||||||
s = GetCommandLineUniStr();
|
s = GetCommandLineUniStr();
|
||||||
|
|
||||||
if (s == NULL)
|
if (s == NULL)
|
||||||
|
@ -4,11 +4,8 @@ After=network.target auditd.service
|
|||||||
ConditionPathExists=!@DIR@/softether/vpnbridge/do_not_run
|
ConditionPathExists=!@DIR@/softether/vpnbridge/do_not_run
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=exec
|
||||||
EnvironmentFile=-@DIR@/softether/vpnbridge
|
ExecStart=@DIR@/softether/vpnbridge/vpnbridge execsvc
|
||||||
ExecStart=@DIR@/softether/vpnbridge/vpnbridge start
|
|
||||||
ExecStop=@DIR@/softether/vpnbridge/vpnbridge stop
|
|
||||||
KillMode=process
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
# Hardening
|
# Hardening
|
||||||
|
@ -4,11 +4,8 @@ After=network.target auditd.service
|
|||||||
ConditionPathExists=!@DIR@/softether/vpnclient/do_not_run
|
ConditionPathExists=!@DIR@/softether/vpnclient/do_not_run
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=exec
|
||||||
EnvironmentFile=-@DIR@/softether/vpnclient
|
ExecStart=@DIR@/softether/vpnclient/vpnclient execsvc
|
||||||
ExecStart=@DIR@/softether/vpnclient/vpnclient start
|
|
||||||
ExecStop=@DIR@/softether/vpnclient/vpnclient stop
|
|
||||||
KillMode=process
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
# Hardening
|
# Hardening
|
||||||
|
@ -4,12 +4,9 @@ After=network.target auditd.service
|
|||||||
ConditionPathExists=!@DIR@/softether/vpnserver/do_not_run
|
ConditionPathExists=!@DIR@/softether/vpnserver/do_not_run
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=exec
|
||||||
TasksMax=infinity
|
TasksMax=infinity
|
||||||
EnvironmentFile=-@DIR@/softether/vpnserver
|
ExecStart=@DIR@/softether/vpnserver/vpnserver execsvc
|
||||||
ExecStart=@DIR@/softether/vpnserver/vpnserver start
|
|
||||||
ExecStop=@DIR@/softether/vpnserver/vpnserver stop
|
|
||||||
KillMode=process
|
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
# Hardening
|
# Hardening
|
||||||
|
Reference in New Issue
Block a user