FDDoSState

Stores the DDoS detection state (either settings from the config file, or the active DDoS detection state)

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

NetCore

Header

/Engine/Source/Runtime/Net/Core/Public/Net/Core/Misc/DDoSDetection.h

Include

#include "Net/Core/Misc/DDoSDetection.h"

Syntax

struct FDDoSState

Remarks

Stores the DDoS detection state (either settings from the config file, or the active DDoS detection state)

Variables

Name Description

Public variable

bool

 

bSendEscalateAnalytics

Whether or not to send analytics when escalating to this state

Public variable

int32

 

CooloffTime

The amount of time, in seconds, before the current DDoS severity category cools off and de-escalates

Public variable

int32

 

EscalateQuotaBadPacketsPerSec

The number of bad (failed to process correctly) packets/sec, before the next stage of DDoS detection is triggered

Public variable

int32

 

EscalateQuotaDisconnPacketsPerSec

The number of recently disconnected NetConnection packets/sec, before the next stage of DDoS detection is triggered.

Public variable

int32

 

EscalateQuotaPacketsPerSec

The number of packets/sec before the next stage of DDoS detection is triggered

Public variable

int16

 

EscalateTimeQuotaMSPerFrame

The amount of time spent processing packets, before the next stage of DDoS detection is triggered

Public variable

int32

 

NetConnPacketTimeLimitMSPerFrame

The limit for time spent processing NetConnection packets, each frame (counts all packets time, non-NetConn and NetConn)

Public variable

int32

 

PacketLimitPerFrame

The limit for the number of non-NetConnection packets to process, each frame

Public variable

int32

 

PacketTimeLimitMSPerFrame

The limit for time spent processing non-NetConnection packets, each frame (counts all packets time, non-NetConn and NetConn)

Constructors

Name Description

Public function

FDDoSState()

Functions

Name Description

Public function Const

bool

 

HasHitQuota

(
    FDDoSPacketCounters& InCounter,
    int32 TimePassedMS
)

Whether or not the specified counters and time passed has hit any of the quota's

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss