engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
FDDoSState结构体 参考

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

#include <DDoSDetection.h>

+ 类 FDDoSState 继承关系图:

Public 成员函数

bool HasHitQuota (FDDoSPacketCounters &InCounter, int32 TimePassedMS) const
 Whether or not the specified counters and time passed has hit any of the quota's 更多...
 

Public 属性

int32 CooloffTime
 The amount of time, in seconds, before the current DDoS severity category cools off and de-escalates
 
int32 EscalateQuotaBadPacketsPerSec
 The number of bad (failed to process correctly) packets/sec, before the next stage of DDoS detection is triggered
 
int32 EscalateQuotaDisconnPacketsPerSec
 The number of recently disconnected NetConnection packets/sec, before the next stage of DDoS detection is triggered.
 
int32 EscalateQuotaPacketsPerSec
 The number of packets/sec before the next stage of DDoS detection is triggered
 
int16 EscalateTimeQuotaMSPerFrame
 The amount of time spent processing packets, before the next stage of DDoS detection is triggered
 
int32 NetConnPacketTimeLimitMSPerFrame
 The limit for time spent processing NetConnection packets, each frame (counts all packets time, non-NetConn and NetConn)
 
int32 PacketLimitPerFrame
 The limit for the number of non-NetConnection packets to process, each frame
 
int32 PacketTimeLimitMSPerFrame
 The limit for time spent processing non-NetConnection packets, each frame (counts all packets time, non-NetConn and NetConn)
 

详细描述

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

成员函数说明

◆ HasHitQuota()

bool FDDoSState::HasHitQuota ( FDDoSPacketCounters &  InCounter,
int32  TimePassedMS 
) const
inline

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

参数
InCounterThe counters to check against
TimePassedMSThe amount of time passed in milliseconds, since the beginning of this state
返回
Whether or not the quota was hit

该结构体的文档由以下文件生成: