SEC reads lines from files, named pipes, or standard input, matches the lines with patterns (like regular expressions or Perl subroutines) for recognizing input events, and correlates events according to the rules in its configuration file(s). SEC can produce output by executing external programs (e.g., snmptrap or mail), by writing to files, by calling precompiled Perl subroutines, etc.
In order to install SEC, check where your Perl executable is located
and change the first line in the sec file accordingly.
For example, if your Perl executable is /usr/local/bin/perl,
set the first line to #!/usr/local/bin/perl -w.
Then copy sec and sec.man (SEC manpage)
to appropriate directories, e.g.,
cp sec /usr/local/bin
cp sec.man /usr/local/man/man1/sec.1
Since SEC is generally not tested against outdated Perl releases, it is recommended to run SEC with at least Perl 5.6 (see http://www.perl.org for the latest stable Perl release). Apart from Perl, SEC does not depend on other software. It uses Perl Getopt, POSIX, Fcntl, IO::Handle, and Sys::Syslog modules which are included in the standard installation of Perl.
Mailing list
There is a
mailing list for SEC users.
The purpose of this list is to facilitate discussion between SEC users,
so that you can ask questions from more experienced users and share your
experience with others.
Before posting a question, please
search
the list - there are some questions that get asked quite frequently and
you might find several answers in the mailing list archive.
Download
sec-2.6.2.tar.gz (January 23 2012)
... or you can visit SEC download page at Sourceforge (has also older versions available).
SEC has also been packaged for a number of Linux and BSD distributions.
You can try the following links for finding a package for your platform:
-
Fedora and RHEL packages at Koji
-
RPM package search at rpmfind.net
- Debian package info
-
Ubuntu package info
-
SLE and openSUSE package info
-
Gentoo package info
- OpenBSD package info
(if any of the links are broken, please contact the author).
Please don't contact the author with SEC usage questions - you should post such questions to the SEC mailing list.
The author wishes to thank the following people for supplying software patches and documentation updates:
Al Sorrell
James Brown
John P. Rouillard
Jon Frazier
Mark D. Nagel
Rick Casey
William Gertz