dslite-b4 0.1.0

DS-Lite B4 tunnel management daemon
Documentation

dslite-b4

dslite-b4 configures a Linux or illumos host to provide the B4 function in the DS-Lite architecture defined by RFC 6333. It establishes IPv4 connectivity through an IPv4 in IPv6 tunnel to an AFTR. The daemon configures a tunnel network interface, its IPv6 endpoints, the B4 IPv4 address, and an IPv4 default route. The operating system networking stack performs packet encapsulation and forwarding.

The package provides the dslite-b4 executable and a Rust library containing the configuration, discovery, reconciliation, runtime state, status, and platform backend modules. Linux and illumos are supported.

Building

From the workspace root:

cargo build --release -p dslite-b4
cargo test -p dslite-b4

Configuration

The executable reads /etc/dslite-b4.toml by default. Another path can be selected with --config. See example-config.toml for the available sections and defaults.

Validate a configuration before starting the daemon:

dslite-b4 check-config

HB46PP discovery accepts only provisioning servers using certificate validation (t=b) by default. Providers requiring t=a can be enabled explicitly with discovery.allow_unauthenticated, which permits HTTP or HTTPS without certificate validation. HB46PP still trusts the access-network DNS response to select the provisioning server hostname.

License

Licensed under either of the following: