mirror of
https://github.com/morluto/rea.git
synced 2026-11-28 23:28:35 +00:00
* fix(limits)!: let inspect_pcap_capture take producer_limits for its snapshot and TShark output inspect_pcap_capture kept private copies of the producer budgets that inspect_packet_capture already exposes. It now accepts producer_limits with input_bytes (the streamed capture snapshot, default 2 GiB) and output_bytes (each TShark JSON pass, default 8 MiB, at most the fixed 128 MiB decoded-JSON allowance). Refusals report details.limit for the parameter instead of a fixed ceiling. The decoded-JSON expansion and retained-fact allowances stay fixed because raising them needs a streaming decoder; the version and summary probe capture is reclassified as protocol. Part of #14237 BREAKING CHANGE: an inspect_pcap_capture refusal at the snapshot or TShark JSON budget reports details.limit for producer_limits.input_bytes or producer_limits.output_bytes and no longer carries details.refusal fixed_ceiling. * fix(limits): keep the DNS pass's producer limit and cover raised pcap budgets When only the DNS wire-identity pass exceeds producer_limits.output_bytes, the partial summary now records dns_identity_limit with the parameter, effective value, default and range. The pcap output budget is documented as combined stdout and stderr, as producer_limits.output_bytes is elsewhere. Acceptance covers TShark output above the old 8 MiB ceiling in both passes.