📄 firestorm.conf.5
字号:
.TH firestorm.conf 5 "1 April 2002".IX firestorm.conf.SH NAMEfirestorm.conf \- Firestorm NIDS sensor configuration file.sp 0.SH DESCRIPTION\fBfirestorm.conf\fP is the configuration file which governs how the\fBfirestorm-nids(8)\fP NIDS sensor will run. Any line whose first character is'#' is considered a comment line. Empty lines are ignored..sp 1The file contains entries of the form:.sp 1.RS\fBkeyword <arg 1> <arg 2> ... <arg n>\fP.RE.sp 1Below follows a brief discussion of the usage of each keyword. Your firestormpackage should also include a sample configuration file which provides a goodcommentary..sp 1.TP 17.B firestorm_rootDirectory to chdir() to during operation. All other paths are relative to thisone. If ommitted it will default to "/"..sp 1.TP 17.B chrootThis is a boolean value. If set to "yes" (without the quotes)\fBfirestorm-nids(8)\fP will chroot to the directory given to it by the\fBfirestorm_root\fP directive. Note that all files (including plugins) thatfirestorm needs access to while running must be inside the chroot directory!.sp 1.TP 17.B effective_gidIf this value is non-zero and \fBfirestorm-nids(8)\fP is started as root,\fBfirestorm-nids(8)\fP will set its GID to this value. Firestorm will shed itsmembership of any other groups. Firestorm will NOT look up a group name so youmust enter the numeric GID..sp 1.TP 17.B effective_uidIf this value is non-zero and \fBfirestorm-nids(8)\fP is started as root;\fBfirestorm-nids(8)\fP will set its UID to this value. Firestorm will NOT lookup a user name so you must enter the numeric UID..sp 1.TP 17.B load_pluginsThe \fBload_plugins\fP directive tells \fBfirestorm-nids(8)\fP where it can findits plugins. You must specify exactly one directory path as the argument.\fBFirestorm(8)\fP will not recurse directories. You may specify multipledirectories by using multiple \fBload_plugins\fP directivesP..sp 1.TP 17.B load_pluginThe \fBload_plugin\fP directive is similar to the \fBload_plugins\fP directiveexcept for that it takes a path to a file rather than a directory. The fileshould be a valid \fBfirestorm-nids(8)\fP plugin. Firestorm will fail to startif any of the files specified by this directive do not load successfully..sp 1.TP 17.B logfileThis directive is perhaps a little bit of a misnomer. It essentially tellsfirestorm to daemonise and send all output to a logfile. The single argument isthe path to the logfile. You will nearly always want to set this directive. Notethat the logfile gets overwritten every time firestorm is run- it is only intended to be a record of what happened last time firestorm wasrun for diagnostic purposes. If you do not set this directive, firestorm willnot daemonize and will output log messages to stdout..sp 1.TP 17.B captureThis directive specifies where \fBfirestorm-nids(8)\fP should capture networkdata from. The first argument specifies what type of device it is capturingfrom and the second argument consists of plugin-specific options such as whatinterface to listen on or what file to read from etc....sp 1\fBpcap\fP - Most people will want to capture from the live network withlibpcap. This plugin has only one option 'if' which is used to specify whichinterface to listen on. (eg: if='eth0' or if='any' to listen on all interfaces)..sp 1\fBpcapfile\fP - \fBFirestorm(8)\fP can also capture from libpcap filescaptured, for example by tcpdump. This plugin also has only one argument 'file'to specify the filename. (eg: file='./captures/mynetwork.cap')..sp 1\fBlinux\fP - \fBFirestorm(8)\fP has the ability to support high-speed OSspecific capture plugins. Use this plugin if you run a recent Linux kernel withmmap() packet socket support. This plugin takes two options 'if' and 'blocks'where 'if' is an interface to listen on and blocks is a number specifying howmany blocks to use in the ringbuffer. Generally the higher this number the morememory is used and the less packets will be dropped - you can look in thefirestorm log output to get an idea of how much memory (in KB) it translates to.(eg: if='any' blocks=128)..sp 1\fBtcpdump\fP - This plugin is a hi-speed alternative to the pcapfile plugin anddoesn't depend on libpcap. This plugin is recommended over and above pcapfile.It takes the same arguments (eg: file='./myfile.cap')..sp 1.TP 17.B preprocessorThe \fBpreprocessor\fP directive instructs \fBfirestorm-nids(8)\fP to initialiseand use a preprocessor. No preprocessors are executed unless you specify themhere. The first argument to this directive is the name of the preprocessor andthe second (optional) parameter is to pass additional configuration to thepreprocessor itself..sp 1.TP 17.B outputThe \fBoutput\fP directive is used to configure the alert log directory and logrotation parameters. It requires at least one argument, 'dir' to be set and hasoptional parameters for fine tuning log rotation. The arguments are documentedbelow:.sp 1\fBdir\fP - Sets the location of the log spool directory..sp 1\fBsize\fP - Sets the upper bounds on the size of a log file before rotating. Setto zero to disable filesize based log rotation..sp 1\fBminutes\fP - Sets the maximum size that a logfile can grow to before beingrotated. Set to zero to disable time based log rotation..sp 1\fBstormwall\fP - Must be one of 'none', 'wait' or 'fail'. Tells firestorm howto notify stormwall of new logfiles becoming available. 'none' disables stormwallnotification, 'wait' tells firestorm to wait for stormwall to start before capturingpackages and 'fail' tells firestorm to immediately fail if stormwall isn't running..sp 1\fBbuf\fP - How large to set the output buffer, in bytes. Set to zero formaximum reliability. The higher this value, the higher the performance but thelower the reliability. The reliability hit can be ameliorated by log rotationsize or time limit. Rotated logfiles are *guaranteed* written to disk..TP 17.B signaturesThis directive is used to load attack signatures in to \fBfirestorm-nids(8)\fP.It requres 2 parameters, the first specifies the type of signatures being loaded(eg: snort) and the second specifies the path to the file. You can load as manysignature files as you need..sp 1.SH SEE ALSO\fBfirestorm-nids\fP(8).sp 1.SH AUTHOROriginal version by Gianni Tedesco..sp 1Man page by Gianni Tedesco <gianni@scaramanga.co.uk>.sp 1Copyright (C) 2002 by Gianni Tedesco <gianni@scaramanga.co.uk>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -