I don't have a lot to offer, but I have found it very helpful for debugging to 
put a sample syslog message (or multiple) above each SEC rule in my config 
file.  If for some reason, something doesn't work, you can check your regular 
expressions against the log message.

The next one may be a little off topic, but helpful.

I use a single config file and I always add 'continue=DontCont' when 
appropriate.  This prevents unneeded pattern matching and also makes the 
following possible.  I have a "Catch All" rule.  The last rule in the file 
matches everything and writes it all to a file.  This is helpful in finding log 
entries that I am not doing anything with.



On Sun, 16 Nov 2008, Tim Peiffer wrote:

> Date: Sun, 16 Nov 2008 18:34:19 -0600
> From: Tim Peiffer <[EMAIL PROTECTED]>
> To: [email protected]
> Subject: [Simple-evcorr-users] SEC configuration readability and style
> 
> I am rewriting several SEC configurations.  In an effort to document, is
> there a 'style' that one can offer?  Is there a configuration processor
> that can be used to clean up and beautify the configuration files?  Perl
> has perltidy.
>
> I would hope that since SEC is written in perl, the minicode is perl,
> and processes are in some form of shell that something is available.
>
> Please advise,
> Tim Peiffer
> Network Support Engineer
> Office of Information Technology
> University of Minnesota/NorthernLights GigaPOP
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Simple-evcorr-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users
>

-- 
Todd M. Hall
Sr. Network Analyst
Information Technology Infrastructure
Mississippi State University
[EMAIL PROTECTED]
662-325-9311 (phone)

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to