|
NAMEsnortconfig - a simple yet complicated rules maintance systemSYNOPSISsnortconfig -file <SNORT_CONFIG> -config <CONFIG> [-verbose] [-directory <OUTPUT_DIRECTORY>] [-honeynet] [-inline]DESCRIPTIONsnortconfig is a rules modification system for snort that is generated from a configuration file. This allows a user to keep their ruleset updated without too much of a headache.OPTIONS
ConfigurationConfiguration is done using a basic INI style configuration.snortconfig supports three methods of configuration of rules. The methods are specifing what rules to apply changes to. These methods are files, sids, and classifications. This allows make broad changes to snort rules very quickly. By specifing files, changes are made to any rules in the specified files. By specifing sids, changes are made to specific snort rules based on the sid rule option. By specifing classifications, changes are made to any rules that have the specified classtype rule option. There are eight types of modifications that can be done on rules.
EXAMPLE[files] drop: porn.rules, virus.rules replace: rpc.rules, icmp.rules [sids] drop: 2122, 1866, 2108, 2109 disable: 300 [classifications] replace: shellcode-detect sdrop: kickass-porn, policy-violation NOTESThis tool does not handle multiline rules. Also, configuration is done all at once. It would be nice if each block was applied in order so you can apply multiple configurations in order for even more advanced configuration. Like I said, it would be nice, but its not there yet.AUTHORBrian Caswell <bmc@shmoo.com>REPORTING BUGSReport bugs to <bmc@shmoo.com>THANKSThanks to The Honeynet ProjectCOPYRIGHTCopyright (c) 2003 Brian CaswellSEE ALSOsnort(8)BUGSsnortconfig doesn't handle multiline rules properly. Bad things may happen if you use em. You have been warned.Since you probably didn't read this section of the manual until you ran into this bug, don't ask about it else I'll point and laugh because you didn't read the manual.
Visit the GSP FreeBSD Man Page Interface. |