File tree 1 file changed +12
-2
lines changed
1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 23
23
* libpcap 0.4 (or higher) is required.
24
24
*/
25
25
26
- #define VERSION "0.5 "
26
+ #define VERSION "0.6 "
27
27
// Rev 0.1 - Initial Release
28
28
// Rev 0.5 - Added checksum support
29
29
// We have developed a suspicion that there are checksums that will almost never appear
30
30
// and others that will be quite common. Thought we'd add something to test this out.
31
+ // Rev 0.6 - Added more detailed help as requested.
31
32
32
33
33
34
#include <stdio.h>
@@ -377,7 +378,16 @@ int get_header_length(unsigned char *packet)
377
378
378
379
void usage ()
379
380
{
380
- printf ("Usage:\n\tpae -r source_file [-h|i|s|c|d|S] [-q] [-a <anomalosity value>]\n" );
381
+ printf ("Usage:\n\tpae -r source_file [-h|i|s|c|d|S] [-q] [-a <anomalosity value>]\n\n" );
382
+ printf ("\t-h\tThis help\n" );
383
+ printf ("\t-i\tExtract and count occurrences of discrete IP ID values.\n" );
384
+ printf ("\t-s\tExtract and count occurrences of discrete source port numbers.\n" );
385
+ printf ("\t-c\tExtract and count occurrences of discrete IP checksum values.\n" );
386
+ printf ("\t-d\tExtract and count occurrences of discrete destination port numbers.\n" );
387
+ printf ("\t-S\tExtract and count occurrences of discrete TCP sequence numbers\n" );
388
+ printf ("\t-q\tSuppress internal hash table statistics information\n" );
389
+ printf ("\t-a\tConfigure an 'Anomalosity' value (how anomalous is this?) as a filter for values displayed.\n" );
390
+ printf ("\t\tIf given no extraction options, PAE will extract and count discrete occurrences of the first 32 bytes of data\n" );
381
391
exit (3 );
382
392
}
383
393
You can’t perform that action at this time.
0 commit comments