Aveda Go Proxy

Aveda is LapisMC's dedicated layer-7 network proxy written in Go. It handles player routing, rate limiting, and server switching with zero-copy stream forwarding.

Configuration (`aveda.toml`)

aveda.toml
[bind]
address = "0.0.0.0:25565"
compression = true

[[servers]]
name = "lobby-1"
address = "127.0.0.1:25566"
try_order = 1

[[servers]]
name = "survival-1"
address = "127.0.0.1:25567"
try_order = 2

Zero-Copy TCP Forwarding

Once a player completes authentication, Aveda switches connection pipelines to direct socket-to-socket byte streaming (using splice(2) on Linux via Go's io.Copy), bypassing packet re-serialization entirely.