| 1 |
.\" |
| 2 |
.\" Argus-5.0 Software |
| 3 |
.\" Copyright (c) 2000-2024 QoSient, LLC |
| 4 |
.\" All rights reserved. |
| 5 |
.\" |
| 6 |
.\". |
| 7 |
.de TQ |
| 8 |
. br |
| 9 |
. ns |
| 10 |
. TP \\$1 |
| 11 |
.. |
| 12 |
.TH RA 1 "17 October 2023" "ra 5.0.3.0" |
| 13 |
.SH NAME |
| 14 |
\fBra\fP \- read \fBargus(8)\fP data. |
| 15 |
.SH SYNOPSIS |
| 16 |
\fBra [\fBraoptions\fP] [\fB--\fP \fIfilter-expression\fP] |
| 17 |
.SH DESCRIPTION |
| 18 |
.IX "ra command" "" "\fLra\fP \(em argus data" |
| 19 |
.LP |
| 20 |
.B Ra |
| 21 |
reads |
| 22 |
.BR argus(8) |
| 23 |
data from either \fIstdin\fP, an \fIargus-file\fP, or from a |
| 24 |
remote data source, which can either be an \fIargus-server\fP, |
| 25 |
or a netflow data server, filters the records it encounters |
| 26 |
based on an optional \fIfilter-expression\fP and either prints |
| 27 |
the contents of the |
| 28 |
.BR argus(5) |
| 29 |
records that it encounters to \fBstdout\fP or appends them into an |
| 30 |
.B argus(5) |
| 31 |
datafile. |
| 32 |
.LP |
| 33 |
.SH OPTIONS |
| 34 |
.TP 4 4 |
| 35 |
.B \-A |
| 36 |
Print aggregate statistics for the input stream on termination. |
| 37 |
.TP 4 4 |
| 38 |
.B \-b |
| 39 |
Dump the compiled transaction-matching code to standard output and stop. |
| 40 |
This is useful for debugging filter expressions. |
| 41 |
.TP 4 4 |
| 42 |
.B \-c <char> |
| 43 |
Specify a delimiter character for output columns (default is ' '). |
| 44 |
.TP 4 4 |
| 45 |
.B \-C <[host]:portnum> (deprecated) |
| 46 |
Specify a source of Netflow data. The optional host is the local |
| 47 |
interface address where Netflow Cisco records are going to be read. |
| 48 |
If absent, then it is implied that the interface address is AF_ANY. |
| 49 |
This option is deprecated and the '-S cisco://address:port' is now the |
| 50 |
recommended option. |
| 51 |
.TP 4 4 |
| 52 |
.B \-D <level> |
| 53 |
Print debug information corresponding to \fB<level>\fP to stderr, if program |
| 54 |
compiled to support debug printing. As the level increases, so does the |
| 55 |
amount of debug information |
| 56 |
.B ra(1) |
| 57 |
will print. Values range from 1-8. |
| 58 |
.TP 4 4 |
| 59 |
.B \-d |
| 60 |
Toggle whether to run this program as a daemon. |
| 61 |
.TP 4 4 |
| 62 |
.B \-e <regex> |
| 63 |
Match regular expression in flow user data fields. Prepend the regex with |
| 64 |
either "s:" or "d:" to limit the match to either the source or destination |
| 65 |
user data fields. At this time null bytes in the user data buffer terminate |
| 66 |
search. Examples include: |
| 67 |
.nf |
| 68 |
"^SSH-" - Look for ssh connections on any port. |
| 69 |
"s:^GET" - Look for HTTP GET requests in the source buffer. |
| 70 |
"d:^HTTP.*Unauth" - Find unauthorized http response. |
| 71 |
.fi |
| 72 |
|
| 73 |
Depending on the regular expression library that the system supports, |
| 74 |
you will be able to match many types of binary, octal and hex |
| 75 |
expressions. See regex.3, pcre.3 and the web for examples. |
| 76 |
|
| 77 |
.TP 4 4 |
| 78 |
.B \-E <file> |
| 79 |
When using a filter expression at the end of the command, this option will |
| 80 |
cause |
| 81 |
.B ra(1) |
| 82 |
to append the records that are rejected by the filter into |
| 83 |
.B <file> |
| 84 |
.TP 4 4 |
| 85 |
.B \-F <conffile> |
| 86 |
Use \fB<conffile>\fP as a source of configuration information. The format of |
| 87 |
this file is identical to \fBrarc(5)\fP. The data read from \fB<conffile>\fP |
| 88 |
overrides any prior configuration information. |
| 89 |
.TP 4 4 |
| 90 |
.B \-h |
| 91 |
Print an explanation of all the arguments. |
| 92 |
.TP 4 4 |
| 93 |
.B \-H |
| 94 |
Abbreviate numeric metrics, to make reading large values easier. Use the \fB-p <num>\fP |
| 95 |
option to specify the precision right of the decimal. |
| 96 |
|
| 97 |
.TP 4 4 |
| 98 |
.B \-L <n> |
| 99 |
Specify how \fBra\fP will print header labels for the output. |
| 100 |
.nf |
| 101 |
Supported values are: |
| 102 |
-1 Don't print header labels. |
| 103 |
0 Print the header labels only once, as the beginning of output. |
| 104 |
> 0 Print the header labels every \fIn\fP lines of output. |
| 105 |
|
| 106 |
.TP 4 4 |
| 107 |
.B \-M <mode [mode ...]> |
| 108 |
Provide addition mode operators. These are generally specific to the |
| 109 |
individual ra* program, or a specific function. Available modes for ra() |
| 110 |
are: |
| 111 |
|
| 112 |
.nf |
| 113 |
disa - interpret DSCodepoints using the US DISA encodings |
| 114 |
dsrs=dsrlist - process these dsrs |
| 115 |
Where a dsrlist has the format: |
| 116 |
[+/-]dsr[,[+/-]dsr] |
| 117 |
|
| 118 |
Supported dsrs are: |
| 119 |
trans transport information, such as source id and seq number. |
| 120 |
flow flow key data (proto, saddr, sport, dir, daddr, dport) |
| 121 |
time time stamp fields (stime, ltime). |
| 122 |
metric basic ([s|d]bytes, [s|d]pkts, [s|d]rate, [s|d]load) |
| 123 |
agr aggregation stats (trans, avgdur, mindur, maxdur, stdev). |
| 124 |
net network objects (tcp, esp, rtp, icmp data). |
| 125 |
vlan VLAN tag data |
| 126 |
mpls MPLS label data |
| 127 |
jitter Jitter data ([s|d]jit, [s|d]intpkt) |
| 128 |
ipattr IP attributes ([s|d]ipid, [s|d]tos, [s|d]dsb, [s|d]ttl) |
| 129 |
psize packet size information |
| 130 |
mac MAC addresses (smac, dmac, smacclass, dmacclass) |
| 131 |
icmp ICMP specific data (icmpmap, inode) |
| 132 |
encaps Flow encapsulation type indications |
| 133 |
behavior Behavioral metrics and data |
| 134 |
local Locality data |
| 135 |
tadj Time adjustment data |
| 136 |
cor Multi-probe correlation data |
| 137 |
cocode Country Codes |
| 138 |
asn Autonomous System Number data |
| 139 |
suser src user captured data bytes (suser) |
| 140 |
duser dst captured user data bytes (duser) |
| 141 |
score scoring data |
| 142 |
|
| 143 |
Examples are: |
| 144 |
-M dsrs=time,flow,metric |
| 145 |
-M dsrs=-suser,-duser |
| 146 |
|
| 147 |
eframe=<int> - set ethernet framing adjust for packet byte count. |
| 148 |
json - print output in json format |
| 149 |
label="regex" - match flow label with regex(3) regular expression. |
| 150 |
lock[=nonblock] - aquire an exclusive record lock on output file(s). |
| 151 |
man - print management records |
| 152 |
noman - do not print management records |
| 153 |
oui - print oui labels in mac addresses |
| 154 |
|
| 155 |
printer="format" - specify printer formats for printing user data. |
| 156 |
Supported formats are: |
| 157 |
ascii print user buffer as ascii string. use '.' for unprintable chars. |
| 158 |
obfuscate ascii printer with password obfuscation. |
| 159 |
hex print hex dump of user buffer on separate lines. |
| 160 |
encode32 print user buffer as 32-bit chars. |
| 161 |
encode64 print user buffer using 64-bit chars. |
| 162 |
|
| 163 |
poll - successfully attach to remote data source and then exit |
| 164 |
rmon - modify data to support unidiretional RMON stat reporting |
| 165 |
rtime:factor - read data from a file, clocking records in as if they |
| 166 |
being read in realtime. Factor provides an opportunity |
| 167 |
to specify a multiplication factor, enabling you to |
| 168 |
read records in a fraction of real time, slowing down |
| 169 |
reading considerably, or a factor of time, enabling |
| 170 |
controlled speedup of the reading rate. |
| 171 |
|
| 172 |
saslmech="mech" - specify a mandatory SASL mech |
| 173 |
sql="select" - use "select" as select clause in mysql calls when supported. |
| 174 |
TZ="tzset" - specify a tzset(3) time zone specification |
| 175 |
uni - generate unidirectional flow data |
| 176 |
xml - print output in xml format. |
| 177 |
zero - print blank port fields as zero, rather that space. |
| 178 |
|
| 179 |
.fi |
| 180 |
Illegal modes are not detectable by the standard library, and so unexpected |
| 181 |
results in command line parsing may occur if care is not taken with use |
| 182 |
of this option. |
| 183 |
.TP 4 4 |
| 184 |
.B \-n |
| 185 |
Modify number to name converstion. This flag supports 4 states, specified |
| 186 |
by the modulus of the number of -n flags set. By default ra* programs do |
| 187 |
not provide hostname lookups, but they do lookup port and protocol names. |
| 188 |
The first \fB-n\fP will suppress port number to service conversion, \fB-nn\fP |
| 189 |
will suppress translation of protocol numbers to names (no lookups). \fB-nnn\fP |
| 190 |
will return you to full conversion, translating hostnames, port and protocol |
| 191 |
names, and \fB-nnnn\fP will return you to the default behavior. Because this |
| 192 |
indicator can be set in the .rarc file, multiple \fB-n\fP flags progress through |
| 193 |
the cycle. |
| 194 |
.TP 4 |
| 195 |
.B \-N [io]<num>, [io]<start-end>, [io]<start+num> |
| 196 |
Process the first \fB<num>\fP records, the inclusive range \fB<start - end>\fP, |
| 197 |
or process <num + 1> records starting at index number \fB<start>\fP. The |
| 198 |
optional 1st character indicates whether the specification is applied to the input |
| 199 |
or the output stream of records, the default is input. If applied to the input, |
| 200 |
these are the range of records that match the input filter. |
| 201 |
.TP 4 4 |
| 202 |
.B \-o option |
| 203 |
Can be used to give options in the format used in the configuration file. This is useful for specifying options for which there is no separate command-line |
| 204 |
flag. For list of options, and their possible values, see rarc(5). |
| 205 |
.TP 4 4 |
| 206 |
.B \-p <digits> |
| 207 |
Print \fB<digits>\fP number of units of precision for floating point values. |
| 208 |
.TP 4 4 |
| 209 |
.B \-q |
| 210 |
Run in quiet mode. Configure Ra to not print out the contents of records. |
| 211 |
This can be used for a number of maintenance tasks, where you would be |
| 212 |
interested in the outcome of a program, or its progress, say with the -D |
| 213 |
option, without printing each input record. |
| 214 |
.TP 4 4 |
| 215 |
.B \-r [- | <[type:]file[::soffset[:eoffset]] ...>] |
| 216 |
Read \fB<type>\fP data from \fB<files>\fP in the order presented on the |
| 217 |
commandline. '\fB\-\fP' denotes stdin. Ra supports reading \fBargus\fP |
| 218 |
type data (default), \fBcisco\fP and \fBft\fP, flow-tools type data. If you want to read a set of |
| 219 |
files and then, when done, read stdin, use multiple occurences of |
| 220 |
the \fI-r\fP option. Ra can read \fBgzip(1)\fP, \fBbzip2(1)\fP, \fBxz(1)\fP and |
| 221 |
\fBcompress(1)\fP compressed data files. Byte offset values allow |
| 222 |
the specification of a range of records within an uncompressed file. |
| 223 |
Byte offsets must be aligned to record boundaries. Valid record |
| 224 |
offsets can be obtained using +offset as an output field even from compressed files. |
| 225 |
|
| 226 |
Examples are: |
| 227 |
.nf |
| 228 |
-r file1 file2 read argus records from file1, then file2. |
| 229 |
-r file::34876 read argus records starting at byte offset 34876 |
| 230 |
-r file::34876:35846 read argus records starting at byte offset 34876 and ending at 35846 |
| 231 |
-r cisco:file read cisco netflow records from file |
| 232 |
-r ft:file read flow-tools based records |
| 233 |
.fi |
| 234 |
|
| 235 |
.TP 4 4 |
| 236 |
.B \-R <dir dir ...> |
| 237 |
Recursively decend the directory and process all the regular |
| 238 |
files that are encountered. The function does not decend to links, or |
| 239 |
directories that begin with '.'. The feature, like the -r command, |
| 240 |
does not do any file type checking. |
| 241 |
.TP 4 4 |
| 242 |
.B \-s <[-][[+[#]]field[:len[:format]] ...> |
| 243 |
Specify the \fBfields\fP to print. \fBra.1\fP gets the field print list |
| 244 |
either from its rarc configuration files or from the command-line. |
| 245 |
In the case where there is no configuration given \fBra.1\fP uses a |
| 246 |
default printing field list, with default field lengths. By specifying a space |
| 247 |
separated list of fields, this option provides a means to completely redefine |
| 248 |
the list from the command line. Using the optional '-' and '+[#]' prepended |
| 249 |
to the field list, you can add or subtract fields from the configured list. |
| 250 |
Field lengths are hard constraints, and field output that exceeds the field |
| 251 |
length will be truncated, and a '*' will be inserted as the last character. |
| 252 |
When you see this, add more to the length specification for that specific field. |
| 253 |
Field lengths (len) less than 1, are not permitted and will generate an error. |
| 254 |
The optional 'format' specification, uses \fBsprintf.1\fP syntax to format the value. |
| 255 |
The available fields to print are: |
| 256 |
|
| 257 |
.PD 0 |
| 258 |
.RS |
| 259 |
.TP 12 |
| 260 |
.B srcid |
| 261 |
Argus source identifier. In V3 records this is a 32-bit integer, IP address, or 4byte ascii string. |
| 262 |
In V5 records, the srcid is composed of the 128-bit 'sid' or source id, and an optional 4-char 'inf' |
| 263 |
or interface identifier, separated by a '/'. You can print out the 'sid' and 'inf' components separately. |
| 264 |
.TP |
| 265 |
.B sid |
| 266 |
Argus source identifier. Introduced in V5 records. The 'sid' is a maximu |
| 267 |
.TP |
| 268 |
.B inf |
| 269 |
Optional 4-char string interface identifier for this flow data. |
| 270 |
.TP |
| 271 |
.B rank |
| 272 |
Ordinal value of this output flow record i.e. sequence number. |
| 273 |
.TP |
| 274 |
.B stime |
| 275 |
record start time |
| 276 |
.TP |
| 277 |
.B ltime |
| 278 |
record last time. |
| 279 |
.TP |
| 280 |
.B trans |
| 281 |
aggregation record count. |
| 282 |
.TP |
| 283 |
.B flgs |
| 284 |
flow state flags seen in transaction. |
| 285 |
.TP |
| 286 |
.B seq |
| 287 |
argus sequence number. |
| 288 |
.TP |
| 289 |
.B dur |
| 290 |
record total duration. |
| 291 |
.TP |
| 292 |
.B runtime |
| 293 |
total active flow run time. This value is generated through aggregation, and is the sum of the records duration. |
| 294 |
.TP |
| 295 |
.B idle |
| 296 |
time since the last packet activity. This value is useful in real-time processing, and is the current time - last time. |
| 297 |
.TP |
| 298 |
.B mean |
| 299 |
average duration of aggregated records. |
| 300 |
.TP |
| 301 |
.B stddev |
| 302 |
standard deviation of aggregated duration times. |
| 303 |
.TP |
| 304 |
.B sum |
| 305 |
total accumulated durations of aggregated records. |
| 306 |
.TP |
| 307 |
.B min |
| 308 |
minimum duration of aggregated records. |
| 309 |
.TP |
| 310 |
.B max |
| 311 |
maximum duration of aggregated records. |
| 312 |
.TP |
| 313 |
.B smac |
| 314 |
source MAC addr. |
| 315 |
.TP |
| 316 |
.B dmac |
| 317 |
destination MAC addr. |
| 318 |
.TP |
| 319 |
.B soui |
| 320 |
oui portion of the source MAC addr. |
| 321 |
.TP |
| 322 |
.B doui |
| 323 |
oui portion of the destination MAC addr. |
| 324 |
.TP |
| 325 |
.B smacclass |
| 326 |
class of the source MAC addr. (UAA, LAA, ELI, SAI, AAI, RES, LM) |
| 327 |
.TP |
| 328 |
.B dmacclass |
| 329 |
class of the destination MAC addr. (UAA, LAA, ELI, SAI, AAI, RES, LM) |
| 330 |
.TP |
| 331 |
.B senc |
| 332 |
source encapsulations processed. |
| 333 |
.TP |
| 334 |
.B denc |
| 335 |
destination encapsulations processed. |
| 336 |
.TP |
| 337 |
.B saddr |
| 338 |
source IP addr. |
| 339 |
.TP |
| 340 |
.B daddr |
| 341 |
destination IP addr. |
| 342 |
.TP |
| 343 |
.B proto |
| 344 |
transaction protocol. |
| 345 |
.TP |
| 346 |
.B sport |
| 347 |
source port number. |
| 348 |
.TP |
| 349 |
.B dport |
| 350 |
destination port number. |
| 351 |
.TP |
| 352 |
.B stos |
| 353 |
source TOS byte value. |
| 354 |
.TP |
| 355 |
.B dtos |
| 356 |
destination TOS byte value. |
| 357 |
.TP |
| 358 |
.B sdsb |
| 359 |
source diff serve byte value. |
| 360 |
.TP |
| 361 |
.B ddsb |
| 362 |
destination diff serve byte value. |
| 363 |
.TP |
| 364 |
.B sco |
| 365 |
source IP address country code. |
| 366 |
.TP |
| 367 |
.B dco |
| 368 |
destination IP address country code. |
| 369 |
.TP |
| 370 |
.B sttl |
| 371 |
src -> dst TTL value. |
| 372 |
.TP |
| 373 |
.B dttl |
| 374 |
dst -> src TTL value. |
| 375 |
.TP |
| 376 |
.B shops |
| 377 |
estimate of number of IP hops from src to this point. |
| 378 |
.TP |
| 379 |
.B dhops |
| 380 |
estimate of number of IP hops from dst to this point. |
| 381 |
.TP |
| 382 |
.B sipid |
| 383 |
source IP identifier. |
| 384 |
.TP |
| 385 |
.B dipid |
| 386 |
destination IP identifier. |
| 387 |
.TP |
| 388 |
.B smpls |
| 389 |
source MPLS identifier. |
| 390 |
.TP |
| 391 |
.B dmpls |
| 392 |
destination MPLS identifier. |
| 393 |
.TP |
| 394 |
.B sgreaddr |
| 395 |
source GRE tunnel address. |
| 396 |
.TP |
| 397 |
.B dgreaddr |
| 398 |
destination GRE tunnel address. |
| 399 |
.TP |
| 400 |
.B greproto |
| 401 |
Next layer GRE tunnel protocol. |
| 402 |
.TP |
| 403 |
.B autoid |
| 404 |
Auto generated identifier (mysql). |
| 405 |
.TP |
| 406 |
.B sas |
| 407 |
Src origin AS |
| 408 |
.TP |
| 409 |
.B das |
| 410 |
Dst origin AS |
| 411 |
.TP |
| 412 |
.B ias |
| 413 |
Intermediate origin AS, AS of ICMP generator |
| 414 |
.TP |
| 415 |
.B cause |
| 416 |
Argus record cause code. Valid values are Start, Status, Stop, Close, Error |
| 417 |
.TP |
| 418 |
.B nstroke |
| 419 |
Number of observed keystrokes. |
| 420 |
.TP |
| 421 |
.B snstroke |
| 422 |
Number of observed keystrokes from initiator (src) to target (dst). |
| 423 |
.TP |
| 424 |
.B dnstroke |
| 425 |
Number of observed keystrokes from target (dst) to initiator (src). |
| 426 |
.TP |
| 427 |
.B pkts |
| 428 |
total transaction packet count. |
| 429 |
.TP |
| 430 |
.B spkts |
| 431 |
src -> dst packet count. |
| 432 |
.TP |
| 433 |
.B dpkts |
| 434 |
dst -> src packet count. |
| 435 |
.TP |
| 436 |
.B bytes |
| 437 |
total transaction bytes. |
| 438 |
.TP |
| 439 |
.B sbytes |
| 440 |
src -> dst transaction bytes. |
| 441 |
.TP |
| 442 |
.B dbytes |
| 443 |
dst -> src transaction bytes. |
| 444 |
.TP |
| 445 |
.B appbytes |
| 446 |
total application bytes. |
| 447 |
.TP |
| 448 |
.B sappbytes |
| 449 |
src -> dst application bytes. |
| 450 |
.TP |
| 451 |
.B dappbytes |
| 452 |
dst -> src application bytes. |
| 453 |
.TP |
| 454 |
.B pcr |
| 455 |
producer consumer ratio. |
| 456 |
.TP |
| 457 |
.B load |
| 458 |
bits per second. |
| 459 |
.TP |
| 460 |
.B sload |
| 461 |
source bits per second. |
| 462 |
.TP |
| 463 |
.B dload |
| 464 |
destination bits per second. |
| 465 |
.TP |
| 466 |
.B loss |
| 467 |
pkts retransmitted or dropped. |
| 468 |
.TP |
| 469 |
.B sloss |
| 470 |
source pkts retransmitted or dropped. |
| 471 |
.TP |
| 472 |
.B dloss |
| 473 |
destination pkts retransmitted or dropped. |
| 474 |
.TP |
| 475 |
.B ploss |
| 476 |
percent pkts retransmitted or dropped. |
| 477 |
.TP |
| 478 |
.B psloss |
| 479 |
percent source pkts retransmitted or dropped. |
| 480 |
.TP |
| 481 |
.B pdloss |
| 482 |
percent destination pkts retransmitted or dropped. |
| 483 |
.TP |
| 484 |
.B retrans |
| 485 |
pkts retransmitted. |
| 486 |
.TP |
| 487 |
.B sretrans |
| 488 |
source pkts retransmitted. |
| 489 |
.TP |
| 490 |
.B dretrans |
| 491 |
destination pkts retransmitted. |
| 492 |
.TP |
| 493 |
.B pretrans |
| 494 |
percent pkts retransmitted. |
| 495 |
.TP |
| 496 |
.B psretrans |
| 497 |
percent source pkts retransmitted. |
| 498 |
.TP |
| 499 |
.B pdretrans |
| 500 |
percent destination pkts retransmitted. |
| 501 |
.TP |
| 502 |
.B sgap |
| 503 |
source bytes missing in the data stream. Available after argus-3.0.4 |
| 504 |
.TP |
| 505 |
.B dgap |
| 506 |
destination bytes missing in the data stream. Available after argus-3.0.4 |
| 507 |
.TP |
| 508 |
.B rate |
| 509 |
pkts per second. |
| 510 |
.TP |
| 511 |
.B srate |
| 512 |
source pkts per second. |
| 513 |
.TP |
| 514 |
.B drate |
| 515 |
destination pkts per second. |
| 516 |
.TP |
| 517 |
.B dir |
| 518 |
direction of transaction |
| 519 |
.TP |
| 520 |
.B sintpkt |
| 521 |
source interpacket arrival time (mSec) |
| 522 |
.TP |
| 523 |
.B sintdist |
| 524 |
source interpacket arrival time distribution |
| 525 |
.TP |
| 526 |
.B sintpktact |
| 527 |
source active interpacket arrival time (mSec) |
| 528 |
.TP |
| 529 |
.B sintdistact |
| 530 |
source active interpacket arrival time distribution |
| 531 |
.TP |
| 532 |
.B sintpktidl |
| 533 |
source idle interpacket arrival time (mSec) |
| 534 |
.TP |
| 535 |
.B sintdistidl |
| 536 |
source idle interpacket arrival time distribution |
| 537 |
.TP |
| 538 |
.B dintpkt |
| 539 |
destination interpacket arrival time (mSec) |
| 540 |
.TP |
| 541 |
.B dintdist |
| 542 |
destination interpacket arrival time distribution |
| 543 |
.TP |
| 544 |
.B dintpktact |
| 545 |
destination active interpacket arrival time (mSec) |
| 546 |
.TP |
| 547 |
.B dintdistact |
| 548 |
destination active interpacket arrival time distribution (mSec) |
| 549 |
.TP |
| 550 |
.B dintpktidl |
| 551 |
destination idle interpacket arrival time (mSec) |
| 552 |
.TP |
| 553 |
.B dintdistidl |
| 554 |
destination idle interpacket arrival time distribution |
| 555 |
.TP |
| 556 |
.B sjit |
| 557 |
source jitter (mSec). |
| 558 |
.TP |
| 559 |
.B sjitact |
| 560 |
source active jitter (mSec). |
| 561 |
.TP |
| 562 |
.B sjitidle |
| 563 |
source idle jitter (mSec). |
| 564 |
.TP |
| 565 |
.B djit |
| 566 |
destination jitter (mSec). |
| 567 |
.TP |
| 568 |
.B djitact |
| 569 |
destination active jitter (mSec). |
| 570 |
.TP |
| 571 |
.B djitidle |
| 572 |
destination idle jitter (mSec). |
| 573 |
.TP |
| 574 |
.B state |
| 575 |
transaction state |
| 576 |
.TP |
| 577 |
.B label |
| 578 |
Metadata label. |
| 579 |
.TP |
| 580 |
.B suser |
| 581 |
source user data buffer. |
| 582 |
.TP |
| 583 |
.B duser |
| 584 |
destination user data buffer. |
| 585 |
.TP |
| 586 |
.B swin |
| 587 |
source TCP window advertisement. |
| 588 |
.TP |
| 589 |
.B dwin |
| 590 |
destination TCP window advertisement. |
| 591 |
.TP |
| 592 |
.B svlan |
| 593 |
source VLAN identifier. |
| 594 |
.TP |
| 595 |
.B dvlan |
| 596 |
destination VLAN identifier. |
| 597 |
.TP |
| 598 |
.B svid |
| 599 |
source VLAN identifier. |
| 600 |
.TP |
| 601 |
.B dvid |
| 602 |
destination VLAN identifier. |
| 603 |
.TP |
| 604 |
.B svpri |
| 605 |
source VLAN priority. |
| 606 |
.TP |
| 607 |
.B dvpri |
| 608 |
destination VLAN priority. |
| 609 |
.TP |
| 610 |
.B srng |
| 611 |
start time for the filter timerange. |
| 612 |
.TP |
| 613 |
.B erng |
| 614 |
end time for the filter timerange. |
| 615 |
.TP |
| 616 |
.B stcpb |
| 617 |
source TCP base sequence number |
| 618 |
.TP |
| 619 |
.B dtcpb |
| 620 |
destination TCP base sequence number |
| 621 |
.TP |
| 622 |
.B smss |
| 623 |
source TCP maximum segment size |
| 624 |
.TP |
| 625 |
.B dmss |
| 626 |
destination TCP maximum segment size |
| 627 |
.TP |
| 628 |
.B tcprtt |
| 629 |
TCP connection setup round-trip time, the sum of 'synack' and 'ackdat'. |
| 630 |
.TP |
| 631 |
.B synack |
| 632 |
TCP connection setup time, the time between the SYN and the SYN_ACK packets. |
| 633 |
.TP |
| 634 |
.B ackdat |
| 635 |
TCP connection setup time, the time between the SYN_ACK and the ACK packets. |
| 636 |
.TP |
| 637 |
.B tcpopt |
| 638 |
The TCP connection options seen at initiation. The \fItcpopt\fP indicator |
| 639 |
consists of a fixed length field, that reports presence of any of the |
| 640 |
TCP options that argus tracks |
| 641 |
The format is: |
| 642 |
.nf |
| 643 |
.sp .5 |
| 644 |
|
| 645 |
M - Maxiumum Segment Size |
| 646 |
w - Window Scale |
| 647 |
s - Selective ACK OK |
| 648 |
S - Selective ACK |
| 649 |
e - TCP Echo |
| 650 |
E - TCP Echo Reply |
| 651 |
T - TCP Timestamp |
| 652 |
c - TCP CC |
| 653 |
N - TCP CC New |
| 654 |
O - TCP CC Echo |
| 655 |
S - Source Explicit Congestion Notification |
| 656 |
D - Destination Explicit Congestion Notification |
| 657 |
|
| 658 |
.TP |
| 659 |
.B inode |
| 660 |
ICMP intermediate node. |
| 661 |
.TP |
| 662 |
.B offset |
| 663 |
record byte offset in file or stream. |
| 664 |
.TP |
| 665 |
.B smeansz |
| 666 |
Mean of the flow packet size transmitted by the src (initiator). |
| 667 |
.TP |
| 668 |
.B dmeansz |
| 669 |
Mean of the flow packet size transmitted by the dst (target). |
| 670 |
.TP |
| 671 |
.B spktsz |
| 672 |
histogram for the src packet size distribution |
| 673 |
.TP |
| 674 |
.B smaxsz |
| 675 |
maximum packet size for traffic transmitted by the src. |
| 676 |
.TP |
| 677 |
.B dpktsz |
| 678 |
histogram for the dst packet size distribution |
| 679 |
.TP |
| 680 |
.B dmaxsz |
| 681 |
maximum packet size for traffic transmitted by the dst. |
| 682 |
.TP |
| 683 |
.B sminsz |
| 684 |
minimum packet size for traffic transmitted by the src. |
| 685 |
.TP |
| 686 |
.B dminsz |
| 687 |
minimum packet size for traffic transmitted by the dst. |
| 688 |
.PD 1 |
| 689 |
.RE |
| 690 |
.RS |
| 691 |
|
| 692 |
Examles are: |
| 693 |
.nf |
| 694 |
-s saddr print only the source address. |
| 695 |
-s -bytes removes the bytes field from list. |
| 696 |
-s +2srcid adds the source identifier after the 2nd field. |
| 697 |
-s spkts:18 prints src pkt count with a column width of 18. |
| 698 |
-s smpls print the local mpls label in the flow. |
| 699 |
-s sgreaddr print the src address of the GRE tunnel in the flow. |
| 700 |
.fi |
| 701 |
.RE |
| 702 |
.TP 4 4 |
| 703 |
.B \-S <[URI://][user[:pass]@]host[:portnum]> |
| 704 |
Specify a remote source of flow data. |
| 705 |
Read flow data from various data format and transport strategies, using the URI format |
| 706 |
to indicate the type of flow data record of interest (argus-tcp, argus-udp, cisco, |
| 707 |
jflow, sflow) and the source, as a name or an addresss, providing an option user and |
| 708 |
password for protected access. Use the optional ':portnum' to specify a port number |
| 709 |
other than the default; 561. |
| 710 |
|
| 711 |
Examles are: |
| 712 |
.nf |
| 713 |
-S localhost request remote argus records from localhost, using default methods. |
| 714 |
-S user@localhost request argus records from localhost, as 'user'. |
| 715 |
-S user:pass@localhost request argus records from localhost, as 'user', with 'pass' password. |
| 716 |
-S 192.168.0.4:12345 request via TCP argus records from 192.168.0.4, port 12345. |
| 717 |
-S argus://user@anubis request argus records from anubis, via TCP port 561, as 'user'. |
| 718 |
-S argus-tcp://thoth:12345 request argus records via TCP from thoth, port 12345. |
| 719 |
-S argus-udp://set:12345 request argus records via UDP from set, port 12345. |
| 720 |
-S cisco://any:9996 read cisco netflow records from AF_ANY, on port 9996. |
| 721 |
-S jflow://10.0.0.2:9898 read jflow records sent to 10.0.0.2, on port 9898. |
| 722 |
-S sflow://localhost:6343 read sflow records sent to localhost interface, port 6343. |
| 723 |
.fi |
| 724 |
|
| 725 |
.TP 4 4 |
| 726 |
.B \-t <timerange> |
| 727 |
Specify the \fB<time range>\fP for matching \fBargus(5)\fP records. This |
| 728 |
option supports a high degree of flexibility in specifing explicit and |
| 729 |
relative time ranges with support for time field wildcarding. |
| 730 |
|
| 731 |
The syntax for the \fB<time range>\fP is: |
| 732 |
.nf |
| 733 |
[timeComparisonInd]timeSpecification[-timeSpecification] |
| 734 |
timeComparisonInd: [x]i | n | c (default = i) |
| 735 |
x negation reverses the result of the time comparison |
| 736 |
i intersects match records that were active during this time period |
| 737 |
n includes match records that start before and end after the period |
| 738 |
c contained match records that start and end during the period |
| 739 |
|
| 740 |
timeSpecification: [[[yyyy/]mm/]dd.]HH[:MM[:SS]] |
| 741 |
[yyyy/]mm/dd |
| 742 |
yyyy |
| 743 |
%d{ymdHMS} |
| 744 |
seconds |
| 745 |
{ + | - }%d{ymdHMS} |
| 746 |
|
| 747 |
where '*' can be used as a wildcard. |
| 748 |
|
| 749 |
.fi |
| 750 |
Examples are: |
| 751 |
.nf |
| 752 |
-t 14 specify the time range 2pm-3pm for today |
| 753 |
-t 15-23 specify the time range 3pm-11pm for today |
| 754 |
-t 2011 all records in the year 2011 |
| 755 |
-t 2011/08 all records in Aug of the year 2011 |
| 756 |
-t 2011/08-2011/10 all records in Aug, Sept, and Oct of the year 2011 |
| 757 |
|
| 758 |
-t **.14 specify 2pm-3pm, every day this month |
| 759 |
-t 1270616652+2s all records that span 10/04/07.01:04:12 EDT. |
| 760 |
-t 1999y1m23d10h matches 10-11am on Jan, 23, 1999 |
| 761 |
-t 10d*h*m15s matches records that intersect the 15 sec, |
| 762 |
any minute, any hour, on the 10th of this month |
| 763 |
-t ****/11/23 all records in Nov 23rd, any year |
| 764 |
-t 23.11:10-14 11:10:00 - 2pm on the 23rd of this month |
| 765 |
-t -10m matches 10 minutes before, to the present |
| 766 |
-t -1M+1d matches the first day of the this month. |
| 767 |
-t -2h5m+5m matches records that start before and end |
| 768 |
after the range starting 2 hours 5 minutes |
| 769 |
prior to the present, and lasting 5 minutes. |
| 770 |
|
| 771 |
.fi |
| 772 |
Time is compared using basic intersection operations. A record |
| 773 |
\fBi\Pntersects a specified time range if there is any intersection |
| 774 |
between the time range of the record and the comparison time range. |
| 775 |
This is the default behavior. A record \fBi\fPncludes the comparison |
| 776 |
time range if the intersection of the two ranges equals the |
| 777 |
comparison time, and a record is \fBc\fPontained when the intersection |
| 778 |
equals the duration of the record. The comparison indicator is the |
| 779 |
first character of the range specification, without spaces. |
| 780 |
|
| 781 |
Examples are: |
| 782 |
.nf |
| 783 |
-t n14:10:15-14:10:19 records include these 4s. |
| 784 |
-t c14:10-14:10:10 record starts and ends within these 10s. |
| 785 |
-t xi-5s+25s record starts or ends 5 seconds earlier and |
| 786 |
20 seconds after 'now'. |
| 787 |
.fi |
| 788 |
|
| 789 |
.TP 4 4 |
| 790 |
.B \-T <secs> |
| 791 |
Read \fBargus(5)\fP from remote server for \fB<secs>\fP of time. |
| 792 |
.TP 4 4 |
| 793 |
.B \-u |
| 794 |
Print time values using Unix time format (seconds from the Epoch). |
| 795 |
.TP 4 4 |
| 796 |
.B \-w <file> [filter-expression] |
| 797 |
Append matching data to \fB<file>\fP, in |
| 798 |
.B argus |
| 799 |
file format. An \fIoutput-file\fP of '-' directs |
| 800 |
.B ra |
| 801 |
to write the \fBargus(5)\fP records to stdout, allowing for "chaining" |
| 802 |
.B ra* |
| 803 |
style commands together. The optional filter-expression can be used |
| 804 |
to select specific output. |
| 805 |
.TP 4 4 |
| 806 |
.B \-X |
| 807 |
Resets all options to their default values and overrides the rarc file contents (Use as the first option.) |
| 808 |
.TP 4 4 |
| 809 |
.B \-z |
| 810 |
Modify status field to represent TCP state changes. The values of the |
| 811 |
status field when this is enabled are: |
| 812 |
.nf |
| 813 |
's' - Syn Transmitted |
| 814 |
'S' - Syn Acknowledged |
| 815 |
'E' - TCP Established |
| 816 |
'f' - Fin Transmitted (FIN Wait State 1) |
| 817 |
'F' - Fin Acknowledged (FIN Wait State 2) |
| 818 |
'R' - TCP Reset |
| 819 |
.fi |
| 820 |
.TP 4 4 |
| 821 |
.B \-Z <s|d|b> |
| 822 |
Modify status field to reprsent actual TCP flag values. <'s'rc | 'd'st | 'b'oth>. |
| 823 |
The characters that can be present in the status field when this is enabled are: |
| 824 |
|
| 825 |
.nf |
| 826 |
'F' - Fin |
| 827 |
'S' - Syn |
| 828 |
'R' - Reset |
| 829 |
'P' - Push |
| 830 |
'A' - Ack |
| 831 |
'U' - Urgent Pointer |
| 832 |
'7' - Undefined 7th bit set |
| 833 |
'8' - Undefined 8th bit set |
| 834 |
.fi |
| 835 |
.TP 4 4 |
| 836 |
.B \-3 |
| 837 |
Generate Argus V3 (open source) formatted data when writing flow records |
| 838 |
to a file. |
| 839 |
|
| 840 |
.SH RETURN VALUES |
| 841 |
\fBra\fP exits with one of the following values: |
| 842 |
.nf |
| 843 |
|
| 844 |
0 Records matched condition, considering the options provided. |
| 845 |
|
| 846 |
1 No records matched the condition, or the source was not an argus stream. |
| 847 |
|
| 848 |
> 1 An error occurred. |
| 849 |
.fi |
| 850 |
|
| 851 |
.SH FILTER EXPRESSION |
| 852 |
If arguments remain after option processing, the collection is |
| 853 |
interpreted as a single filter \fBexpression\fP. In order to indicate |
| 854 |
the end of arguments, a '\-\-' (double dash) is required before the |
| 855 |
filter expression is added to the command line. Historically, a '\-' |
| 856 |
(single dash) was used to separate the filter \fBexpression\fP from the |
| 857 |
command line options, but newer versions of \fBgetopt.1\fP now require |
| 858 |
the '\-\-' (double dash). |
| 859 |
|
| 860 |
|
| 861 |
The filter expression specifies which \fBargus(5)\fP records will |
| 862 |
be selected for processing. If no \fIexpression\fP is given, all |
| 863 |
records are selected, otherwise, only those records for which |
| 864 |
\fIexpression\fP is `true' will be printed. |
| 865 |
|
| 866 |
The syntax is very similar to the expression syntax for \fBtcpdump(1)\fP, |
| 867 |
as the tcpdump compiler was a starting point for the \fBargus(5)\fP filter |
| 868 |
expression compiler. However, the semantics for \fBtcpdump(1)'s\fP packet |
| 869 |
filter expressions are different when applied to transaction record |
| 870 |
filtering, so there are some major differences. |
| 871 |
|
| 872 |
When attached to a remote argus, \fBra\fP will send the filter to the argus |
| 873 |
process, which compiles the filter, and uses it to select which argus |
| 874 |
records will be transmitted to the \fBra\fP application. If you do not |
| 875 |
want to send a filter to the remote argus, prepend the filter with the |
| 876 |
keyword "local", to indicate that the filtering will be done within the |
| 877 |
local \fBra\fP process. |
| 878 |
|
| 879 |
.LP |
| 880 |
The \fIexpression\fP consists of one or more |
| 881 |
.I primitives. |
| 882 |
Primitives usually consist of an |
| 883 |
.I id |
| 884 |
(name or number) preceded by one or more qualifiers. There are three |
| 885 |
different kinds of qualifier: |
| 886 |
.IP \fItype\fP |
| 887 |
qualifiers say what kind of thing the id name or number refers to. |
| 888 |
Possible types are |
| 889 |
.BR srcid, |
| 890 |
.BR encaps, |
| 891 |
.BR ether, |
| 892 |
.BR host, |
| 893 |
.BR net, |
| 894 |
.BR co, |
| 895 |
.BR port, |
| 896 |
.BR tos, |
| 897 |
.BR ttl, |
| 898 |
.BR ptks, |
| 899 |
.BR bytes, |
| 900 |
.BR appbytes, |
| 901 |
.BR pcr, |
| 902 |
.BR data, |
| 903 |
.BR rate, |
| 904 |
.BR load, |
| 905 |
.BR loss, |
| 906 |
.BR ploss, |
| 907 |
.BR vid, |
| 908 |
.BR vpri, |
| 909 |
and |
| 910 |
.BR mid. |
| 911 |
|
| 912 |
E.g., `srcid isis`, `encaps gre', `host sphynx', `net 192.168.0.0/16', `port domain', `ttl 1', 'ptks gt 2', 'ploss lt 5'. |
| 913 |
If there is no type qualifier, |
| 914 |
.B host |
| 915 |
is assumed. |
| 916 |
.IP \fIdir\fP |
| 917 |
qualifiers specify a particular transfer direction to and/or from |
| 918 |
.I an id. |
| 919 |
Possible directions are |
| 920 |
.BR src , |
| 921 |
.BR dst , |
| 922 |
.B "src or dst" |
| 923 |
and |
| 924 |
.BR "src and dst" . |
| 925 |
E.g., `src sphynx', `dst net 192.168.0.0/24', `src or dst port ftp', |
| 926 |
`src and dst tos 0x0a', `src or dst vid 0x12`, `dst vpri 0x02` . |
| 927 |
If there is no dir qualifier, |
| 928 |
.B "src or dst" |
| 929 |
is assumed. |
| 930 |
.IP \fIproto\fP |
| 931 |
qualifiers restrict the match to a particular protocol. Possible |
| 932 |
values are those specified in the \fB/etc/protocols\fP system file |
| 933 |
and a small number of extensions, (that should be defined |
| 934 |
but aren't). Specific extended values are |
| 935 |
.BR 'ipv4' , |
| 936 |
(to specify just ip version 4), in contrast to the defined proto |
| 937 |
.BR 'ipv6' . |
| 938 |
The defined proto |
| 939 |
.BR 'ip' |
| 940 |
reduces to the filter 'ipv4 or ipv6'. |
| 941 |
|
| 942 |
When preceeded by \fIether\fP, the protocol names and numbers that |
| 943 |
are valid are specified in ./include/ethernames.h. |
| 944 |
.LP |
| 945 |
In addition to the above, there are some special `primitive' keywords |
| 946 |
that don't follow the pattern: |
| 947 |
.BR gateway , |
| 948 |
.BR multicast , |
| 949 |
and |
| 950 |
.BR broadcast . |
| 951 |
All of these are described below. |
| 952 |
.LP |
| 953 |
More complex filter expressions are built up by using the words |
| 954 |
.BR and , |
| 955 |
.B or |
| 956 |
and |
| 957 |
.B not |
| 958 |
to combine primitives. E.g., `host foo and not port ftp and not port ftp-data'. |
| 959 |
To save typing, identical qualifier lists can be omitted. E.g., |
| 960 |
`tcp dst port ftp or ftp-data or domain' is exactly the same as |
| 961 |
`tcp dst port ftp or tcp dst port ftp-data or tcp dst port domain'. |
| 962 |
.LP |
| 963 |
Allowable primitives are: |
| 964 |
.IP "\fBsrcid \fIargusid\fR" |
| 965 |
True if the argus identifier field in the Argus record is \fIsrcid\fP, |
| 966 |
which may be an IP address, a name or a decimal/hexidecimal number. |
| 967 |
.IP "\fBseq [gt | gte | lt | lte | eq] \fInumber\fR" |
| 968 |
True if the transport sequence number in the Argus record matches the |
| 969 |
\fIsequence number expression\fP. |
| 970 |
.IP "\fBencaps \fItype\fR" |
| 971 |
True if the encapsulation used by the flow in the Argus record includes |
| 972 |
the \fItype\fP. The list of valid encapsulation types is: |
| 973 |
.nf |
| 974 |
.sp .5 |
| 975 |
mpls, eth, 802q, llc, pppoe, vxlan, isl, gre, geneve, ah, ipnip, ipnip6, chdlc |
| 976 |
.IP "\fBdst host \fIhost\fR" |
| 977 |
True if the IP destination field in the Argus record is \fIhost\fP, |
| 978 |
which may be either an address or a name. |
| 979 |
.IP "\fBsrc host \fIhost\fR" |
| 980 |
True if the IP source field in the Argus record is \fIhost\fP. |
| 981 |
.IP "\fBhost \fIhost\fP |
| 982 |
True if either the IP source or destination in the Argus record is \fIhost\fP. |
| 983 |
Any of the above host expressions can be prepended with the keywords |
| 984 |
\fBip\fP, \fBarp\fP, or \fBrarp\fP as in: |
| 985 |
.in +.5i |
| 986 |
.nf |
| 987 |
\fBip\fP host \fIhost\fR |
| 988 |
.fi |
| 989 |
.in -.5i |
| 990 |
which is equivalent to: |
| 991 |
.in +.5i |
| 992 |
.nf |
| 993 |
\fBether proto \fB\ip\fP and host \fIhost\fR |
| 994 |
.fi |
| 995 |
.in -.5i |
| 996 |
If \fIhost\fR is a name with multiple IP addresses, each address will |
| 997 |
be checked for a match. |
| 998 |
.IP "\fBether dst \fIehost\fP |
| 999 |
True if the ethernet destination address is \fIehost\fP. \fIEhost\fP |
| 1000 |
may be either a name from /etc/ethers or a number (see |
| 1001 |
.IR ethers (3N) |
| 1002 |
for numeric format). |
| 1003 |
.IP "\fBether src \fIehost\fP |
| 1004 |
True if the ethernet source address is \fIehost\fP. |
| 1005 |
.IP "\fBether host \fIehost\fP |
| 1006 |
True if either the ethernet source or destination address is \fIehost\fP. |
| 1007 |
.IP "\fBgateway\fP \fIhost\fP |
| 1008 |
True if the transaction used \fIhost\fP as a gateway. I.e., the ethernet |
| 1009 |
source or destination address was \fIhost\fP but neither the IP source |
| 1010 |
nor the IP destination was \fIhost\fP. \fIHost\fP must be a name and |
| 1011 |
must be found in both /etc/hosts and /etc/ethers. (An equivalent |
| 1012 |
expression is |
| 1013 |
.in +.5i |
| 1014 |
.nf |
| 1015 |
\fBether host \fIehost \fBand not host \fIhost\fR |
| 1016 |
.fi |
| 1017 |
.in -.5i |
| 1018 |
which can be used with either names or numbers for \fIhost / ehost\fP.) |
| 1019 |
.IP "\fBdst net \fIcidr\fR" |
| 1020 |
True if the IP destination address in the Argus record matches the |
| 1021 |
\fIcidr\fP address. |
| 1022 |
.IP "\fBsrc net \fIcidr\fR" |
| 1023 |
True if the IP source address in the Argus record matches the \fIcidr\fP |
| 1024 |
address. |
| 1025 |
.IP "\fBnet \fIcidr\fR" |
| 1026 |
True if either the IP source or destination address in the Argus record matches |
| 1027 |
\fIcidr\fP address. |
| 1028 |
.IP "\fBdst port \fIport\fR" |
| 1029 |
True if the network transaction is IP based, using either the TCP or UDP transport |
| 1030 |
protocols, and a destination port value of \fIport\fP. |
| 1031 |
The \fIport\fP can be a number or a name as configured in the /etc/services file.(see |
| 1032 |
.IR tcp (4P) |
| 1033 |
and |
| 1034 |
.IR udp (4P)). |
| 1035 |
If a name is used, both the protocol number and port number, are checked. |
| 1036 |
If a number or ambiguous name is used, the port number is checked for both UDP and |
| 1037 |
TCP protocols (e.g., \fBdst port 513\fR will print both tcp/login traffic and |
| 1038 |
udp/who traffic, and \fBport domain\fR will match both tcp/domain and udp/domain traffic). |
| 1039 |
Port ranges can be specified using numeric values, such as \fBport 53-215\fR. |
| 1040 |
|
| 1041 |
.IP "\fBsrc port \fIport\fR" |
| 1042 |
True if the network transaction has a source port value of \fIport\fP. |
| 1043 |
.IP "\fBport \fIport\fR" |
| 1044 |
True if either the source or destination port in the Argus record is \fIport\fP. |
| 1045 |
Any of the above port expressions can be prepended with the keywords, |
| 1046 |
\fBtcp\fP or \fBudp\fP, as in: |
| 1047 |
.in +.5i |
| 1048 |
.nf |
| 1049 |
\fBtcp src port \fIport\fR |
| 1050 |
.fi |
| 1051 |
.in -.5i |
| 1052 |
which matches only tcp connections. |
| 1053 |
.IP "\fBip proto \fIprotocol\fR" |
| 1054 |
True if the Argus record is an ip transaction (see |
| 1055 |
.IR ip (4P)) |
| 1056 |
of protocol type \fIprotocol\fP. |
| 1057 |
\fIProtocol\fP can be a number or any of the string values found |
| 1058 |
in \fI/etc/protocols\fP. |
| 1059 |
.IP \fBmulticast\fR |
| 1060 |
True if the network transaction involved an ip multicast address. |
| 1061 |
By specifing ether multicast, you can select argus records that |
| 1062 |
involve an ethernet multicast address. |
| 1063 |
.IP \fBbroadcast\fR |
| 1064 |
True if the network transaction involved an ip broadcast address. |
| 1065 |
By specifing ether broadcast, you can select argus records that |
| 1066 |
involve an ethernet broadcast address. |
| 1067 |
.IP "\fBether proto \fIprotocol\fR" |
| 1068 |
True if the Argus record is of ether type \fIprotocol\fR. |
| 1069 |
\fIProtocol\fP can be a number or a name like |
| 1070 |
\fIip\fP, \fIarp\fP, or \fIrarp\fP. |
| 1071 |
|
| 1072 |
.IP "\fB[src | dst] loc [gt | gte | lt | lte | eq] \fInumber\fR" |
| 1073 |
True if the Locality value for addresses in the Argus record compares to \fInumber\fP. |
| 1074 |
|
| 1075 |
.IP "\fB[src | dst] ttl [gt | gte | lt | lte | eq] \fInumber\fR" |
| 1076 |
True if the TTL in the Argus record compares to \fInumber\fP. |
| 1077 |
.IP "\fB[src | dst] tos [gt | gte | lt | lte | eq] \fInumber\fR" |
| 1078 |
True if the TOS in the Argus record (default) compares to \fInumber\fP. |
| 1079 |
.IP "\fB[src | dst] vid [gt | gte | lt | lte | eq] \fInumber\fR" |
| 1080 |
True if th VLAN id in the Argus record (default) compares to \fInumber\fP. |
| 1081 |
.IP "\fB[src | dst] vpri [gt | gte | lt | lte | eq] \fInumber\fR" |
| 1082 |
True if the VLAN priority in the Argus record (default) compares to \fInumber\fP. |
| 1083 |
.IP "\fB[src | dst] mid [gt | gte | lt | lte | eq] \fInumber\fR" |
| 1084 |
True if the MPLS Label in the Argus record (default) compares to \fInumber\fP. |
| 1085 |
.IP "\fB[src | dst] pkts [gt | gte | lt | lte | eq] \fInumber\fR" |
| 1086 |
True if the packet count in the Argus record (default) compares to \fInumber\fP. |
| 1087 |
.IP "\fB[src | dst] bytes [gt | gte | lt | lte | eq] \fInumber\fR" |
| 1088 |
True if the byte count in the Argus record (default) compares to \fInumber\fP. |
| 1089 |
.IP "\fB[src | dst] appbytes [gt | gte | lt | lte | eq] \fInumber\fR" |
| 1090 |
True if the application byte count in the Argus record (default) compares to \fInumber\fP. |
| 1091 |
.IP "\fB[src | dst] rate [gt | gte | lt | lte | eq] \fInumber\fR" |
| 1092 |
True if the rate in the Argus record (default) compares to \fInumber\fP. |
| 1093 |
.IP "\fB[src | dst] load [gt | gte | lt | lte | eq] \fInumber\fR" |
| 1094 |
True if the load in the Argus record (default) compares to \fInumber\fP. |
| 1095 |
|
| 1096 |
.LP |
| 1097 |
Ra filter expressions support primitives that are specific |
| 1098 |
to flow states and can be used to select flow records that |
| 1099 |
were in these states at the time they were generated. |
| 1100 |
\fInormal\fP, |
| 1101 |
\fIwait\fP, |
| 1102 |
\fItimeout\fP, |
| 1103 |
\fIest\fP or \fIcon\fP |
| 1104 |
|
| 1105 |
Primitives that select flows that experienced fragmentation. |
| 1106 |
\fIfrag\fP and |
| 1107 |
\fIfragonly\fP |
| 1108 |
|
| 1109 |
Support for selecting flows that used multiple pairs of MAC |
| 1110 |
addresses during their lifetime. |
| 1111 |
\fImultipath\fP |
| 1112 |
|
| 1113 |
.LP |
| 1114 |
Primitives specific to TCP flows are supported. |
| 1115 |
\fIsyn\fP, |
| 1116 |
\fIsynack\fP, |
| 1117 |
\fIecn\fP, |
| 1118 |
\fIfin\fP, |
| 1119 |
\fIfinack\fP, |
| 1120 |
\fIreset\fP, |
| 1121 |
\fIreuse\fP, |
| 1122 |
\fIretrans\fP, |
| 1123 |
\fIoutoforder\fP and |
| 1124 |
\fIwinshut\fP |
| 1125 |
|
| 1126 |
Primitives specific to TCP options are supported. |
| 1127 |
\fItcpopt\fP, |
| 1128 |
\fImss\fP, |
| 1129 |
\fIwscale\fP, |
| 1130 |
\fIselackok\fP, |
| 1131 |
\fIselack\fP, |
| 1132 |
\fItcpecho\fP, |
| 1133 |
\fItcpechoreply\fP, |
| 1134 |
\fItcptimestamp\fP, |
| 1135 |
\fItcpcc\fP, |
| 1136 |
\fItcpccnew\fP, |
| 1137 |
\fItcpccecho\fP, |
| 1138 |
\fIsecn\fP and |
| 1139 |
\fIdecn\fP |
| 1140 |
|
| 1141 |
.LP |
| 1142 |
Primitives specific to TCP metrics are supported. |
| 1143 |
\fImaxseg\fP |
| 1144 |
|
| 1145 |
Primitives specific to ICMP flows are supported. |
| 1146 |
\fIecho\fP, |
| 1147 |
\fIredirect\fP, |
| 1148 |
\fItimexed\fP and |
| 1149 |
\fIunreach\fP, which can be further specified using the keywords |
| 1150 |
\fIunrnet\fP, |
| 1151 |
\fIunrhost\fP, |
| 1152 |
\fIunrproto\fP, |
| 1153 |
\fIunrport\fP, |
| 1154 |
\fIunrfrag\fP, |
| 1155 |
\fIunrsrcfail\fP, |
| 1156 |
\fIunrnetunk\fP, |
| 1157 |
\fIunrhostunk\fP, |
| 1158 |
\fIunriso\fP, |
| 1159 |
\fIunrnetpro\fP, |
| 1160 |
\fIunrhostpro\fP, |
| 1161 |
\fIunrnettos\fP, |
| 1162 |
\fIunrhosttos\fP, |
| 1163 |
\fIunrfilter\fP, |
| 1164 |
\fIunrhostpre\fP, and |
| 1165 |
\fIunrprecut\fP, that each correspond to the unreachable icmp codes. |
| 1166 |
|
| 1167 |
.LP |
| 1168 |
For some primitives, a direction qualifier is appropriate. |
| 1169 |
These are |
| 1170 |
\fIfrag\fP, |
| 1171 |
\fIreset\fP, |
| 1172 |
\fIretrans\fP, |
| 1173 |
\fIoutoforder\fP and |
| 1174 |
\fIwinshut\fP |
| 1175 |
|
| 1176 |
.LP |
| 1177 |
Primitives may be combined using: |
| 1178 |
.IP |
| 1179 |
A parenthesized group of primitives and operators |
| 1180 |
(parentheses are special to the Shell and must be escaped). |
| 1181 |
.IP |
| 1182 |
Negation (`\fB!\fP' or `\fBnot\fP'). |
| 1183 |
.IP |
| 1184 |
Concatenation (`\fBand\fP'). |
| 1185 |
.IP |
| 1186 |
Alternation (`\fBor\fP'). |
| 1187 |
.LP |
| 1188 |
Negation has highest precedence. |
| 1189 |
Alternation and concatenation have equal precedence and associate |
| 1190 |
left to right. Note that explicit \fBand\fR tokens, not juxtaposition, |
| 1191 |
are now required for concatenation. |
| 1192 |
.LP |
| 1193 |
If an identifier is given without a keyword, the most recent keyword |
| 1194 |
is assumed. |
| 1195 |
For example, |
| 1196 |
.in +.5i |
| 1197 |
.nf |
| 1198 |
\fBnot host sphynx and anubis\fR |
| 1199 |
.fi |
| 1200 |
.in -.5i |
| 1201 |
is short for |
| 1202 |
.in +.5i |
| 1203 |
.nf |
| 1204 |
\fBnot host sphynx and host anubis\fR |
| 1205 |
.fi |
| 1206 |
.in -.5i |
| 1207 |
which should not be confused with |
| 1208 |
.in +.5i |
| 1209 |
.nf |
| 1210 |
\fBnot ( host sphynx or anubis )\fR |
| 1211 |
.fi |
| 1212 |
.in -.5i |
| 1213 |
.LP |
| 1214 |
Expression arguments can be passed to \fBra(1)\fP as either a single argument |
| 1215 |
or as multiple arguments, whichever is more convenient. |
| 1216 |
Generally, if the expression contains Shell metacharacters, it is |
| 1217 |
easier to pass it as a single, quoted argument. |
| 1218 |
Multiple arguments are concatenated with spaces before being parsed. |
| 1219 |
|
| 1220 |
.SS "Startup Processing" |
| 1221 |
\fBRa\fP begins by searching for the configuration file \fB.rarc\fP first |
| 1222 |
in the directory, \fB$ARGUSHOME\fP and then \fB$HOME\fP. If a \fB.rarc\fP |
| 1223 |
is found, all variables specified in the file are set. |
| 1224 |
.PP |
| 1225 |
\fBRa\fP then parses its command line options and set its internal variables |
| 1226 |
accordingly. |
| 1227 |
.PP |
| 1228 |
If a configuration file is specified on the command-line, using the "-f <confile>" |
| 1229 |
option, the values in this .rarc formatted file superceed all other values. |
| 1230 |
|
| 1231 |
|
| 1232 |
.SH EXAMPLES |
| 1233 |
.LP |
| 1234 |
To report all TCP transactions from and to host 'narly.wave.com', |
| 1235 |
reading transaction data from \fIargus-file\fP argus.data: |
| 1236 |
.RS |
| 1237 |
.nf |
| 1238 |
\fBra -r argus.data - tcp and host narly.wave.com\fP |
| 1239 |
.fi |
| 1240 |
.RE |
| 1241 |
.LP |
| 1242 |
To report all UDP based DNS traffic, |
| 1243 |
reading transaction data from the remote \fIargus.server\fP: |
| 1244 |
.RS |
| 1245 |
.nf |
| 1246 |
\fBra -S argus.server - udp port domain |
| 1247 |
.fi |
| 1248 |
.RE |
| 1249 |
.LP |
| 1250 |
To report all UDP transactions seen by the remote \fIargus.server\fP |
| 1251 |
on the port range 53-256, but not sending the filter to the remote |
| 1252 |
argus process: |
| 1253 |
.RS |
| 1254 |
.nf |
| 1255 |
\fBra -S argus.server - local udp port 53-256 |
| 1256 |
.fi |
| 1257 |
.RE |
| 1258 |
.LP |
| 1259 |
Create the \fIargus-file\fP icmp.log with all ICMP events involving |
| 1260 |
the host nimrod, using data from \fIargus-file\fP, but reading the |
| 1261 |
transaction data from \fIstdin\fP: |
| 1262 |
.RS |
| 1263 |
.nf |
| 1264 |
\fBcat \fIargus-file\fP | ra -r - -w icmp.log - icmp and host nimrod\fP |
| 1265 |
.fi |
| 1266 |
.RE |
| 1267 |
.LP |
| 1268 |
Read an \fIargus-file\fP at twice normal speed. |
| 1269 |
.RS |
| 1270 |
.nf |
| 1271 |
\fBra -r argus.file -M rtime:2\fP |
| 1272 |
.fi |
| 1273 |
.RE |
| 1274 |
.LP |
| 1275 |
Write \fBra\fP output in standard formats other than space separated columns. |
| 1276 |
.RS |
| 1277 |
.nf |
| 1278 |
\fBra -r argus.file -M json\fP |
| 1279 |
\fBra -r argus.file -M xml\fP |
| 1280 |
.fi |
| 1281 |
.RE |
| 1282 |
.br |
| 1283 |
.SH OUTPUT FORMAT |
| 1284 |
.LP |
| 1285 |
The following is a brief description of the default output of .B ra. |
| 1286 |
While this is by no means the 'preferred' set of data that one should |
| 1287 |
generate, it represents a starting point for using flow data in general. |
| 1288 |
This also looks pretty good on 80 column terminals. The standard 5-tuple |
| 1289 |
flow format is: |
| 1290 |
.RE |
| 1291 |
.RS |
| 1292 |
.nf |
| 1293 |
.sp .1 |
| 1294 |
\fI time flgs proto saddr.sport dir daddr.dport pkts bytes state\fP |
| 1295 |
.sp .1 |
| 1296 |
.fi |
| 1297 |
.RE |
| 1298 |
.TP 4 4 |
| 1299 |
.BI time |
| 1300 |
The format of the \fItime\fP field is specified by the .rarc file, using |
| 1301 |
syntax supported by the routine |
| 1302 |
.B strftime(3V). |
| 1303 |
The default is '%T'. |
| 1304 |
.B Argus |
| 1305 |
transactional data contains both starting and ending transaction times, |
| 1306 |
with precision down to the nanosecond. However, |
| 1307 |
.B ra |
| 1308 |
by default prints out the 'stime' field, the records starting time. |
| 1309 |
.TP 4 4 |
| 1310 |
.BI flgs |
| 1311 |
The \fIflgs\fP indicator consists of a fixed length field. That reports |
| 1312 |
various flow record and protocol identifiers, states and attributes. |
| 1313 |
The format is: |
| 1314 |
.nf |
| 1315 |
.sp .5 |
| 1316 |
|
| 1317 |
T - Time Corrected/Adjusted |
| 1318 |
N - Netflow Originated Data |
| 1319 |
* - Multiple sub-IP encapsulations |
| 1320 |
e - Ethernet encapsulated flow |
| 1321 |
M - Multiple mac addresses seen |
| 1322 |
m - MPLS encapsulated flow |
| 1323 |
l - LLC encapsulated flow |
| 1324 |
v - 802.1Q encapsulations/tags |
| 1325 |
w - 802.11 wireless encapsulation |
| 1326 |
p - PPP over Enternet encapsulated flow |
| 1327 |
i - ISL encapsulated flow |
| 1328 |
x - VXLAN encapsulation |
| 1329 |
G - GRE encapsulation |
| 1330 |
a - AH encapsulation |
| 1331 |
P - IP tunnel encapsulation |
| 1332 |
6 - IPv6 tunnel encapsulation |
| 1333 |
H - HDLC encapsulation |
| 1334 |
C - Cisco HDLC encapsulation |
| 1335 |
A - ATM encapsulation |
| 1336 |
S - SLL encapsulation |
| 1337 |
F - FDDI encapsulation |
| 1338 |
s - SLIP encapsulation |
| 1339 |
R - ARCNET encapsulation |
| 1340 |
I - ICMP events mapped to this flow |
| 1341 |
U - ICMP Unreachable event mapped to this flow |
| 1342 |
R - ICMP Redirect event mapped to this flow |
| 1343 |
T - ICMP Time Exceeded mapped to this flow |
| 1344 |
R - TCP port reuse seen |
| 1345 |
* - Both Src and Dst loss/retransmission |
| 1346 |
s - Src loss/retransmissions |
| 1347 |
d - Dst loss/retransmissions |
| 1348 |
g - Gaps in sequence numbers were observed |
| 1349 |
& - Both Src and Dst packet out of order |
| 1350 |
i - Src packets out of order |
| 1351 |
r - Dst packets out of order |
| 1352 |
@ - Both Src and Dst Window Closure |
| 1353 |
S - Src TCP Window Closure |
| 1354 |
D - Dst TCP Window Closure |
| 1355 |
* - Silence suppression used by both src and dst (RTP) |
| 1356 |
s - Silence suppression used by src |
| 1357 |
d - Silence suppression used by dst |
| 1358 |
E - Both Src and Dst ECN |
| 1359 |
x - Src Explicit Congestion Notification |
| 1360 |
t - Dst ECN |
| 1361 |
V - Fragment overlap seen (if fragments seen) |
| 1362 |
f - Partial Fragment (if fragments seen) |
| 1363 |
F - Fragments seen |
| 1364 |
O - multiple IP options set |
| 1365 |
S - IP option Strict Source Route |
| 1366 |
L - IP option Loose Source Route |
| 1367 |
T - IP option Time Stamp |
| 1368 |
+ - IP option Security |
| 1369 |
R - IP option Record Route |
| 1370 |
A - IP option Router Alert |
| 1371 |
U - unknown IP options set |
| 1372 |
.fi |
| 1373 |
|
| 1374 |
.TP 4 4 |
| 1375 |
.BI proto |
| 1376 |
The proto field indicates the upper protocol used in the transaction. |
| 1377 |
This field will contain the first 4 characters of the official |
| 1378 |
name for the protocol used, as defined in RFC-1700, and configured |
| 1379 |
using the /etc/protocols file. Argus attempts to discovery the Realtime |
| 1380 |
Transport Protocol (rtp), when it is being used. |
| 1381 |
When it encounters rtp, it will indicate its use in this field, with |
| 1382 |
the string 'rtp'. Use of the |
| 1383 |
.B -n |
| 1384 |
option, twice (-nn), will cause the actual protocol number to be |
| 1385 |
displayed. |
| 1386 |
.TP 4 4 |
| 1387 |
.BI shost |
| 1388 |
The \fIshost\fP field is meant to convey the originator of the |
| 1389 |
data in the flow. This field is protocol dependent, and for IP |
| 1390 |
protocols will contain the src IP address/name. For TCP and UDP, |
| 1391 |
the field will also contain the port number/name, separated by a |
| 1392 |
period. |
| 1393 |
|
| 1394 |
The 'src' is generally the entity that first transmits a packet |
| 1395 |
that is a part of a flow. However, the assignment of 'src' |
| 1396 |
and 'dst' semantics is somewhat complicated by the notion of loss, |
| 1397 |
or half-duplex monitoring, especially when connection-oriented |
| 1398 |
protocol |
| 1399 |
, such |
| 1400 |
as TCP, are |
| 1401 |
reported. In this case the 'src' is the entity that initiated |
| 1402 |
the flow. |
| 1403 |
.TP 3 3 |
| 1404 |
.BI dir |
| 1405 |
The \fIdir\fP field will have the direction of the transaction, |
| 1406 |
as can be best determined from the datum, and is used to indicate |
| 1407 |
which hosts are transmitting. For TCP, the dir field indicates |
| 1408 |
the actual source of the TCP connection, and the center character |
| 1409 |
indicating the state of the transaction. |
| 1410 |
.RS |
| 1411 |
.nf |
| 1412 |
.sp .5 |
| 1413 |
- - transaction was NORMAL |
| 1414 |
| - transaction was RESET |
| 1415 |
o - transaction TIMED OUT. |
| 1416 |
? - direction of transaction is unknown. |
| 1417 |
.fi |
| 1418 |
.RE |
| 1419 |
.TP 4 4 |
| 1420 |
.BI daddr |
| 1421 |
The \fIdaddr\fP field is meant to convey the recipient of the |
| 1422 |
data in the flow. Like the shost field, this field is protocol |
| 1423 |
dependent, and for IP protocols will contain the dst IP address/name, |
| 1424 |
and optionally the DSAP. |
| 1425 |
|
| 1426 |
.TP 4 4 |
| 1427 |
.BI metrics |
| 1428 |
\fImetrics\fP represent the general sets of fields that reflect |
| 1429 |
the activity of the flow. In the default output, there are 4 fields. |
| 1430 |
The first 2 are the packet counts and the last 2 are the byte counts |
| 1431 |
for the specific transaction. The fields are paired with the |
| 1432 |
previous host fields, and represent the packets transmitted by |
| 1433 |
the respective host. |
| 1434 |
.TP 4 4 |
| 1435 |
.BI state |
| 1436 |
The \fIstate\fP field indicates the principle state for the transaction |
| 1437 |
report, and is protocol dependent. For all the protocols, except ICMP, |
| 1438 |
this field reports on the basic state of a transaction. |
| 1439 |
.TP 4 4 |
| 1440 |
.in .25i |
| 1441 |
.B REQ|INT (requested|initial) |
| 1442 |
This indicates that this is the \fIinitial\fP state report for a |
| 1443 |
transaction and is seen only when the \fIargus-server\fP is in DETAIL |
| 1444 |
mode. For TCP connections this is \fBREQ\fP, indicating that a |
| 1445 |
connection is being requested. For the connectionless protocols, |
| 1446 |
such as UDP, this is \fBINT\fP. |
| 1447 |
.TP 4 4 |
| 1448 |
.in .25i |
| 1449 |
.B ACC (accepted) |
| 1450 |
This indicates that a request/response condition has occurred, |
| 1451 |
and that a transaction has been detected between two hosts. |
| 1452 |
For TCP, this indicates that a connection request has been |
| 1453 |
answered, and the connection will be accepted. This is only seen |
| 1454 |
when the \fIargus-server\fP is in DETAIL mode. For the |
| 1455 |
connectionless protocols, this state indicates that there |
| 1456 |
has been a single packet exchange between two hosts, and could |
| 1457 |
qualify as a request/response transaction. |
| 1458 |
.TP 4 4 |
| 1459 |
.in .25i |
| 1460 |
.B EST|CON (established|connected) |
| 1461 |
This record type indicates that the reported transaction is active, and |
| 1462 |
has been established or is continuing. This should be interpreted as a |
| 1463 |
state report of a currently active transaction. |
| 1464 |
For TCP, the EST state is only seen in DETAIL mode, and indicates |
| 1465 |
that the three way handshake has been completed for a connection. |
| 1466 |
.TP 4 4 |
| 1467 |
.in .25i |
| 1468 |
.B CLO (closed) |
| 1469 |
TCP specific, this record type indicates that the TCP connection has |
| 1470 |
closed normally. |
| 1471 |
.TP 4 4 |
| 1472 |
.in .25i |
| 1473 |
.B TIM (timeout) |
| 1474 |
Activity was not seen relating to this transaction, during the |
| 1475 |
.B argus |
| 1476 |
server's timeout period for this protocol. This state is seen |
| 1477 |
only when there were packets recorded since the last report for |
| 1478 |
this transaction. |
| 1479 |
|
| 1480 |
.LP |
| 1481 |
For the ICMP and ICMPv6 protocols, the \fIstate\fP field displays |
| 1482 |
specific aspects of the ICMP type. ICMP state can have the values: |
| 1483 |
.nf |
| 1484 |
.in 10 |
| 1485 |
|
| 1486 |
\fBECO\fP Echo Request |
| 1487 |
\fBECR\fP Echo Reply |
| 1488 |
\fBSRC\fP Source Quench |
| 1489 |
\fBRED\fP Redirect |
| 1490 |
\fBRTA\fP Router Advertisement |
| 1491 |
\fBRTS\fP Router Solicitation |
| 1492 |
\fBTXD\fP Time Exceeded |
| 1493 |
\fBPAR\fP Parameter Problem |
| 1494 |
\fBTST\fP Time Stamp Request |
| 1495 |
\fBTSR\fP Time Stamp Reply |
| 1496 |
\fBIRQ\fP Information Request |
| 1497 |
\fBIRR\fP Information Reply |
| 1498 |
\fBMAS\fP Mask Request |
| 1499 |
\fBMSR\fP Mask Reply |
| 1500 |
\fBURN\fP Unreachable network |
| 1501 |
\fBURH\fP Unreachable host |
| 1502 |
\fBURP\fP Unreachable port |
| 1503 |
\fBURF\fP Unreachable need fragmentation |
| 1504 |
\fBURS\fP Unreachable source failed |
| 1505 |
\fBURNU\fP Unreachable dst network unknown |
| 1506 |
\fBURHU\fP Unreachable dst host unknown |
| 1507 |
\fBURISO\fP Unreachable source host isolated |
| 1508 |
\fBURNPRO\fP Unreachable network administrative prohibited |
| 1509 |
\fBURHPRO\fP Unreachable host administrative prohibited |
| 1510 |
\fBURNTOS\fP Unreachable network TOS prohibited |
| 1511 |
\fBURHTOS\fP Unreachable host TOS prohibited |
| 1512 |
\fBURFIL\fP Unreachable administrative filter |
| 1513 |
\fBURPRE\fP Unreachable precedence violation |
| 1514 |
\fBURCUT\fP Unreachable precedence cutoff |
| 1515 |
|
| 1516 |
\fBMRQ\fP Membership Query |
| 1517 |
\fBMHR\fP Membership Report |
| 1518 |
\fBNRS\fP Neighbor Discovery Router Solicit |
| 1519 |
\fBNRA\fP Neighbor Discovery Router Advertisement |
| 1520 |
\fBNNS\fP Neighbor Discovery Neighbor Solicit |
| 1521 |
\fBNNA\fP Neighbor Discovery Neighbor Advertisement |
| 1522 |
\fBPTB\fP Packet Too Big |
| 1523 |
.fi |
| 1524 |
|
| 1525 |
|
| 1526 |
.LP |
| 1527 |
.br |
| 1528 |
.SH OUTPUT EXAMPLES |
| 1529 |
|
| 1530 |
These examples show typical \fBra\fP output, and demonstrates a |
| 1531 |
number of variations seen in \fBargus\fP data. This \fBra\fP |
| 1532 |
output was generated using the \fB-n\fP option to suppress |
| 1533 |
number translation. |
| 1534 |
|
| 1535 |
.in -6n |
| 1536 |
.ll +1n |
| 1537 |
.ft B |
| 1538 |
.nf |
| 1539 |
Thu 12/29 06:40:32 S tcp 132.3.31.15.6439 -> 12.23.14.77.23 CLO |
| 1540 |
.fi |
| 1541 |
.ft R |
| 1542 |
.in +6n |
| 1543 |
.ll -1n |
| 1544 |
This is a normal tcp transaction to the telnet port on host 12.23.14.77. |
| 1545 |
The IP Option strict source route was seen. |
| 1546 |
|
| 1547 |
.in -6n |
| 1548 |
.ll +1n |
| 1549 |
.ft B |
| 1550 |
.nf |
| 1551 |
Thu 12/29 06:40:32 tcp 132.3.31.15.6200 <| 12.23.14.77.25 RST |
| 1552 |
.fi |
| 1553 |
.ft R |
| 1554 |
.in +6n |
| 1555 |
.ll -1n |
| 1556 |
This tcp transaction from the smtp port of host 12.23.14.77 |
| 1557 |
was \fBRESET\fP. In many cases this indicates that the transaction was |
| 1558 |
rejected, however some os's will use RST to close an active TCP. Use |
| 1559 |
either the -z or -Zb options to specify exactly what conditions existed |
| 1560 |
during the connection. |
| 1561 |
|
| 1562 |
.in -6n |
| 1563 |
.ll +1n |
| 1564 |
.ft B |
| 1565 |
.nf |
| 1566 |
Thu 12/29 03:39:05 M igmp 12.88.14.10 <-> 128.2.2.10 CON |
| 1567 |
.fi |
| 1568 |
.ft R |
| 1569 |
.in +6n |
| 1570 |
.ll -1n |
| 1571 |
This is an igmp transaction state report, usually seen with MBONE traffic. |
| 1572 |
There was more than one source and destination MAC address pair used to |
| 1573 |
support the transaction, suggesting a possible routing loop. |
| 1574 |
|
| 1575 |
.in -6n |
| 1576 |
.ll +1n |
| 1577 |
.ft B |
| 1578 |
.nf |
| 1579 |
Thu 12/29 06:40:05 * tcp 12.23.14.23.1043 <-> 12.23.14.27.6000 TIM |
| 1580 |
.fi |
| 1581 |
.ft R |
| 1582 |
.fi |
| 1583 |
.in +6n |
| 1584 |
.ll -1n |
| 1585 |
This is an X-windows transaction, that has \fBTIMEDOUT\fP. Packets |
| 1586 |
were retransmitted during the connection. |
| 1587 |
|
| 1588 |
.in -6n |
| 1589 |
.ll +1n |
| 1590 |
.ft B |
| 1591 |
.nf |
| 1592 |
Thu 12/29 07:42:09 udp 12.9.1.115.2262 -> 28.12.141.6.139 INT |
| 1593 |
.fi |
| 1594 |
.ft R |
| 1595 |
.in +6n |
| 1596 |
.ll -1n |
| 1597 |
This is an initial netbios UDP transaction state report, indicating |
| 1598 |
that this is the first datagram encountered for this transaction. |
| 1599 |
|
| 1600 |
.in -6n |
| 1601 |
.ll +1n |
| 1602 |
.ft B |
| 1603 |
.nf |
| 1604 |
Thu 12/29 06:42:09 icmp 12.9.1.115 <-> 12.68.5.127 ECO |
| 1605 |
.fi |
| 1606 |
.ft R |
| 1607 |
.in +6n |
| 1608 |
.ll -1n |
| 1609 |
This example represents a "ping" of host 12.9.1.115, and its response. |
| 1610 |
.in -6n |
| 1611 |
.ll +1n |
| 1612 |
|
| 1613 |
.ss 12 |
| 1614 |
.cs B |
| 1615 |
.ft R |
| 1616 |
This next example shows the \fBra\fP output of a complete TCP transaction, |
| 1617 |
with the preceeding Arp and DNS requests, while reading from a remote |
| 1618 |
\fIargus-server\fP. The '*' in the CLO report indicates that at least |
| 1619 |
one TCP packet was retransmitted during the transaction. The hostnames |
| 1620 |
in this example are ficticious. |
| 1621 |
|
| 1622 |
.nf |
| 1623 |
% ra -S argus-tcp://\fIargus-server\fP and host i.qosient.com |
| 1624 |
ra: Trying argus-server port 561 |
| 1625 |
ra: connected Argus Version 3.0 |
| 1626 |
Sat 12/03 15:29:38 arp i.qosient.com who-has dsn.qosient.com INT |
| 1627 |
Sat 12/03 15:29:39 udp i.qosient.com.1542 <-> dns.qosient.53 INT |
| 1628 |
Sat 12/03 15:29:39 arp i.qosient.com who-has qosient.com INT |
| 1629 |
Sat 12/03 15:29:39 * tcp i.qosient.com.1543 -> qosient.com.smtp CLO |
| 1630 |
.fi |
| 1631 |
.ss 12 |
| 1632 |
.cs B |
| 1633 |
.ft |
| 1634 |
.fi |
| 1635 |
.br |
| 1636 |
.SH COPYRIGHT |
| 1637 |
Copyright (c) 2000-2024 QoSient. All rights reserved. |
| 1638 |
.SH AUTHORS |
| 1639 |
.nf |
| 1640 |
Carter Bullard ([email protected]). |
| 1641 |
.fi |
| 1642 |
.SH FILES |
| 1643 |
.BR /etc/ra.conf |
| 1644 |
.SH SEE ALSO |
| 1645 |
.BR rarc (5) |
| 1646 |
.BR argus (8) |
| 1647 |
.LP |
| 1648 |
Postel, Jon, |
| 1649 |
.IR "Internet Protocol", |
| 1650 |
.SM RFC |
| 1651 |
791, |
| 1652 |
Network Information Center, |
| 1653 |
.SM SRI |
| 1654 |
International, Menlo Park, Calif., |
| 1655 |
May 1981. |
| 1656 |
.LP |
| 1657 |
Postel, Jon, |
| 1658 |
.IR "Internet Control Message Protocol" , |
| 1659 |
.SM RFC |
| 1660 |
792, |
| 1661 |
Network Information Center, SRI International, Menlo Park, Calif., |
| 1662 |
May 1981. |
| 1663 |
.LP |
| 1664 |
Postel, Jon, |
| 1665 |
.IR "Transmission Control Protocol" , |
| 1666 |
.SM RFC |
| 1667 |
793, |
| 1668 |
Network Information Center, SRI International, Menlo Park, Calif., |
| 1669 |
May 1981. |
| 1670 |
.LP |
| 1671 |
Postel, Jon, |
| 1672 |
.IR "User Datagram Protocol" , |
| 1673 |
.SM RFC |
| 1674 |
768, |
| 1675 |
Network Information Center, SRI International, Menlo Park, Calif., |
| 1676 |
May 1980. |
| 1677 |
.LP |
| 1678 |
McCanne, Steven, and Van Jacobson, |
| 1679 |
.IR "The BSD Packet Filter: A New Architecture for User-level Capture" , |
| 1680 |
Lawrwnce Berkeley Laboratory, One Cyclotron Road, Berkeley, Calif., 94720, |
| 1681 |
December 1992. |