examples/

directory
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2026 License: MIT

Directories

Path Synopsis
Command keychain is a runnable proof that the macOS Security framework bindings can drive the keychain item API through CRUD operations across item classes — using only the idiomatic layer (opinionated/custom/keychain), with no raw FFI, CFDictionary building, or OSStatus decoding at the call site.
Command keychain is a runnable proof that the macOS Security framework bindings can drive the keychain item API through CRUD operations across item classes — using only the idiomatic layer (opinionated/custom/keychain), with no raw FFI, CFDictionary building, or OSStatus decoding at the call site.
lulu
app
Package app implements LuLu's controlling-app side: activating the network system extension and talking to its XPC daemon.
Package app implements LuLu's controlling-app side: activating the network system extension and talking to its XPC daemon.
cmd/lulu command
Command lulu is the LuLu controlling app (CLI form): it activates/deactivates the network system extension and manages firewall rules over XPC.
Command lulu is the LuLu controlling app (CLI form): it activates/deactivates the network system extension and manages firewall rules over XPC.
cmd/luludaemon command
Command luludaemon is the LuLu network-extension daemon: it registers the NEFilterDataProvider subclass, vends the XPC control service, and runs the system-extension run loop.
Command luludaemon is the LuLu network-extension daemon: it registers the NEFilterDataProvider subclass, vends the XPC control service, and runs the system-extension run loop.
config
Package config defines a declarative firewall configuration document (JSON or YAML) and reconciles it against a rule store, kubectl-apply style: rules in the document are ensured present and managed rules absent from it are pruned.
Package config defines a declarative firewall configuration document (JSON or YAML) and reconciles it against a rule store, kubectl-apply style: rules in the document are ensured present and managed rules absent from it are pruned.
extension
Package extension implements LuLu's network-extension side: the NEFilterDataProvider subclass that judges every new flow, process attribution via libproc, and the XPC daemon the app talks to.
Package extension implements LuLu's network-extension side: the NEFilterDataProvider subclass that judges every new flow, process attribution via libproc, and the XPC daemon the app talks to.
rules
Package rules implements LuLu's rule engine: an in-memory, disk-backed store of firewall rules keyed by process identity, with the lookup that the network extension consults for every new flow.
Package rules implements LuLu's rule engine: an in-memory, disk-backed store of firewall rules keyed by process identity, with the lookup that the network extension consults for every new flow.
shared
Package shared holds the models, constants, and XPC protocol descriptors used by both the LuLu network-extension daemon and the controlling app — mirroring LuLu's Shared/ directory (Rule, consts, XPCDaemonProto, XPCUserProto).
Package shared holds the models, constants, and XPC protocol descriptors used by both the LuLu network-extension daemon and the controlling app — mirroring LuLu's Shared/ directory (Rule, consts, XPCDaemonProto, XPCUserProto).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL