Skip to content

Releases

BBIWY 0.1.0-alpha.1

BBIWY 0.1.0-alpha.1 Pre-release
Pre-release

Choose a tag to compare

@needmoretruth needmoretruth released this 27 Sep 09:07

First alpha. Every network path runs in its own sealed profile: daily, hardened, tor and i2p install and run. session is not built yet.

⚠ Alpha. What was measured is listed below. The full path has not yet run on a real desktop (see Not yet verified), so don't rely on it for anything that matters until it has.

Install

curl -LO https://github.com/needmoretruth/BBIWY/releases/download/v0.1.0-alpha.1/bbiwy-0.1.0-alpha.1-x86_64-linux
curl -LO https://github.com/needmoretruth/BBIWY/releases/download/v0.1.0-alpha.1/SHA256SUMS
sha256sum -c SHA256SUMS
chmod +x bbiwy-0.1.0-alpha.1-x86_64-linux
./bbiwy-0.1.0-alpha.1-x86_64-linux install   # latest Mullvad Browser, signature checked, locked down
sudo ~/.local/bin/bbiwy apparmor             # Ubuntu 23.10+ only, once (install tells you if needed)
~/.local/bin/bbiwy doctor                    # does isolation actually hold here?
~/.local/bin/bbiwy run daily                 # or hardened · tor · i2p, or from the menu

Requirements: pasta (package passt), nftables, util-linux. bbiwy install also needs curl gpg tar xz zip unzip. On Debian/Ubuntu: sudo apt install passt nftables curl gpg xz-utils zip unzip.

The binary is static (musl), for Linux x86_64. It was built from this tag on a clean GitHub runner by .github/workflows/release.yml with cargo build --release --locked --target x86_64-unknown-linux-musl (rustc 1.92.0). The build log is here. To build it yourself: cd launcher && cargo build --release (Rust 1.75 or later, no dependencies).

What's in it

  • Routes:
    • tor uses a SOCKS port at 127.0.0.1:9150. A system tor listens on 9050: bbiwy install --tor-port 9050.
    • i2p uses an HTTP proxy at 127.0.0.1:4444 (i2pd or Java I2P).
    • A route whose daemon isn't listening is refused before anything starts, with the fix spelled out.
  • bbiwy install:
    • Downloads the latest Mullvad Browser and verifies it against the Tor Browser Developers key, pinned by fingerprint EF6E286DDA85EA2A4BA7DE684E2C6E8793298290. A tarball with one byte changed is refused.
    • Writes one lock file that picks each profile's locks by its profile-directory name, applies the monochrome theme, and adds menu entries.
    • Needs no root. When the browser updates itself, bbiwy run puts the theme back before the next window opens.
  • Other commands:
    • bbiwy status: live allow-list counters, showing what was let through and what was dropped.
    • bbiwy explain <profile>: the exact pasta command, nft rules and locks a profile gets.
    • bbiwy doctor, bbiwy list, bbiwy uninstall [--purge].
    • sudo bbiwy apparmor: Ubuntu 23.10+ only.
  • Two fail-open defects in the earlier launcher are fixed:
    • It left pasta's -T/-U at auto, so a direct profile could reach every service on the host's loopback, and that traffic was never counted.
    • setpriv could skip the capability drop without saying so. The process that becomes the browser now checks its own capabilities and refuses to start if the drop did not happen.

Verified

Details are in MEASUREMENTS §11–13. All checks were run on Mullvad Browser 15.0.23:

  • pasta forwarding (tested on pasta 2024_02_20, 2024_09_06 and 2026_09_25): only the relay port reaches the host, and other host loopback services are refused.
  • Locks and route marks: every profile's proxy and DNS locks read back as locked, and each route shows its own address-bar mark and window edge.
  • Fingerprint: 0 of 30 items differ across seven windows.
  • daily DNS: DNS goes only over HTTPS, bootstrapped by address. Nothing is sent to port 53.
  • tor and i2p: inside a real user and network namespace, both fetched a page through a logging relay, by name, with 0 blocked packets. After the capability drop, nft flush ruleset is denied.
  • This binary: install downloaded 15.0.23, accepted its signature, and wrote locks identical to bbiwy explain --lock-file, plus the theme and menu entries.

Not yet verified

  • A run on a real Ubuntu 24.04 desktop with a real /dev/net/tun and AppArmor: sudo bbiwy apparmor, then bbiwy doctor, then bbiwy run tor against a real tor. Reports are very welcome.
  • The red UNLOCKED mark on a window whose locks did not load.
  • Wayland on real GNOME or KDE, HiDPI, and IPv6.

Known issues

  • If /dev/net/tun is unavailable (some containers and VMs), pasta waits instead of exiting, so bbiwy doctor and bbiwy run hang with it. Interrupt them.
  • Under X11, and on GNOME Wayland, profiles can observe each other's windows and input. Network isolation is not affected. doctor reports this.
  • Linux x86_64 only, because Mullvad publishes nothing else. With another build, use bbiwy install --browser <dir>.

한국어 요약 — 첫 알파입니다. daily·hardened·tor·i2p 는 설치하고 쓸 수 있습니다. 설치는 위 명령 그대로 따르면 됩니다: 내려받고 → sha256sum -c 로 확인하고 → install → (우분투 23.10+ 에서만) sudo … apparmor → doctor → run. 아직 실제 우분투 데스크톱에서 전 과정을 돌려 보지 않았으니, 중요한 용도에는 그 확인이 끝날 때까지 쓰지 마십시오.

51b941bff0eceff2044849cd8705d0d23b0a8a7705d1fcffa6fae3b9e57e844e  bbiwy-0.1.0-alpha.1-x86_64-linux