No description
Find a file
Tamipes 822330ef87 feat: add connection filters; and config struct;
also move sanitize_addr to mc_server module
2025-12-14 12:56:21 +01:00
src feat: add connection filters; and config struct; 2025-12-14 12:56:21 +01:00
.envrc inital working commit 2025-11-24 23:08:26 +01:00
.gitignore feat: add connection filters; and config struct; 2025-12-14 12:56:21 +01:00
.ignore inital working commit 2025-11-24 23:08:26 +01:00
build.rs chore: startup logging polish; BIND_PORT env var setting added 2025-12-04 00:25:07 +01:00
Cargo.lock feat: add connection filters; and config struct; 2025-12-14 12:56:21 +01:00
Cargo.toml feat: add connection filters; and config struct; 2025-12-14 12:56:21 +01:00
deny.toml inital working commit 2025-11-24 23:08:26 +01:00
flake.lock inital working commit 2025-11-24 23:08:26 +01:00
flake.nix chore: startup logging polish; BIND_PORT env var setting added 2025-12-04 00:25:07 +01:00
README.md feat: add connection filters; and config struct; 2025-12-14 12:56:21 +01:00
taplo.toml inital working commit 2025-11-24 23:08:26 +01:00

Env variables:

  • BIND_ADDR(default: 0.0.0.0:25565): the address the server should bind to
  • FILTER_CONN(default: '(addr == "10.100.0.1")'): the filter appplied with evalexpr The "context" has the addr variable populated with the address of part of the handshake packet. Custom filter can be specified, and drop any connections which match the filter.