* misc/pandora_file.cc, pandora_file.h: Added function to remove directories
recursively
* win32/pandora_windows_service.cc, pandora_windows_service.h: Added
support for unzip collections and improved functionality to manage
collections.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/pandora_agent_conf.cc, pandora_agent_conf.h: Added functionality
to get collection from configuration file.
* win32/pandora_windows_service.cc, pandora_windows_service.h: Added
support for manage collections
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_conf.cc: Added support to parse collections
* pandora_agent_conf.h: Added support to parse collections
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module.h, modules/pandora_module_factory.cc,
modules/pandora_module.cc, pandora_windows_service.cc: Added the
module_cron feature to schedule modules using a cron-like syntax and
some small fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/configure.in, Makefile.am: Modified to compile executable with
version information embedded
* win32/versioninfo.rc: Added version information file for win32
executable
Fixes: #3007874
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_exec: Do not verify the command to allow pipes and complex
commands.
* pandora_agent: Quote the command passed to pandora_exec. Fixed
the module cron. Modules without a module cron would not run.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2980 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/pandora_windows_service.h: Added constant for default port for
ftp and ssh
* win32/pandora_windows_service.cc: Added support for change ssh and ftp
port
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_windows_service.cc: Fixed the autotime feature. Was not
working since tinyXML was removed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/pandora_agent.conf: Added example of D Drive. Added comments
to some modules. Added lost module_begin. Improved command.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module.h, modules/pandora_module_factory.cc,
modules/pandora_module.cc, pandora_windows_service.cc: Added the
module_condition feature. See http://openideas.info/wiki/ for more
information.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2956 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent: Improved the module cron to allow intervals and
multiple runs within an interval.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2944 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* windows/pandora_wmi.cc: getDiskFreeSpacePercent should not return
any value if the drive does not exist. Fixed.
* modules/pandora_module.h, modules/pandora_module_factory.cc,
modules/pandora_module.cc, pandora_windows_service.cc: Added support
for saving the value of a module as an environment variable.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2935 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/pandora_exec: Added to repository. pandora_exec script.
* unix/pandora_agent_installer, unix/DEBIAN/postinst,
unix/DEBIAN/make_deb_package.sh, unix/pandora_agent.spec: Added the
pandora_exec script to the installation.
* unix/pandora_agent_daemon: Added support for running the agent as
an unprivileged user.
* unix/pandora_agent: Added timeout support for module_exec modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2915 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/util/logevent_log4x.vbs: Fixed a small undefinition who
makes script not working on summer time.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/DEBIAN/prerm: disabled the erase conf file and plugin dir.
* unix/DEBIAN/conffiles: added plugin directory.
* unix/DEBIAN/make_deb_package.sh: cleaned source code, and now make the
plugin empty dir for package builder.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2830 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent: Added a data collection layer and native modules
similar to those of the Windows agent.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/pandora_agent_installer: New version of installer. Now allow
to install the agent and all its dependencies, configuration and logfiles
inside a specific directory, for example: /opt/pandora. That directory
will contain all data, even the logs. Default configuration file and
launcher daemon script are modified in realtime to have that custom
defined directory. Removed "with-links" method.
* *.conf: Minor modification to use the new method of install in a custom
directory.
* unix/pandora_agent_daemon: Build update and some small modifications
to use the custom directory.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f