Table of Contents

Class AccountCreationSystemMappingData

Namespace
FishMMO.Server.Implementation.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 class AccountCreationSystemMappingData : RuntimeDataContainer, IRuntimeDataContainer<INetworkManagerWrapper, ServerManager, NetworkConnection, IRuntimeDataContainer>, IServerComponent<INetworkManagerWrapper, ServerManager, NetworkConnection, IRuntimeDataContainer>, IAccountCreationSystemMappingData, IRuntimeDataContainer, IServerComponent
Inheritance
AccountCreationSystemMappingData
Implements
Inherited Members

Properties

IpAbuse

Per-IP creation-attempt rate limit and failure block, expired in activity order. See IpAbuseTracker for the rules.

public IpAbuseTracker IpAbuse { get; }

Property Value

IpAbuseTracker

Methods

Clear()

Clears all mapping data entries. Does not null the reference, since the tracker may be accessed from other threads during runtime.

public override void Clear()

InitializeOnce()

Initializes the mapping data container with an empty tracker.

public override ServerComponentInitializationStatus InitializeOnce()

Returns

ServerComponentInitializationStatus

OnDeinitialize()

Deinitializes the mapping data container and releases references.

protected override void OnDeinitialize()