Initial commit: Rampart v0.2.0
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
This commit is contained in:
commit
cf9608ce5d
159 changed files with 15341 additions and 0 deletions
54
Makefile
Normal file
54
Makefile
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
# Rampart — Build System
|
||||
|
||||
CARGO = cargo
|
||||
TARGET_DIR = target
|
||||
GRADLE = gradle
|
||||
|
||||
.PHONY: all build test check fmt clippy clean release plugins
|
||||
|
||||
all: check test build
|
||||
|
||||
build:
|
||||
$(CARGO) build
|
||||
|
||||
release:
|
||||
$(CARGO) build --release
|
||||
|
||||
check:
|
||||
$(CARGO) check
|
||||
|
||||
test:
|
||||
$(CARGO) test
|
||||
|
||||
fmt:
|
||||
$(CARGO) fmt --all
|
||||
|
||||
fmt-check:
|
||||
$(CARGO) fmt --all --check
|
||||
|
||||
clippy:
|
||||
$(CARGO) clippy -- -D warnings
|
||||
|
||||
clean:
|
||||
$(CARGO) clean
|
||||
|
||||
plugins:
|
||||
cd plugins && ./gradlew build
|
||||
|
||||
docker-build: plugins
|
||||
docker compose -f deploy/docker-compose.yml build
|
||||
|
||||
docker-up: docker-build
|
||||
docker compose -f deploy/docker-compose.yml up -d
|
||||
|
||||
docker-down:
|
||||
docker compose -f deploy/docker-compose.yml down
|
||||
|
||||
docker-logs:
|
||||
docker compose -f deploy/docker-compose.yml logs -f
|
||||
|
||||
# Full checkstyle (analog of Java's checkstyle + PMD + spotbugs)
|
||||
checkstyle: fmt-check clippy
|
||||
@echo "✓ Checkstyle passed (rustfmt + clippy)"
|
||||
|
||||
ci: checkstyle test build
|
||||
Loading…
Add table
Add a link
Reference in a new issue