Worker frames are now FrameType + payload; there is no stream id. Each player gets its own worker conn. maxTunnels (default 256) caps concurrent tunnels. The old maxConn pool size is ignored so existing configs do not silently admit only a handful of players. Resume, per-direction windows, the control session, and the DATA-only shaper stay. A dropped worker still hangs that one player and reattaches over a fresh conn. Add a hub-side per-IP limiter for player intents only (default 8/s, burst 16, 64 concurrent). Unmatched hostnames consume a token; Intent 17 is never counted. 0 disables each knob.
19 lines
405 B
JSON
19 lines
405 B
JSON
{
|
|
"server": "hub.example.com:25565",
|
|
"psk": "change-me-to-a-long-random-passphrase",
|
|
"maxTunnels": 256,
|
|
"pingIntervalMs": 20000,
|
|
"streamWindowBytes": 262144,
|
|
"maxBandwidth": "",
|
|
"streamResume": true,
|
|
"resumeGraceMs": 15000,
|
|
"statsIntervalMs": 0,
|
|
"mappings": [
|
|
{
|
|
"pattern": "mc\\.example\\.com",
|
|
"destination": "127.0.0.1:25566",
|
|
"proxyProtocol": true
|
|
}
|
|
]
|
|
}
|