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
11 lines
307 B
Rust
11 lines
307 B
Rust
pub async fn enable() -> anyhow::Result<()> {
|
|
println!("Emergency mode ENABLED");
|
|
println!("Only whitelisted IPs will be allowed through.");
|
|
Ok(())
|
|
}
|
|
|
|
pub async fn disable() -> anyhow::Result<()> {
|
|
println!("Emergency mode DISABLED");
|
|
println!("Normal filtering resumed.");
|
|
Ok(())
|
|
}
|