GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
flow-mask(1) FreeBSD General Commands Manual flow-mask(1)

flow-mask — Apply tags to flow files.

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

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

Byte order of output.
Add a comment.
Enable debugging.
Display help.
Keep time from input.
Load masks from mask_name. Defaults to /usr/local/etc/flow-tools/mask
Use active_def as the active tag definition(s).

The configuration file is a collection of definitions. A definition lists a sequence of prefixes and the mask length to replace the matching prefix with. Lines begining with # are treated as comments and ignored.

mask-definition command             Description
----------------------------------------------------------------------
mask-definition                     Begin mask-definition section

mask-definition foo prefix List the prefix to match on and the
replacement mask.
prefix 128.146/16 24

#
#file: masks
#
mask-definition foo
# All networks in 128.146/16 are /24's.

prefix 128.146/16 24 # except for 128.146.214/24, which are /32's.
prefix 128.146.214/24 32

flow-cat flows | flow-mask -mfoo -Fmasks | flow-print -f4


Configuration files:
Mask - /usr/local/etc/flow-tools/mask.cfg.

None known.

Mark Fullmer maf@splintered.net

flow-tools(1)


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.