Commit Graph
6 Commits
Author SHA1 Message Date
neckfire 36122578a3 feat(netcode): serveur DTLS-PSK (côté serveur) — franchit le mur du chiffrement
Build Game Server / build (push) Successful in 20s
Implémente le pendant serveur du DTLSHandlerComponent d'UE (la pile client est
[DTLS, Stateless]) : le client exige un DTLS en mode PSK dont l'identité = user_id.

- DtlsPskStore : table user_id -> PSK 32o, chargée depuis l'env (PROSPECT_DTLS_PSKS,
  rendu Vault) — aucune clé en dur ni commitée.
- DtlsPacketTransport : pont entre l'API bloquante DTLS de BouncyCastle et le modèle
  paquet-par-paquet du PacketHandler (handshake sur thread dédié).
- ProspectPskTlsServer : serveur DTLS-PSK BouncyCastle (DTLS 1.2, identité=user_id).
- DTLSHandlerComponent : composant du pipeline (Incoming déchiffre / Outgoing chiffre),
  activé au NMT_Hello portant un EncryptionToken.
- UWorld.NotifyControlMessage : sur NMT_Hello chiffré, si la PSK de l'identité est
  connue -> NMT_EncryptionAck + BeginHandshake ; sinon warning (comme avant).

Compile (0 erreur, BouncyCastle 2.4). ⚠️ Le framing exact DTLS-sur-PacketHandler et
le routage des records de handshake demandent une ITÉRATION EN LIVE contre le vrai
client (invalidable hors client).
2026-07-16 23:06:14 +02:00
Yury 840efb8383 Add Prospect.Client.Loader and update Solution config 2025-03-04 23:56:50 +02:00
AeonLucid 3691d229d5 Update to .NET 8 2024-07-01 21:52:30 +02:00
AeonLucid 65a28b32ef Implement handshake Hello NetControlMessage, recv and send 2022-01-12 07:26:25 +01:00
AeonLucid ed0f771df6 Started on UE4 server, semi working handshake 2022-01-09 06:29:02 +01:00
AeonLucid e9091d7ac3 Rename Prospect.Server.Steam to Prospect.Steam 2022-01-08 19:33:41 +01:00