netflow,抓包
源代码在线查看: flow-mask.html.in
> > >flow-mask > NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.73 "> > CLASS="REFENTRY" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" > > NAME="AEN1" > CLASS="APPLICATION" >flow-mask > > > CLASS="REFNAMEDIV" > NAME="AEN6" > > >Name > CLASS="APPLICATION" >flow-mask > -- Apply tags to flow files. > CLASS="REFSYNOPSISDIV" > NAME="AEN10" > > >Synopsis > > CLASS="COMMAND" >flow-mask > [-hk] [-b CLASS="REPLACEABLE" > > big > >| CLASS="REPLACEABLE" > >little > >] [-C CLASS="REPLACEABLE" > > comment > >] [-d CLASS="REPLACEABLE" > > debug_level > >] [-m CLASS="REPLACEABLE" > > mask_fname > >] [-M CLASS="REPLACEABLE" > > active_def > >...] > > CLASS="REFSECT1" > NAME="AEN25" > > >DESCRIPTION > >The CLASS="COMMAND" >flow-mask > utility is used to modify the source and destination mask length's in flow records. > > CLASS="REFSECT1" > NAME="AEN29" > > >OPTIONS > > > CLASS="VARIABLELIST" > > >-b CLASS="REPLACEABLE" > > big > >| CLASS="REPLACEABLE" > >little > > > > >Byte order of output. > > >-C CLASS="REPLACEABLE" > > Comment > > > > >Add a comment. > > >-d CLASS="REPLACEABLE" > > debug_level > > > > >Enable debugging. > > >-h > > >Display help. > > >-k > > >Keep time from input. > > >-m CLASS="REPLACEABLE" > > mask_fname > > > > >Load masks from CLASS="FILENAME" >mask_name >. Defaults to CLASS="FILENAME" >@localstatedir@/cfg/mask > > > >-M CLASS="REPLACEABLE" > > mask_def > > > > >Use CLASS="REPLACEABLE" > >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. > > CLASS="SCREEN" >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
> > > CLASS="REFSECT1" > NAME="AEN73" > > >EXAMPLES > CLASS="INFORMALEXAMPLE" > NAME="AEN75" > > > > CLASS="PROGRAMLISTING" ># #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 > > CLASS="COMMAND" >flow-cat CLASS="FILENAME" >flows > | flow-mask -mfoo -Fmasks | flow-print -f4 > > > > > > CLASS="REFSECT1" > NAME="AEN80" > > >BUGS > >None known. > > CLASS="REFSECT1" > NAME="AEN83" > > >AUTHOR > >Mark Fullmer CLASS="EMAIL" >< HREF="mailto:maf@splintered.net" >maf@splintered.net >> > > > CLASS="REFSECT1" > NAME="AEN90" > > >SEE ALSO > > CLASS="APPLICATION" >flow-tools >(1) > > > >