Stores the DDoS detection state (either settings from the config file, or the active DDoS detection state)
更多...
#include <DDoSDetection.h>
|
|
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()
Whether or not the specified counters and time passed has hit any of the quota's
- 参数
-
| InCounter | The counters to check against |
| TimePassedMS | The amount of time passed in milliseconds, since the beginning of this state |
- 返回
- Whether or not the quota was hit
该结构体的文档由以下文件生成: