Modified files:
defs.h
Log message:
Description: Fixing shared agent config to only be called from agents.. not from the manager.
Reviewed by: dcid
Bug:
Index: defs.h
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/headers/defs.h,v
diff -u -r1.73 -r1.74
--- defs.h 24 Jun 2009 17:06:26 -0000 1.73
+++ defs.h 24 Jun 2009 18:52:12 -0000 1.74
@@ -162,8 +162,10 @@
/* Agent information file */
#ifndef WIN32
#define AGENT_INFO_FILE "/queue/ossec/.agent_info"
+ #define AGENT_INFO_FILEP DEFAULTDIR AGENT_INFO_FILE
#else
#define AGENT_INFO_FILE ".agent_info"
+ #define AGENT_INFO_FILEP AGENT_INFO_FILE
#endif
Modified files:
defs.h
Log message:
Description: Adding shared-version number on the output from agent.
Reviewed by: dcid
Bug:
Index: defs.h
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/headers/defs.h,v
diff -u -r1.74 -r1.75
--- defs.h 24 Jun 2009 18:52:12 -0000 1.74
+++ defs.h 26 Jun 2009 13:50:02 -0000 1.75
@@ -104,11 +104,13 @@
#ifndef WIN32
#define DEFAULTAR "/etc/shared/ar.conf"
#define AR_BINDIR "/active-response/bin"
+ #define AGENTCONFIGINT "/etc/shared/agent.conf"
#define AGENTCONFIG DEFAULTDIR "/etc/shared/agent.conf"
#else
#define DEFAULTAR "shared/ar.conf"
#define AR_BINDIR "active-response/bin"
#define AGENTCONFIG "shared/agent.conf"
+ #define AGENTCONFIGINT "shared/agent.conf"
#endif