New release branch per the release-branch model (operator decision; local/AGENTS.md reserves branch creation to the operator). sync-versions.sh, driven by bump-release.sh, rewrites: - Cat 1 in-house crates -> version = 0.3.2 - Cat 2 upstream forks -> <upstream-tag>+rb0.3.2 Labels only; no fork source was rebased in this commit. bump-release.sh reports these forks as having newer upstream tags, to be taken next: relibc 0.2.5 -> 0.6.0 syscall 0.9.0 -> 0.9.1 libredox 0.1.18 -> 0.1.19 redoxfs and redox-scheme are already current. kernel, bootloader and installer are 'diverged' in the fork map and stay report-only (manual rebase); bootloader additionally has no merge-base with upstream.
redbear-netstat
Network statistics utility — reports interface, address, route, DNS, and profile state from Red Bear runtime surfaces
Status: FEATURE-INCOMPLETE
Category: system
Build: cargo build --release --manifest-path source/Cargo.toml
Purpose
redbear-netstat provides network status reporting for Red Bear OS. It reads interface configuration, IP addresses, routing tables, DNS resolver state, and active network profiles from the Red Bear runtime filesystem (/scheme/netcfg/).
The tool installs as both netstat and redbear-netstat (two BINS entries from the same src/main.rs). The dual naming provides familiar netstat invocation while preserving the redbear- prefix convention.
Note
: The nested directory anomaly (
redbear-netstat/redbear-netstat/vestigial duplicate) was removed on 2026-07-28. The source now lives at the standard pathsource/src/main.rs.
CLI Usage
netstat # Full report (default)
redbear-netstat # Same output (alternate name)
netstat --help # Usage information
Report Sections
- Interfaces: List of network interfaces from
/scheme/netcfg/ - Addresses: Per-interface IP address from
/scheme/netcfg/<iface>/address - Route: Default route from
/scheme/netcfg/<iface>/route - DNS: Nameserver from
/scheme/netcfg/resolv/nameserver - Profiles: Active profile list from
/scheme/netcfg/profile/
Architecture
- Single file:
src/main.rs(290 lines) - No external dependencies — uses only
std::fsandstd::path - Key types:
Runtime(root-overridable filesystem access for testing) - Data sources:
/scheme/netcfg/tree,/etc/resolv.conf(fallback)
Consumers
- Standalone CLI — no other redbear-* programs depend on it
- Used implicitly by
redbear-info(which reads the same runtime surface independently)
Status Notes
- Implemented: Interface enumeration, address/route/DNS/profile reporting
- Not implemented: Live TCP/UDP socket table enumeration (the tool's usage text acknowledges this gap)
- The
Runtimestruct supports a configurable root path for unit testing against mock filesystems