JSON-first network diagnostics. eggprobe-core owns the plan/report
contract and all probing (direct DNS/TCP/TLS, Eggfetch-backed HTTP/1.1+HTTP/2,
Eggress-routed TCP/TLS/HTTP, typed assertions); the eggprobe binary is a
thin presentation adapter and owns no networking.
Source builds require Rust 1.89 or newer:
cargo build --locked --release
./target/release/eggprobe --version
Release archives contain the eggprobe executable plus license/README
metadata; verify against the published checksum and move the binary into a
trusted directory manually. See docs/operator.md for install details and
the supported-target matrix.
eggprobe dns example.com --json
eggprobe tcp example.com --port 443 --json
eggprobe tls example.com --port 443 --json
eggprobe http https://example.com/ --json
eggprobe route example.com --json
eggprobe check example.com --port 443 --url https://example.com/ --json
eggprobe run plan.json
eggprobe run - --ndjson < batch.jsonl
eggprobe compare direct.json routed.json --repeat 5 --json
Notes:
--json/--ndjsonselect machine output on stdout; without them the CLI prints short human text. Logs and diagnostics always go to stderr.routereports target address, kernel-observed local source, interface facts, and bounded route-table candidate correlation. It is direct-only and not authoritative kernel policy-route selection.runaccepts a single plan, a JSON array of plans, or{plans:[...]};-reads stdin. Batch output is one compact report per line in input order.comparetakes a direct plan and an Eggress-routed plan with matching target/probes and reports separate latency distributions.- Exit codes:
0success,1negative probe/assertion outcome,2invalid invocation/plan,3internal failure,130interrupted. - Full command, routing, privacy, and troubleshooting reference is in
docs/operator.md.
The active contract is schema 0.4, described by schemas/plan-0.4.json
and schemas/report-0.4.json. Rust types in eggprobe-core are
authoritative; the binary rejects plan versions other than 0.4.
Route credentials are input-only: reports carry only
{"kind":"eggress"} and human/debug output prints eggress(<redacted>).
Eggprobe adds direct path and host evidence through the internal
eggprobe-native crate (docs/operator.md and
plans/subsystems/native-path-host-diagnostics-roadmap.md for full
details). Schema 0.4 reserves native probe families, but only the
following are currently implemented as supported primitives:
- DNS, TCP, TLS, and Eggfetch-backed HTTP (engine + Eggress byte-stream routing);
eggprobe route <target> --jsonfor target-scoped local source/interface/MTU evidence and bounded route-table candidate correlation (direct-only; route candidates are not authoritative kernel policy-route selection).
The following native families appear in schema 0.4 but currently
return typed unsupported results — they are reserved, not implemented:
- ICMP echo (
M003— blocked on a safe backend); - direct UDP service checks (
M004— ready, not yet implemented); - traceroute / path tracing (
M005— blocked on a truthful backend); - active path-MTU discovery (
M006— blocked on test seams).
The qualified release of record is v0.1.1 (tag at 53ea53d,
plans/closure/release-operational-qualification/004-status.md).
The current main branch carries unreleased Phase 8 native work
(6e45e85 — Native M001/M002); release/package workflows MUST NOT
publish or recreate the changed main tree under the v0.1.1 tag,
and the next qualification cycle must select a new version before
artifact publication.
cargo fmt --all -- --check
cargo check --workspace --all-targets --all-features --locked
cargo clippy --workspace --all-targets --all-features --locked -- -D warnings
cargo test --workspace --all-features --locked
cargo +1.89.0 check --workspace --all-targets --locked
cargo tree --locked
cargo audit