|
|||||||||||
|
[Snort-devel] Bug? Problem inserting a new signature
From: Piotr Woliñski <pwolinski(at)dfqs.pl>
Date: Thu Apr 08 2004 - 05:05:23 EDT
I see somethig strange in logs:
warning (SELECT sig_id FROM signature WHERE sig_name = 'ICMP PING
NMAP' AND sig_rev = 1 AND sig_sid = 469 ) returned more than one
result
I do some investigation in psql: snort=# select sig_name, count(*) as a from signature snort-# group by sig_name having count(*)>1; sig_name | a -----------------------------------+--- ICMP PING NMAP | 3 SHELLCODE x86 NOOP | 2 WEB-MISC http directory traversal | 2
I supose multiple sig_name is not allowed.
I try to fix it, but i can't see any foreign keys...
I don't want to break something.
BTW. Why db doesn't have some unique constransts and foreing key? Is it problem with poor performance?
How to avoid these problems in future?
-- _____________________________________________________ Piotr Woliński Dom Finansowy QS ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration. http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Snort-devel mailing list Snort-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/snort-develReceived on Thu Apr 8 04:54:07 2004 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:08:10 EDT |
||||||||||
|
|||||||||||