[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-cvs] ossec-hids: dbd-config.c (HEAD) dbd-config.h (HEAD) localfile-config.c (HEAD) [dcid]
Module name: ossec-hids
Changes by: dcid 07/08/25 10:24:03
Modified files:
dbd-config.c dbd-config.h localfile-config.c
Log message:
Description: Adding support for mysql logs (.err and .log). Adding support for PostgreSQL as a database output. A few more fixes for the hostinfo stuff... (yes, long morning -- you got to love
saturdays)
Reviewed by: dcid
Bug:
Index: dbd-config.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/config/dbd-config.c,v
diff -u -r1.2 -r1.3
--- dbd-config.c 23 Aug 2007 00:01:43 -0000 1.2
+++ dbd-config.c 25 Aug 2007 13:24:03 -0000 1.3
@@ -79,7 +79,7 @@
db_config->db_type = MYSQLDB;
}
- if(strcmp(node[i]->content, "postgresql") == 0)
+ else if(strcmp(node[i]->content, "postgresql") == 0)
{
#ifndef UPOSTGRES
merror(DB_COMPILED, ARGV0, node[i]->content);
Index: dbd-config.h
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/config/dbd-config.h,v
diff -u -r1.4 -r1.5
--- dbd-config.h 23 Aug 2007 00:01:43 -0000 1.4
+++ dbd-config.h 25 Aug 2007 13:24:03 -0000 1.5
@@ -21,6 +21,7 @@
unsigned int db_type;
unsigned int alert_id;
unsigned int server_id;
+ unsigned int error_count;
char *host;
char *user;
Index: localfile-config.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/config/localfile-config.c,v
diff -u -r1.9 -r1.10
--- localfile-config.c 21 Dec 2006 04:08:30 -0000 1.9
+++ localfile-config.c 25 Aug 2007 13:24:03 -0000 1.10
@@ -195,6 +195,9 @@
else if(strcmp(logf[pl].logformat, "nmapg") == 0)
{
}
+ else if(strcmp(logf[pl].logformat, "mysql_log") == 0)
+ {
+ }
else if(strcmp(logf[pl].logformat, EVENTLOG) == 0)
{
}
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.