poka.sh

Docs

IPTABLES

Generated by scripts/gen-format-pages.py from docs/data/format-metadata/, FILE_FORMATS.csv and docs/formats-master.csv. Do not edit by hand: change the source, then run the script.

iptables Rules Preview.

At a glance

Purpose iptables-save output: tables, chains with policies and rules for the Linux packet filter.
Extensions .iptables
Poka parser poka-iptables-save
Viewer poka-metadata-card-viewer
Depth tier Metadata card (see Depth tiers)
Breadth tier B4 Summary (see Breadth tiers)

How much Poka reads

B4 Summary. The container and metadata are read and summarised (counts, properties, structure), but the main content is not rendered.

Confidence: medium (the reviewer read the code). Basis: Reviewed 2026-10-26: read parsers/poka-iptables-save/src/main.rs (281 lines) and plugin.json. No unit tests or tests/samples.rs; the corpus has no .iptables, .ipt and .iptables.rules sample. Covers .iptables, .ipt and .iptables.rules. The card shows the generator, tables, chain count and built-in chain policies, -A and -I rule counts, the top targets and protocols, referenced ports, match modules and COMMIT lines. Judgement: B4: the content is summarised by counts, but the entries themselves are not shown.

What Poka does not read

  • Rules are not listed or explained
  • Chain policies are shown, but per-chain rule order is not
  • Packet and byte counters are not shown

Libraries

Libraries Poka uses or has assessed for this format, with the status, licence and language the registry records.

Sources

  • parsers/poka-iptables-save/src/main.rs
  • parsers/poka-iptables-save/plugin.json