Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
trudyhood committed Jul 30, 2023
2 parents 370a544 + 4c4f263 commit dcd7d7f
Show file tree
Hide file tree
Showing 192 changed files with 6,129 additions and 3,310 deletions.
90 changes: 62 additions & 28 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,40 @@
# v3.0.411
### Client
* Feature: Client Protocol Version 4
* Feature: TCP connection reuse
* Feature: Allow Drop UDP packets
* Feature: Add IPv6 support to country exclusion/inclusion
* Update: Improve reliability
* Update: Improve logging by adding channel Id
* Update: Include internal exception messages and stack trace in the diagnostic file
* Update: Improve connection speed
* Fix: Some UDP Packet loss
* Fix: Android: VpnHood system notification
* Fix: Remain in Disconnecting state
* Fix: Windows: VpnHood Window display can't reach this page instead of UI
* Warning: Preparing to deprecate v2.8.361 (Protocol Version 3)

### Server
* Feature: Server Protocol Version 4
* Feature: TCP connection reuse
* Update: Improve reliability
* Update: Improve logging by adding channel Id
* Update: Returns bad request for any unknown or unauthorized access
* Fix: Server Kernel SendBufferSize
* Fix: ClientCount report 0 in the FileAccessManager log
* Fix: Some UDP Packet loss
* Fix: Reporting CPU usage
* Warning: Preparing to deprecate v2.8.361 (Protocol Version 3)

### Development
* Update: Use IAsyncDisposable
* Update: Improve tests and make them faster
* Feature: Add graceful disconnection


# v2.9.370
### Server
* Fix Restart listener on servers by UdpEndPoints changes
* Fix: Restart listener on servers by UdpEndPoints changes

# v2.9.369
### Client & Server
Expand All @@ -15,7 +49,7 @@

# v2.8.361
### Server
* Feature: Enable hot reconfig for VpnHood Server TCP listener to avoid unnecessary restarts on unchanged endpoints
* Feature: Enable hot reconfigure for VpnHood Server TCP listener to avoid unnecessary restarts on unchanged endpoints
* Update: Replace AllowIpV6 to BlockIpV6
* Update: Improve server security

Expand All @@ -32,11 +66,11 @@

# v2.7.356
### Client
* Farture: Windows: Add "Open in Browser" item to system menu
* Feature: Windows: Add "Open in Browser" item to system menu
* Update: windows: ""Open in browser" if WebView is not initialized properly

### Server
* Farture: Merge Server Configuration
* Feature: Merge Server Configuration
* Fix: Setting TCP kernel buffer
* Fix: Error in parsing IPNetwork as Range
* Update: Move NetFilter event from log to track
Expand All @@ -50,8 +84,8 @@
* Windows: Fix Auto Updater

### Server
* Farture: Filter server local networks
* Farture: Filter networks by IP ranges
* Feature: Filter server local networks
* Feature: Filter networks by IP ranges
* Fix: Missing some NetProtector log
* Fix: Windows: AutoUpdater
* Security: Always block access to loopback addresses
Expand All @@ -62,7 +96,7 @@
* Update: Improve stability when using no UDP mode

### Server
* Feature: Improve stability by adding lifetime to TcpDatagarmChannel
* Feature: Improve stability by adding lifetime to TcpDatagramChannel
* Fix: IpV6 detection

# v2.6.342
Expand All @@ -85,7 +119,7 @@

### Server
* Fix: It doesn't generate log
* Feature: Add linux-arm64 installation
* Feature: Add Linux-arm64 installation

# v2.6.336
### Client
Expand Down Expand Up @@ -140,7 +174,7 @@

### Server
* Feature: Report IPv6 support to client
* Feature: Add -domain to File AccessServer to set access-key endpoint will set to certificate domain
* Feature: Add -domain to File AccessManager to set access-key endpoint will set to certificate domain
* Fix: Update Script doesn't work
* Fix: Hold some TCP connections
* Fix: Delay in showing command-line helps for File Access Server
Expand All @@ -157,7 +191,7 @@
* Fix: Windows Installer

### Server
* Update: Improve Log for AccessServer API CALL
* Update: Improve Log for AccessManager API CALL
* Update: Port Tracker
* Update: Improve session recovery
* Fix: Critical bug that consume much resources
Expand Down Expand Up @@ -203,7 +237,7 @@

# v2.4.304
### Client
* Fix: Triming AccessKey
* Fix: Trimming AccessKey
* Update: Improve detecting countries

### Server
Expand Down Expand Up @@ -234,7 +268,7 @@
* Fix: Windows: WebView2 could not be installed on some devices

### Server
* Feature: Add linux docker package
* Feature: Add Linux docker package
* Update: Sync all active sessions to access the server every few minutes
* Fix: Maintenance mode detection
* Fix: Synching sessions to access server on shut down
Expand Down Expand Up @@ -270,7 +304,7 @@
* Fix: Add time-stamp to logger

### Server
* Update: Move Sessions options to AccessServer via ServerConfig
* Update: Move Sessions options to AccessManager via ServerConfig
* Fix: Catch a lost packet when removing TcpDatagramChannel

# v2.3.290
Expand Down Expand Up @@ -302,7 +336,7 @@
* Update: Upgrade to .NET 6
* Update: Configuration by access server
* Feature: Close session faster by handling client bye request
* Fix: Refact IP addresses in the log
* Fix: Redact IP addresses in the log

# v2.2.283
### Client
Expand All @@ -312,10 +346,10 @@
* Fix: UDP Channel

### Server
* Feature: Dynamic configuration from AccessServer
* Feature: Dynamic configuration from AccessManager
* Feature: Multi listeners for different EndPoints
* Fix: Few bug in disposing
* Fix: linux: systemctl restart VpnHoodServer
* Fix: Linux: systemctl restart VpnHoodServer

# v2.1.276
* Feature: IPv6 Support
Expand Down Expand Up @@ -352,7 +386,7 @@
* Feature: Validate packets integrity in UdpChannel
* Update: Stop supporting the old version
* Update: Improve Performance and Memory usage
* Update: New REST AccessServer protocol
* Update: New REST AccessManager protocol
* Change: Stop supporting the old version

### Developer
Expand Down Expand Up @@ -382,7 +416,7 @@
* Fix: Windows: Didn't bypass Some local network traffics

### Server
* Update: Imporve Performance and Memory usage
* Update: Improve Performance and Memory usage

# v1.2.250
### Client
Expand All @@ -393,7 +427,7 @@
### Server
* Update: Check session id for each UdpPacket
* Update: Reject unSupported client
* Fix: Updater on linux
* Fix: Updater on Linux
* Fix: Nlog maxArchiveDays maxArchiveFiles

# v1.2.249
Expand Down Expand Up @@ -440,7 +474,7 @@

# v1.1.240
### Client
* Fix: Diangnostic report "No Internet", when there is internet
* Fix: Diagnostic report "No Internet", when there is internet
* Update: Windows: Change Updater

# v1.1.238
Expand All @@ -457,8 +491,8 @@

### Server
* Update: Auto restart if VpnHoodServer stops unexpectedly
* Fix: Typo error in default.pfx filename for FileAccessServer
* Fix: linux: Stop working after server update
* Fix: Typo error in default.pfx filename for FileAccessManager
* Fix: Linux: Stop working after server update

# v1.1.235
### Client
Expand All @@ -474,12 +508,12 @@
* Fix: UDP loss in mass UDP traffic

### Server
* New: Send ClientVersion to AccessServer
* New: Send ClientVersion to AccessManager
* Update: drop Hello version 1 support
* Update: Significantly improve speed and stability
* Update: Automatically remove profiles when token does not exist
* Update: add some log EventId
* Fix: token is ignored when created by FileAccessServer
* Fix: token is ignored when created by FileAccessManager
* Fix: UDP loss in mass UDP traffic

# v1.1.217
Expand Down Expand Up @@ -508,7 +542,7 @@

# v1.1.197
### Client
* Fix: rejecting accesskey with vh://
* Fix: rejecting AccessKey with vh://

### Server
* New: Report Linux Distribution info
Expand All @@ -532,7 +566,7 @@
* Feature: Windows: Add Context menu to system tray
* Update: Add Microsoft WebView2 Edge to Windows Installer prerequisites
* Update: Send ClientVersion to server
* Fix: accesskey prefix
* Fix: AccessKey prefix

### Server
* Fix: Reading server port number from appsettings.json
Expand All @@ -548,7 +582,7 @@
### Server
* Fix: Unhandled NullReferenceException on ping packets
* Fix: Improve server memory cleanup
* Fix: Prevent new conenction after session disposed
* Fix: Prevent new connection after session disposed
* Fix: Speed Monitor and connection idle state
* Fix: Improve connection stability and lost packets
* Feature: ICMP logging for client and server with IsDiagnoseMode
Expand All @@ -574,7 +608,7 @@
* Fix: Checking update from the Internet

### Server
* Update: add subdomain when creating self-signed certifiates with random CN
* Update: add subdomain when creating self-signed certificates with random CN

# v1.1.91
* Fix: AppUpdater throw error if UpdateUrl in publish.json was empty string
Expand Down
6 changes: 3 additions & 3 deletions Pub/Version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Version": "2.9.370",
"BumpTime": "2023-05-17T23:21:05.9561282Z",
"Version": "3.0.411",
"BumpTime": "2023-07-30T05:05:28.7772631Z",
"Prerelease": false,
"DeprecatedVersion": "2.0.0"
"DeprecatedVersion": "v2.8.370"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="VpnHood.Client">
<Version>2.9.369</Version>
<Version>3.0.410</Version>
</PackageReference>
<PackageReference Include="VpnHood.Client.Device.Android">
<Version>2.9.369</Version>
<Version>3.0.410</Version>
</PackageReference>
<PackageReference Include="Xamarin.Essentials" Version="1.7.5" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.7" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<TargetFramework>net6.0</TargetFramework>
<Description>Simple VpnHood Client usage</Description>
<Product>VpnHood Samples</Product>
<Company>VpnHood</Company>
<Authors>VpnHood</Authors>
<Company>OmegaHood LLC</Company>
<Copyright>© OmegaHood LLC. All rights reserved.</Copyright>
<PackageLicenseExpression>LGPL-2.1-only</PackageLicenseExpression>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="VpnHood.Client" Version="2.9.369" />
<PackageReference Include="VpnHood.Client.Device.WinDivert" Version="2.9.369" />
<PackageReference Include="VpnHood.Client" Version="3.0.410" />
<PackageReference Include="VpnHood.Client.Device.WinDivert" Version="3.0.410" />
</ItemGroup>

</Project>
3 changes: 2 additions & 1 deletion VpnHood.Client.App.Android/Properties/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="369" package="com.vpnhood.client.android" android:installLocation="auto" android:versionName="2.9.369">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="411" package="com.vpnhood.client.android" android:installLocation="auto" android:versionName="3.0.411">
<uses-sdk android:minSdkVersion="22" android:targetSdkVersion="33" />
<uses-feature android:name="android.software.leanback" android:required="false" />
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<application android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:banner="@mipmap/banner">
</application>
<queries>
Expand Down
2 changes: 1 addition & 1 deletion VpnHood.Client.App.Android/Resources/Resource.designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.Essentials" Version="1.7.5" />
<PackageReference Include="Xamarin.Essentials" Version="1.7.7" />
</ItemGroup>
<ItemGroup>
<None Include="Ads\VpnHoodAdActivity.cs" />
Expand Down
3 changes: 2 additions & 1 deletion VpnHood.Client.App.UI/ApiController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using EmbedIO;
using EmbedIO.Routing;
using EmbedIO.WebApi;
using VpnHood.Client.App.Settings;
using VpnHood.Client.Device;

// ReSharper disable InconsistentNaming
Expand Down Expand Up @@ -105,7 +106,7 @@ public async Task log()
Response.ContentType = MimeType.PlainText;
await using var stream = HttpContext.OpenResponseStream();
await using var streamWriter = new StreamWriter(stream);
var log = App.GetLogForReport();
var log = await App.LogService.GetLog();
await streamWriter.WriteAsync(log);
}

Expand Down
8 changes: 4 additions & 4 deletions VpnHood.Client.App.UI/VpnHood.Client.App.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
<RootNamespace>VpnHood.Client.App.UI</RootNamespace>
<AssemblyName>VpnHood.Client.App.UI</AssemblyName>
<PackageLicenseExpression>LGPL-2.1-only</PackageLicenseExpression>
<Authors>VpnHood</Authors>
<Company>VpnHood</Company>
<Company>OmegaHood LLC</Company>
<Copyright>© OmegaHood LLC. All rights reserved.</Copyright>
<RepositoryUrl>https://github.com/vpnhood/vpnhood</RepositoryUrl>
<PackageProjectUrl>https://github.com/vpnhood/vpnhood</PackageProjectUrl>
<PackageIcon>VpnHood.png</PackageIcon>
<Description>Tiny internal webserver to server your single-page application (SPA). You need this only if you want to create a UI for your VpnHood client by single-page application (SPA).</Description>
<PackageId>VpnHood.Client.App.UI</PackageId>
<Version>2.9.370</Version>
<AssemblyVersion>2.9.370</AssemblyVersion>
<Version>3.0.411</Version>
<AssemblyVersion>3.0.411</AssemblyVersion>
<FileVersion>$([System.DateTime]::Now.ToString("yyyy.M.d.HHmm"))</FileVersion>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
Expand Down
Loading

0 comments on commit dcd7d7f

Please sign in to comment.