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

[ossec-dev] ossec-hids: global-config.c (HEAD) global-config.h (HEAD) [dcid]



Module name:	ossec-hids
Changes by:	dcid	06/08/28 15:45:25

Modified files:
	global-config.c global-config.h

Log message:
Description: Long commit.
-Increased size requirement for agent names.
-Added monitor daemon.
-Re organized client/server comminication.
-Removed false positives from rootkits.
Reviewed by: dcid (more tests needed)
Bug:

Index: global-config.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/config/global-config.c,v
diff -u -r1.9 -r1.10
--- global-config.c	10 Aug 2006 20:11:29 -0000	1.9
+++ global-config.c	28 Aug 2006 18:45:25 -0000	1.10
@@ -202,15 +202,7 @@
         /* compress alerts */
         else if(strcmp(node[i]->element, xml_compress_alerts) == 0)
         {
-            if(strcmp(node[i]->content, "yes") == 0)
-                { if(Config) Config->compress_alerts = 1;}
-            else if(strcmp(node[i]->content, "no") == 0)
-                { if(Config) Config->compress_alerts = 0;}
-            else
-            {
-                merror(XML_VALUEERR,ARGV0,node[i]->element,node[i]->content);
-                return(OS_INVALID);
-            }
+            /* removed from here -- compatility issues only */
         }
         /* Integrity */
         else if(strcmp(node[i]->element, xml_integrity) == 0)

Index: global-config.h
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/config/global-config.h,v
diff -u -r1.4 -r1.5
--- global-config.h	10 Aug 2006 20:11:29 -0000	1.4
+++ global-config.h	28 Aug 2006 18:45:25 -0000	1.5
@@ -20,7 +20,6 @@
 typedef struct __Config
 {
     u_int8_t logall;
-    u_int8_t compress_alerts;
     u_int8_t stats;
     u_int8_t integrity;
     u_int8_t rootcheck;


OSSEC home | Main Index | Thread Index


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