Debian Codegraph @

man/man1/ratrace.1

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