fix: update doc arch

This commit is contained in:
rmanach
2026-09-29 10:07:29 +02:00
parent 589df6190c
commit af2dc3af53
12 changed files with 88 additions and 19 deletions
+6 -4
View File
@@ -2,18 +2,20 @@
skinparam shadowing false
title Player: one session per client address
actor "Player\n1.2.3.4:5555" as player
actor "Player\n203.0.113.7:27960" as player
participant "etrelay\nfront :27960" as relay
participant "session task\n(ephemeral socket)" as session
participant "session task\n(socket :51234)" as session
participant "ET server" as et
player -> relay : getchallenge / connect / game packets
relay -> relay : filter (command, query rate)\nban check
relay -> session : first packet: open session
session -> et : forward (source = ephemeral port)
session -> et : forward (source = <front-wg>:51234)
note right of et : sees the player as\n<front-wg>:51234
et --> session : reply
session --> player : reply sent from front:27960
...packets both ways, deadline pushed back on each packet...
...2 min without any packet...
session -> session : close (socket dropped)
note over relay : next packet from 1.2.3.4:5555\nopens a new session
note over relay : next packet from 203.0.113.7:27960\nopens a new session (new port)
@enduml