FLOW-SEND(1)

πŸ“¦ version 0.68.5.1, in fedora 43, fedora 44

πŸ’– FLOW-SEND(1) πŸ’–

okay bestie, sit down, hydrate, and let me tell you about flow-send from the flow-tools manual. this is the girl that takes your flows and sends them. to a collector. over NetFlow. she's giving network telemetry courier and honestly? obsessed. πŸ¦‹


✨ NAME ✨

flow-send β€” Transmit flow data with the NetFlow protocol.


🌸 SYNOPSIS 🌸

flow-send [ -h ]  [ -d debug_level ]  [ -m privacy_mask ]  [ -s ]  [ -x
xmit_delay ]  [ -V pdu_version ]  localip/remoteip/port

πŸ’… DESCRIPTION πŸ’…

so the whole vibe of flow-send is: it transmits flows in NetFlow format to a collector, and that collector is the one you point at with localip/remoteip/port. that's it, that's the job, and she does it flawlessly, no cap. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -d debug_level β€” turn on debugging, bestie. she'll spill the tea about what she's doing.
  • -h β€” Display help. your lil "what does this do again" button. 🫢
  • -s β€” Enable spoofing of source IP address. yes really, she's wearing a disguise, do with that info what you will. πŸ™ˆ
  • -m privacy_mask β€” Apply privacy_mask to the source and destination IP address of flows. For example a privacy_mask of 255.255.255.0 would convert flows with source/destination IP addresses 10.1.1.1 and 10.2.2.2 to 10.1.1.0 and 10.2.2.0 respectively. it's giving "blur the last octet", iconic, nobody needs to know the whole address. πŸ’–
  • -V pdu_version β€” Use pdu_version format when transmitting. the full menu of formats, and yes you get all of them:
    • 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
  • -x xmit_delay β€” Configure a microsecond transmit delay between packets. This may be necessary in some configurations to prevent a transmit buffer overrun. so if she's coming in too hot and the buffer is not handling it, this is your girl. slow it down a lil. ⏳

🌈 EXAMPLES 🌈

Exhibit A: Transmit all flows in the directory /flows/krc4 to the collector at 10.0.0.1 listening on port 9500.

flow-cat /flows/krc4 | flow-send 0/10.0.0.1/9500

Exhibit B: Generate a test pattern of version 7 flows and send them to a collector at 10.0.0.1 listening on port 9500.

flow-gen -V7 | flow-send 0/10.0.0.1/9500

like… pipe it, send it, done. the efficiency. the elegance. πŸ”₯


πŸ’€ BUGS πŸ’€

It is not currently possible to convert between the aggregated formats (8.x) and the non aggregated formats (1,5,6,7).

so yeah, no mixing the aggregated girlies with the non-aggregated girlies. that door is locked. don't try it. 🚫

πŸ‘‘ AUTHOR πŸ‘‘

Mark Fullmer <maf@splintered.net>


🧚 SEE ALSO 🧚

flow-tools(1)


and that's the whole page bestie!! this one was pulled from the flow-tools docs, dated 26 Август 2010 β€” yeah it's a vintage girly, a classic, an elder icon, and she still serves. go forth and send your flows. periodt. πŸ’œβœ¨πŸ“

πŸ“¦ where this page comes from