File: flow-print.1.in

package info (click to toggle)
flow-tools 1%3A0.68-12.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 5,136 kB
  • ctags: 5,259
  • sloc: ansic: 43,197; sh: 1,674; perl: 661; python: 629; yacc: 303; makefile: 208; lex: 49
file content (159 lines) | stat: -rw-r--r-- 4,157 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
...\" $Header: /usr/src/docbook-to-man/cmd/RCS/docbook-to-man.sh,v 1.3 1996/06/17 03:36:49 fld Exp $
...\"
...\"	transcript compatibility for postscript use.
...\"
...\"	synopsis:  .P! <file.ps>
...\"
.de P!
\\&.
.fl			\" force out current output buffer
\\!%PB
\\!/showpage{}def
...\" the following is from Ken Flowers -- it prevents dictionary overflows
\\!/tempdict 200 dict def tempdict begin
.fl			\" prolog
.sy cat \\$1\" bring in postscript file
...\" the following line matches the tempdict above
\\!end % tempdict %
\\!PE
\\!.
.sp \\$2u	\" move below the image
..
.de pF
.ie     \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie     !\\*(f4 \{\
.	ft \\*(f4
.	ds f4\"
'	br \}
.el .ie !\\*(f3 \{\
.	ft \\*(f3
.	ds f3\"
'	br \}
.el .ie !\\*(f2 \{\
.	ft \\*(f2
.	ds f2\"
'	br \}
.el .ie !\\*(f1 \{\
.	ft \\*(f1
.	ds f1\"
'	br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n 
.TH "\fBflow-print\fP" "1"
.SH "NAME"
\fBflow-print\fP \(em Display flows in formatted ASCII\&.
.SH "SYNOPSIS"
.PP
\fBflow-print\fP [-hlnpw]  [-d\fI debug_level\fP]  [-f\fI format\fP] 
.SH "DESCRIPTION"
.PP
The \fBflow-print\fP utility will display flow data in
ASCII using pre-defined formats selectable with -f\&.

.PP
.nf
Some of the less descriptive column headers are defined below

Header     Description
-------------------------------
Sif           Source Interface ifIndex\&.
DiF           Destination Interface ifIndex\&.
Pr            Protocol\&.
P             Protocol\&.
SrcP          Source Port\&.
DstP          Destination Port\&.
Pkts          Packets\&.
Octets        Octets (Bytes)\&.
Active        Time in ms the flow was active\&.
B/Pk          Bytes per Packet\&.
Ts            Type of Service\&.
Fl            Flags, for TCP the cumulative or of the TCP control bits\&.
srcAS         Source AS\&.
dstAS         Destination AS\&.
Start         Start time of the flow\&.
End           End time of the flow\&.
router_sc     V7 IP address of router producing shorcuts\&.
peer_nexthop  V6 IP address of peer next hop IP address\&.
encap i/o     Version 6 only\&.  Encapsulation size in/out
duration      Time in ms the flow was active\&.
input         Input Interface ifIndex\&.
output        Output Interface ifIndex\&.
flows         Number of aggregated flows\&.
mTos          V8\&.x ToS of pkts that exceeded the contract\&.
xpackets      V8\&.x Packets that exceed the contract\&.
.fi
.SH "OPTIONS"
.IP "-d\fI debug_level\fP" 10
Enable debugging\&.
.IP "-f\fI format\fP" 10
Select format\&.  The default is appropriate for the export type of the
flow data\&.  Available formats are:
.PP
.nf
    0 1 line, interfaces, hex ports
    1 2 line (includes timing and flags)
    2 2 line candidate TCP syn attack flows
    3 1 line, no interfaces, decimal ports
    4 1 line with AS number
    5 1 line, 132 column
    6 show ip accounting emulation
    7 1 line, 132 column +router_id
    8 1 line, 132 column +encapsulation
    9 1 line with tag values
   10 AS aggregation
   11 Protocol Port aggregation
   12 Source Prefix aggregation
   13 Destination Prefix aggregation
   14 Prefix aggregation
   15 Destination aggregation (Catalyst)
   16 Source Destination aggregation (Catalyst)
   17 Full Flow (Catalyst)
   18 ToS AS Aggregation
   19 ToS Proto Port aggregation
   20 ToS Source Prefix aggregation
   21 ToS Destination Prefix aggregation
   22 ToS Prefix Aggregation
   23 ToS Prefix Port aggregation
   24 Full (Catalyst)
.fi
.IP "-h" 10
Display help\&.
.IP "-l" 10
Unbuffer output\&.
.IP "-n" 10
Use symbolic names where appropriate\&.
.IP "-p" 10
Display header information\&.
.IP "-w" 10
Wide output\&.
.SH "EXAMPLES"
.PP
Display flows in \fBflowfile\fP
.PP
  \fBflow-print < flowfile\fP
.SH "FILES"
.PP
  Configuration files:
    Symbols - \fB@localstatedir@/sym/*\fP\&.
.SH "BUGS"
.PP
None known\&.
.SH "AUTHOR"
.PP
Mark Fullmer maf@splintered\&.net
.SH "SEE ALSO"
.PP
\fBflow-tools\fP(1)
...\" created by instant / docbook-to-man, Fri 02 Jan 2004, 16:26