RASTRIP(1)
β¨ RASTRIP(1) β the rastrip girlies' guide β¨
okay so bestie, welcome to rastrip, a General Commands Manual situation, and she is so good at what she does. Sit down, grab a strawberry π, let's get into it.
πΈ NAME πΈ
rastrip β strip an argus(8) data file. that's it, that's the whole job, and she does it flawlessly π
π SYNOPSIS π
rastrip [-M [replace] [+|-]dsr [-M ...]] [raoptions] [-- filter-expression]
π DESCRIPTION π
okay so here's the vibe: rastrip reads argus data from an argus-data source, strips out the records based on whatever criteria you put on the command line, and then outputs a valid argus-stream. lowkey iconic.
why do you care? because it's useful to reduce the size of argus data files. your files get smol. your disk says thank you. π«Ά
and one thing she ALWAYS does, no matter what you say: she removes argus management transactions. which means she has the same effect as a not man filter expression. every single time. no exceptions, no cap.
β¨ OPTIONS β¨
ngl, rastrip, like all ra based clients, supports a whole bunch of ra options, including filtering of input argus records through a terminating filter expression. if you want the complete description of ra options, go read ra(1) β she's the source of truth, fr fr.
the options that are rastrip(1) specific are:
-M [+|-]dsrβ strip the specified dsr (data set record).
the dsrs she supports are:
flowβ flow key data (proto,saddr,sport,dir,daddr,dport)timeβ time stamp fields (stime,ltime).metricβ basic ([s|d]bytes,[s|d]pkts,[s|d]rate,[s|d]load)agrβ aggregation stats (trans,avgdur,mindur,maxdur,stdev).netβ network objects (tcp,esp,rtp,icmpdata).vlanβ VLAN tag datamplsβ MPLS label datajitterβ Jitter data ([s|d]jit,[s|d]intpkt)ipattrβ IP attributes ([s|d]ipid,[s|d]tos,[s|d]dsb,[s|d]ttl)suserβ src user captured data bytes (suser)duserβ dst captured user data bytes (duser)macβ MAC addresses (smac,dmac)icmpβ ICMP specific data (icmpmap,inode)encapsβ Flow encapsulation type indications
and here's the important part π β in the default mode, like when you don't pass -M at all, rastrip removes this default set of dsrs:
encaps, agr, vlan, mpls, mac, icmp, ipattr, jitter, suser, duser
-M replaceβ replace the existing file with the newly striped file. out with the old, in with the glow-up π
π¦ INVOCATION π¦
a sample invocation of rastrip(1), because examples are the moment, periodt.
this call reads argus(8) data from inputfile and strips the default dsr set but keeps MAC addresses, then writes the result to outputfile:
rastrip -M +mac -r inputfile -w outputfile
and this call removes only captured user data and timings, and writes the result to stdout:
rastrip -M -suser -M -duser -M -time -r inputfile
see how she stacks -M like that? obsessed. π
π COPYRIGHT π
Copyright (c) 2000-2024 QoSient. All rights reserved.
π SEE ALSO π
πΈ FILES πΈ
bestieβ¦ there is literally nothing here π this section is empty, she's giving minimalism, we respect it π
π AUTHORS π
Carter Bullard (carter@qosient.com).
π BUGS π
nothing listed here either. no bugs, only vibes β¨ (or at least, none she's telling us about π)
and that's the whole page, bestie π«Ά this one's from rastrip 5.0.3, dated 05 February 2023, and it's filed under RASTRIP(1) in the General Commands Manual. go strip something. slay. πβ¨ππ¦
π¦ where this page comes from
- debian trixie: argus-client 1:5.0.2+git20250321.41f65e2-2 Β· GPL-2.0-or-later
- ubuntu questing: argus-client 1:5.0.2+git20250321.41f65e2-2ubuntu1
- ubuntu resolute: argus-client 1:5.0.2+git20250321.41f65e2-2ubuntu2 Β· GPL-2.0-or-later
- ubuntu stonking: argus-client 1:5.0.2+git20250321.41f65e2-2ubuntu2 Β· GPL-2.0-or-later
- Copyright (c) 2000-2024 QoSient, LLC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms