This commit is contained in:
2026-07-17 02:19:05 +03:00
parent 4cd9f928ff
commit dbd5715578
42 changed files with 6000 additions and 866 deletions
@@ -65,8 +65,18 @@ public sealed class ResourceAttachmentConfiguration
/// </summary>
public sealed class ConnectionConfiguration
{
/// <summary>Maximum concurrent connections admitted by one EP server.</summary>
public int MaximumConnections { get; set; } = 1_024;
public int MaximumConnectionsPerIpAddress { get; set; } = 64;
/// <summary>
/// Maximum connection attempts admitted by one EP server during
/// <see cref="ConnectionAttemptWindow"/>. This also bounds clients that rotate IP
/// addresses. A value of zero disables the limit.
/// </summary>
public int MaximumConnectionAttempts { get; set; } = 4_096;
/// <summary>
/// Maximum connection attempts admitted from one IP during
/// <see cref="ConnectionAttemptWindow"/>. This limits repeated pre-authentication