Skip to content

Commit

Permalink
v4.28-9669-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
dnobori committed Sep 11, 2018
1 parent c5d56e6 commit abe1945
Show file tree
Hide file tree
Showing 38 changed files with 113 additions and 91 deletions.
10 changes: 5 additions & 5 deletions BUILD_UNIX.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ After the installation will complete successfully:

- You can also use VPN Server/Client Manager GUI Tool on other Windows PC to
connect to VPN services remotely.
You can download the GUI Tools from http://www.softether-download.com/.
You can download the GUI Tools from https://www.softether-download.com/.


How to Run SoftEther VPN Server for Test
Expand All @@ -74,7 +74,7 @@ $ bin/vpncmd/vpncmd

Or you can also use VPN Server Manager GUI Tool on other Windows PC to
connect to the VPN Server remotely. You can download the GUI Tool
from http://www.softether-download.com/.
from https://www.softether-download.com/.


How to Run SoftEther VPN Bridge for Test
Expand All @@ -95,7 +95,7 @@ $ bin/vpncmd/vpncmd

Or you can also use VPN Server Manager GUI Tool on other Windows PC to
connect to the VPN Bridge remotely. You can download the GUI Tool
from http://www.softether-download.com/.
from https://www.softether-download.com/.


How to Run SoftEther VPN Client for Test
Expand All @@ -116,10 +116,10 @@ $ bin/vpncmd/vpncmd

Or you can also use VPN Client Manager GUI Tool on other Windows PC to
connect to the VPN Client remotely. You can download the GUI Tool
from http://www.softether-download.com/.
from https://www.softether-download.com/.


************************************
Thank You Using SoftEther VPN !
By SoftEther VPN Open-Source Project
http://www.softether.org/
https://www.softether.org/
2 changes: 1 addition & 1 deletion BUILD_WINDOWS.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ with Visual Studio 2008 to customize. Open "src\SEVPN.sln" and enjoy it.
************************************
Thank You Using SoftEther VPN !
By SoftEther VPN Open-Source Project
http://www.softether.org/
https://www.softether.org/
4 changes: 2 additions & 2 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ ChangeLog of SoftEther VPN
--------------------------

The ChangeLog of SoftEther VPN is on our web site:
http://www.softether.org/5-download/history
https://www.softether.org/5-download/history

(In Japanese: http://ja.softether.org/5-download/history)
(In Japanese: https://ja.softether.org/5-download/history)

Enjoy it!

4 changes: 2 additions & 2 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ ChangeLog of SoftEther VPN
--------------------------

The ChangeLog of SoftEther VPN is on our web site:
http://www.softether.org/5-download/history
https://www.softether.org/5-download/history

(In Japanese: http://ja.softether.org/5-download/history)
(In Japanese: https://ja.softether.org/5-download/history)

Enjoy it!

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Copyright (c) Daiyuu Nobori.
Copyright (c) SoftEther Project at University of Tsukuba, Japan.
Copyright (c) SoftEther Corporation.
All Rights Reserved.
http://www.softether.org/
https://www.softether.org/

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
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Copyright (c) Daiyuu Nobori.
Copyright (c) SoftEther Project at University of Tsukuba, Japan.
Copyright (c) SoftEther Corporation.
All Rights Reserved.
http://www.softether.org/
https://www.softether.org/

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
Expand Down
20 changes: 10 additions & 10 deletions README
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SoftEther VPN (Stable Edition Repository)
- An Open-Source Cross-platform Multi-protocol VPN Program
http://www.softether.org/
https://www.softether.org/

We use GitHub as the primary official SoftEther VPN repository:
https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/
Expand All @@ -11,10 +11,10 @@ Developer Edition Master Repository on
https://github.com/SoftEtherVPN/SoftEtherVPN

Source code packages (.zip and .tar.gz) and binary files are also available:
http://www.softether-download.com/
https://www.softether-download.com/

We accept your patches by the acceptance policy:
http://www.softether.org/5-download/src/9.patch
https://www.softether.org/5-download/src/9.patch

Copyright (c) SoftEther Project at University of Tsukuba, Japan.

Expand All @@ -37,7 +37,7 @@ SoftEther VPN supports most of widely-used VPN protocols
including SSL-VPN, OpenVPN, IPsec, L2TP, MS-SSTP, L2TPv3 and EtherIP
by the single SoftEther VPN Server program.

More details on http://www.softether.org/.
More details on https://www.softether.org/.


SOFTETHER VPN ADVANTAGES
Expand Down Expand Up @@ -77,18 +77,18 @@ SOFTETHER VPN ADVANTAGES
- No memory leaks. High quality stable codes, intended for long-term runs.
We always verify that there are no memory or resource leaks before
releasing the build.
- More details at http://www.softether.org/.
- More details at https://www.softether.org/.


GETTING STARTED
---------------

Visit the SoftEther VPN Project official web site at first:
http://www.softether.org/
https://www.softether.org/

If you are not a developer, it is recommended to download the binary
installers from:
http://www.softether-download.com/
https://www.softether-download.com/

To build from the source,
see "BUILD_UNIX.TXT" or "BUILD_WINDOWS.TXT" files.
Expand All @@ -97,7 +97,7 @@ see "BUILD_UNIX.TXT" or "BUILD_WINDOWS.TXT" files.
HOW TO DOWNLOAD THE LATEST SOURCE CODE PACKAGE
----------------------------------------------

Go to http://www.softether-download.com/ and you can find the latest
Go to https://www.softether-download.com/ and you can find the latest
source-code package file in both .ZIP and .TAR.GZ format.

This is the easiest way to obtain the source code of SoftEther VPN.
Expand Down Expand Up @@ -147,7 +147,7 @@ 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
https://www.softether.org/5-download/src/9.patch


DEAR SECURITY EXPERTS
Expand All @@ -162,7 +162,7 @@ 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.
https://www.softether.org/ and ask your question on the users forum.


DISCLAIMER
Expand Down
20 changes: 10 additions & 10 deletions README.TXT
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
SoftEther VPN (Stable Edition Repository)
- An Open-Source Cross-platform Multi-protocol VPN Program
http://www.softether.org/
https://www.softether.org/

We use GitHub as the primary official SoftEther VPN repository:
https://github.com/SoftEtherVPN/SoftEtherVPN_Stable/
Expand All @@ -11,10 +11,10 @@ Developer Edition Master Repository on
https://github.com/SoftEtherVPN/SoftEtherVPN

Source code packages (.zip and .tar.gz) and binary files are also available:
http://www.softether-download.com/
https://www.softether-download.com/

We accept your patches by the acceptance policy:
http://www.softether.org/5-download/src/9.patch
https://www.softether.org/5-download/src/9.patch

Copyright (c) SoftEther Project at University of Tsukuba, Japan.

Expand All @@ -37,7 +37,7 @@ SoftEther VPN supports most of widely-used VPN protocols
including SSL-VPN, OpenVPN, IPsec, L2TP, MS-SSTP, L2TPv3 and EtherIP
by the single SoftEther VPN Server program.

More details on http://www.softether.org/.
More details on https://www.softether.org/.


SOFTETHER VPN ADVANTAGES
Expand Down Expand Up @@ -77,18 +77,18 @@ SOFTETHER VPN ADVANTAGES
- No memory leaks. High quality stable codes, intended for long-term runs.
We always verify that there are no memory or resource leaks before
releasing the build.
- More details at http://www.softether.org/.
- More details at https://www.softether.org/.


GETTING STARTED
---------------

Visit the SoftEther VPN Project official web site at first:
http://www.softether.org/
https://www.softether.org/

If you are not a developer, it is recommended to download the binary
installers from:
http://www.softether-download.com/
https://www.softether-download.com/

To build from the source,
see "BUILD_UNIX.TXT" or "BUILD_WINDOWS.TXT" files.
Expand All @@ -97,7 +97,7 @@ see "BUILD_UNIX.TXT" or "BUILD_WINDOWS.TXT" files.
HOW TO DOWNLOAD THE LATEST SOURCE CODE PACKAGE
----------------------------------------------

Go to http://www.softether-download.com/ and you can find the latest
Go to https://www.softether-download.com/ and you can find the latest
source-code package file in both .ZIP and .TAR.GZ format.

This is the easiest way to obtain the source code of SoftEther VPN.
Expand Down Expand Up @@ -147,7 +147,7 @@ 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
https://www.softether.org/5-download/src/9.patch


DEAR SECURITY EXPERTS
Expand All @@ -162,7 +162,7 @@ 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.
https://www.softether.org/ and ask your question on the users forum.


DISCLAIMER
Expand Down
10 changes: 5 additions & 5 deletions src/BUILD_UNIX.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ After the installation will complete successfully:

- You can also use VPN Server/Client Manager GUI Tool on other Windows PC to
connect to VPN services remotely.
You can download the GUI Tools from http://www.softether-download.com/.
You can download the GUI Tools from https://www.softether-download.com/.


How to Run SoftEther VPN Server for Test
Expand All @@ -74,7 +74,7 @@ $ bin/vpncmd/vpncmd

Or you can also use VPN Server Manager GUI Tool on other Windows PC to
connect to the VPN Server remotely. You can download the GUI Tool
from http://www.softether-download.com/.
from https://www.softether-download.com/.


How to Run SoftEther VPN Bridge for Test
Expand All @@ -95,7 +95,7 @@ $ bin/vpncmd/vpncmd

Or you can also use VPN Server Manager GUI Tool on other Windows PC to
connect to the VPN Bridge remotely. You can download the GUI Tool
from http://www.softether-download.com/.
from https://www.softether-download.com/.


How to Run SoftEther VPN Client for Test
Expand All @@ -116,10 +116,10 @@ $ bin/vpncmd/vpncmd

Or you can also use VPN Client Manager GUI Tool on other Windows PC to
connect to the VPN Client remotely. You can download the GUI Tool
from http://www.softether-download.com/.
from https://www.softether-download.com/.


************************************
Thank You Using SoftEther VPN !
By SoftEther VPN Open-Source Project
http://www.softether.org/
https://www.softether.org/
2 changes: 1 addition & 1 deletion src/BUILD_WINDOWS.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ with Visual Studio 2008 to customize. Open "src\SEVPN.sln" and enjoy it.
************************************
Thank You Using SoftEther VPN !
By SoftEther VPN Open-Source Project
http://www.softether.org/
https://www.softether.org/
26 changes: 23 additions & 3 deletions src/BuildUtil/UnixBuildSoftwares.cs
Original file line number Diff line number Diff line change
Expand Up @@ -648,11 +648,16 @@ public virtual StringWriter GenerateMakeFileForRelease(string srcDir)
sr.WriteLine("\t-ranlib lib/{0}", Path.GetFileName(filename));
}

bool no_pie_first = false;
bool try_no_pie = false;

if (this.Os == OSList.Linux && (this.Cpu == CpuList.x86 || this.Cpu == CpuList.x64 || this.Cpu == CpuList.intel))
if (this.Os == OSList.Linux)
{
try_no_pie = true;
if (this.Cpu == CpuList.x86 || this.Cpu == CpuList.x64 || this.Cpu == CpuList.intel)
{
no_pie_first = true;
}
}

sr.WriteLine("\t-ranlib code/{0}.a", this.Software.ToString());
Expand All @@ -663,17 +668,32 @@ public virtual StringWriter GenerateMakeFileForRelease(string srcDir)
}
else
{
sr.WriteLine("\t$(CC) code/{0}.a $(OPTIONS) -o {0} || $(CC) -no-pie code/{0}.a $(OPTIONS) -o {0}", this.Software.ToString());
if (no_pie_first == false)
{
sr.WriteLine("\t$(CC) code/{0}.a $(OPTIONS) -o {0} || $(CC) -no-pie code/{0}.a $(OPTIONS) -o {0}", this.Software.ToString());
}
else
{
sr.WriteLine("\t$(CC) -no-pie code/{0}.a $(OPTIONS) -o {0} || $(CC) code/{0}.a $(OPTIONS) -o {0}", this.Software.ToString());
}
}

sr.WriteLine("\t-ranlib code/{0}.a", "vpncmd");

if (try_no_pie == false)
{
sr.WriteLine("\t$(CC) code/{0}.a $(OPTIONS) -o {0}", "vpncmd");
}
else
{
sr.WriteLine("\t$(CC) code/{0}.a $(OPTIONS) -o {0} || $(CC) -no-pie code/{0}.a $(OPTIONS) -o {0}", "vpncmd");
if (no_pie_first == false)
{
sr.WriteLine("\t$(CC) code/{0}.a $(OPTIONS) -o {0} || $(CC) -no-pie code/{0}.a $(OPTIONS) -o {0}", "vpncmd");
}
else
{
sr.WriteLine("\t$(CC) -no-pie code/{0}.a $(OPTIONS) -o {0} || $(CC) code/{0}.a $(OPTIONS) -o {0}", "vpncmd");
}
}

if (this.Software == Software.vpnserver_vpnbridge || this.Software == Software.vpnbridge || this.Software == Software.vpnserver)
Expand Down
14 changes: 7 additions & 7 deletions src/Cedar/Cedar.h
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,10 @@


// Version number
#define CEDAR_VER 427
#define CEDAR_VER 428

// Build Number
#define CEDAR_BUILD 9668
#define CEDAR_BUILD 9669

// Beta number
//#define BETA_NUMBER 3
Expand All @@ -158,11 +158,11 @@

// Specifies the build date
#define BUILD_DATE_Y 2018
#define BUILD_DATE_M 5
#define BUILD_DATE_D 29
#define BUILD_DATE_HO 21
#define BUILD_DATE_MI 19
#define BUILD_DATE_SE 40
#define BUILD_DATE_M 9
#define BUILD_DATE_D 11
#define BUILD_DATE_HO 11
#define BUILD_DATE_MI 48
#define BUILD_DATE_SE 34

// Tolerable time difference
#define ALLOW_TIMESTAMP_DIFF (UINT64)(3 * 24 * 60 * 60 * 1000)
Expand Down
1 change: 1 addition & 0 deletions src/Cedar/IPsec_IkePacket.c
Original file line number Diff line number Diff line change
Expand Up @@ -2983,6 +2983,7 @@ void IkeHMac(IKE_HASH *h, void *dst, void *key, UINT key_size, void *data, UINT
{
case IKE_HASH_SHA1_ID:
case IKE_HASH_SHA2_256_ID:
case IKE_HASH_MD5_ID:
hmac_block_size = HMAC_BLOCK_SIZE;
break;

Expand Down
2 changes: 1 addition & 1 deletion src/Cedar/Virtual.c
Original file line number Diff line number Diff line change
Expand Up @@ -5009,7 +5009,7 @@ void PollingNatTcp(VH *v, NAT_ENTRY *n)
if (n->TcpFinished)
{
// Disconnect if all data transmission has completed
if (n->SendFifo->size == 0)
if (n->SendFifo->size == 0 && n->RecvFifo->size == 0)
{
n->TcpStatus = NAT_TCP_SEND_RESET;
}
Expand Down
Loading

0 comments on commit abe1945

Please sign in to comment.