Navigation
API > API/Runtime > API/Runtime/Engine
Stores the RPC DoS detection state (either settings from the config file, or the active DDoS detection state)
| Name | FRPCDoSState |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Net/RPCDoSDetection.h |
| Include Path | #include "Net/RPCDoSDetection.h" |
Syntax
USTRUCT ()
struct FRPCDoSState
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FRPCDoSState() |
Net/RPCDoSDetection.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AutoEscalateTime | int16 | The amount of time, in seconds, spent in the current DoS severity category before it automatically escalates to the next category | Net/RPCDoSDetection.h |
|
| bKickPlayer | bool | Whether or not to kick the player when they escalate to this state | Net/RPCDoSDetection.h |
|
| bLogEscalate | bool | Whether or not to log when escalating to this state | Net/RPCDoSDetection.h |
|
| bSendEscalateAnalytics | bool | Whether or not to send analytics when escalating to this state | Net/RPCDoSDetection.h |
|
| bTrackRecentRPCs | bool | Whether or not to keep a temporary record of recent RPC's, for potential logging/analytics | Net/RPCDoSDetection.h |
|
| CooloffTime | int16 | The amount of time, in seconds, before the current DoS severity category cools off and de-escalates | Net/RPCDoSDetection.h |
|
| EscalateQuotaRPCsPerFrame | int16 | Escalation limits - for escalating to a more strict FRPCDoSState The number of RPC's per frame before the next stage of DoS detection is triggered | Net/RPCDoSDetection.h |
|
| EscalateQuotaRPCsPerPeriod | int16 | The number of RPC's per EscalateQuotaPeriod before the next stage of DoS detection is triggered | Net/RPCDoSDetection.h |
|
| EscalateQuotaTimePeriod | int8 | The time period to use for determining RPC count and time escalation quotas (Max: 16) | Net/RPCDoSDetection.h |
|
| EscalateTimeQuotaMSPerFrame | int16 | The amount of time spent executing RPC's per frame, before the next stage of DoS detection is triggered | Net/RPCDoSDetection.h |
|
| EscalateTimeQuotaMSPerPeriod | int16 | The amount of time spent executing RPC's per EscalateQuotaPeriod, before the next stage of DoS detection is triggered | Net/RPCDoSDetection.h |
|
| EscalateTimeQuotaSecsPerFrame | double | Cached/converted values EscalateTimeQuotaMSPerFrame converted to seconds | Net/RPCDoSDetection.h | |
| EscalateTimeQuotaSecsPerPeriod | double | EscalateTimeQuotaMSPerPeriod converted to seconds | Net/RPCDoSDetection.h | |
| EscalationCountTolerance | int8 | Escalation monitoring - for setting thresholds for triggering analytics (does not affect escalation quota's and RPC limiting) The number of times this stage must be escalated to, before it is 'confirmed' as having been escalated to (for analytics) | Net/RPCDoSDetection.h |
|
| EscalationTimeToleranceMS | int16 | The maximum time spent executing RPC's per frame, before this escalation stage is automatically 'confirmed' for analytics | Net/RPCDoSDetection.h |
|
| EscalationTimeToleranceSeconds | double | EscalationTimeToleranceMS converted to seconds | Net/RPCDoSDetection.h | |
| RPCRepeatLimitMSPerPeriod | int16 | The limit for the number of milliseconds a single RPC can spend executing, over the time period specified by RPCRepeatTimeLimitPeriod | Net/RPCDoSDetection.h |
|
| RPCRepeatLimitPerPeriod | int16 | RPC Execution limits - for preventing execution of specific RPC's, after they have reached a count/time limit The limit for the number of times a single RPC can be repeated, over the time period specified by RPCRepeatTimeLimitPeriod | Net/RPCDoSDetection.h |
|
| RPCRepeatLimitSecsPerPeriod | double | RPCRepeatLimitMSPerPeriod converted to seconds | Net/RPCDoSDetection.h | |
| RPCRepeatLimitTimePeriod | int8 | The time period to use for measuring excessive execution time for a single RPC (Max: 16) | Net/RPCDoSDetection.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyImpliedValues () |
Some configuration values are implicitly enabled by other configuration values - this function applies them | Net/RPCDoSDetection.h | |
bool HasHitQuota_Count
(
const FRPCDoSCounters(&) PerPeriodHistory, |
Whether or not the specified per-period counters have hit count escalation quota's specified by this state. | Net/RPCDoSDetection.h | |
bool HasHitQuota_Time
(
const FRPCDoSCounters(&) PerPeriodHistory, |
Whether or not the specified per-period counters have hit time escalation quota's specified by this state. | Net/RPCDoSDetection.h |