[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-cvs] ossec-hids: read_snortfull.c (HEAD) [dcid]



Module name:	ossec-hids
Changes by:	dcid	07/09/13 23:38:19

Modified files:
	read_snortfull.c

Log message:
Description: More updates to the automatic reload of keys. Changing default monitored files on Windows...
Reviewed by: dcid
Bug:

Index: read_snortfull.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/logcollector/read_snortfull.c,v
diff -u -r1.15 -r1.16
--- read_snortfull.c	4 Jan 2007 19:16:00 -0000	1.15
+++ read_snortfull.c	14 Sep 2007 02:38:19 -0000	1.16
@@ -68,6 +68,14 @@
                     f_msg_size -= strlen(str)+1;
                     p = two;
                 }
+                else if(strncmp(str, "[Priority: ", 10) == 0)
+                {
+                    strncat(f_msg, "[Classification: Preprocessor] "
+                                   "[Priority: 3] ", f_msg_size);
+                    f_msg_size -= strlen(str)+1;
+                    p = two;
+                }
+                
                 /* If it is a preprocessor message, it will not have
                  * the classification.
                  */


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.