-Specifies the maximum number of nodes to track when doing ASN1 decoding. See Section 3.5.35 for more infor- mation and examples.
-config autogenerate preprocessor decoder rules
-
-If Snort was configured to enable decoder and preprocessor rules, this option will cause Snort to revert back to its original behavior of alerting if the decoder or preprocessor generates an event.
-config bpf file: <filename>
-Specifies BPF filters (snort -F).
-config checksum drop: <types>
-
-Types of packets to drop if invalid checksums. Values: none, noip, notcp, noicmp, noudp, ip, tcp, udp, icmp or all (only applicable in inline mode and for packets checked per checksum mode config option).
-config checksum mode: <types>
-
-
-See Table 3.2 for a list of classifications.
-config cs dir: <path>
-
-configure snort to provide a Unix socket in the path that can be used to issue commands to the running process. See Section 1.10 for more details.
-config daemon
-Forks as a daemon (snort -D).
-config decode data link
-Decodes Layer2 headers (snort -e).
-config default rule state: <state>
-
-Global configuration directive to enable or disable the load- ing of rules into the detection engine. Default (with or without directive) is enabled. Specify disabled to disable loading rules.
-config daq: <type>
-Selects the type of DAQ to instantiate. The DAQ with the highest version of the given type is selected if there are multiple of the same type (this includes any built-in DAQs).
-config daq mode: <mode>
-
-Select the DAQ mode: passive, inline, or read-file. Not all DAQs support modes. See the DAQ distro README for possible DAQ modes or list DAQ capabilities for a brief summary.
-config daq var: <name=value>
-
-Set a DAQ specific variable. Snort just passes this infor- mation down to the DAQ. See the DAQ distro README for possible DAQ variables.
-config daq dir: <dir>
-
-Tell Snort where to look for available dynamic DAQ mod- ules. This can be repeated. The selected DAQ will be the one with the latest version.
-config daq list: [<dir>]
-
-Tell Snort to dump basic DAQ capabilities and exit. You can optionally specify a directory to include any dynamic DAQs from that directory. You can also precede this op- tion with extra DAQ directory options to look in multiple directories.
-config decode esp: [enable | disable]
-
-config disable decode alerts
-Turns off the alerts generated by the decode phase of Snort.
-config disable inline init failopen
-Disables failopen thread that allows inline traffic to pass while Snort is starting up. Only useful if Snort was configured with –enable-inline-init-failopen. (snort --disable-inline-init-failopen)
-config disable ipopt alerts
-Disables IP option length validation alerts.
-Turns off alerts generated by T/TCP options.
-config dump chars only
-Turns on character dumps (snort -C).
-config dump payload
-Dumps application layer (snort -d).
-config dump payload verbose
-Dumps raw packet starting at link layer (snort -X).
-config enable decode drops
-Enables the dropping of bad packets identified by decoder (only applicable in inline mode).
-config enable decode oversized alerts Enable alerting on packets that have headers containing length fields for which the value is greater than the length
-of the packet.
-37
-config enable decode oversized drops
-Enable dropping packets that have headers containing length fields for which the value is greater than the length of the packet. enable decode oversized alerts must also be enabled for this to be effective (only applicable in inline mode).
-config enable deep teredo inspection
-Snort’s packet decoder only decodes Teredo (IPv6 over UDP over IPv4) traffic on UDP port 3544. This option makes Snort decode Teredo traffic on all UDP ports.
-config enable ipopt drops
-Enables the dropping of bad packets with bad/truncated IP options (only applicable in inline mode).
-config enable mpls multicast
-Enables support for MPLS multicast. This option is needed when the network allows MPLS multicast traffic. When this option is off and MPLS multicast traffic is de- tected, Snort will generate an alert. By default, it is off.
-config enable mpls overlapping ip
-Enables support for overlapping IP addresses in an MPLS network. In a normal situation, where there are no over- lapping IP addresses, this configuration option should not be turned on. However, there could be situations where two private networks share the same IP space and differ- ent MPLS labels are used to differentiate traffic from the two VPNs. In such a situation, this configuration option should be turned on. By default, it is off.
-config enable tcpopt drops
-Enables the dropping of bad packets with bad/truncated TCP option (only applicable in inline mode).
-config
-enable tcpopt experimental drops
-Enables the dropping of bad packets with experimental TCP option. (only applicable in inline mode).
-config enable tcpopt obsolete drops
-Enables the dropping of bad packets with obsolete TCP option. (only applicable in inline mode).
-config enable tcpopt ttcp drops
-Enables the dropping of bad packets with T/TCP option. (only applicable in inline mode).
-config enable ttcp drops
-Enables the dropping of bad packets with T/TCP option. (only applicable in inline mode).
-config event filter: memcap <bytes>
-Set global memcap in bytes for thresholding. Default is 1048576 bytes (1 megabyte).
-Specifies conditions about Snort’s event queue. You can use the following options:
-• max queue <integer> (max events supported)
-• log <integer> (number of events to log)
-• order events [priority|content length] (how to order events within the queue)
-See Section 2.4.4 for more information and examples.
-config flowbits size: <num-bits>
-Specifies the maximum number of flowbit tags that can be used within a rule set. The default is 1024 bits and maximum is 2048.
-config ignore ports: <proto> <port-list>
-Specifies ports to ignore (useful for ignoring noisy NFS traffic). Specify the protocol (TCP, UDP, IP, or ICMP), followed by a list of ports. Port ranges are supported.
-Set Snort to log IPv6 source and destination addresses as unified2 extra data events.
-config max attribute hosts: <hosts>
-Sets a limit on the maximum number of hosts to read from the attribute table. Minimum value is 32 and the maxi- mum is 524288 (512k). The default is 10000. If the number of hosts in the attribute table exceeds this value, an error is logged and the remainder of the hosts are ignored. This option is only supported with a Host Attribute Table (see section 2.7).
-config max attribute services per hostS:ets a per host limit on the maximum number of services to <hosts> read from the attribute table. Minimum value is 1 and the maximum is 65535. The default is 100. For a given host, if the number of services in the attribute table exceeds this value, an error is logged and the remainder of the services for that host are ignored. This option is only supported
-with a Host Attribute Table (see section 2.7).
-config max mpls labelchain len: <num-hdrs>
-Sets a Snort-wide limit on the number of MPLS headers a packet can have. Its default value is -1, which means that there is no limit on label chain length.
-config min ttl: <ttl>
-Sets a Snort-wide minimum ttl to ignore all traffic.
-Sets a Snort-wide MPLS payload type. In addition to ipv4, ipv6 and ethernet are also valid options. The default MPLS payload type is ipv4
-config no promisc
-Disables promiscuous mode (snort -p).
-config nolog
-Disables logging. Note: Alerts will still occur. (snort -N).
-config nopcre
-Disables pcre pattern matching.
-config obfuscate
-Obfuscates IP Addresses (snort -O).
-config order: <order>
-Changes the order that rules are evaluated, e.g.: pass alert log activation.
-config pcre match limit: <integer>
-Restricts the amount of backtracking a given PCRE op- tion. For example, it will limit the number of nested re- peats within a pattern. A value of -1 allows for unlimited PCRE, up to the PCRE library compiled limit (around 10 million). A value of 0 results in no PCRE evaluation. The snort default value is 1500.
-config pcre match limit recursion: <integer>
-Restricts the amount of stack used by a given PCRE op- tion. A value of -1 allows for unlimited PCRE, up to the PCRE library compiled limit (around 10 million). A value of 0 results in no PCRE evaluation. The snort default value is 1500. This option is only useful if the value is less than the pcre match limit
-Supply versioning information to configuration files. Base version should be a string in all configuration files including included ones. In addition, binding version must be in any file configured with config binding. This option is used to avoid race conditions when modifying and loading a configuration within a short time span - before Snort has had a chance to load a previous configuration.
-config profile preprocs
-Print statistics on preprocessor performance. See Section 2.5.2 for more details.
-config profile rules
-Print statistics on rule performance. See Section 2.5.1 for more details.
-Specifies a default algorithm to use for protected content rules.
-config quiet
-Disables banner and status reports (snort -q). NOTE: The command line switch -q takes effect immediately af- ter processing the command line parameters, whereas us- ing config quiet in snort.conf takes effect when the con- figuration line in snort.conf is parsed. That may occur after other configuration settings that result in output to console or syslog.
-config reference: <ref>
-Adds a new reference system to Snort, e.g.: myref http://myurl.com/?id=
-config reference net <cidr>
-For IP obfuscation, the obfuscated net will be used if the packet contains an IP address in the reference net. Also used to determine how to set up the logging directory structure for the session post detection rule option and ASCII output plugin - an attempt is made to name the log directories after the IP address that is not in the reference net.
-config response: [attempts
-<count>] [, device <dev>]
-Set the number of strafing attempts per injected response and/or the device, such as eth0, from which to send re- sponses. These options may appear in any order but must be comma separated. The are intended for passive mode.
-config show year
-Shows year in timestamps (snort -y).
-config so rule memcap: <bytes>
-Set global memcap in bytes for so rules that dynamically allocate memory for storing session data in the stream pre- processor. A value of 0 disables the memcap. Default is 0. Maximum value is the maximum value an unsigned 32 bit integer can hold which is 4294967295 or 4GB.
-config stateful
-Sets assurance mode for stream (stream is established).
-config tagged packet limit: <max-tag>
-When a metric other than packets is used in a tag option in a rule, this option sets the maximum number of packets to be tagged regardless of the amount defined by the other metric. See Section 3.7.5 on using the tag option when writing rules for more details. The default value when this option is not configured is 256 packets. Setting this option to a value of 0 will disable the packet limit.
-config threshold: memcap <bytes>
-Set global memcap in bytes for thresholding. Default is 1048576 bytes (1 megabyte). (This is deprecated. Use config event filter instead.)
-Uses UTC instead of local time for timestamps (snort -U).
-config verbose
-Uses verbose logging to STDOUT (snort -v).
-config vlan agnostic
-
-Causes Snort to ignore vlan headers for the purposes of connection and frag tracking. This option is only valid in the base configuration when using multiple configurations, and the default is off.
-config address space agnostic
-
-Causes Snort to ignore DAQ address space ID for the pur- poses of connection and frag tracking. This option is only valid in the base configuration when using multiple config- urations, and the default is off.
-config policy mode: tap|inline|inline test
-
-Sets the policy mode to either passive, inline or inline test.