Commit Graph

734 Commits

Author SHA1 Message Date
pandora-release c3e5805834 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8012 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-18 16:01:37 +00:00
Ramon Novoa 8f8f45080f 2013-04-17 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent: Empty the configuration hash before reloading
	  the configuration.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 18:01:49 +00:00
Ramon Novoa 7d68b8508d 2013-04-17 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Fixed a bug when concatenating multiple ip
	  addresses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 10:45:28 +00:00
Ramon Novoa 86eaf4700e 2013-04-17 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added support for sending multiple ip addresses.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 10:44:32 +00:00
Ramon Novoa 30d5edeeb5 2013-04-15 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.cc: Open the XML data file in binary
	  mode to avoid getting extra carriage returns.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-15 17:12:25 +00:00
Ramon Novoa 811bcc96de 2013-04-12 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_factory.cc: Added macro support to all
	  configuration tokens.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-12 14:30:16 +00:00
Ramon Novoa 86436a134b 2013-04-12 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Added macro support to all module configuration
	  tokens.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-12 13:29:23 +00:00
hkosaka 2dc9e5d79a 2013-04-12 Hirofumi Kosaka <kosaka@rworks.jp>
* modules/pandora_module_exec.cc: Fixed possible resource leaks,
	only when CreateProcess() or CreatePipe() would fail.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-12 07:16:51 +00:00
Ramon Novoa b6d9536abb 2013-04-11 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc,
	  pandora_windows_service.h,
	  udp_server/udp_server.cc: Added an option to force the sending of
	  data files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-11 15:39:28 +00:00
hkosaka 56399280be 2013-04-11 Hirofumi Kosaka <kosaka@rworks.jp>
* win32/pandora_windows_service.cc: Fixed possible resource leaks;
	  - putenv() could run out the environment variable area, if
            using both file_collection and broker_agent.
	  - possible handle leak at launching tentacle_client.
	* Cleaned source code style.

	Merged from branch 4.x.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-11 11:33:52 +00:00
koichirok af8677da4f 2013-04-04 Koichiro KIKUCHI <koichiro@rworks.jp>
* windows_service.cc,
	  pandora_windows_service.cc,
	  windows_service.h: Set iteration base ticks after sleeping startup_delay
	 to exclude time taken by startup_delay from sleep time subtraction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7928 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-04 08:06:38 +00:00
koichirok 970f5148fe 2013-04-03 Koichiro KIKUCHI <koichiro@rworks.jp>
* windows_service.cc: Fixed typo of my previous commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7923 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-03 12:17:00 +00:00
koichirok ccc0b00965 2013-04-03 Koichiro KIKUCHI <koichiro@rworks.jp>
* pandora_agent: Adjust sleep interval so that each interval *starts*
	 with the same interval.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7922 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-03 11:52:44 +00:00
koichirok d3f8472f86 2013-04-03 Koichiro KIKUCHI <koichiro@rworks.jp>
* windows_service.cc: Adjust sleep time so that each iteration *starts"
	 with the same interval.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7921 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-03 11:15:07 +00:00
zarzuelo 7942bf37e5 2013-04-01 Sergio Martin <sergio.martin@artica.es>
* src/pandroid/agent/PandroidAgentListener.java: Fixed 
	a crash bug in some devices when try to retrieve the 
	coordinates provider. Close unclosed cursor and change some
	error logs to normal logs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7905 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-01 07:27:56 +00:00
slerena 1006e59d07 2013-04-01 Sancho Lerena <slerena@artica.es>
* unix/plugins/inventory: Improved software inventory in RPM format.
        Removed dupes and "orphan" lines.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-01 01:32:14 +00:00
Ramon Novoa 7cacb2a64b 2013-03-12 Ramon Novoa <rnovoa@artica.es>
* pandora_revent: Added to repository. Pandora remote event generation
	  script.

	* pandora_agent_installer: Added the pandora_revent script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-12 17:53:25 +00:00
Ramon Novoa 4910921918 2013-03-12 Ramon Novoa <rnovoa@artica.es>
* bin/util/pandora_revent.exe: Added to repository. Compiled version of
	  pandora_revent.pl.

	* installer/pandora.mpi: Added pandora_revent.exe and curl.exe to the
	  installer.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7839 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-12 17:01:54 +00:00
darode 6e5709064a 2013-03-11 Dario Rodriguez <dario@artica.es>
* win32/bin/util/curl.exe: Added curl binary for
        windows systems.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7831 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 17:28:50 +00:00
Ramon Novoa 86fb89169f 2013-03-11 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Reset configuration to default values before
	  launching broker agents. Fixed bug #3519092.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 12:10:56 +00:00
Ramon Novoa 1d4b4ad5f8 2013-03-11 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent: Added debugging information to the execution of
	  module_exec modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7823 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 11:51:32 +00:00
koichirok 9fdd4e5262 2013-03-11 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent: Fixed bug that the send_buffered_xml_files
	 doesn't remove xml files successfully sent.

	Merged from: branch_4.0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 05:41:51 +00:00
mdtrooper 0f6b1c76ba 2013-03-06 Miguel de Dios <miguel.dedios@artica.es>
* HP-UX/pandora_agent.conf: fixed ps params for "sshDaemon" module
	for some versions of HP-UX.
	
	Fixes: #3606128




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7790 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-06 11:07:40 +00:00
Aldrioth b261b2dbf9 2013-02-27 Tomas Palacios <tomas.palacios@artica.es>
* pandora_agent_installer: Added compatibility for custom perl
        installation paths.

        * pandora_agent_daemon: Modified the way to find SunOS agent PID
        to make it more reliable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 15:35:35 +00:00
slerena df66e4ecb6 2013-02-22 Sancho Lerena <slerena@artica.es>
* Darwrin: Added Darwin (MacOS) agent on directory, i don't
        know why was removed from trunk ¿?




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 18:06:57 +00:00
Ramon Novoa c86f525048 2013-02-21 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: Add the timestamp to the log.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7694 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 10:18:13 +00:00
Ramon Novoa 44f2d8b9a2 2013-02-20 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: Retrieve extra event information
	  for log modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7686 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-20 14:28:59 +00:00
koichirok 064f322e3d 2013-02-19 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent_installer: Removed duplicated chown line.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-19 10:28:33 +00:00
hkosaka 474d7775e9 2013-02-12 Hirofumi Kosaka <kosaka@rworks.jp>
* pandora_agent: Fixed bug that data transfer would fail
	when secondary_transfer_mode is different from transfer_mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-12 02:38:48 +00:00
Ramon Novoa 6e1d816b47 2013-01-17 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc,
	  modules/pandora_module.h,
	  modules/pandora_module_factory.cc,
	  modules/pandora_module_regexp.cc: Added support for log modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-17 14:33:54 +00:00
Ramon Novoa 7af1adc734 2013-01-17 Ramon Novoa <rnovoa@artica.es>
* plugins/grep_log: Merged with grep_log_module.

	* plugins/grep_log_module: Added to repository grep plugin for log
	  modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-17 14:32:14 +00:00
jsatoh b9a964191a 2013-01-11 Junichi Satoh <junichi@rworks.jp>
* SunOS/make_solaris_package/make_solaris_package.sh: Updated
	AGENT_VERSION string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-11 04:30:15 +00:00
slerena f4ab620a23 2012-12-17 Sancho Lerena <slerena@artica.es>
* pandora_agent: Updated version

        * plugins/who.sh,
        plugins/top.sh:	New plugins for	command	snapshots.

        * plugins/inventory: Merged with fixes and new kernel module from
        4.0.3 branch. Tested on	Redhat and SUSE.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-17 16:33:15 +00:00
Ramon Novoa 7f9d5d2c71 2012-12-12 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: Changed the flags of
	  LoadLibraryEx. Fixes a bug when loading event descriptions
	  from exe files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-12 11:49:44 +00:00
zarzuelo 930b09e5f3 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.h
	  pandora_windows_service.cc: Added support for
	gis_exec (Automatic gis coordinates)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-21 17:13:05 +00:00
zarzuelo d35f66391b 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Fixed some bugs
	of the type conversions 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:39:11 +00:00
zarzuelo 2debc7c2fc 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Added support for
	custom fields



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:29:00 +00:00
zarzuelo 5b90a6a59e 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module_factory.cc: Fix a few
	variable declaration bugs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 09:26:04 +00:00
zarzuelo 445e79e289 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module_factory.cc: Added macros
	support to the module_exec command of the module
	configuration



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7162 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 09:15:14 +00:00
zarzuelo 34867c52ad 2012-11-19 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Added new fields of 
	agent in XML header like custom_id and url_address.
	Added coordinates data (not gis_exec yet)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 15:57:56 +00:00
zarzuelo a9dabcf2aa 2012-11-19 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module.h
	modules/pandora_module.cc: Fixed type conflicts in the
	last changes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7155 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 14:30:35 +00:00
zarzuelo 205e4259dd 2012-11-19 Sergio Martin <sergio.martin@artica.es>
* modules/pandora_module.h
	modules/pandora_module_factory.cc
	modules/pandora_module.cc: Added several new module fields
	to the XML



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 08:23:49 +00:00
zarzuelo e63d9162d9 2012-11-15 Sergio Martin <sergio.martin@artica.es>
* pandora_agent: Added support to the new fields of the
	agent in the XML: custom_id, url_addres and custom fields



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-15 15:53:45 +00:00
zarzuelo c2047c4ab7 2012-11-13 Sergio Martin <sergio.martin@artica.es>
* pandora_agent: Added several fields to the XML



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-13 12:24:36 +00:00
markholland 57c8cef90a 2012-09-24 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/ChangeLog:
	Wasn´t added in last commit

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-24 16:45:19 +00:00
markholland 90985f3e9a 2012-09-24 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/PandroidAgentListener.java:
	Removed asynctask when making contact in attempt
	to fix configuration loss after x time

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6996 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-24 16:43:51 +00:00
markholland b8234cce21 2012-08-24 Mark Holland <mark@mark-holland.me.uk>
* src/pandroid/agent/PandroidAgentListener.java:
	Reverted to original writeFile method, changed
	xml encoding header to iso-8859-1

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-13 15:16:56 +00:00
zarzuelo 0b5c0c0fc6 2012-09-12 Sergio Martin <sergio.martin@artica.es>
* src/pandroid/agent/PandroidAgent.java
	src/pandroid/agent/PandroidAgentTentacle.java
	src/pandroid/agent/Status.java
	src/pandroid/agent/PandroidAgentListener.java
	res/drawable-xhdpi/ic_launcher.png
	res/drawable-xhdpi/logo.png
	res/drawable-xhdpi/pandroid_large.png
	res/drawable-hdpi/ic_launcher.png
	res/drawable-ldpi/ic_launcher.png
	res/drawable-ldpi/logo.png
	res/drawable-ldpi/pandroid_large.png
	res/drawable-mdpi/ic_launcher.png: Fixed some
	warnings of not used variables and includes.
	Added new designs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-12 10:44:53 +00:00
jsatoh ecb2cea68c 2012-08-28 Junichi Satoh <junichi@rworks.jp>
* pandora_agent: Improved to be able to use CRLF in pandora_agent.conf.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6917 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-28 04:42:28 +00:00
jsatoh 4a86f05b25 2012-08-25 Junichi Satoh <junichi@rworks.jp>
* res/values-ja/strings.xml: Fixed wrong Japanese translations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6913 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-25 08:14:59 +00:00
markholland f75104454e 2012-08-24 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Added experimental start
	pandroid on device boot(not operational)

	* res/layout/setup.xml: Removed duplicate password
	button

	* res/layout/setupnosim.xml: Removed unused text view

	* src/pandroid/agent/core.java: set inventory to disabled
	by default

	* src/pandroid/agent/PandroidAgentListener.java: Fixed
	inventory report if condition

	* src/pandroid/agent/PandroidAgentTentacle.java: Fixed if
	condition when server response == null, Changed how data
	is written to serverOutput, fixes utf-8.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6909 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-24 01:43:50 +00:00
markholland e98005a74b 2012-08-22 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Changed icon drawable to
	ic_launcher

	* res/drawable-hdpi: Added notification icon

	* res/drawable-ldpi: Added notification icon

	* res/drawable-mdpi: Added notification icon

	* res/drawable-xhdpi: Added notification icon

	* res/layout/setup.xml: Added inventory report checkbox,
	notification checkbox and stop/restart listener buttons.

	* res/layout/setupnosim.xml: Added inventory report checkbox,
	notification checkbox and stop/restart listener buttons.

	* res/values/strings.xml: Added strings for notification and
	stop/restart buttons, reflected in all locales

	* src/pandroid/agent/core.java: Added variables for notification
	and inventory report, fixed agentname, mobileurl mixup.

	* src/pandroid/agent/PandroidAgent.java: Removed splash screen, 
	Added check if app launched before and only restarts listener in
	this case. Added onPause and onDestroy methods to ensure no settings
	loss.

	* src/pandroid/agent/PandroidAgentListener.java: Added optional
	notification when pandroid alarm is enabled, removed loading toast,
	added inventory enabled check, added cancel notification method,
	changed xml format to utf-8(untested)

	* src/pandroid/agent/setup.java: Fixed mobile url, if no http:// or 
	https:// then http:// added automatically. Added stop/restart listener
	buttons, added inventory report and notification checkbox

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-22 02:57:53 +00:00
markholland 646ce54b6d 2012-08-20 Mark Holland <mark@mark-holland.me.uk>
* Pandroid Agent v3.0.apk: Added apk of pandroid so that
	anyone can test it.
	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-19 07:26:56 +00:00
markholland 9abbbce1ce 2012-08-19 Mark Holland <mark@mark-holland.me.uk>
* res/layout/drawable-hdpi: Added help and about icons
	from sdk	

	* res/layout/drawable-ldpi: Added new vector images.
	Added help and about icons from sdk.

	* res/layout/drawable-mdpi:Added help and about icons
	from sdk.

	* res/layout/drawable-xhdpi: Added new higher
	resolution images. Added help and about icons from sdk

	* res/layout/password_choose.xml: UI tweak

	* res/layout/password_create.xml: UI tweak

	* res/layout/setup.xml: Changed webURL id, moved position
	of task spinner.

	* res/layout/setupnosim.xml: Changed webURL id, moved
	position of task spinner.

	* res/layout/status.xml: Removed start, stop, show and 
	hide xml buttons.

	* res/layout/statusnosim.xml: Removed start, stop, show 
	and hide xml buttons.

	* res/layout/welcome.xml: Added splash screen view with
	pandroid logo and version 3.0 text.

	* res/values/strings.xml: Changed order of strings to be
	more structured, removed unused correct_update string,
	fixed the "..." in loading string, fixed copyright symbol,
	added strings for seconds, runnning and stopped that were
	previously hardcoded, fixed apostrophe in don't.

	* res/values-de/strings.xml: Added strings for German locale

	* res/values-es/strings.xml: Added strings for Spanish locale
	
	* res/values-fr/strings.xml: Added strings for French locale

	* res/values-it/strings.xml: Added strings for Italian locale

	* res/values-ja/strings.xml: Added strings for Japanese locale

	* res/values-pt/strings.xml: Added strings for Portuguese locale

	* res/values-zh/strings.xml: Added strings for Chinese(simplified)
	locale

	* src/pandroid/agent/About.java: Changed URL to pandorafms.com from
	.org

	* src/pandroid/agent/core.java: Changed mobile url variable, 

	* src/pandroid/agent/Installation.java: Added comment explaining class.

	* src/pandroid/agent/PandroidAgent.java: Added splash screen dialog

	* src/pandroid/agent/PandroidAgentListener.java: Added loading toast on
	connect, moved contact into an asynctask, added application inventory to
	xml(app name;version;package name), fixed battery level to work on first
	connect, made all get methods private.

	* src/pandroid/agent/setup.java: Auto add http:// to mobile web url.

	* src/pandroid/agent/SMSBroadcastReceiver.java: Changed variable name.

	* src/pandroid/agent/status.java: swapped hardcoded strings to ones from
	res.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-19 06:23:11 +00:00
jsatoh 19dc233eeb 2012-08-15 Junichi Satoh <junichi@rworks.jp>
* pandora_agent: Changed not to use thread library when agent_threads
	is set to 1 or undefined. This change is to avoid RHEL/CentOS 5 perl
	thread library bug.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-15 02:06:52 +00:00
Ramon Novoa ba23ce80c2 2012-08-03 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_logevent.cc: Get the EventID from the
	  InstanceID. Seems like Microsoft replaced Eventid with InstanceID at
	  some point.

	* pc/pandora_agent.mpi: Fixed some paths.

	* pc/tentacle_client,
	  unix/tentacle_client,
	  shellscript/linux/tentacle_client,
	  shellscript/mac_osx/tentacle_client: Specify the socket type. On some
	  OSs (like certain versions of Solaris) it can't be guessed and results in an error.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-03 12:03:59 +00:00
markholland b342dbc978 2012-08-03 Mark Holland <mark@mark-holland.me.uk>
* res/layout/password_entry.xml: UI tweaks

	* res/layout/setup.xml: Added mobile console
	textview and button

	* res/layout/setupnosim.xml: Added mobile console
	textview and button

	* res/layout/status.xml: Added roaming view

	* res/values/strings.xml: string for roaming, 
	roaming report, mobile site

	* src/pandroid/agent/core.java: Added variables
	for roaming and mobile site url

	* src/pandroid/agent/PandroidAgentListener.java: 
 	Added roaming report method and variables then add
	to xml

	* src/pandroid/agent/setup.java: Added mobile site
	view and full screen password input

	* src/pandroid/agent/status.java: Added roaming view

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-03 04:54:40 +00:00
zarzuelo b2fad9d913 2012-08-01 Sergio Martin <sergio.martin@artica.es>
* pandora_agent: Add the macros support in module_exec



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6838 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-01 16:35:40 +00:00
markholland 5eb4d7f6c6 2012-07-09 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Added Pandora FMS 
	comment to header.

	* res/layout/About.xml: Swapped hardcoded
	text for strings.

	* res/layout/help.xml: Added scrollview.

	* res/layout/password_choose.xml: View for dialog
	when choosing whether to have a password.

	* res/layout/password_create.xml: Added textviews
	with instructions.

	* res/layout/password_entry.xml: Swapped hardcoded
	text for strings.

	* res/layout/setup.xml: Added checkboxes for all
	modules.

	* res/layout/setupnosim.xml: View that only
	shows checkboxes for modules that don't need a sim
	card present.

	* res/values/strings.xml: Updated help string
	(english only). Lots of new strings, also
	added to strings-en and strings-es.

	* src/pandroid/agent/About.java: Added Pandora FMS 
	comment to header.

	* src/pandroid/agent/core.java: Added Pandora FMS 
	comment to header. Added variable for hello signal.
	Added reporting variables for all modules. Changed 
	alarm to be accessed in a static way. changed agent
	identifier from pandroid plus simID to pandroid plus
	install uid.

	* src/pandroid/agent/Help.java:	Added Pandora FMS 
	comment to header.

	* src/pandroid/agent/Installation.java: Calculates a
	unique installation uid.

	* src/pandroid/agent/PandroidAgent.java: hasSim now 
	works whether phone without sim and also tablet without
	capability for sim card. On resume sets hello signal to 1.

	* src/pandroid/agent/PandroidAgentListener.java: Removed
	unnecessary variables, all defaults come from Core.java.
	Ensure Hello signal changed to 0 after every connection.
	Variables for all module reporting, data only added to xml
	if enabled in setup.

	* src/pandroid/agent/setup.java: Added Pandora FMS 
	comment to header. Different views loaded depending
	on whether sim card is present. Added button for changing
	password. Added checkboxes for all modules. Added dialog
	for choosing whether to set a password. Added minimum
	password length and empty to remove password. Keyboard 
	dismissed upon completing dialogs.

	* src/pandroid/agent/SMSBroadcastReceiver.java: Added 
	Pandora FMS comment to header.

	* src/pandroid/agent/status.java: Added Pandora FMS 
	comment to header. Remove incorrect toast message
	when pressing start button.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-09 08:35:48 +00:00
markholland da4c8745c7 2012-07-04 Mark Holland <mark@mark-holland.me.uk>
* AndroidManifest.xml: Added permissions read_contacts
	and read_sms

	* res/layout/password_create.xml: Created view for
	password creation dialogue

	* res/layout/password_entry.xml: Created view for
	password entry dialogue

	* res/layout/status.xml: Converted most of data 
	into a table layout

	* res/layout/statusnosim.xml: Created status view
	only showing the data avaliable when device has
	no sim card

	* res/values/strings.xml: Added strings for bytes
	sent/received and password dialogues

	* src/pandroid/agent/core.java: added variables for
	bytes sent/received, hasSim and password. Changed 
	signal strength to integer.

	* src/pandroid/agent/PAndroidAgent.java: Added check
	if sim card present. Method for switching tabs from
	activities.

	* src/pandroid/agent/PandroidAgentListener.java: Added
	variables for bytes sent/received. Now if no sim card
	present SimID, NetworkOperator, SMSSent, NetworkType,
        PhoneType, SignalStrength, Calls, DataBytes modules aren't 		used or sent.

	* src/pandroid/agent/setup.java: Added methods for
	creating password and entering password when switching
	to setup tab(not completed). Added checkbox for simId
	and task reporting

	* src/pandroid/agent/status.java: Checks if sim present
	and displays view accordingly.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-04 01:32:06 +00:00
koichirok 69b3ea4c54 2012-06-27 Koichiro Kikuchi <koichiro@rworks.jp>
* ChangeLog: Fixed log entry date of my previous commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6718 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-27 06:59:53 +00:00
koichirok cbbaa6ec83 2012-06-21 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent.redhat.spec: Merged from 4.0 branch. Don't create
	 pandora user if already exists.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6717 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-27 06:54:08 +00:00
markholland 199fb87920 2012-06-26 Mark Holland <mark@mark-holland.me.uk>
* res/values/strings.xml: Added strings for 
	smsReceived, networkType, phoneType and calls.
	Replicated in values-en and values-es.

	* res/layout/setup.xml: Added checkboxes for simID
	and task reporting.

	* res/layout/status.xml: Added textviews for new data.

	* src/pandroid/agent/core.java: set simID
	reporting as disabled by default. Added variables
	for networkOperator, networkType, phoneType,
	signalStrength, incoming, missed and outgoing calls.

	* src/pandroid/agent/PandroidAgentListener.java: task,
	smsReceived, networkType, phoneType and calls methods
	and then added to XML. simID now checks whether
	enabled in user configuration.

	* src/pandroid/agent/setup.java: Added spinner for task
	selection.

	* src/pandroid/agent/SMSActivity.java: removed

	* src/pandroid/agent/SMSBroadcastReceiver.java: upon
	receiving a smsreceived intent, increments the stored
	number of smsReceived.

	* src/pandroid/agent/status.java: Added textviews for
	new methods mentioned above.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-26 00:47:47 +00:00
Ramon Novoa 42d58d76bf 2012-06-21 Ramon Novoa <rnovoa@artica.es>
* win32/bin/pandora_agent.conf,
	  win32/installer/pandora.mpi,
	  win32/versioninfo.rc,
	  win32/pandora.cc,
	  pc/AIX/pandora_agent.conf,
	  pc/Linux/pandora_agent.conf,
	  pc/HP-UX/pandora_agent.conf,
	  pc/Win32/pandora_agent.conf,
	  pc/NT4/pandora_agent.conf,
	  pc/SunOS/pandora_agent.conf,
	  pc/FreeBSD/pandora_agent.conf,
	  unix/AIX/pandora_agent.conf,
	  unix/DEBIAN/control,
	  unix/DEBIAN/make_deb_package.sh,
	  unix/pandora_agent.spec,
	  unix/Linux/pandora_agent.conf,
	  unix/HP-UX/pandora_agent.conf,
	  unix/pandora_agent.redhat.spec,
	  unix/pandora_agent,
	  unix/NT4/pandora_agent.conf,
	  unix/SunOS/pandora_agent.conf,
	  unix/FreeBSD/pandora_agent.conf,
	  shellscript/linux/pandora_agent.conf,
	  shellscript/bsd-ipso/pandora_agent.conf,
	  shellscript/aix/pandora_agent.conf,
	  shellscript/hp-ux/pandora_agent.conf,
	  shellscript/mac_osx/pandora_agent.conf,
	  shellscript/solaris/pandora_agent.conf,
	  shellscript/openWRT/pandora_agent.conf: Updated version strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 17:41:54 +00:00
juanmanuelr c349f866b1 2012-06-21 Juan Manuel Ramon Vigo <juanmanuel.ramon@artica.es>
* unix/AIX/pandora_agent.conf
	 unix/Linux/pandora_agent.conf
	 unix/HP-UX/pandora_agent.conf
	 shellscript/mac_osx/pandora_agent.conf
	 unix/NT4/pandora_agent.conf
	 unix/SunOS/pandora_agent.conf
	 unix/FreeBSD/pandora_agent.conf
	 shellscript/linux/pandora_agent.conf
	 shellscript/openWRT/pandora_agent.conf: Changed enconding token to 
	 UTF-8 in all Unix agents configuration files.
       
	* unix/pandora_agent
	 shellscript/linux/pandora_agent
	 shellscript/mac_osx/pandora_agent
	 shellscript/openWRT/pandora_agent: Changed default enconding to 
	 UTF-8 in Unix agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6656 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-21 13:12:57 +00:00
markholland 240209747b 2012-06-19 Mark Holland <mark@mark-holland.me.uk>
* res/layout.main.xml: removed as no longer used
	 in pandroid 2.0

	* res/values/strings.xml: Added strings for simID,
	upTime, start, loading and agent stopped. Replicated
	in values-en and values-es
	
	* src/pandroid/agent/core.java: Added variables 
	for simID and upTime
 	
	* src/pandroid/agent/PandroidAgent.java: commented
	out unnecessary code from version 1.0. Removed
	absolute tab height as it interferes with high
	density screens.

	* src/pandroid/agent/PandroidAgentListener.java: 
	Android version is now set as per device rather 
	than a fixed string. simID, upTime and networkOperator 	methods
	and then added to XML

	* src/pandroid/agent/setup.java: commented
	out unnecessary code from version 1.0

	* src/pandroid/agent/SMSActivity.java: Started work

	* src/pandroid/agent/SMSBroadcastReceiver.java: 
	Started work

	* src/pandroid/agent/status.java: Created onStart
	method to better follow android standard. run()
	is executed here. Fixed way toasts for connection 
	messages are handled. Added textviews for simID 
	and upTime values. added start/stop, show and hide 
	XML buttons for debugging purposes.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6601 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-19 22:37:03 +00:00
zarzuelo 936c0b89ff 2012-06-08 Sergio Martin <sergio.martin@artica.es>
* ChangeLog: Create the android agent change 
	log file



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-06-08 11:52:07 +00:00
Ramon Novoa 7f1d4177df 2012-05-30 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Merged from unix agent. Check for valid regular
	  expressions before adding module conditions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6374 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 16:56:26 +00:00
Ramon Novoa 6cfbb4205a 2012-05-30 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Merged from 4.0 branch. Check for valid regular
	  expressions before adding module conditions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6373 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-30 16:51:23 +00:00
Ramon Novoa 954488bd1a 2012-05-23 Ramon Novoa <rnovoa@artica.es>
* pc: Added to repository. Generic PC agent for Unix/Win32 (still in
	  alpha).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6339 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-23 17:16:32 +00:00
zarzuelo 7991c75119 2012-05-10 Sergio Martin <sergio.martin@artica.es>
* unix/Linux/pandora_agent.conf
	unix/pandora_agent: Added units parameter to the 
	agent and added units to the default modules in
	conf for pending task #3520530



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-10 16:27:15 +00:00
darode 4b6f778b16 2012-05-08 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/Linux/pandora_agent.conf: Fixed an example module name.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6267 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-08 14:27:34 +00:00
zarzuelo 5f1f45cf43 2012-05-03 Sergio Martin <sergio.martin@artica.es>
* win32/windows/pandora_wmi.cc: Added to the windows
	agent inventory module for patches the service pack
	column

	Merged from 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-05-03 14:45:42 +00:00
darode a6e718b6b9 2012-04-27 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/plugins/inventory: Fixed a small error related to inventory plugin

	MERGED FROM 4.0.2


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-27 10:53:50 +00:00
darode 538bcf4b40 2012-04-27 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/plugins/inventory,
	unix/Linux/pandora_agent.conf: Inventory improved: added Mac to NIC, 
	created new modules for IPs and Route table. Update pandora agent conf.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-27 10:12:29 +00:00
darode 9b18e175ef 2012-04-26 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/plugins/inventory: Fixed inventory plugin



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 12:02:47 +00:00
darode 461824ef86 2012-04-25 Sergio Martin <sergio.martin@artica.es>
* unix/plugins/inventory: Fixed method of obtain
	runlevel to be valid on OpenSuse
	Merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-26 12:01:40 +00:00
zarzuelo 05fd6988a6 2012-04-25 Sergio Martin <sergio.martin@artica.es>
* unix/plugins/inventory: Fixed method of obtain
	runlevel to be valid on OpenSuse
	Merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 16:47:03 +00:00
zarzuelo acfa343a1c 2012-04-25 Sergio Martin <sergio.martin@artica.es>
* win32/bin/pandora_agent.conf
	unix/Linux/pandora_agent.conf: Restore files changed
	by error in last commit



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6165 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 16:03:46 +00:00
zarzuelo d0f2e121ec 2012-04-25 Sergio Martin <sergio.martin@artica.es>
* unix/plugins/inventory: Fixed init_services inventory modules
	in machines /etc/rc.d/rcX.d paths instead of /etc/rcX.d/ paths
	Merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6162 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 15:55:26 +00:00
mdtrooper edd1ee264c 2012-04-25 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/make_deb_package.sh: disabled the checking
	the plugins files with same name.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 15:31:00 +00:00
zarzuelo 4666928be1 2012-04-25 Sergio Martin <sergio.martin@artica.es>
* unix/plugins/inventory: Fixed several bugs in the
	inventory plugin as missed separator to end the parse,
	fill with empty string the empty columns, etc. for bug 3519796
	Merged from 4.0.x



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 15:07:33 +00:00
darode d633dc7737 2012-04-25 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/pandora_agent.conf: Fixed a default module type.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6154 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 14:10:15 +00:00
darode 55699ec605 2012-04-25 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/pandora_agent.conf: Improved windows configuration file.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6151 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 14:03:50 +00:00
darode 6d4486ae19 2012-04-24 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/pandora_agent.conf,
	unix/Linux/pandora_agent.conf: Added more examples of modules enabled and
	improved comments in config file for windows and linux.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6141 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-25 07:20:59 +00:00
Ramon Novoa 7c320f0ce9 2012-04-24 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Merged from 4.0 branch. Leave the secondary server
	  password empty by default. Fixes bug #3519520.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6126 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-24 09:31:27 +00:00
darode 308fc2dc5f 2012-04-23 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/pandora_agent.conf: Added "parent_agent_name" parameter
        which was missing for windows configuration file.

        MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6082 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-23 08:49:04 +00:00
Ramon Novoa 1d919c3edb 2012-04-20 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Removed an unused variable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6073 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 13:32:10 +00:00
Ramon Novoa 96348826d3 2012-04-20 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Backup and restore conf file and daemon
	  launcher. Moved the code that sets PANDORA_USER back to its original
	  place and set the variable properly instead.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 13:29:22 +00:00
darode c796863495 2012-04-20 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_agents/win32/bin/pandora_agent.conf: Added more inventory
	parameters to inventory module

	MERGED FROM 4.0.2	



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 10:37:09 +00:00
Ramon Novoa 2f0086c7f4 2012-04-19 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.cc: Default to generic_data if no module_type
	  is not set.

	* installer/pandora.mpi: Remove the util directory from the PATH when
	  uninstalling.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 14:52:24 +00:00
darode fbf82c1cd1 2012-04-19 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/pandora_agent.conf: Added sencodary server parameters example
	in agent configuration.
	
	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6037 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 13:18:41 +00:00
koichirok 2788232654 2012-04-19 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent: Also added the temporal directory to the file path
	 for symlink check.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6034 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-19 12:19:30 +00:00
Ramon Novoa 931135d8a7 2012-04-18 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Add the temporal directory to the file path before
	  trying to send a buffered XML file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6022 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 15:35:39 +00:00
darode 43c9f9a912 2012-04-18 Dario Rodriguez <dario.rodriguez@artica.es>
* unix/pandora_agent: Fixed a problem detecting agent user to launch
	proxy mode. Added logger function when an error occurs.

	MERGED FROM 4.0.2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-18 14:13:41 +00:00
Ramon Novoa 446b785b91 2012-04-04 Ramon Novoa <rnovoa@artica.es>
* unix/tentacle_client,
	  shellscript/linux/tentacle_client,
	  shellscript/mac_osx/tentacle_client: Updated the Tentacle client to
	  the latest version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5904 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-04 13:44:55 +00:00
Ramon Novoa 23be21f92f 2012-03-28 Ramon Novoa <rnovoa@artica.es>
* pandora_agent_installer: Moved the code that sets PANDORA_USER to
	  the right place.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5848 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-28 17:39:07 +00:00
koichirok 27b478b431 2012-03-02 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent: Fixed bug of my previous commit (removed "qw").



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-02 06:43:14 +00:00
koichirok 46b7cfe456 2012-03-01 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_agent: Added symlink checks for temporary files before writing
	 them to avoid symlink attacks.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5679 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-01 10:38:10 +00:00
Ramon Novoa fb7443c388 2012-02-29 Ramon Novoa <rnovoa@artica.es>
* Linux/pandora_agent.conf: Added a warning text. Thanks to Koichiro.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5672 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-29 11:39:29 +00:00