projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* lintian fixes
[ossec-hids.git]
/
src
/
headers
/
read-alert.h
diff --git
a/src/headers/read-alert.h
b/src/headers/read-alert.h
index
83bcd26
..
48b415f
100755
(executable)
--- a/
src/headers/read-alert.h
+++ b/
src/headers/read-alert.h
@@
-1,4
+1,5
@@
-/* @(#) $Id$ */
+/* @(#) $Id: ./src/headers/read-alert.h, 2011/09/08 dcid Exp $
+ */
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
@@
-14,7
+15,7
@@
#ifndef __CRALERT_H
#define __CRALERT_H
#ifndef __CRALERT_H
#define __CRALERT_H
-#define CRALERT_MAIL_SET 0x001
+#define CRALERT_MAIL_SET 0x001
#define CRALERT_EXEC_SET 0x002
#define CRALERT_READ_ALL 0x004
#define CRALERT_FP_SET 0x010
#define CRALERT_EXEC_SET 0x002
#define CRALERT_READ_ALL 0x004
#define CRALERT_FP_SET 0x010
@@
-25,13
+26,26
@@
typedef struct _alert_data
{
int rule;
int level;
{
int rule;
int level;
+ char *alertid;
char *date;
char *location;
char *comment;
char *group;
char *srcip;
char *date;
char *location;
char *comment;
char *group;
char *srcip;
+ int srcport;
+ char *dstip;
+ int dstport;
char *user;
char *user;
+ char *filename;
+ char *old_md5;
+ char *new_md5;
+ char *old_sha1;
+ char *new_sha1;
char **log;
char **log;
+#ifdef GEOIP
+ char *geoipdatasrc;
+ char *geoipdatadst;
+#endif
}alert_data;
}alert_data;