FLOW-GEN(1)
π FLOW-GEN β the flow-gen manual page, but make it cute β¨
okay bestie, welcome to flow-gen(1) β she lives in section 1 of the manual, she generates test flows, and she is literally the moment. let's get into it π«Ά
πΈ NAME πΈ
flow-gen β generate test flows. that's it, that's the whole job description, and she does it flawlessly π
β¨ SYNOPSIS β¨
flow-gen [ -h ] [ -b big|little ] [ -d debug_level ] [ -n count ]
[ -V version ] [ -z z_level ]
yes she takes all of those. no, you don't have to use all of them. yes, she will still slay either way π
π¦ DESCRIPTION π¦
so the flow-gen utility generates a test pattern of flows β in any of the currently supported export versions β and it's typically there for debugging purposes. it's giving "I made this for the devs but honestly everyone can hang." π₯
π OPTIONS π
-b big|littleβ sets the byte order of the output. big-endian or little-endian, pick your fighter π-d debug_levelβ enables debugging. turn the volume up on what she's doing π-hβ displays help. the classic "bestie help me" flag, and she delivers π«Ά-n countβ generatescountflows. the default is1000, so if you say nothing she's making a thousand of them, no cap β¨-V versionβ generatesversiontype exports. the supported versions are:
1 NetFlow version 1 (No sequence numbers, AS, or mask)
5 NetFlow version 5
6 NetFlow version 6 (5+ Encapsulation size)
7 NetFlow version 7 (Catalyst switches)
8.1 NetFlow AS Aggregation
8.2 NetFlow Proto Port Aggregation
8.3 NetFlow Source Prefix Aggregation
8.4 NetFlow Destination Prefix Aggregation
8.5 NetFlow Prefix Aggregation
8.6 NetFlow Destination (Catalyst switches)
8.7 NetFlow Source Destination (Catalyst switches)
8.8 NetFlow Full Flow (Catalyst switches)
8.9 NetFlow ToS AS Aggregation
8.10 NetFlow ToS Proto Port Aggregation
8.11 NetFlow ToS Source Prefix Aggregation
8.12 NetFlow ToS Destination Prefix Aggregation
8.13 NetFlow ToS Prefix Aggregation
8.14 NetFlow ToS Prefix Port Aggregation
1005 Flow-Tools tagged version 5
like... the range?? the versatility?? she contains multitudes π
-z z_levelβ configure compression level toz_level.0is disabled (no compression),9is highest compression. so0is "we're rawdogging the bytes" and9is "squeeze every last drop" ππ
π EXAMPLES π
generate a test pattern of 1000 version 5 flows and send them in the Cisco NetFlow packet format to 10.0.0.1 port 9500. iconic pipeline behaviour, truly:
flow-gen -V5 | flow-send 0/10.0.0.1/9500
look at her. one pipe, whole flow pipeline. ate and left no crumbs π₯
π BUGS π
the test pattern may change between releases. so like... don't build your entire life on the exact bytes, bestie, she's allowed to reinvent herself π
π AUTHOR π
Mark Fullmer <maf@splintered.net> β thank you for your service king π
πΈ SEE ALSO πΈ
flow-tools(1)β go read her sister page, they're a package deal π
and that's the whole page, bestie!! this was flow-gen(1) from flow-tools, dated 26 ΠΠ²Π³ΡΡΡ 2010 β yes the date is in Russian, she's multilingual and mysterious like that π
go generate some flows, you absolute icon π¦β¨
π¦ where this page comes from
- fedora 43: flow-tools 0.68.5.1-45.fc43 Β· LicenseRef-Callaway-BSD
- fedora 43: flow-tools 0.68.5.1-45.fc43 Β· LicenseRef-Callaway-BSD
- fedora 44: flow-tools 0.68.5.1-46.fc44 Β· LicenseRef-Callaway-BSD
- fedora 44: flow-tools 0.68.5.1-46.fc44 Β· LicenseRef-Callaway-BSD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms