projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
obrisane nepotrebne datoteke od zadnjeg builda
[ossec-hids.git]
/
src
/
config
/
global-config.h
diff --git
a/src/config/global-config.h
b/src/config/global-config.h
old mode 100755
(executable)
new mode 100644
(file)
index
57dcf6b
..
7744663
--- a/
src/config/global-config.h
+++ b/
src/config/global-config.h
@@
-1,5
+1,3
@@
-/* @(#) $Id$ */
-
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
@@
-9,17
+7,15
@@
* Foundation
*/
* Foundation
*/
-
-
#ifndef _CCONFIG__H
#define _CCONFIG__H
#ifndef _CCONFIG__H
#define _CCONFIG__H
-#include "shared.h"
+#include "shared.h"
/* Configuration structure */
/* Configuration structure */
-typedef struct __Config
-{
+typedef struct __Config {
u_int8_t logall;
u_int8_t logall;
+ u_int8_t logall_json;
u_int8_t stats;
u_int8_t integrity;
u_int8_t syscheck_auto_ignore;
u_int8_t stats;
u_int8_t integrity;
u_int8_t syscheck_auto_ignore;
@@
-29,7
+25,9
@@
typedef struct __Config
u_int8_t mailbylevel;
u_int8_t logbylevel;
u_int8_t logfw;
u_int8_t mailbylevel;
u_int8_t logbylevel;
u_int8_t logfw;
-
+ int decoder_order_size;
+
+
/* Prelude support */
u_int8_t prelude;
/* which min. level the alert must be sent to prelude */
/* Prelude support */
u_int8_t prelude;
/* which min. level the alert must be sent to prelude */
@@
-37,30
+35,42
@@
typedef struct __Config
/* prelude profile name */
char *prelude_profile;
/* prelude profile name */
char *prelude_profile;
- /* Picviz support */
- u_int8_t picviz;
- char *picviz_socket;
+ /* GeoIP DB */
+ char *geoipdb_file;
+
+ /* ZEROMQ Export */
+ u_int8_t zeromq_output;
+ char *zeromq_output_uri;
+ char *zeromq_output_server_cert;
+ char *zeromq_output_client_cert;
+
+ /* JSONOUT Export */
+ u_int8_t jsonout_output;
/* Not currently used */
u_int8_t keeplogdate;
/* Mail alerting */
short int mailnotify;
/* Not currently used */
u_int8_t keeplogdate;
/* Mail alerting */
short int mailnotify;
-
- /* For the active response */
+
+ /* Custom Alert output*/
+ short int custom_alert_output;
+ char *custom_alert_output_format;
+
+ /* For the active response */
int ar;
int ar;
-
+
/* For the correlation */
int memorysize;
/* For the correlation */
int memorysize;
-
- /* List of files to ignore (syscheck) */
+
+ /* List of files to ignore (syscheck) */
char **syscheck_ignore;
/* List of ips to never block */
char **syscheck_ignore;
/* List of ips to never block */
- os_ip **white_list;
+ os_ip **allow_list;
/* List of hostnames to never block */
/* List of hostnames to never block */
- OSMatch **hostname_white_list;
+ char **hostname_allow_list;
/* List of rules */
char **includes;
/* List of rules */
char **includes;
@@
-71,10
+81,21
@@
typedef struct __Config
/* List of decoders */
char **decoders;
/* List of decoders */
char **decoders;
- /* Global rule hash. */
- void *g_rules_hash;
+ /* Global rule hash */
+ OSHash *g_rules_hash;
-}_Config;
+#ifdef LIBGEOIP_ENABLED
+ /* GeoIP support */
+ u_int8_t loggeoip;
+ char *geoip_db_path;
+ char *geoip6_db_path;
+ int geoip_jsonout;
+#endif
+ /* MD5 DB support */
+ char *md5_allowlist;
+
+} _Config;
+
+#endif /* _CCONFIG__H */
-#endif