flow-mask(1) General Commands Manual flow-mask(1)

2
3
4

NAME

6       flow-mask — Apply tags to flow files.
7

SYNOPSIS

9       flow-mask  [-hk]   [-b big|little]  [-C comment]  [-d debug_level]  [-m
10       mask_fname]  [-M active_def ...]
11

DESCRIPTION

13       The flow-mask utility is used to modify the source and destination mask
14       length's in flow records.
15

OPTIONS

17       -b big|little
18                 Byte order of output.
19
20       -C Comment
21                 Add a comment.
22
23       -d debug_level
24                 Enable debugging.
25
26       -h        Display help.
27
28       -k        Keep time from input.
29
30       -m mask_fname
31                 Load   masks   from   mask_name.    Defaults   to  /var/flow-
32                 tools/cfg/mask
33
34       -M mask_def
35                 Use active_def as the active tag definition(s).
36
37       The configuration file is a collection of  definitions.   A  definition
38       lists  a sequence of prefixes and the mask length to replace the match‐
39       ing prefix with.  Lines begining with # are  treated  as  comments  and
40       ignored.
41
42       mask-definition command             Description
43       ----------------------------------------------------------------------
44       mask-definition                     Begin mask-definition section
45                                           mask-definition foo
46
47       prefix                              List the prefix to match on and the
48                                           replacement mask.
49                                           prefix 128.146/16 24
50

EXAMPLES

52       #
53       #file: masks
54       #
55       mask-definition foo
56       # All networks in 128.146/16 are /24's.
57        prefix 128.146/16 24
58       # except for 128.146.214/24, which are /32's.
59        prefix 128.146.214/24 32
60
61       flow-cat flows | flow-mask -mfoo -Fmasks | flow-print -f4
62

FILES

64         Configuration files:
65           Mask - /var/flow-tools/cfg/mask.cfg.
66

BUGS

68       None known.
69

AUTHOR

71       Mark Fullmer maf@splintered.net
72

SEE ALSO

74       flow-tools(1)
75
76
77
78                                                                  flow-mask(1)
Impressum