[Snort-devel] 'check config file' feature
Dirk_Geschke at ...802...
Wed Jun 2 02:19:01 EDT 2004
> Here is a patch which provides a 'Check Config' feature.
> Patch tested on:
> snort -Z -c /your/config/file
what is bad with the -T option of snort?
-T Snort will start up in self-test mode, checking all
the supplied command line switches and rules files
that are handed to it and indicating that every
thing is ready to proceed. This is a good switch
to use if daemon mode is going to be used, it veri
fies that the Snort configuration that is about to
be used is valid and won't fail at run time. Note,
Snort looks for either /etc/snort.conf or
./snort.conf. If your config lives elsewhere, use
the -c option to specify a valid config-file.
I think this is nearly the same as your patch offers?
More information about the Snort-devel