UE4 Network protocol and security

sennec
Thu, 12 Jul 2018 22:04:29 +0000
Multiplayer & Networking

Hello fellow game devs,

I’ve recently been upping the security of my multiplayer game by adding and streamlining server RPC validation.

I also tweaked the network relevancy settings as far as I could to avoid key data being replicated to players that are not supposed to have that specific information at that specific moment. However, network relevancy doesn’t work 100% and there will likely always be more information replicated than what is supposed to be available to a client.

As far as I know, thats where a lot of ESP hacks come to life that are based on accessing and examining the process memory. Obviouisly I’ll probably have to rely on anti-cheat engines to take care of that for me, but anti-cheat engines won’t be able to detect people intercepting and copying server-to-client traffic and extracting replicated properties from those packets.

I’ve not found any official documentation on the network protocol of UE4 and whether encryption is enabled by default (or how to enable it?).

Leading me to my questions:

Is traffic encryption enabled by default or do I have to enable it explicitly? How would I do that?

Is there any documentation on the protocol/package format?

2 posts - 1 participant