Commit graph

33 commits

Author SHA1 Message Date
737ff501ab chore: update flake.lock 2026-01-17 11:17:24 +01:00
0d8c04aea3 fix: #1 ; next_state could be 0, which is invalid 2026-01-16 09:59:08 +01:00
a58024c192 fix: server_watcher don't use unwrap and use the external port quering the server 2026-01-13 13:32:26 +01:00
e67afc23df feat: don't rebuild dependencies(of the crate) if the hash changes
It used to rebuild all of the dependencies of the crate, because I
embed the hash in the program, and when commiting there is a new hash.
("revision" or "hash", it is just the git hash)

Now it only rebuilds the final crate, so there is caching again. :)
2026-01-12 13:57:05 +01:00
39b1a84c55 fix: PacketLengthInvalid did not correctly return at any time
this was due to the value being coerced to usize and then
panicing in debug with integer subtract underflow
2025-12-17 18:44:20 +01:00
822330ef87 feat: add connection filters; and config struct;
also move sanitize_addr to mc_server module
2025-12-14 12:56:21 +01:00
3dcf2f03a8 fix: server_watcher pool JoinHandles and check them 2025-12-12 02:54:28 +01:00
7f6bd226a7 fix: if server couldn't be found and the next packets are bad, only emit one line 2025-12-12 03:37:37 +01:00
1454945f32 feat: better looking motd, and kubernetes native motd handling 2025-12-11 23:16:05 +01:00
402e315a93 feat: use port value of handshake to determine where to route the data 2025-12-11 21:54:19 +01:00
6c56b9e0e3 fix: modded(neoforge 1.20.1) address string handling 2025-12-11 16:41:13 +01:00
2eb9adc61a feat: add some botched old address support 2025-12-11 02:26:08 +01:00
1d9d205d8c feat: gracefully handle status request, when server doesn't exist 2025-12-11 01:43:51 +01:00
0d5fec173d feat: gracefully handle servers, which could not be found with the addr 2025-12-11 01:10:58 +01:00
5bfff0a081 feat: add watcher which checks if the joined servers became empty and stops them 2025-12-10 23:10:37 +01:00
138429948a fix: reworked, but not renamed 2025-12-10 19:27:39 +01:00
2892cc3e7b feat: add abstraction for proxying logic + small fixes
and i dont wanna break this up into multiple commits.
2025-12-10 19:25:59 +01:00
5233570675 fix: don't abort parsing packets if they have larger than 0 size 2025-12-07 17:14:58 +01:00
f1c1b2c122 feat: improve packet::parse tracing 2025-12-07 12:16:28 +01:00
7461b8ea30 fix: replace todo!() with Ok(()) 2025-12-06 20:04:14 +01:00
594e91b8a1 chore: startup logging polish; BIND_PORT env var setting added 2025-12-04 00:25:07 +01:00
4cf3d5aea0 feat: add an Error type to Packet::parse
instead of error logging manually inside `parse`,
return a Result with a custom enum
2025-12-03 22:58:21 +01:00
92dfbd490c chore: small cleanup 2025-12-03 22:58:01 +01:00
cae000cfe7 fix: temporary bandaid fix for vec![] macro panics 2025-12-03 18:29:14 +01:00
fdb2f88c4a chore: incremental cleanups 2025-12-03 18:29:00 +01:00
6021bb05f1 feat: handle login and scaling up deployments 2025-12-01 20:03:23 +01:00
b14d3b599d feat: server status protocol path implemented 2025-11-29 18:31:14 +01:00
b75eec70e0 feat: move the packets library over to use async 2025-11-26 00:37:32 +01:00
79ffeafc29 fix: use tracing instead of println 2025-11-25 16:48:29 +01:00
3b7e976deb feat: add COMMIT_HASH build time env var 2025-11-25 16:48:02 +01:00
e7d06a45f6 feat: basic foundations 2025-11-25 16:18:38 +01:00
5874d06016 chore: remove unneded code 2025-11-24 23:13:26 +01:00
28109122b2 inital working commit 2025-11-24 23:08:26 +01:00