=pod =head1 NAME B - Find unusual patterns that may indicate a corrupt file =head1 SYNOPSIS rwpackchecker [--value=TEST=VALUE] [--allowable-count=TEST=ALLOWED] [--print-all] {[--xargs] | [FILE [FILE...]]} =head1 DESCRIPTION B reads SiLK Flow records from the specified input files or from the standard input when no files are specified and looks for C patterns that may indicate that the file has been corrupted. =head1 OPTIONS Option names may be abbreviated if the abbreviation is unique or is an exact match for an option. A parameter to an option may be specified as B<--arg>=I or B<--arg> I, though the first form is required for options that take optional parameters. =over 4 =item B<--value>=I=I Set the value of I to the specified I; separate the test name from value by C<=>. The available Is are given below; the test name can be shortened to the shortest unique prefix. The form of I depends on the type of I: =over 4 =item * If I expects a minumum or maximum, I should be a number. =item * If I expects a list of IPs, I should the name of a file containing an IPset (see B). =item * If I expects a list of numbers (for example, ports or protocols), I should contain a comma separated list of integers and integer-ranges where a range is two integers separated by a hyphen (C<->). =back Repeat this switch for each value that you wish to set. =item B<--allowable-count>=I=I Allow the named I to be violated I of times before treating it as C. I is an integer value. Separate the test name from the allowed count by C<=>. Repeat this switch for each allowable count you wish to set. =item B<--print-all> Print the result of all tests for all input files. Normally only tests that are deemed C are printed. =item B<--xargs> Causes B to read file names from the standard input; the input should have one file name per line. B will open each file in turn and read records from it, as if the files had been listed on the command line. =back The following tests are always run: =over 4 =item B=I Byte-per-packet ratio is less than I. Default value: 1. Allowed count: 0. =item B=I Byte-per-packet ratio is greater than I. Default value: 16384. Allowed count: 0. =item B=I Byte-per-second ratio is less than I. Default value: 0. Allowed count: 0. =item B=I Byte-per-second ratio is greater than I. Default value: 4294967295. Allowed count: 0. =item B=I Packet count is less than I. Default value: 1. Allowed count: 0. =item B=I Packet count is greater than I. Default value: 67108864. Allowed count: 0. =item B=I Byte count is less than I. Default value: 1. Allowed count: 0. =item B=I Byte count is greater than I. Default value: 4294967295. Allowed count: 0. =item B=I TCP byte-per-packet ratio is less than I. Default value: 1. Allowed count: 0. =item B=I TCP byte-per-packet ratio is greater than I. Default value: 16384. Allowed count: 0. =item B=I UDP byte-per-packet ratio is less than I. Default value: 1. Allowed count: 0. =item B=I UDP byte-per-packet ratio is greater than I. Default value: 16384. Allowed count: 0. =item B=I ICMP byte-per-packet ratio is less than I. Default value: 1. Allowed count: 0. =item B=I ICMP byte-per-packet ratio is greater than I. Default value: 16384. Allowed count: 0. =back The following tests are only run when the B<--value> switch is used to specify a value for the test. =over 4 =item B=I Protocol is present in I. No default. Allowed count: 0. =item B=I Protocol is not present in I. No default. Allowed count: 0. =item B=I TCP Flag Combination is present in I. No default. Allowed count: 0. =item B=I TCP Flag Combination is not present in I. No default. Allowed count: 0. =item B=I Source IP is present in I. No default. Allowed count: 0. =item B=I Source IP is not present in I. No default. Allowed count: 0. =item B=I Destination IP is present in I. No default. Allowed count: 0. =item B=I Destination IP is not present in I. No default. Allowed count: 0. =item B=I Source Port is present in I. No default. Allowed count: 0. =item B=I Source Port is not present in I. No default. Allowed count: 0. =item B=I Destination Port is present in I. No default. Allowed count: 0. =item B=I Destination Port is not present in I. No default. Allowed count: 0. =item B=I Next Hop IP is present in I. No default. Allowed count: 0. =item B=I Next Hop IP is not present in I. No default. Allowed count: 0. =item B=I SNMP Input is present in I. No default. Allowed count: 0. =item B=I SNMP Input is not present in I. No default. Allowed count: 0. =item B=I SNMP Output is present in I. No default. Allowed count: 0. =item B=I SNMP Output is not present in I. No default. Allowed count: 0. =back =head1 SEE ALSO B, B =cut $SiLK: rwpackchecker.pod 6904 2007-04-14 13:00:08Z mthomas $ Local Variables: mode:text indent-tabs-mode:nil End: