1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-22 17:39:53 +03:00
SoftEtherVPN/src/Cedar
Davide Beatrici 37f28b4119 Cedar/Command: add "limit_range" parameter to StrToPortList()
Originally, StrToPortList() returned NULL when it encountered a number equal to 0 or higher than 65535.

This commit adds a new parameter to the function called "limit_range":

- When its value is true, the function retains the original behavior.
- When its value is false, the function doesn't check whether the number is in the network port number range (1-65535).

The change is required because the command to set the UDP ports will allow to remove all ports by specifying "0" as the port number.
2020-05-20 20:17:40 +02:00
..
winpcap Correct Spelling (#458) 2018-05-16 23:47:10 +02:00
Account.c - Fixed the problem occurs when RPC messages between Cluster Members exceed 64Kbytes. 2019-10-19 17:34:12 +09:00
Account.h - Fixed the problem occurs when RPC messages between Cluster Members exceed 64Kbytes. 2019-10-19 17:34:12 +09:00
Admin.c Cedar/Admin: implement new RPC methods to get/set the UDP ports 2020-05-20 20:17:34 +02:00
Admin.h Cedar/Admin: implement new RPC methods to get/set the UDP ports 2020-05-20 20:17:34 +02:00
AzureClient.c Merge pull request #832 from dnobori/181202_switch_to_apache_license 2019-01-21 09:36:19 +09:00
AzureClient.h Merge pull request #832 from dnobori/181202_switch_to_apache_license 2019-01-21 09:36:19 +09:00
AzureServer.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
AzureServer.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Bridge.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Bridge.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
BridgeUnix.c Preliminary implementation of IPv6CP and IPv6 for PPP (untested) 2020-05-12 18:05:18 +03:00
BridgeUnix.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
BridgeWin32.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
BridgeWin32.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Cedar.c Cedar: various improvements to Proto 2020-05-01 07:14:38 +02:00
Cedar.h separte log directory and database(config) directory 2019-12-04 23:59:09 +09:00
Cedar.vcproj Add interface for easy protocol implementation 2019-07-26 08:36:54 +02:00
CedarPch.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
CedarPch.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
CedarType.h Cedar/Admin: implement new RPC methods to get/set the UDP ports 2020-05-20 20:17:34 +02:00
Client.c Cedar: handle UDP acceleration and R-UDP versions 2019-11-23 04:38:27 +01:00
Client.h separte log directory and database(config) directory 2019-12-04 23:59:09 +09:00
CM.c Cedar: implement detailed protocol info 2019-11-23 04:23:56 +01:00
CM.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
CMakeLists.txt CMake: build targets with versioning info on Windows 2018-11-27 05:26:21 +01:00
CMInner.h Merge pull request #832 from dnobori/181202_switch_to_apache_license 2019-01-21 09:36:19 +09:00
Command.c Cedar/Command: add "limit_range" parameter to StrToPortList() 2020-05-20 20:17:40 +02:00
Command.h Cedar/Command: add "limit_range" parameter to StrToPortList() 2020-05-20 20:17:40 +02:00
Connection.c Cedar: various improvements to Proto 2020-05-01 07:14:38 +02:00
Connection.h Cedar: handle UDP acceleration and R-UDP versions 2019-11-23 04:38:27 +01:00
Console.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Console.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Database.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Database.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
DDNS.c Implementation of the JSON-RPC API and the Web Admin interface. (dnobori's internal note: 7579 - 7682) 2019-05-28 12:51:51 +09:00
DDNS.h Implementation of the JSON-RPC API and the Web Admin interface. (dnobori's internal note: 7579 - 7682) 2019-05-28 12:51:51 +09:00
EM.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
EM.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
EMInner.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
EtherLog.c Implementation of the JSON-RPC API and the Web Admin interface. (dnobori's internal note: 7579 - 7682) 2019-05-28 12:51:51 +09:00
EtherLog.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Hub.c Bugfix: Imperfect Virtual Hub FDB lock may cause process crush. 2020-01-01 15:52:47 +09:00
Hub.h - Fixed the problem occurs when RPC messages between Cluster Members exceed 64Kbytes. 2019-10-19 17:34:12 +09:00
IPC.c Fixes from review of PPP-IPv6 stack 2020-05-19 17:25:04 +03:00
IPC.h Fixing most errors, the link on Windows is working and is stable 2020-05-12 18:10:06 +03:00
Layer3.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Layer3.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Link.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Link.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Listener.c Implementation of the JSON-RPC API and the Web Admin interface. (dnobori's internal note: 7579 - 7682) 2019-05-28 12:51:51 +09:00
Listener.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Logging.c Fixing most errors, the link on Windows is working and is stable 2020-05-12 18:10:06 +03:00
Logging.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Nat.c Implementation of the JSON-RPC API and the Web Admin interface. (dnobori's internal note: 7579 - 7682) 2019-05-28 12:51:51 +09:00
Nat.h separte log directory and database(config) directory 2019-12-04 23:59:09 +09:00
NativeStack.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
NativeStack.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
netcfgn.h v4.03-9408-rtm 2014-01-04 22:00:08 +09:00
netcfgx.h v4.03-9408-rtm 2014-01-04 22:00:08 +09:00
NM.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
NM.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
NMInner.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
NullLan.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
NullLan.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Proto_EtherIP.c - Fixed the problem occurs when RPC messages between Cluster Members exceed 64Kbytes. 2019-10-19 17:34:12 +09:00
Proto_EtherIP.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Proto_IKE.c Cedar: various fixes 2019-11-23 04:23:51 +01:00
Proto_IKE.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Proto_IkePacket.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Proto_IkePacket.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Proto_IPsec.c Merge pull request #832 from dnobori/181202_switch_to_apache_license 2019-01-21 09:36:19 +09:00
Proto_IPsec.h Merge pull request #832 from dnobori/181202_switch_to_apache_license 2019-01-21 09:36:19 +09:00
Proto_L2TP.c Adding timeout propagation from user policy in PPP sessions (including L2TP and SSTP). 2020-05-02 19:52:45 +03:00
Proto_L2TP.h Adding timeout propagation from user policy in PPP sessions (including L2TP and SSTP). 2020-05-02 19:52:45 +03:00
Proto_OpenVPN.c Preliminary implementation of IPv6CP and IPv6 for PPP (untested) 2020-05-12 18:05:18 +03:00
Proto_OpenVPN.h Cedar/Proto_OpenVPN: remove UDP system, use the one provided by Proto 2020-05-11 08:23:29 +02:00
Proto_PPP.c Fixing most errors, the link on Windows is working and is stable 2020-05-12 18:10:06 +03:00
Proto_PPP.h Preliminary implementation of IPv6CP and IPv6 for PPP (untested) 2020-05-12 18:05:18 +03:00
Proto_SSTP.c Codestyle fixes 2020-05-02 21:08:19 +03:00
Proto_SSTP.h Codestyle fixes 2020-05-02 21:08:19 +03:00
Proto_Win7.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Proto_Win7.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Proto_Win7Inner.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Proto.c Cedar/Proto.c: fix wrong NULL check in ProtoHandleDatagrams(), found by Coverity 2020-05-12 21:26:42 +02:00
Proto.h Cedar/Proto: implement UDP system 2020-05-11 08:22:44 +02:00
Protocol.c Log client IP in failed accesses 2020-05-11 23:09:26 +02:00
Protocol.h Protocol: add ProxyCodeToCedar() 2019-10-30 01:39:11 +01:00
Radius.c Cedar: various fixes 2019-11-23 04:23:51 +01:00
Radius.h Increase Radius timeout 2020-05-11 23:06:01 +02:00
Remote.c Implementation of the JSON-RPC API and the Web Admin interface. (dnobori's internal note: 7579 - 7682) 2019-05-28 12:51:51 +09:00
Remote.h Implementation of the JSON-RPC API and the Web Admin interface. (dnobori's internal note: 7579 - 7682) 2019-05-28 12:51:51 +09:00
Sam.c sam: fix using pointer to local variable that is out of scope 2020-03-27 07:28:43 +03:00
Sam.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
SecureInfo.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
SecureInfo.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
SecureNAT.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
SecureNAT.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
SeLowUser.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
SeLowUser.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Server.c Rename "OpenVPN_UdpPortList" to "PortsUDP", store ports in a LIST 2020-05-20 03:16:19 +02:00
Server.h Rename "OpenVPN_UdpPortList" to "PortsUDP", store ports in a LIST 2020-05-20 03:16:19 +02:00
Session.c Cedar: handle UDP acceleration and R-UDP versions 2019-11-23 04:38:27 +01:00
Session.h Cedar: handle UDP acceleration and R-UDP versions 2019-11-23 04:38:27 +01:00
SM.c Merge pull request #832 from dnobori/181202_switch_to_apache_license 2019-01-21 09:36:19 +09:00
SM.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
SMInner.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
SW.c Add the warning message if KB3033929 is not installed in Windows 7 / Server 2008 R2. 2019-06-30 01:20:52 +09:00
SW.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
SWInner.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
UdpAccel.c Cedar: implement UDP acceleration version 2, powered by ChaCha20-Poly1305 2019-11-23 04:23:56 +01:00
UdpAccel.h Cedar: implement UDP acceleration version 2, powered by ChaCha20-Poly1305 2019-11-23 04:23:56 +01:00
UT.c Merge pull request #832 from dnobori/181202_switch_to_apache_license 2019-01-21 09:36:19 +09:00
UT.h Merge pull request #832 from dnobori/181202_switch_to_apache_license 2019-01-21 09:36:19 +09:00
VG.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
VG.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Virtual.c Preliminary implementation of IPv6CP and IPv6 for PPP (untested) 2020-05-12 18:05:18 +03:00
Virtual.h Preliminary IPC IPv6 implementation (untested) 2020-05-12 17:59:24 +03:00
VLan.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
VLan.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
VLanUnix.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
VLanUnix.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
VLanWin32.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
VLanWin32.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
WaterMark.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
WaterMark.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
WebUI.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
WebUI.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Win32Com.cpp Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Win32Com.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
WinJumpList.cpp Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
WinUi.c Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
WinUi.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00
Wpc.c Wpc.c: adapt WpcSockConnectEx() for new proxy functions 2019-10-30 01:39:11 +01:00
Wpc.h Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0. 2019-01-14 12:25:53 +09:00