Multi-layer DDoS protection for Minecraft servers. - rampart-core: Edge node with XDP/eBPF + Rust L7 filtering - rampart-manager: REST API with JWT auth, Redis sync - rampart-cli: CLI tool for operators - velocity-plugin: Domain check, HMAC verify, server registry, load balancer - paper-plugin: Auto-registration, heartbeat, HMAC verify - dashboard: React + Vite web UI for management
39 lines
976 B
TOML
39 lines
976 B
TOML
[package]
|
|
name = "rampart-core"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
tokio.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
thiserror.workspace = true
|
|
anyhow.workspace = true
|
|
dashmap.workspace = true
|
|
crossbeam.workspace = true
|
|
hex.workspace = true
|
|
sha2.workspace = true
|
|
hmac.workspace = true
|
|
subtle.workspace = true
|
|
socket2 = { workspace = true, features = ["all"] }
|
|
prometheus.workspace = true
|
|
toml.workspace = true
|
|
futures.workspace = true
|
|
|
|
redis = { version = "0.27", optional = true, features = ["tokio-comp"] }
|
|
maxminddb = { version = "0.30", optional = true }
|
|
tokio-splice = { version = "0.2", optional = true }
|
|
libbpf-rs = { version = "0.24", optional = true }
|
|
|
|
[features]
|
|
default = ["store-redis"]
|
|
store-redis = ["dep:redis"]
|
|
geoip = ["dep:maxminddb"]
|
|
xdp = ["dep:libbpf-rs"]
|
|
io-uring = ["dep:tokio-splice"]
|