x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UE4 Network protocol and security

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?

Product Version: UE 4.18
Tags:
more ▼

asked Jul 12 '18 at 10:04 PM in Using UE4

avatar image

sennec
6 1 2

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

There is no encryption in replication protocol and there no documentation on protocol at all as i know.

Basic security is to control what is replicated and what is not when theres many options how to do it, including cutting of entire actor from replication

https://wiki.unrealengine.com/Replication

GameMode object as well as foreign PlayerControllers are not replicated to clients by default so key data should be there. If property (UProperty) does not have CPF_Net frag on it won't be replicated

Other then that you need took up the source code. If you really so not trusting UE4 replication you free to make your own protocol.

more ▼

answered Jul 13 '18 at 02:35 AM

avatar image

Shadowriver
30.1k 903 150 1064

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question