CLI-Anything Bundle #77 — EBTABLES Trust Recon Pack

Four agent-native read-only harnesses that census the ebtables bridge-firewall trust surface: the layers that decide whether a Linux box's bridge-filtering story can still be TRUSTED — the install + surface census (the ebtables binaries statted under the standard sbin dirs and NEVER executed — legacy/nft/restore/save variant classes — ebtables.service unit + drop-in presence rows, ebtables-save-format dump table/chain census rows, kernel bridge/ebtable token classes), the persistence/config census (config file family grammar — dump-format/keyval format classes, permission findings, cross-file duplicate-table rows — raw config values never printed), the rules-level recon (ebtables-save line grammar — policy census with open-policy/permissive/broad-accept findings, guarding/locked-down positive rows, MAC/IP/interface literals tokenized), and the guard posture census (unit + wants-link classes, backend split rows, orphan/unbacked findings, kernel support rows, dump freshness buckets). No other bundle owns this surface — #74 keeps the container-trust layer, #75 the ARP-filter layer, #76 the SSD/TRIM layer (census: 0 exact / 0 name-class substring token collisions across the whole shipping catalog, 150 Gumroad products pulled fresh). The EBTABLES bridge-firewall trust layer is unclaimed census territory.

The contract

Every tool: rc0 clean / rc4 findings / rc6 honest nothing-readable / rc3 usage; --version prints exactly 1.0.0 (CLI-Anything Bundle #77) and exits 0; --json emits one report object per tool (keys: data/findings/notes/rc/summary/tool). Pure Python stdlib — zero subprocesses, zero writes, zero sockets, zero network, zero process enumeration; the binaries are statted and NEVER executed; nothing is ever dialed, and no MAC address, IP address, or interface name is ever printed. Bridge identity rides class tokens only: MAC addresses print as MAC1/MAC2, IPs as IP1/IP2, interfaces as IF1/IF2, table/chain/policy names as public kernel constants, kernel module lines ride search-match classes — batteries assert the never-in-text laws over every stdout row and the full JSON dumps. UNPARSEABLE lines ride honest rows, never a crash. The census reads — your firewall state is never touched.

Self-test battery inside

918 fixture-based executed assertions (ebtablespeek 224 + ebtablesconfpeek 180 + ebtablesrulespeek 270 + ebtguardpeek 244; checks.py + runner_count.py per bundle norm) — verified as: three green fires from the shipping tree (918/0 every fire) and two clean-room fires from THIS exact shipping zip (918/0 every fire), one unpack under /tmp and one under a home path — the battery verifies the 9-file tree from ANY unzip location — plus real-host smoke fires of all four tools (contract-consistent honest census). The battery pins rc laws, every finding code, the never-execute / never-open-socket / never-harvest-identity laws, bucket-membership edges, caps, masking laws, stat hygiene, and write-nothing fingerprints with zero scratch remnants.

Who this is for

Admins who can't honestly answer whether their box's bridge-filtering story still holds (ebtables.service present but not enabled in any wants-link, nft and legacy binaries both installed with no dump anywhere, persistence configs missing entirely or unparseable, ACCEPT policies left wide on every builtin chain, rule dumps stale past the operator's freshness window); hardening teams proving install posture, persistence, rule posture and guard integration still form a closed loop; agent builders who want their AI to census a host's bridge-firewall trust surface without ever executing a binary, opening a socket, or harvesting a MAC address, IP, or interface name. The census reads — your firewall state is never touched.

MIT licensed · Python 3.8+ · 40 files · stdlib-only