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.
ebtables.service presence rows across /lib/systemd/system, /usr/lib/systemd/system, /etc/systemd/system with drop-in dir classes; ebtables-save-format dump census (*table start rows, :CHAIN POLICY declaration rows, rule-line counts — table/chain names are public kernel constants); /proc/modules bridge/ebtable_* token classes (search-match only, full lines never printed); drift laws BARE_BINARY / DUAL_BACKEND / UNBACKED_UNIT; rc6 honest).--conf-dir/--file overrides): DUMP_FORMAT/KEYVAL_FORMAT/EMPTY/UNPARSEABLE class rows per readable file (never a crash); rules-dump content rows with table/chain/policy class rows and MAC1/IP1/IF1 tokenized match counts (literals never printed); PERM findings (GROUP_WRITABLE/WORLD_WRITABLE class rows — file identities ride CONFIG tokens); CROSS_FILE_DUP when a table is declared in more than one surface; NO_PERSISTENCE when no config exists anywhere; EBTableS_* key NAMES public, values never printed; rc6 honest).--file/--dump-dir/--etc-dir overrides): line grammar — *table starts, :CHAIN POLICY [counters] declarations, rule-row target census (count per table/chain + target class rows), counter suffixes, backslash continuations joined, anything else rides UNPARSEABLE rows (never crash); policy census — OPEN_POLICY finding per ACCEPT-policy chain, PERMISSIVE_TABLE when every builtin chain rides ACCEPT, GUARDING data rows for DROP/RETURN policies, custom-chain rows, BROAD_ACCEPT for bare accept-anything rule rows, LOCKED_DOWN positive-trust row when the whole table rides DROP/RETURN posture; MAC1/IP1/IF1 tokenized match rows; rc6 honest).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.
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.
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