projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dodan override za lintian
[ossec-hids.git]
/
src
/
headers
/
defs.h
diff --git
a/src/headers/defs.h
b/src/headers/defs.h
index
9a9e5c4
..
7963953
100755
(executable)
--- a/
src/headers/defs.h
+++ b/
src/headers/defs.h
@@
-1,6
+1,7
@@
-/* @(#) $Id$ */
+/* @(#) $Id: ./src/headers/defs.h, 2012/08/11 dcid Exp $
+ */
-/* Copyright (C) 2009 Trend Micro Inc.
+/* Copyright (C) 2009-2012 Trend Micro Inc.
* All rights reserved.
*
* This program is a free software; you can redistribute it
* All rights reserved.
*
* This program is a free software; you can redistribute it
@@
-8,7
+9,7
@@
* License (version 2) as published by the FSF - Free Software
* Foundation.
*
* License (version 2) as published by the FSF - Free Software
* Foundation.
*
- * License details at the LICENSE file included with OSSEC or
+ * License details at the LICENSE file included with OSSEC or
* online at: http://www.ossec.net/en/licensing.html
*/
* online at: http://www.ossec.net/en/licensing.html
*/
@@
-21,6
+22,11
@@
#define __OS_HEADERS
#define __OS_HEADERS
+/* TRUE / FALSE definitions
+ */
+#define TRUE 1
+#define FALSE 0
+
/* Read / Write definitions
*/
#define READ 1
/* Read / Write definitions
*/
#define READ 1
@@
-45,8
+51,8
@@
/* Some Global names */
/* Some Global names */
-#define __name "OSSEC HIDS"
-#define __version "v2.5.1"
+#define __ossec_name "OSSEC HIDS"
+#define __version "v2.8.3"
#define __author "Trend Micro Inc."
#define __contact "contact@ossec.net"
#define __site "http://www.ossec.net"
#define __author "Trend Micro Inc."
#define __contact "contact@ossec.net"
#define __site "http://www.ossec.net"
@@
-63,17
+69,17
@@
http://www.ossec.net/main/license/\n"
#define MAX_PID 32768
#endif
#define MAX_PID 32768
#endif
-
+
/* Max limit of 256 agents */
#ifndef MAX_AGENTS
#define MAX_AGENTS 256
/* Max limit of 256 agents */
#ifndef MAX_AGENTS
#define MAX_AGENTS 256
-#endif
+#endif
/* manager notification */
#define NOTIFY_TIME 600 /* every 10 minutes */
/* manager notification */
#define NOTIFY_TIME 600 /* every 10 minutes */
-
+
/* User Configuration */
#ifndef MAILUSER
#define MAILUSER "ossecm"
/* User Configuration */
#ifndef MAILUSER
#define MAILUSER "ossecm"
@@
-82,15
+88,15
@@
http://www.ossec.net/main/license/\n"
#ifndef USER
#define USER "ossec"
#endif
#ifndef USER
#define USER "ossec"
#endif
-
+
#ifndef REMUSER
#define REMUSER "ossecr"
#endif
#ifndef REMUSER
#define REMUSER "ossecr"
#endif
-
+
#ifndef GROUPGLOBAL
#define GROUPGLOBAL "ossec"
#ifndef GROUPGLOBAL
#define GROUPGLOBAL "ossec"
-#endif
-
+#endif
+
#ifndef DEFAULTDIR
#define DEFAULTDIR "/var/ossec"
#endif
#ifndef DEFAULTDIR
#define DEFAULTDIR "/var/ossec"
#endif
@@
-111,7
+117,7
@@
http://www.ossec.net/main/license/\n"
#define AR_BINDIR "active-response/bin"
#define AGENTCONFIG "shared/agent.conf"
#define AGENTCONFIGINT "shared/agent.conf"
#define AR_BINDIR "active-response/bin"
#define AGENTCONFIG "shared/agent.conf"
#define AGENTCONFIGINT "shared/agent.conf"
-#endif
+#endif
/* Exec queue */
/* Exec queue */
@@
-126,7
+132,7
@@
http://www.ossec.net/main/license/\n"
#define XML_DECODER "/etc/decoder.xml"
#define XML_LDECODER "/etc/local_decoder.xml"
#define XML_DECODER "/etc/decoder.xml"
#define XML_LDECODER "/etc/local_decoder.xml"
-
+
/* Agent information location */
#define AGENTINFO_DIR "/queue/agent-info"
/* Agent information location */
#define AGENTINFO_DIR "/queue/agent-info"
@@
-178,14
+184,14
@@
http://www.ossec.net/main/license/\n"
#else
#define SYSCHECK_RESTART "syscheck/.syscheck_run"
#define SYSCHECK_RESTART_PATH "syscheck/.syscheck_run"
#else
#define SYSCHECK_RESTART "syscheck/.syscheck_run"
#define SYSCHECK_RESTART_PATH "syscheck/.syscheck_run"
-#endif
+#endif
-
-/* Agentless directories. */
+
+/* Agentless directories. */
#define AGENTLESSDIR "/agentless"
#define AGENTLESSPASS "/agentless/.passlist"
#define AGENTLESS_ENTRYDIR "/queue/agentless"
#define AGENTLESSDIR "/agentless"
#define AGENTLESSPASS "/agentless/.passlist"
#define AGENTLESS_ENTRYDIR "/queue/agentless"
-
+
/* Internal definitions files */
#ifndef WIN32
/* Internal definitions files */
#ifndef WIN32
@@
-230,8
+236,8
@@
http://www.ossec.net/main/license/\n"
#ifndef WIN32
#define SHAREDCFG_DIR "/etc/shared"
#else
#ifndef WIN32
#define SHAREDCFG_DIR "/etc/shared"
#else
- #define SHAREDCFG_DIR "shared"
-#endif
+ #define SHAREDCFG_DIR "shared"
+#endif
/* Built in defines */
#define DEFAULTQPATH DEFAULTDIR DEFAULTQUEUE
/* Built in defines */
#define DEFAULTQPATH DEFAULTDIR DEFAULTQUEUE
@@
-272,6
+278,8
@@
http://www.ossec.net/main/license/\n"
#define WAIT_FILE_PATH DEFAULTDIR WAIT_FILE
#define WAIT_FILE_PATH DEFAULTDIR WAIT_FILE
+#define TMP_DIR "tmp"
+
/* Default ports */
#ifndef DEFAULT_SECURE
/* Default ports */
#ifndef DEFAULT_SECURE