X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Fheaders%2Fread-alert.h;h=48b415fbe0aa26c0ecba4e730b2ea560b975795d;hb=6ef2f786c6c8ead94841b5f93baf9f43421f08c8;hp=1455e081c29128884fbb702e7822d6c4ba3156d6;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;p=ossec-hids.git diff --git a/src/headers/read-alert.h b/src/headers/read-alert.h index 1455e08..48b415f 100755 --- a/src/headers/read-alert.h +++ b/src/headers/read-alert.h @@ -1,11 +1,12 @@ -/* @(#) $Id: read-alert.h,v 1.7 2009/06/24 17:06:26 dcid Exp $ */ +/* @(#) $Id: ./src/headers/read-alert.h, 2011/09/08 dcid Exp $ + */ /* Copyright (C) 2009 Trend Micro Inc. * All right 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 3) as published by the FSF - Free Software + * License (version 2) as published by the FSF - Free Software * Foundation */ @@ -14,7 +15,7 @@ #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 @@ -25,13 +26,26 @@ typedef struct _alert_data { int rule; int level; + char *alertid; char *date; char *location; char *comment; char *group; char *srcip; + int srcport; + char *dstip; + int dstport; char *user; + char *filename; + char *old_md5; + char *new_md5; + char *old_sha1; + char *new_sha1; char **log; +#ifdef GEOIP + char *geoipdatasrc; + char *geoipdatadst; +#endif }alert_data;