ossec-hids: defs.h (HEAD) [dcid]

2 views
Skip to first unread message

OSSEC CVS

unread,
Jun 24, 2009, 2:52:15 PM6/24/09
to osse...@ossec.net
Module name: ossec-hids
Changes by: dcid 09/06/24 15:52:13

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


OSSEC CVS

unread,
Jun 26, 2009, 9:50:05 AM6/26/09
to osse...@ossec.net
Module name: ossec-hids
Changes by: dcid 09/06/26 10:50:02

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


Reply all
Reply to author
Forward
0 new messages