Debian Codegraph @

examples/radump/README

raw
1 /*
2 * Argus-5.0 Client Software. Tools to read, analyze and manage Argus data.
3 * Copyright (c) 2000-2024 QoSient, LLC
4 * All rights reserved.
5 *
6 * THE ACCOMPANYING PROGRAM IS PROPRIETARY SOFTWARE OF QoSIENT, LLC,
7 * AND CANNOT BE USED, DISTRIBUTED, COPIED OR MODIFIED WITHOUT
8 * EXPRESS PERMISSION OF QoSIENT, LLC.
9 *
10 * QOSIENT, LLC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS
11 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12 * AND FITNESS, IN NO EVENT SHALL QOSIENT, LLC BE LIABLE FOR ANY
13 * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
15 * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
16 * ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
17 * THIS SOFTWARE.
18 *
19 * radump - decode argus record captured user data
20 *
21 * Author: Carter Bullard [email protected]
22 */
23
24
25 This directory contains source code for radump.1, an example program that
26 processes the user data found in argus records, and decodes them using
27 the style of tcpdump.
28
29 The basic idea is that argus has parsed all the traditional transport
30 headers, TCP, UDP, ICMP, etc ... and the payload data that argus can
31 capture is a binary copy of the data in the packet found just after these
32 transport headers. Tcpdump, has printing routines for payloads, generally
33 categorized by transport protocol type and port numbers. Because this
34 data is available in argus flow status records, the tcpdump " printers "
35 can be used, with only minor modification.
36
37 Because argus data usually does not capture the complete packet payload,
38 the routines must ensure that they deal with truncation well. Tcpdump
39 generally does a great job at this.
40
41 Radump.1 is an example, and as such, you should be able to add your own
42 decoders, pretty quickly. Use one of the ones provided in the example
43 as a guide.
44
45 See the manpage for radump.1 for details.