Debian Codegraph @

man/man1/racluster.1

raw
1 .\"
2 .\" Argus-5.0 Software
3 .\" Copyright (c) 2000-2024 QoSient, LLC
4 .\" All rights reserved.
5 .\"
6 .\"
7 .TH RACLUSTER 1 "07 October 2023" "racluster 5.0.0"
8 .SH NAME
9 \fBracluster\fP \- aggregate \fBargus(8)\fP data files.
10 .SH SYNOPSIS
11 .B racluster
12 [\fB\-f\fP \fIconf\fP] [\fB\-m\fP \fIagr(s)\fP] [\fB\-M\fP \fImode(s)\fP] [\fB\-P\fP \fIprocnum\fP] [\fBraoptions\fP] [\fB--\fP \fIfilter-expression\fP]
13 .SH DESCRIPTION
14 .IX "racluster command" "" "\fLracluster\fP \(em argus data"
15 .LP
16 .B Racluster
17 reads
18 .BR argus
19 data from an \fIargus-data\fP source, and clusters/merges the records
20 based on the flow key criteria specified either on the command line, or
21 in a racluster configuration file, and outputs a valid \fIargus-stream\fP.
22 This tool is primarily used for data mining, data management and report
23 generation.
24
25 The default action is to merge status records from the same flow and
26 argus probe, providing in some cases huge data reduction with
27 limited loss of flow information. Racluster provides the ability to
28 modify the flow model key, either using the "-m" option, or in the
29 racluster.conf file, allowing records to be clustered based on any
30 number of attributes. This supports the development of important
31 reports, such as MPLS LSP usage statistics, DiffServe flow marking
32 policy verification, VLAN group behavior, IP distance related
33 measurements, routing loop detection, traceroute path data recovery,
34 and complex availability/reachability reports, to name just a few
35 useful applications.
36
37 Please see racluster.conf.5 for detailed information regarding racluster
38 configuration.
39
40 .SH OPTIONS
41 Racluster, like all ra based clients, supports a number of
42 \fBra options\fP including filtering of input argus
43 records through a terminating filter expression, and the ability
44 to specify the output style, format and contents for printing
45 data. See \fBra(1)\fP for a complete description of \fBra options\fP.
46 \fBracluster(1)\fP specific options are:
47 .PP
48 .PD 0
49 .RE
50 .TP 4 4
51 .BI \-f "\| racluster.conf\^"
52 Specify an aggregation definition configuration. see racluster.conf.5
53 .PD
54 .RE
55 .TP 4 4
56 .BI \-m "\| aggregation object\^"
57 Supported aggregation objects are:
58 .PP
59 .RS
60 .TP 15
61 .B none
62 do not merge records (results in no aggregation).
63 .TP
64 .B all
65 merge all records into a single record.
66 .TP
67 .B srcid
68 argus source identifier.
69 .TP
70 .B smac
71 source mac(ether) addr.
72 .TP
73 .B dmac
74 destination mac(ether) addr.
75 .TP
76 .B soui
77 oui portion of the source mac(ether) addr.
78 .TP
79 .B doui
80 oui portion of the destination mac(ether) addr.
81 .TP
82 .B smpls
83 source mpls label.
84 .TP
85 .B dmpls
86 destination label addr.
87 .TP
88 .B svlan
89 source vlan label.
90 .TP
91 .B dvlan
92 destination vlan addr.
93 .TP
94 .B saddr/[l|m]
95 source IP addr/[cidr len | m.a.s.k].
96 .TP
97 .B daddr/[l|m]
98 destination IP addr/[cidr len | m.a.s.k].
99 .TP
100 .B matrix/l
101 sorted src and dst IP addr/cidr len.
102 .TP
103 .B proto
104 transaction protocol.
105 .TP
106 .B sport
107 source port number. Implies use of 'proto'.
108 .TP
109 .B dport
110 destination port number. Implies use of 'proto'.
111 .TP
112 .B stos
113 source TOS byte value.
114 .TP
115 .B dtos
116 destination TOS byte value.
117 .TP
118 .B sttl
119 src -> dst TTL value.
120 .TP
121 .B dttl
122 dst -> src TTL value.
123 .TP
124 .B stcpb
125 src -> dst TCP base sequence number.
126 .TP
127 .B dtcpb
128 dst -> src TCP base sequence number.
129 .TP
130 .B inode[/l|m]]
131 intermediate node IP addr/[cidr len | m.a.s.k], source of ICMP mapped events.
132 .TP
133 .B sco
134 source ARIN country code, if present.
135 .TP
136 .B dco
137 destination ARIN country code, if present.
138 .TP
139 .B sas
140 source node origin AS number, if available.
141 .TP
142 .B das
143 destination node origin AS number, if available.
144 .TP
145 .B ias
146 intermediate node origin AS number, if available.
147
148 .TP
149 .RE
150 .TP 4 4
151 .BI \-M "\| modes\^"
152 Supported modes are:
153 .PP
154 .RS
155 .TP 15
156 .B correct
157 Attempt to correct the direction of flows by also searching the reverse
158 flow key, if a match isn't found in the cache. This mode is on by default
159 when using the default full 5-tuple flow key definitions.
160 .TP
161 .B nocorrect
162 Turn off flow correction for direction. This mode is used by default
163 if the flow key has been changed.
164 .TP
165 .B norep
166 Do not generate an aggregate statistic for each flow. This is used
167 primarily when the output represents a single object. Primarily used
168 when merging status records to generate single flows that represent
169 single transactions.
170 .TP
171 .B rmon
172 Generate data suitable for producing RMON types of metrics.
173 .TP
174 .B ind
175 Process each input file independantly, so that after the end of
176 each inputfile, racluster flushes its output.
177 .TP
178 .B replace
179 Replace each inputfile contents, with the aggregated output. The initial file compression status is maintained
180 .PD
181 .RE
182 .TP 4 4
183 .BI \-P <procnum>
184 Specify the number of processors to use for aggregation. Default is 1.
185 .RE
186 .TP 4 4
187 .BI \-V
188 Verbose operation, printing a line of output for each input file processed.
189 Very useful when using the ra() -R option.
190 .RE
191
192 .SH INVOCATION
193 A sample invocation of \fBracluster(1)\fP. This call reads \fBargus(8)\fP data
194 from \fBinputfile\fP and aggregates the TCP protocol based \fBargus(8)\fP data.
195 By default, \fBracluster(1)\fP merges using the standard 5-tuple flow key.
196 This method is used to merge multiple status records into a single flow record
197 per transaction.
198
199 .nf
200 .ft CW
201 .ps 6
202 .vs 7
203 % ra -r argus.tcp.2012.02.13.12.20.00
204 StartTime Dur Trans Flgs Proto SrcAddr Sport Dir DstAddr Dport TotPkts State
205 12:23:07.268 0.997 1 e i tcp 192.168.0.68.59016 -> 208.59.201.75.http 298 CON
206 12:23:08.294 1.000 1 e tcp 192.168.0.68.59016 -> 208.59.201.75.http 111 CON
207 12:23:09.294 0.991 1 e d tcp 192.168.0.68.59016 -> 208.59.201.75.http 637 CON
208 12:23:10.331 0.330 1 e tcp 192.168.0.68.59016 -> 208.59.201.75.http 89 CON
209 12:23:32.183 0.010 1 e tcp 192.168.0.68.59016 -> 208.59.201.75.http 3 FIN
210
211 % racluster -r argus.tcp.2012.02.13.12.20.00
212 StartTime Dur Trans Flgs Proto SrcAddr Sport Dir DstAddr Dport TotPkts State
213 12:23:07.268 24.925 5 e d tcp 192.168.0.68.59016 -> 208.59.201.75.http 1138 FIN
214 .vs
215 .ps
216 .ft P
217 .fi
218
219 A sample invocation of \fBracluster(1)\fP. This call reads \fBargus(8)\fP data
220 from \fBinputfile\fP and aggregates the TCP protocol based \fBargus(8)\fP data,
221 based on the source and destination address matrix and the protocol. It reports the metrics
222 as a percent of the total.
223
224 .nf
225 .ft CW
226 .ps 6
227 .vs 7
228
229 % racluster -r argus.2012.02.13.17.20.00 -m saddr/16 daddr proto -% \\
230 -s stime dur trans proto saddr dir daddr pkts state - tcp and port https
231
232 StartTime Dur pTrans Proto SrcAddr Dir DstAddr pTotPkts State
233 17:49:54.225 8.101 33.333 tcp 192.168.0.0/16 -> 17.154.66.18 23.372 FIN
234 17:48:42.607 179.761 13.333 tcp 192.168.0.0/16 -> 17.172.224.25 31.052 FIN
235 17:50:01.113 0.803 6.667 tcp 192.168.0.0/16 -> 17.250.248.161 5.676 FIN
236 17:49:54.525 1.153 6.667 tcp 192.168.0.0/16 -> 64.12.173.137 5.509 FIN
237 17:50:35.411 101.133 26.667 tcp 192.168.0.0/16 -> 184.28.150.87 19.199 RST
238 17:49:56.061 73.415 6.667 tcp 192.168.0.0/16 -> 205.188.8.47 11.018 RST
239 17:49:55.677 0.434 6.667 tcp 192.168.0.0/16 -> 205.188.101.10 4.174 FIN
240 .vs
241 .ps
242 .ft P
243 .fi
244
245 .SH COPYRIGHT
246 Copyright (c) 2000-2024 QoSient. All rights reserved.
247 .SH SEE ALSO
248 .BR racluster.conf(5),
249 .BR ra(1),
250 .BR rarc(5),
251 .BR argus(8),
252 .SH FILES
253
254 .SH AUTHORS
255 .nf
256 Carter Bullard ([email protected]).
257 .fi
258 .SH BUGS