Technical question about how the games handles udp

Things that are not directly connected with Factorio.
Maloux
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Dec 03, 2017 5:08 pm
Contact:

Technical question about how the games handles udp

Post 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
posila
Factorio Staff
Factorio Staff
Posts: 5408
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Technical question about how the games handles udp

Post 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
Maloux
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Dec 03, 2017 5:08 pm
Contact:

Re: Technical question about how the games handles udp

Post 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.
posila
Factorio Staff
Factorio Staff
Posts: 5408
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: Technical question about how the games handles udp

Post by posila »

User verification mechanism was described in FFF #139: https://www.factorio.com//blog/post/fff-139
Maloux
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Dec 03, 2017 5:08 pm
Contact:

Re: Technical question about how the games handles udp

Post by Maloux »

okay thank you i will check this :)
Post Reply

Return to “Off topic”