914bd48346
lanparty-client-core now owns the platform-neutral remote client relay session. It validates relay trust input, room, virtual MAC identity, and datagram budget, then connects to the relay, sends a client hello, and stores the assigned welcome metadata. The session exposes Ethernet datagram send and receive helpers that stamp outgoing frames with the relay-assigned room and peer ids, ignore frames for other rooms or from itself, and reject malformed Ethernet payloads before handing them to the future TAP bridge. The loopback Quinn test verifies the full client-side control and datagram path without requiring Windows TAP access: pinned certificate trust, role = client hello, announced virtual MAC, welcome parsing, and Ethernet datagrams in both directions. Test Plan: - cargo fmt --check - cargo test --workspace - cargo clippy --workspace --all-targets -- -D warnings Refs: PLAN.md Windows client relay connection and QUIC datagrams
17 lines
360 B
TOML
17 lines
360 B
TOML
[package]
|
|
name = "lanparty-client-core"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
bytes.workspace = true
|
|
lanparty-ctrl = { path = "../lanparty-ctrl" }
|
|
lanparty-proto = { path = "../lanparty-proto" }
|
|
quinn.workspace = true
|
|
rustls.workspace = true
|
|
|
|
[dev-dependencies]
|
|
rcgen.workspace = true
|
|
tokio.workspace = true
|