- osds: Added system DNS forwarder on 127.0.0.1:53 - SystemDnsManager for Windows/Linux DNS configuration - Auto-restore original DNS on exit - *.ospab.internal routing to master node - Encrypted DNS forwarding through OSTP tunnel - oncp: Implemented node enrollment system - EnrollmentRegistry with state machine (Pending->Approved->Active) - SQLite-backed enrollment storage - Node PSK generation on approval - REST API endpoints for enrollment workflow - oncp-master: Added enrollment CLI commands - 'node pending' - List pending enrollment requests - 'node approve <id>' - Approve and generate PSK - 'node reject <id>' - Reject enrollment - ostp-server: Auto-registration on startup - Submits enrollment request to master node - Exits if PSK='AUTO' and awaits approval - Integrates with ONCP enrollment API - oncp API: Enhanced CDN steering - Best nodes by country_code with fallback - Steering metadata (matched, fallback status) - Load-based node selection
25 lines
560 B
TOML
25 lines
560 B
TOML
[package]
|
|
name = "ostp-server"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
description = "OSTP Stealth VPN Server"
|
|
|
|
[[bin]]
|
|
name = "ostp-server"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
ostp = { path = "../ostp" }
|
|
oncp = { path = "../oncp" }
|
|
ostp-guard = { path = "../ostp-guard" }
|
|
tokio.workspace = true
|
|
anyhow.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
clap.workspace = true
|
|
hex.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
rand.workspace = true
|
|
reqwest = { version = "0.11", features = ["json"] }
|