Page 1 of 1

Technical question about how the games handles udp

Posted: Thu May 16, 2019 5:22 pm
by Maloux
Hello,

I'm trying to understand how it is possible to securize a connexion over UDP (for games).
For the moment the most obvious choice to my eyes is DTLS but it's really hard to implement with openSSL or any library i found.
So i wonder with what library did you implement it in factorio, because i could'nt find it in the license file, or if you're just using UDP without encryption.

Thank you :D

Re: Technical question about how the games handles udp

Posted: Thu May 16, 2019 5:27 pm
by posila
Hello, as far as I know we don't do any encryption of network packets.
So don't post sensitive information into chat in Factorio :D

Re: Technical question about how the games handles udp

Posted: Thu May 16, 2019 5:50 pm
by Maloux
Okayyy thank you for your answer ;)

That surprises me because I don't know how it is possible to login users when they connect to a server without their password (or token idk how it works) to be compromised.

Re: Technical question about how the games handles udp

Posted: Thu May 16, 2019 6:55 pm
by posila
User verification mechanism was described in FFF #139: https://www.factorio.com//blog/post/fff-139

Re: Technical question about how the games handles udp

Posted: Sat May 18, 2019 1:01 pm
by Maloux
okay thank you i will check this :)