Table of Contents

Class OsStatus

Namespace
VpnHood.Core.Server.Access
Assembly
VpnHood.Core.Server.Access.dll

Represents the OS settings of the server's machine that OsOptions manages, as the server reads them at each status, and why its last configuration left any of them as they were.

public class OsStatus
Inheritance
OsStatus

Properties

ConnectionTrackingMax

Gets or sets the most connections the OS tracks at once, or null where the server cannot read it.

public int? ConnectionTrackingMax { get; set; }

Property Value

int?

ConnectionTrackingTcpIdleTimeout

Gets or sets how long the OS keeps tracking an established TCP connection that sends nothing, or null where the server cannot read it.

[JsonConverter(typeof(TimeSpanConverter))]
public TimeSpan? ConnectionTrackingTcpIdleTimeout { get; set; }

Property Value

TimeSpan?

Errors

Gets or sets why the server's last configuration left OS settings as they were, one line each: a setting the machine does not support, a value that is not valid, no admin rights, or a failure. The default is none.

public IReadOnlyList<string> Errors { get; set; }

Property Value

IReadOnlyList<string>

TcpCongestionControl

Gets or sets the TCP congestion control the OS runs, or null where the server cannot read it.

public string? TcpCongestionControl { get; set; }

Property Value

string