Table of Contents

Interface IAccountCreationSystemMappingData

Namespace
FishMMO.Server.Core.LoginServer
Assembly
FishMMO.Server.dll

Mapping data for per-IP rate limiting and DoS protection. Tracks IP addresses and their request/failure history. Thread-safe: accessed from both network and worker threads.

public interface IAccountCreationSystemMappingData : IRuntimeDataContainer, IServerComponent

Properties

IpFailureTracker

Tracks number of failed attempts per IP for DoS detection and blocking. Key: IP Address, Value: Failed attempt count.

ConcurrentDictionary<string, int> IpFailureTracker { get; }

Property Value

ConcurrentDictionary<string, int>

IpRateLimitTracker

Tracks last account creation attempt per IP address for rate limiting. Key: IP Address, Value: Last attempt timestamp (UTC).

ConcurrentDictionary<string, DateTime> IpRateLimitTracker { get; }

Property Value

ConcurrentDictionary<string, DateTime>