Release / build (push) Successful in 4m20s
Someone scripting the server could guess the 4-character room codes without limit (one connection, thousands a second), open all 2000 rooms in seconds, or flood it with connections and messages. Per IP address now: - 10 wrong room codes in a row, then one a minute; while cut off even a right code gets no answer. Coming back to your seat with a token is not limited, and answers the same whether the room or the seat is gone, so it tells nothing about which codes are in use. - 10 new rooms in a row, then one every 3 minutes. - 32 connections at a time; 40 messages in a burst, then 10 a second. The address comes from X-Forwarded-For only when the connection is from the local or Docker network (the TLS proxy); the server warns once if such connections arrive without the header. A room where no player did anything for 3 hours now closes even with screens still connected (a forgotten tab), telling them why. Rooms nobody is connected to already closed after 10 minutes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>