Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

[Solved] Should I be mindful of DoS attacks?

Asked by 4 years ago
Edited 4 years ago

If I create a remote event, is there anything in place that will stop an exploiter from flooding the remote event with A LOT of invokes? Not only am I worried about exploiters purposefully introducing lag to the entire game (rip potato users), but I'm also worried about any overflow as a result.

Should I make module scripts in replicated storage that rejects too many attempted invokes at once(per player) to prevent this, or is it a complete waste of my time since there are countermeasures already in place?

0
You really shouldn't unless the remote event causes a effect (fire,light,spirkes and so on) you shouldn't be worried and even if is a problem just make it so the server stops any command if the client has done it more than say 0.1 seconds. i'd be more worried about what they are actually senting to the server. welololol 25 — 4y
0
FilteringEnabled helps to separate the Client and the Server, though the most practical way to prevent exploits is to have "sanity checks" on the server so that whatever is sent to the server you're prepared for, such as by checking that the parameter sent matches a certain string or that an object can be found with FindFirstChild() SerpentineKing 3885 — 4y
0
I've implemented sanity checks. I started tumbling down the "what if" hole when I was working on cooldowns in my game. Replicated Storage is like a router, I just feel as though the excessive invokes shouldn't even be relayed to the server. SteelMettle1 394 — 4y
0
Do you even know what a DoS attack is? DeceptiveCaster 3761 — 4y
0
Denial of Service, it is a way to deny the server of providing its services (i.e. server crashes, or massive lag). It commonly happens when the server can't process all the information being sent to it. Everything I mentioned is a typical DoS, so I'm not even sure if you yourself know what a DoS attack is. SteelMettle1 394 — 4y

1 answer

Log in to vote
0
Answered by 4 years ago

[ANSWER]

Roblox catches this and will return an error if you attempt to invoke a remote excessively. The error is something along the lines of "Exhausted queue of remote event." This is an overall queue that is placed on each device. So remotes cannot be used for these in-game server attacks.

Ad

Answer this question