|
Some checks failed
Build and Test / build (debug, clang) (push) Has been cancelled
Build and Test / build (debug, gcc) (push) Has been cancelled
Build and Test / build (release, clang) (push) Has been cancelled
Build and Test / build (release, gcc) (push) Has been cancelled
Build and Test / macos (push) Has been cancelled
Build and Test / docker (push) Has been cancelled
Completes the tracker-attribution transport on macOS. There is no network sandbox to work around there, so the daemon (root) reads Little Snitch's traffic stream directly and feeds the same on_opensnitch_connection consumer — no relay or ingest socket (those are the Linux sandbox answer). - LittleSnitchParser (cross-platform, unit-tested): parses `littlesnitch log-traffic` CSV via a header-name->index map (tolerates column reordering), yielding the shared redacted OpenSnitchConnection for outbound rows only (program, uid, host/ip/port, protocol 6->tcp/17->udp). Little Snitch's CSV has no argv/env, so redaction is structural. split_csv_line handles quoted fields. - LittleSnitchSource (macOS only): posix_spawns `littlesnitch log-traffic --stream`, reads the pipe on a guarded thread, parses and calls back; stop() SIGTERMs the CLI (EOF -> loop ends) then reaps it. - Daemon: start_tracker_attribution gains an __APPLE__ branch that starts the source; shutdown/status handle it. New config littlesnitch_cli (default CLI path). status privacy.listener source "little-snitch". - docs: macOS section rewritten (needs Little Snitch "Allow access via Terminal"). Test E10 covers the parser (header, outbound/inbound, deny, quoted exe, no-dest). Linux suite 51/51; analyzer + clang-tidy clean (Linux view). The __APPLE__ code compiles/validates on the Mac next (ssh); live spawn needs root + LS Terminal access. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| evaluation | ||
| prompts | ||
| cli-ux.md | ||
| false-positives.md | ||
| tracker-attribution.md | ||