oinkmaster -VERSION (return code: 0)
Oinkmaster v2.0, Copyright (C) 2001-2008 Andreas Östling <andreaso@andreaso.se>
oinkmaster -h (return code: 0)
Oinkmaster v2.0, Copyright (C) 2001-2008 Andreas Östling <andreaso@andreaso.se>
Usage: oinkmaster -o <outdir> [options]
<outdir> is where to put the new files.
This should be the directory where you store your Snort rules.
Options:
-b <dir> Backup your old rules into <dir> before overwriting them
-c Careful mode (dry run) - check for changes but do not update anything
-C <file> Use this configuration file instead of the default
May be specified multiple times to load multiple files
-e Enable all rules that are disabled by default
-h Show this usage information
-i Interactive mode - you will be asked to approve the changes (if any)
-m Minimize diff when printing result by removing common parts in rules
-q Quiet mode - no output unless changes were found
-Q Super-quiet mode - like -q but even more quiet
-r Check for rules files that exist in the output directory
but not in the downloaded rules archive
-s Leave out details in rules results, just print SID, msg and filename
-S <file> Look for new variables in this file in the downloaded archive instead
of the default (snort.conf). Used in conjunction with -U.
May be specified multiple times to search multiple files.
-T Config test - just check configuration file(s) for errors/warnings
-u <url> Download from this URL instead of URL(s) in the configuration file
(http|https|ftp|file|scp:// ... .tar.gz|.gz, or dir://<dir>)
May be specified multiple times to grab multiple rules archives
-U <file> Merge new variables from downloaded snort.conf(s) into <file>
-v Verbose mode (debug)
-V Show version and exit