38 Commits

Author SHA1 Message Date
Geoff Bourne 3b493e9047 Lower packet/frame logs to trace and player with closed connection (#527) 2026-05-12 07:43:18 -05:00
Bastian Wagner 5c7f5d7b36 feat: show asleep or loading motd for k8s servers (#535) 2026-03-09 18:22:53 -05:00
Lenart Kos 2023e73892 Fix docker scaling and show loading MOTD (#529)
* fix: Reduce log spam for sleeping servers

* fix: Fix autodownscaling for initial player connection

* fix: Instant route updating when a docker container is downscaled

* feat: Show asleep or loading motd while the server is waking up
2026-02-25 20:46:51 -06:00
Chris Farhood 21f349c2da Allow mc-router to scale a backend StatefulSet while routing traffic to a proxy via proxyServerName (#512) 2026-02-13 07:07:27 -06:00
Jasper 9cc25e4127 Expose rate limit bucket tokens as metric (#502) 2026-01-03 21:43:46 -06:00
Lenart Kos 4dff00dda9 Docker auto-scale and asleep motd status (#488) 2025-12-20 13:31:34 -06:00
Geoff Bourne 443beb2cce Add support for requesting ngrok remote address (#436) 2025-07-25 17:13:07 -06:00
Geoff Bourne af1e193958 Redo code cleanup (#429)
* Code cleanup of routes config loader and API server (#424)

(cherry picked from commit 1ee3eb4de3)

* Refactored server setup and run out of main (#425)

(cherry picked from commit 05c57c3b85)

* Code cleanup in and around connector (#427)

(cherry picked from commit b3e88db48c)

* Update away from deprecated k8s NewInformer

* Tidy up couple of k8s docs examples
2025-07-13 10:00:40 -05:00
Geoff Bourne 172aed3893 Revert code cleanup for now (#428)
* Revert "Code cleanup in and around connector (#427)"

This reverts commit b3e88db48c.

* Revert "Refactored server setup and run out of main (#425)"

This reverts commit 05c57c3b85.

* Revert "Code cleanup of routes config loader and API server (#424)"

This reverts commit 1ee3eb4de3.
2025-07-06 20:16:26 -05:00
Geoff Bourne b3e88db48c Code cleanup in and around connector (#427) 2025-07-05 21:30:23 -05:00
solidDoWant 805cebd856 Fix login start packet decoding for 1.18.2 up to 1.20.2 (#421)
Signed-off-by: Fred Heinecke <fred.heinecke@yahoo.com>
2025-06-29 07:37:26 -05:00
Samuel McBroom bc81e03f19 Add auto scale down option (#405) 2025-05-02 18:12:53 -05:00
Geoff Bourne 419692825e Handle truncated start login frame (#400) 2025-04-26 21:24:41 -05:00
Geoff Bourne 4ba55a9ccd Add player info to connector logs (#398) 2025-04-26 12:16:32 -05:00
Samuel McBroom da52e7096f Add option for scale-up allow/deny lists for servers (#397) 2025-04-26 10:57:33 -05:00
UrbaneChimp cc5d77e4c8 Call webhook on player disconnect (#396) 2025-04-24 20:58:43 -05:00
Samuel McBroom d21ccb5b9f Add option to emit metrics and logs when players connect to the router (#391) 2025-04-22 07:37:25 -05:00
Geoff Bourne cc590524c4 Add connection webhook notifications (#392)
Also 

* Added decode of LoginStart message
* Add metrics backend constants
* Updated usage section
* Documented MaxFrameLength
2025-04-21 20:28:34 -05:00
Samuel McBroom a058d6e21d Do not autoscale up on status requests (#388) 2025-04-17 22:07:25 -05:00
Geoff Bourne 7526a7078a Add support for allow/deny clients by IP (#355) 2024-12-19 07:37:08 -06:00
Slawomir CALUCH 2624e25c94 feat: add prometheus metrics (#342) 2024-11-09 12:43:51 -06:00
iipanda e38a054c46 feat: add ability to receive proxy protocol (#307) 2024-07-07 11:13:12 -05:00
Geoff Bourne b2153f89cb Corrected addresses used in PROXY header (#262) 2024-02-03 19:37:44 -06:00
Geoff Bourne afdca5646e Added ngrok support (#222) 2023-09-09 12:06:59 -05:00
Geoff Bourne f8a65abb61 Wait for connections to finish when stopping (#107) 2022-08-05 20:50:32 -05:00
Geoff Bourne bc97b0ecbf Trim root zone indicator from server address (#97) 2022-07-11 23:16:15 -05:00
Michael Vorburger ⛑️ 32fb918128 Kubernetes auto scale-up support (#29) 2022-01-06 17:41:10 -06:00
Michael Vorburger ⛑️ 1f5ac0b49d Very minor clean-ups (import re-ordering by automated tooling) (#28) 2021-12-11 18:20:19 -06:00
Gabriel C 7b741337cd feat: implement PROXY protocol to propagate source IPs (#22)
Fixes #13 

Co-authored-by: Geoff Bourne <itzgeoff@gmail.com>
2021-11-13 13:38:20 -06:00
Geoff Bourne 3ea1149681 Qualified influx metric names 2020-01-04 14:52:07 -06:00
Geoff Bourne b290243d40 Initial support for tracking connection metrics 2019-07-14 16:34:46 -05:00
Geoff Bourne a86eb65ca5 misc: re-enable handshake deadline 2019-07-14 16:00:57 -05:00
Geoff Bourne 4c99daafa3 Handle legacy server list ping for handshake 2019-07-13 15:40:34 -05:00
Geoff Bourne 3699931af0 Use juju rate limiter for connection rate limiting 2019-07-13 15:40:00 -05:00
Geoff Bourne 433dd2233b Add flag for connection rate limit and slow zero-progress operations 2019-07-09 07:22:20 -05:00
Geoff Bourne 7c7f0e1b3c Rate limit connections and enforce read deadline on handshake 2019-07-08 19:07:36 -05:00
Geoff Bourne ab94b04d4c Add command line arg for enabling debug logs
Log debugs for frame and packet reading to diagnose high CPU
2019-07-07 11:53:52 -05:00
Geoff Bourne 17a4bd6515 Initial commit 2018-05-07 22:16:01 -05:00