Debian Codegraph @

man/man1/rastrip.1

raw
1 .\"
2 .\" Argus-5.0 Software
3 .\" Copyright (c) 2000-2024 QoSient, LLC
4 .\" All rights reserved.
5 .\"
6 .\"
7 .TH RASTRIP 1 "05 February 2023" "rastrip 5.0.3"
8 .SH NAME
9 \fBrastrip\fP \- strip \fBargus(8)\fP data file.
10 .SH SYNOPSIS
11 .B rastrip
12 [\fB\-M\fP [replace] [+|-]\fIdsr\fP [-M ...]]
13 [\fBraoptions\fP] [\fB--\fP \fIfilter-expression\fP]
14 .SH DESCRIPTION
15 .IX "rastrip command" "" "\fLrastrip\fP \(em argus data"
16 .LP
17 .B Rastrip
18 reads
19 .BR argus
20 data from an \fIargus-data\fP source, strips the records based on
21 the criteria specified on the command line, and outputs a valid
22 \fIargus-stream\fP. This is useful to reduce the size of argus data files.
23 Rastrip always removes argus management transactions, thus having
24 the same effect as a 'not man' filter expression.
25 .SH OPTIONS
26 Rastrip, like all ra based clients, supports a number of
27 \fBra options\fP including filtering of input argus
28 records through a terminating filter expression.
29 See \fBra(1)\fP for a complete description of \fBra options\fP.
30 \fBrastrip(1)\fP specific options are:
31 .PP
32 .PD 0
33 .TP 4 4
34 .B \-M [+|-]dsr
35 Strip specified dsr (data set record).
36
37 Supported dsrs are:
38 .PP
39 .RS
40 .TP
41 .B flow
42 flow key data (proto, saddr, sport, dir, daddr, dport)
43 .TP
44 .B time
45 time stamp fields (stime, ltime).
46 .TP
47 .B metric
48 basic ([s|d]bytes, [s|d]pkts, [s|d]rate, [s|d]load)
49 .TP
50 .B agr
51 aggregation stats (trans, avgdur, mindur, maxdur, stdev).
52 .TP
53 .B net
54 network objects (tcp, esp, rtp, icmp data).
55 .TP
56 .B vlan
57 VLAN tag data
58 .TP
59 .B mpls
60 MPLS label data
61 .TP
62 .B jitter
63 Jitter data ([s|d]jit, [s|d]intpkt)
64 .TP
65 .B ipattr
66 IP attributes ([s|d]ipid, [s|d]tos, [s|d]dsb, [s|d]ttl)
67 .TP
68 .B suser
69 src user captured data bytes (suser)
70 .TP
71 .B duser
72 dst captured user data bytes (duser)
73 .TP
74 .B mac
75 MAC addresses (smac, dmac)
76 .TP
77 .B icmp
78 ICMP specific data (icmpmap, inode)
79 .TP
80 .B encaps
81 Flow encapsulation type indications
82 .PD
83 .RE
84
85 In the default mode, without the -M option, rastrip removes the following default set of dsrs: encaps, agr, vlan, mpls, mac, icmp, ipattr, jitter, suser, duser
86
87 .TP 4 4
88 .B \-M replace
89 Replace the existing file with the newly striped file.
90
91 .SH INVOCATION
92 A sample invocation of \fBrastrip(1)\fP. This call reads \fBargus(8)\fP data
93 from \fBinputfile\fP and strips the default dsr set but keeps MAC addresses and writes the result
94 to \fBoutputfile\fP:
95
96 \fBrastrip -M +mac -r inputfile -w outputfile\fP
97
98 This call removes only captured user data and timings and writes the result to stdout:
99
100 \fBrastrip -M -suser -M -duser -M -time -r inputfile\fP
101
102 .SH COPYRIGHT
103 Copyright (c) 2000-2024 QoSient. All rights reserved.
104
105 .SH SEE ALSO
106 .BR ra(1),
107 .BR rarc(5),
108 .BR argus(8),
109 .SH FILES
110
111 .SH AUTHORS
112 .nf
113 Carter Bullard ([email protected]).
114 .fi
115 .SH BUGS