mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0.
This commit is contained in:
parent
9c0eee0aad
commit
881f34ac56
@ -3,14 +3,10 @@
|
|||||||
echo ---------------------------------------------------------------------
|
echo ---------------------------------------------------------------------
|
||||||
echo SoftEther VPN for Windows
|
echo SoftEther VPN for Windows
|
||||||
echo.
|
echo.
|
||||||
echo Copyright (c) SoftEther VPN Project at University of Tsukuba, Japan.
|
echo Copyright (c) all contributors on SoftEther VPN project in GitHub.
|
||||||
echo Copyright (c) Daiyuu Nobori. All Rights Reserved.
|
echo Copyright (c) Daiyuu Nobori, SoftEther Project at University of Tsukuba, and SoftEther Corporation.
|
||||||
echo.
|
echo.
|
||||||
echo This program is free software; you can redistribute it and/or
|
echo Read and understand README, LICENSE and WARNING before use.
|
||||||
echo modify it under the terms of the GNU General Public License
|
|
||||||
echo version 2 as published by the Free Software Foundation.
|
|
||||||
echo.
|
|
||||||
echo Read and understand README.TXT, LICENSE.TXT and WARNING.TXT before use.
|
|
||||||
echo ---------------------------------------------------------------------
|
echo ---------------------------------------------------------------------
|
||||||
echo.
|
echo.
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ BEGIN
|
|||||||
VALUE "FileDescription", "${PROJECT_NAME} ${COMPONENT_NAME} (Developer Edition)"
|
VALUE "FileDescription", "${PROJECT_NAME} ${COMPONENT_NAME} (Developer Edition)"
|
||||||
VALUE "FileVersion", "${PROJECT_VERSION_MAJOR}, ${PROJECT_VERSION_MINOR}, 0, ${PROJECT_VERSION_PATCH}"
|
VALUE "FileVersion", "${PROJECT_VERSION_MAJOR}, ${PROJECT_VERSION_MINOR}, 0, ${PROJECT_VERSION_PATCH}"
|
||||||
VALUE "InternalName", "${COMPONENT_INTERNAL_NAME}"
|
VALUE "InternalName", "${COMPONENT_INTERNAL_NAME}"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2012-${DATE_YEAR} SoftEther VPN Project. All Rights Reserved."
|
VALUE "LegalCopyright", "Copyright (c) 2012-${DATE_YEAR} all contributors on SoftEther VPN project in GitHub. Copyright (C) 2004-${DATE_YEAR} Daiyuu Nobori, SoftEther Project at University of Tsukuba, and SoftEther Corporation. All Rights Reserved."
|
||||||
VALUE "LegalTrademarks", "SoftEther(R) is a registered trademark of SoftEther Corporation in Japan, United Status and People's Republic of China. SoftEther Corporation is a company founded at University of Tsukuba, Japan."
|
VALUE "LegalTrademarks", "SoftEther(R) is a registered trademark of SoftEther Corporation in Japan, United Status and People's Republic of China. SoftEther Corporation is a company founded at University of Tsukuba, Japan."
|
||||||
VALUE "OriginalFilename", "${COMPONENT_FILE_NAME}"
|
VALUE "OriginalFilename", "${COMPONENT_FILE_NAME}"
|
||||||
VALUE "ProductName", "${PROJECT_NAME} ${COMPONENT_NAME}"
|
VALUE "ProductName", "${PROJECT_NAME} ${COMPONENT_NAME}"
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Build Utility
|
// Build Utility
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Build Utility
|
// Build Utility
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Build Utility
|
// Build Utility
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,101 +1,4 @@
|
|||||||
// CoreUtil
|
// CoreUtil
|
||||||
//
|
|
||||||
// Copyright (C) 2012-2014 Daiyuu Nobori. All Rights Reserved.
|
|
||||||
// Copyright (C) 2012-2014 SoftEther VPN Project at University of Tsukuba. All Rights Reserved.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Build Utility
|
// Build Utility
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
94
src/BuildUtil/Properties/Resources.Designer.cs
generated
94
src/BuildUtil/Properties/Resources.Designer.cs
generated
@ -7,100 +7,6 @@
|
|||||||
// コードが再生成されるときに損失したりします。
|
// コードが再生成されるときに損失したりします。
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
namespace BuildUtil.Properties {
|
namespace BuildUtil.Properties {
|
||||||
|
95
src/BuildUtil/Properties/Settings.Designer.cs
generated
95
src/BuildUtil/Properties/Settings.Designer.cs
generated
@ -7,100 +7,7 @@
|
|||||||
// コードが再生成されるときに損失したりします。
|
// コードが再生成されるときに損失したりします。
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
namespace BuildUtil.Properties {
|
namespace BuildUtil.Properties {
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Build Utility
|
// Build Utility
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Build Utility
|
// Build Utility
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Build Utility
|
// Build Utility
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,112 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Build Utility
|
// Build Utility
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Build Utility
|
// Build Utility
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -7,100 +7,7 @@
|
|||||||
// コードが再生成されるときに損失したりします。
|
// コードが再生成されるときに損失したりします。
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -7,100 +7,7 @@
|
|||||||
// コードが再生成されるときに損失したりします。
|
// コードが再生成されるときに損失したりします。
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Build Utility
|
// Build Utility
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Build Utility
|
// Build Utility
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Account.c
|
// Account.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Account.h
|
// Account.h
|
||||||
|
@ -1,113 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Contributors:
|
|
||||||
// - ELIN (https://github.com/el1n)
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Admin.c
|
// Admin.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Admin.h
|
// Admin.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// AzureClient.c
|
// AzureClient.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// AzureClient.h
|
// AzureClient.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// AzureServer.c
|
// AzureServer.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// AzureServer.h
|
// AzureServer.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Bridge.c
|
// Bridge.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Bridge.h
|
// Bridge.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// BridgeUnix.c
|
// BridgeUnix.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// BridgeUnix.h
|
// BridgeUnix.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// BridgeWin32.c
|
// BridgeWin32.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// BridgeWin32.h
|
// BridgeWin32.h
|
||||||
|
108
src/Cedar/CM.c
108
src/Cedar/CM.c
@ -1,113 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Contributors:
|
|
||||||
// - ELIN (https://github.com/el1n)
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// CM.c
|
// CM.c
|
||||||
|
106
src/Cedar/CM.h
106
src/Cedar/CM.h
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// CM.h
|
// CM.h
|
||||||
|
@ -1,113 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Contributors:
|
|
||||||
// - ELIN (https://github.com/el1n)
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// CMInner.h
|
// CMInner.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Cedar.c
|
// Cedar.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Cedar.h
|
// Cedar.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// CedarPch.c
|
// CedarPch.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// CedarPch.h
|
// CedarPch.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// CedarType.h
|
// CedarType.h
|
||||||
|
@ -1,113 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Contributors:
|
|
||||||
// - nattoheaven (https://github.com/nattoheaven)
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Client.c
|
// Client.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Client.h
|
// Client.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Command.c
|
// Command.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Command.h
|
// Command.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Connection.c
|
// Connection.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Connection.h
|
// Connection.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Console.c
|
// Console.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Console.h
|
// Console.h
|
||||||
|
106
src/Cedar/DDNS.c
106
src/Cedar/DDNS.c
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// DDNS.c
|
// DDNS.c
|
||||||
|
106
src/Cedar/DDNS.h
106
src/Cedar/DDNS.h
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// DDNS.h
|
// DDNS.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Database.c
|
// Database.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Database.h
|
// Database.h
|
||||||
|
106
src/Cedar/EM.c
106
src/Cedar/EM.c
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// EM.c
|
// EM.c
|
||||||
|
106
src/Cedar/EM.h
106
src/Cedar/EM.h
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// EM.h
|
// EM.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// EMInner.h
|
// EMInner.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// EtherLog.c
|
// EtherLog.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// EtherLog.h
|
// EtherLog.h
|
||||||
|
106
src/Cedar/Hub.c
106
src/Cedar/Hub.c
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Hub.c
|
// Hub.c
|
||||||
|
106
src/Cedar/Hub.h
106
src/Cedar/Hub.h
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code
|
// SoftEther VPN Source Code
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Hub.h
|
// Hub.h
|
||||||
|
106
src/Cedar/IPC.c
106
src/Cedar/IPC.c
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// IPC.c
|
// IPC.c
|
||||||
|
106
src/Cedar/IPC.h
106
src/Cedar/IPC.h
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// IPC.h
|
// IPC.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Layer3.c
|
// Layer3.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Layer3.h
|
// Layer3.h
|
||||||
|
106
src/Cedar/Link.c
106
src/Cedar/Link.c
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Link.c
|
// Link.c
|
||||||
|
106
src/Cedar/Link.h
106
src/Cedar/Link.h
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Link.h
|
// Link.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Listener.c
|
// Listener.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Listener.h
|
// Listener.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Logging.c
|
// Logging.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Logging.h
|
// Logging.h
|
||||||
|
106
src/Cedar/NM.c
106
src/Cedar/NM.c
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// NM.c
|
// NM.c
|
||||||
|
106
src/Cedar/NM.h
106
src/Cedar/NM.h
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// NM.h
|
// NM.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// NMInner.h
|
// NMInner.h
|
||||||
|
106
src/Cedar/Nat.c
106
src/Cedar/Nat.c
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Nat.c
|
// Nat.c
|
||||||
|
106
src/Cedar/Nat.h
106
src/Cedar/Nat.h
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// Nat.h
|
// Nat.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// NativeStack.c
|
// NativeStack.c
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// NativeStack.h
|
// NativeStack.h
|
||||||
|
@ -1,111 +1,5 @@
|
|||||||
// SoftEther VPN Source Code - Developer Edition Master Branch
|
// SoftEther VPN Source Code - Developer Edition Master Branch
|
||||||
// Cedar Communication Module
|
// Cedar Communication Module
|
||||||
//
|
|
||||||
// SoftEther VPN Server, Client and Bridge are free software under GPLv2.
|
|
||||||
//
|
|
||||||
// Copyright (c) Daiyuu Nobori.
|
|
||||||
// Copyright (c) SoftEther VPN Project, University of Tsukuba, Japan.
|
|
||||||
// Copyright (c) SoftEther Corporation.
|
|
||||||
//
|
|
||||||
// All Rights Reserved.
|
|
||||||
//
|
|
||||||
// http://www.softether.org/
|
|
||||||
//
|
|
||||||
// Author: Daiyuu Nobori, Ph.D.
|
|
||||||
// Comments: Tetsuo Sugiyama, Ph.D.
|
|
||||||
//
|
|
||||||
// This program is free software; you can redistribute it and/or
|
|
||||||
// modify it under the terms of the GNU General Public License
|
|
||||||
// version 2 as published by the Free Software Foundation.
|
|
||||||
//
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License for more details.
|
|
||||||
//
|
|
||||||
// You should have received a copy of the GNU General Public License version 2
|
|
||||||
// along with this program; if not, write to the Free Software
|
|
||||||
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
// IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
// CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
// TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
// SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
//
|
|
||||||
// THE LICENSE AGREEMENT IS ATTACHED ON THE SOURCE-CODE PACKAGE
|
|
||||||
// AS "LICENSE.TXT" FILE. READ THE TEXT FILE IN ADVANCE TO USE THE SOFTWARE.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// THIS SOFTWARE IS DEVELOPED IN JAPAN, AND DISTRIBUTED FROM JAPAN,
|
|
||||||
// UNDER JAPANESE LAWS. YOU MUST AGREE IN ADVANCE TO USE, COPY, MODIFY,
|
|
||||||
// MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL COPIES OF THIS
|
|
||||||
// SOFTWARE, THAT ANY JURIDICAL DISPUTES WHICH ARE CONCERNED TO THIS
|
|
||||||
// SOFTWARE OR ITS CONTENTS, AGAINST US (SOFTETHER PROJECT, SOFTETHER
|
|
||||||
// CORPORATION, DAIYUU NOBORI OR OTHER SUPPLIERS), OR ANY JURIDICAL
|
|
||||||
// DISPUTES AGAINST US WHICH ARE CAUSED BY ANY KIND OF USING, COPYING,
|
|
||||||
// MODIFYING, MERGING, PUBLISHING, DISTRIBUTING, SUBLICENSING, AND/OR
|
|
||||||
// SELLING COPIES OF THIS SOFTWARE SHALL BE REGARDED AS BE CONSTRUED AND
|
|
||||||
// CONTROLLED BY JAPANESE LAWS, AND YOU MUST FURTHER CONSENT TO
|
|
||||||
// EXCLUSIVE JURISDICTION AND VENUE IN THE COURTS SITTING IN TOKYO,
|
|
||||||
// JAPAN. YOU MUST WAIVE ALL DEFENSES OF LACK OF PERSONAL JURISDICTION
|
|
||||||
// AND FORUM NON CONVENIENS. PROCESS MAY BE SERVED ON EITHER PARTY IN
|
|
||||||
// THE MANNER AUTHORIZED BY APPLICABLE LAW OR COURT RULE.
|
|
||||||
//
|
|
||||||
// USE ONLY IN JAPAN. DO NOT USE THIS SOFTWARE IN ANOTHER COUNTRY UNLESS
|
|
||||||
// YOU HAVE A CONFIRMATION THAT THIS SOFTWARE DOES NOT VIOLATE ANY
|
|
||||||
// CRIMINAL LAWS OR CIVIL RIGHTS IN THAT PARTICULAR COUNTRY. USING THIS
|
|
||||||
// SOFTWARE IN OTHER COUNTRIES IS COMPLETELY AT YOUR OWN RISK. THE
|
|
||||||
// SOFTETHER VPN PROJECT HAS DEVELOPED AND DISTRIBUTED THIS SOFTWARE TO
|
|
||||||
// COMPLY ONLY WITH THE JAPANESE LAWS AND EXISTING CIVIL RIGHTS INCLUDING
|
|
||||||
// PATENTS WHICH ARE SUBJECTS APPLY IN JAPAN. OTHER COUNTRIES' LAWS OR
|
|
||||||
// CIVIL RIGHTS ARE NONE OF OUR CONCERNS NOR RESPONSIBILITIES. WE HAVE
|
|
||||||
// NEVER INVESTIGATED ANY CRIMINAL REGULATIONS, CIVIL LAWS OR
|
|
||||||
// INTELLECTUAL PROPERTY RIGHTS INCLUDING PATENTS IN ANY OF OTHER 200+
|
|
||||||
// COUNTRIES AND TERRITORIES. BY NATURE, THERE ARE 200+ REGIONS IN THE
|
|
||||||
// WORLD, WITH DIFFERENT LAWS. IT IS IMPOSSIBLE TO VERIFY EVERY
|
|
||||||
// COUNTRIES' LAWS, REGULATIONS AND CIVIL RIGHTS TO MAKE THE SOFTWARE
|
|
||||||
// COMPLY WITH ALL COUNTRIES' LAWS BY THE PROJECT. EVEN IF YOU WILL BE
|
|
||||||
// SUED BY A PRIVATE ENTITY OR BE DAMAGED BY A PUBLIC SERVANT IN YOUR
|
|
||||||
// COUNTRY, THE DEVELOPERS OF THIS SOFTWARE WILL NEVER BE LIABLE TO
|
|
||||||
// RECOVER OR COMPENSATE SUCH DAMAGES, CRIMINAL OR CIVIL
|
|
||||||
// RESPONSIBILITIES. NOTE THAT THIS LINE IS NOT LICENSE RESTRICTION BUT
|
|
||||||
// JUST A STATEMENT FOR WARNING AND DISCLAIMER.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// SOURCE CODE CONTRIBUTION
|
|
||||||
// ------------------------
|
|
||||||
//
|
|
||||||
// Your contribution to SoftEther VPN Project is much appreciated.
|
|
||||||
// Please send patches to us through GitHub.
|
|
||||||
// Read the SoftEther VPN Patch Acceptance Policy in advance:
|
|
||||||
// http://www.softether.org/5-download/src/9.patch
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// DEAR SECURITY EXPERTS
|
|
||||||
// ---------------------
|
|
||||||
//
|
|
||||||
// If you find a bug or a security vulnerability please kindly inform us
|
|
||||||
// about the problem immediately so that we can fix the security problem
|
|
||||||
// to protect a lot of users around the world as soon as possible.
|
|
||||||
//
|
|
||||||
// Our e-mail address for security reports is:
|
|
||||||
// softether-vpn-security [at] softether.org
|
|
||||||
//
|
|
||||||
// Please note that the above e-mail address is not a technical support
|
|
||||||
// inquiry address. If you need technical assistance, please visit
|
|
||||||
// http://www.softether.org/ and ask your question on the users forum.
|
|
||||||
//
|
|
||||||
// Thank you for your cooperation.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// NO MEMORY OR RESOURCE LEAKS
|
|
||||||
// ---------------------------
|
|
||||||
//
|
|
||||||
// The memory-leaks and resource-leaks verification under the stress
|
|
||||||
// test has been passed before release this source code.
|
|
||||||
|
|
||||||
|
|
||||||
// NullLan.c
|
// NullLan.c
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user