https://github.com/splurf/wlrs
https://github.com/splurf/wlrs
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/splurf/wlrs
- Owner: splurf
- Created: 2024-03-13T17:25:34.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-19T22:14:20.000Z (over 1 year ago)
- Last Synced: 2025-03-19T23:23:03.815Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 6.88 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wlrs
Authenticated web-based whitelister for a minecraft server.
## dotenv (.env)
```bash
# server
SERVER_ADDR = ":"
SERVER_PASS = ""
RCON_PASS = ""
# client
WEBSOCKET_ADDR = "wss:///"
```
- This is the configuration for the local `.env` file.
---
### Authentication
It's very basic. The provided `SERVER_PASS` is hashed with a randomly generated salt upon compilation. A user provides a text-based string as the password, which is then sent to the server via secure websocket. The password is then hashed with the existing salt and compared with the existing hash. If they match, the password is correct.
---
### Todo
- Implement rate-limiting by IP-address $\to$ prevent basic brute-force attempts