microsandbox_network/lib.rs
1//! `microsandbox-network` provides the smoltcp in-process networking engine
2//! for sandbox network isolation and policy enforcement.
3
4pub mod backend;
5pub mod builder;
6pub mod config;
7pub mod conn;
8pub mod device;
9pub mod dns;
10pub mod icmp_relay;
11pub mod network;
12pub mod policy;
13pub mod proxy;
14pub mod publisher;
15pub mod secrets;
16pub mod shared;
17pub mod stack;
18pub mod tls;
19pub mod udp_relay;
20
21/// Static hostname the guest uses to reach the sandbox host.
22///
23/// The host-side DNS interceptor matches guest queries against this
24/// name, and agentd writes the same name into `/etc/hosts`.
25pub(crate) const HOST_ALIAS: &str = "host.microsandbox.internal";