fstrm_dump(1)
β¨ NAME β¨
okay bestie, gather round π this is fstrm_dump from the General Commands Manual (section 1, the command-line girlies) β she displays the metadata and contents of a Frame Streams file. that's the whole job. she's giving β¨ inspector energy β¨ and honestly? iconic.
πΈ SYNOPSIS πΈ
fstrm_dump input-file [output-file]
like. that's it. two little slots. no cap.
π DESCRIPTION π
so here's the tea π« β fstrm_dump opens up input-file and then splits the info like a true main character: it prints the framing metadata to stderr, and the frame data to stdout. two different streams, two different vibes, no crossover drama.
and listen β input-file can literally just be "-" and she'll read the Frame Streams data from standard input instead. the way that just works?? obsessed. π
frame data comes out as a single line quoted string, and every non-printable character gets replaced by a backslash-prefixed hex escape sequence. for example, a frame containing "Hello, world\n" would have its data printed as:
"Hello, world\x0a"
see how the newline became \x0a? she's not hiding anything, she's just making it printable. very demure, very mindful π
the only framing metadata she expects to find in a Frame Streams file is the start frame with a content type field, the data frame lengths, and the stop frame. and those get printed, respectively, as:
FSTRM_CONTROL_START
FSTRM_CONTROL_FIELD_CONTENT_TYPE (N bytes)
"content-type"
Data frame (N) bytes
FSTRM_CONTROL_STOP
look at that little lineup π₯Ή FSTRM_CONTROL_START kicking things off, the FSTRM_CONTROL_FIELD_CONTENT_TYPE (N bytes) with its "content-type" string riding along, the Data frame (N) bytes doing the actual work in the middle, and FSTRM_CONTROL_STOP closing the curtain. periodt. π
okay but here's the part where you pay attention bestie β iffstrm_dumpgets that secondoutput-fileparameter, the input frames are additionally written tooutput-filetoo. this is mainly useful for regression testing of thefstrm_file_writercode. so she's not just reading, she's also writing a copy. multitasking queen fr fr π
π₯ SEE ALSO π₯
fstrm_capture(1)fstrm_replay(1)- Frame Streams C Library <https://farsightsec.github.io/fstrm>
and that's the whole page babes π¦ this was fstrm_dump(1) from the General Commands Manual β go forth, dump some frames, and slay πβ¨π
π¦ where this page comes from
- alpine 3.22: fstrm-doc 0.6.1-r4 Β· MIT
- alpine 3.23: fstrm-doc 0.6.1-r4 Β· MIT
- alpine 3.24: fstrm-doc 0.6.1-r4 Β· MIT
- arch rolling: fstrm 0.6.1-2 Β· Apache
- centos-stream 10: fstrm-utils 0.6.1-12.el10 Β· MIT AND NTP
- centos-stream 9: fstrm-utils 0.6.1-3.el9 Β· MIT
- debian bookworm: fstrm-bin 0.6.1-1 Β· MIT
- debian trixie: fstrm-bin 0.6.1-1+b3 Β· MIT
- fedora 43: fstrm-utils 0.6.1-13.fc43 Β· MIT AND NTP
- fedora 44: fstrm-utils 0.6.1-14.fc44 Β· MIT AND NTP
- nixos 26.05: fstrm 0.6.1
- nixpkgs unstable: fstrm 0.6.1
- opensuse-leap 16.0: fstrm 0.6.1-160000.2.2 Β· MIT
- opensuse-leap 16.0: fstrm 0.6.1-160000.2.2 Β· MIT
- opensuse-leap 16.0: fstrm 0.6.1-160000.2.2 Β· MIT
- opensuse-leap 16.0: fstrm 0.6.1-160000.2.2 Β· MIT
- ubuntu jammy: fstrm-bin 0.6.1-1 Β· MIT
- ubuntu noble: fstrm-bin 0.6.1-1build4 Β· MIT
- ubuntu questing: fstrm-bin 0.6.1-1build4
- ubuntu resolute: fstrm-bin 0.6.1-1build5 Β· MIT
- ubuntu stonking: fstrm-bin 0.6.1-1build5 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms