NFREPLAY(1)
๐ NFREPLAY(1) โ General Commands Manual โจ
okay so this is the nfreplay page, from the General Commands Manual section, and bestieโฆ it's literally the glow-up tool for your flow files ๐ฆ
โจ NAME โจ
nfreplay โ replay binary flow files as netflow version v5 or v9 to a remote host ๐
๐ SYNOPSIS ๐
nfreplay -r flowfile -H remotehost [-i remotehost] -p port
[-S Sourceaddr] [-j mcastgroup] [-4] [-6] [-v version]
[-d usec] [-b buffsize] [-z num] [-c num] [-f filterfile]
[-t timewin] [-E] [-L logfile] [-Y] [-V] [-h] [filter]
๐ธ DESCRIPTION ๐ธ
nfreplay reads binary flow files that any nfdump collector stored, and sends those flow records off to a remote host or a multicast group. it's giving delivery service, no cap ๐ฆ
so like, nfreplay sends the data as netflow v5 or v9 to wherever the remote location is. slay ๐
and it also accepts a filter to limit which flows actually get sent โ the filter syntax is equivalent to nfdump's. same vibes, same syntax, iykyk ๐
the options are as follows, and yes i'm listing every single one because we don't skip ๐
๐ OPTIONS ๐
-rflowfile โ read input data from flowfile. that's your source, your origin story, your main character ๐-Hremotehost โ send all flows to this remote host. accepts a symbolic name or an IPv4/IPv6 IP address ๐ฐ๏ธ-jmcastgroup โ join this multicast group and send all flows to this group host. accepts a symbolic name or multicast IPv4/IPv6 IP address ๐ซ-pport โ send all flows to this port on the remote side. default is9995๐ช-SSourceaddr โ use the specified source IP address to send the flows ๐ชช-4โ forcesnfreplayto send flows to a IPv4 address only. can be used if the remote host has an IPv4 and an IPv6 address record ๐-6โ forcesnfreplayto send flows to a IPv6 address only. can be used if the remote host has an IPv4 and an IPv6 address record ๐ฎ-vversion โ send flows as netflow version version. versions5,9and250are supported. in v5 mode, all additional elements to a standard v5 record are skipped and 64bit counters are truncated to 32bit ๐ญ (yes, lossy, we said it). version250sends flows in nfdump's own native record format, as used betweennfcapdandnfpcapd, without any conversion or loss of precision โ full fidelity icon behavior ๐. the default is v9 โญ-dusec โ delay each record by usec microseconds, to avoid overrun on the remote host. default is1microsecond โฑ๏ธ-bbuffsize โ set send buffer to buffsize size in bytes. useful to buffer larger data transfers ๐งบ-znum โ flows are sent with their "real distribution" across time (with a speed coefficient):-z 1: 5 minutes of records will be sent in 5 minutes ๐ข-z 20: 5 minutes of record will be sent in 5/20 = 0.25 minutes ๐
-cnum โ limit number of records to send to the first num flows โ๏ธ-ffilterfile โ read the flow filter from filterfile ๐-ttimewin โ restrict replay to an nfdump time-window expression โณ-Eโ enable diagnostic verbosity (equivalent to verbosity level1) ๐ฃ๏ธ-Lfacility โ log diagnostic output to syslog facility facility instead of stderr ๐-iremotehost โ compatibility alias for-H. same thing, different letter, we love a legacy moment ๐ซถ-Yโ require confirmation before sending flows. consent check, we stan ๐-Vโ printnfreplayversion and exit ๐ท๏ธ-hโ print help text on stdout with all options and exit ๐โโ๏ธ
๐ฅ EXIT STATUS ๐ฅ
nfreplay returns:
255โ initialization failed ๐254โ error in filter syntax ๐ซ250โ internal error ๐ตโ๐ซ
๐ฆ SEE ALSO ๐ฆ
nfcapd(1), nfdump(1) โ go read your sisters' pages, bestie, they're iconic too ๐๐
<div>okay that's the whole page!! this build is the Debian one, version string is literally $Mdocdate$, and it lives in section NFREPLAY(1) of the General Commands Manual โ so like, cite it properly when you quote it in the group chat ๐โจ๐ซถ</div>
๐ฆ where this page comes from
- epel 10: nfdump 1.7.10-1.el10_3 ยท BSD-3-Clause AND GPL-2.0-or-later
- Copyright (c) 2022, Peter Haag
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms