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

[ossec-cvs] ossec-hids: decode-xml.c (HEAD) decoder.c (HEAD) decoder.h (HEAD) decoders_list.c (HEAD) plugin_decoders.h (HEAD) [dcid]



Module name:	ossec-hids
Changes by:	dcid	07/07/19 21:19:25

Modified files:
	decode-xml.c decoder.c decoder.h decoders_list.c plugin_decoders.h

Log message:
Description: Adding better error messages, symantec ws rule, fixing a issue on the e-mail subjects (when do_not_group option is used) and changing parts of the code to gplv3 (more comming).
Reviewed by: dcid
Bug:

Index: decode-xml.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/analysisd/decoders/decode-xml.c,v
diff -u -r1.38 -r1.39
--- decode-xml.c	20 Jun 2007 22:06:09 -0000	1.38
+++ decode-xml.c	20 Jul 2007 00:19:25 -0000	1.39
@@ -1,12 +1,15 @@
 /* @(#) $Id$ */
 
-/* Copyright (C) 2005 Daniel B. Cid <dcid@xxxxxxxxx>
- * All right reserved.
+/* Copyright (C) 2003-2007 Daniel B. Cid <dcid@xxxxxxxxx>
+ * All rights reserved.
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 2) as published by the FSF - Free Software
- * Foundation
+ * License (version 3) as published by the FSF - Free Software
+ * Foundation.
+ *
+ * License details at the LICENSE file included with OSSEC or 
+ * online at: http://www.ossec.net/en/licensing.html
  */
 
 

Index: decoder.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/analysisd/decoders/decoder.c,v
diff -u -r1.36 -r1.37
--- decoder.c	22 Jun 2007 22:06:52 -0000	1.36
+++ decoder.c	20 Jul 2007 00:19:25 -0000	1.37
@@ -1,17 +1,17 @@
 /* @(#) $Id$ */
 
-/* Copyright (C) 2005-2006 Daniel B. Cid <dcid@xxxxxxxxx>
- * All right reserved.
+/* Copyright (C) 2003-2007 Daniel B. Cid <dcid@xxxxxxxxx>
+ * All rights reserved.
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 2) as published by the FSF - Free Software
- * Foundation
+ * License (version 3) as published by the FSF - Free Software
+ * Foundation.
+ *
+ * License details at the LICENSE file included with OSSEC or 
+ * online at: http://www.ossec.net/en/licensing.html
  */
 
-
-/* v0.1: 2005/06/21
- */
  
 #include "shared.h"
 #include "os_regex/os_regex.h"

Index: decoder.h
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/analysisd/decoders/decoder.h,v
diff -u -r1.17 -r1.18
--- decoder.h	5 May 2007 20:30:36 -0000	1.17
+++ decoder.h	20 Jul 2007 00:19:25 -0000	1.18
@@ -1,12 +1,15 @@
 /* @(#) $Id$ */
 
-/* Copyright (C) 2005,2006 Daniel B. Cid <dcid@xxxxxxxxx>
- * All right reserved.
+/* Copyright (C) 2003-2007 Daniel B. Cid <dcid@xxxxxxxxx>
+ * All rights reserved.
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 2) as published by the FSF - Free Software
- * Foundation
+ * License (version 3) as published by the FSF - Free Software
+ * Foundation.
+ *
+ * License details at the LICENSE file included with OSSEC or 
+ * online at: http://www.ossec.net/en/licensing.html
  */
 
 

Index: decoders_list.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/analysisd/decoders/decoders_list.c,v
diff -u -r1.3 -r1.4
--- decoders_list.c	7 Apr 2007 02:28:56 -0000	1.3
+++ decoders_list.c	20 Jul 2007 00:19:25 -0000	1.4
@@ -1,15 +1,18 @@
 /* @(#) $Id$ */
 
-/* Copyright (C) 2005-2007 Daniel B. Cid <dcid@xxxxxxxxx>
- * All right reserved.
+/* Copyright (C) 2003-2007 Daniel B. Cid <dcid@xxxxxxxxx>
+ * All rights reserved.
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 2) as published by the FSF - Free Software
- * Foundation
+ * License (version 3) as published by the FSF - Free Software
+ * Foundation.
+ *
+ * License details at the LICENSE file included with OSSEC or 
+ * online at: http://www.ossec.net/en/licensing.html
  */
 
- 
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>

Index: plugin_decoders.h
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/analysisd/decoders/plugin_decoders.h,v
diff -u -r1.2 -r1.3
--- plugin_decoders.h	5 Apr 2007 00:54:02 -0000	1.2
+++ plugin_decoders.h	20 Jul 2007 00:19:25 -0000	1.3
@@ -1,12 +1,15 @@
 /* @(#) $Id$ */
 
-/* Copyright (C) 2007 Daniel B. Cid <dcid@xxxxxxxxx>
- * All right reserved.
+/* Copyright (C) 2003-2007 Daniel B. Cid <dcid@xxxxxxxxx>
+ * All rights reserved.
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 2) as published by the FSF - Free Software
- * Foundation
+ * License (version 3) as published by the FSF - Free Software
+ * Foundation.
+ *
+ * License details at the LICENSE file included with OSSEC or 
+ * online at: http://www.ossec.net/en/licensing.html
  */
 
 
@@ -18,10 +21,21 @@
 void *PF_Decoder_Init(char *p_name);
 void *PF_Decoder_Exec(void *lf);
 
+/* Plugin for Symantec Web Security */
+void *SymantecWS_Decoder_Exec(Eventinfo *lf);
+void *SymantecWS_Decoder_Init(char *p_name);
+
 
-char *(plugin_decoders[])={"PF_Decoder",NULL};
-void *(plugin_decoders_init[]) = {PF_Decoder_Init, NULL};
-void *(plugin_decoders_exec[]) = {PF_Decoder_Exec, NULL};
+/* List of plugins. All three lists must be in the same order */
+char *(plugin_decoders[])={"PF_Decoder",
+                           "SymantecWS_Decoder", 
+                           NULL};
+void *(plugin_decoders_init[]) = {PF_Decoder_Init, 
+                                  SymantecWS_Decoder_Init, 
+                                  NULL};
+void *(plugin_decoders_exec[]) = {PF_Decoder_Exec, 
+                                  SymantecWS_Decoder_Exec,
+                                  NULL};
 
                     
 


OSSEC home | Main Index | Thread Index


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