Skip to content
GoodNet-ioPublic

About

AF_UNIX SOCK_STREAM transport plugin for GoodNet.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

goodnet-link-ipc

AF_UNIX SOCK_STREAM transport for GoodNet. ipc:///run/goodnet.sock URIs land here. Listens with peer-cred + path normalisation gates (rejects cross-UID and ..-traversed paths), so an in-process bridge plugin can declare gn_trust_class = IntraNode on its IPC connection and receive the matching trust upgrade.

Kind: link · Artefact: dynamic plugin (.so via dlopen) · License: MIT (see LICENSE)

Build

This plugin lives in its own git with a flake that pulls the kernel SDK as a Nix input. From this checkout:

nix run .#build         # release build of libgoodnet_link_ipc.so
nix run .#test          # vanilla ctest (link teardown conformance)
nix run .#test-asan     # AddressSanitizer + UBSan
nix run .#test-tsan     # ThreadSanitizer

The kernel monorepo also builds this plugin in-tree through its own nix run .#build -- release — operator install consumes every bundled .so from there.

Load

Manifest entry pins the SHA-256 digest; gn_plugin_init registers the ipc scheme. See docs/install.en.md and docs/contracts/plugin-manifest.en.md in the kernel tree.

Contract

  • Kernel-side link contract: docs/contracts/link.en.md
  • IntraNode trust class for in-process bridges: docs/contracts/security-trust.en.md §3
  • Bridge composition pattern: docs/contracts/host-api.en.md §8.1

About

AF_UNIX SOCK_STREAM transport plugin for GoodNet.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages