Re: [Simple-evcorr-users] SEC graceful termination question...

2012-07-20 Thread Justin J. Novack
t yourself. :) -- Justin J. Novack -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include en

Re: [Simple-evcorr-users] counting your losses

2011-11-10 Thread Justin J. Novack
event came in. If you include your DHCP sec.cfg, we might be better able to help. -- Justin J. Novack Official Disturber of the Peace On Wed, Nov 9, 2011 at 10:25 PM, Tim Peiffer wrote: > I am trying to instrument sections on our network where various protocol > chat dialog is missing.

Re: [Simple-evcorr-users] Defining a Map for Data - SOLVED

2011-10-24 Thread Justin J. Novack
the file. type=Single desc=Dynamically reload Hashes ptype=SubStr continue=TakeNext pattern=SEC_SOFT**RESTART context=SEC_INTERNAL_EVENT action=eval %a ( open(FILE, ") { chomp; my ($key, $val) = split /=/; $hash{"$key"} = $val; }) Or, if feeling adventurous, it's merely a .pl f

Re: [Simple-evcorr-users] Regular Expression Patterns

2011-10-24 Thread Justin J. Novack
The regex to match a blank line would be ^$ -- Justin J. Novack Official Disturber of the Peace On Sun, Oct 23, 2011 at 11:44 AM, Luis David Leija wrote: > > > -- > L David Leija ___ > Simple-evcorr-users mailing list > S

Re: [Simple-evcorr-users] Defining a Map for Data - SOLVED

2011-10-19 Thread Justin J. Novack
t you want with %host as normal. (P.S. - David, since a reload will reload the hashes, does that count as completing the extra credit? Do contexts persist a 'kill $PID -HUP'?) --- Justin J. Novack Official Disturber of the Peace ---

Re: [Simple-evcorr-users] Defining a Map for Data

2011-10-19 Thread Justin J. Novack
Sorry for the double post, I wanted to post an intermediate solution: The correct context line for the second rule would be: context= =(if (exists $hash{"GigabitEthernet1/37"}) { return 1;} ) This should be the last stumbling block... -- Justin J. Novack Official Disturber of

Re: [Simple-evcorr-users] Defining a Map for Data

2011-10-19 Thread Justin J. Novack
a' Wed Oct 19 13:36:16 2011: Variable '%a' set to '' Wed Oct 19 13:36:16 2011: Evaluating code 'my $line; foreach (keys %hash) { $line .= "$_ = $hash{$_}\n"; }; chomp($line); return $line' and setting variable '%a' Wed Oct 19 13:36:16 2011: Vari

Re: [Simple-evcorr-users] How to force SEC not to process a file from start when it is being edited.

2011-10-19 Thread Justin J. Novack
ng content to the end, do a "echo >>". Otherwise, stop editing the file that SEC wants to sequential read :) Or write an intermediary process. It's not SEC's fault, it doesn't know it's the same file. -- Justin J. Novack Official Disturber of the Peace On

Re: [Simple-evcorr-users] How to force SEC not to process a file from start when it is being edited.

2011-10-19 Thread Justin J. Novack
File-system wise, on save, the file is created from 0 bytes and repopulated, so SEC might not know that it was a user-edit. This could happen with nano (pico), try a more powerful editor like vim (or emacs). -- Justin J. Novack Official Disturber of the Peace On Wed, Oct 19, 2011 at 6:55 AM

Re: [Simple-evcorr-users] Defining a Map for Data

2011-10-18 Thread Justin J. Novack
#SECPERFORMANCE) and just deal with adding a line (for each friendly named port) and recompiling the rules file every time I want to change. Thoughts? -- Justin J. Novack Official Disturber of the Peace On Tue, Oct 18, 2011 at 1:52 PM, John P. Rouillard wrote: > > In message >

[Simple-evcorr-users] Defining a Map for Data

2011-10-18 Thread Justin J. Novack
ave to write that rule once, but I can map interfaces with friendly names? GigabitEthernet4/38, IMPORTANT SERVER 1 GigabitEthernet4/39, IMPORTANT SERVER 2 GigabitEthernet4/40, IMPORTANT SERVER 3 Thank you kindly, -- Justin J. Novack Official Disturber of the Peace -