[Snort-sigs] Updated snort.server script

Jeff Nathan jeff at ...95...
Mon Oct 20 16:38:09 EDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks,

There's an old version of the snort.server script I wrote in the 
contrib area on http://www.snort.org.  I've updated the old version to 
support command line arguments as well as hardcoded values (command 
line arguments will override hardcoded values).

The script is written to use ksh but will work properly if you switch 
ksh to bash or even zsh.

In addition to starting, stopping, restarting and displaying the status 
of Snort process running on an interface, you can run this script out 
of cron and it will email you when it has detected that Snort has 
stopped running (ie: it has crashed as opposed to you stopping it with 
the script).  And, just to be extra nice it throttles the emails so 
that only one is sent per hour.

You can download this fun little script here:

http://cerberus.sourcefire.com/~jeff/archives/scripts/snort.server


Enjoy.

- -Jeff
- --
http://cerberus.sourcefire.com/~jeff       (gpg/pgp key id 6923D3FD)
"Great spirits have always encountered violent opposition from
mediocre minds."   - Albert Einstein
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQE/lF5gEqr8+Gkj0/0RAkt/AJ9S/6q1ec6NX0Q9IsMWev8cVFzlkQCeKs63
tO4rWGnYujy43chOsqxBZhQ=
=YAsE
-----END PGP SIGNATURE-----





More information about the Snort-sigs mailing list