* win32/modules/pandora_module_logevent.cc: Write to the log file
(instead of the debug log) if Wevtapi.dll cannot be found.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer: Merged improvements from 4.1 branch
to fix several bugs related to custom installation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/PandroidAgentListener.java,
src/pandroid/agent/PandroidAgentTentacle.java: removed the java
warning that the class of tentacle have a method with the same name
as a constructor.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_logevent.h: Updated the EventID mask. The
Windows Event Log Viewer seems to ignore the most significant 16
bits of the event id.
* modules/pandora_module_logevent.cc: Do not discard existing
events when running in debug mode.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8644 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent: Changed the regexp used to retrieve ip addresses to
avoid locale related problems.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent.redhat.spec: Make absolute calls to chkconfig. Add the
service before enabling it.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8463 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/pandora_agent.conf: removed old references to ODBC feature
not supported anymore. New defaults (inventory, remote config and
IP detection now by default).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* windows/pandora_wmi.cc: When concatenating IP addresses, do not
output a comma unless the IP can be parsed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* windows/winevt.h: Added to repository. Headers for Wevtapi.dll.
* modules/pandora_module_logevent.cc,
modules/pandora_module_logevent.h,
pandora_strutils.cc,
pandora_strutils.h: Added support for the new XML based eventing model
introduced in Windows Vista.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* .classpath, .settings, .settings/org.eclipse.jdt.core.prefs:
added garbage files necesaries for eclipse.
* AndroidManifest.xml: update the version.
* bin/AndroidManifest.xml: erased temp file from project compilation
in eclipse.
* proguard.cfg: fixed the file and change the deprecated
instructions.
* src/pandroid/agent/PandroidAgentListener.java: added the code for
to magical change to open source version.
* src/pandroid/agent/PandroidAgentTentacle.java,
src/pandroid/agent/PandroidAgent.java: improved the source code
style.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: updated the texts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/PandroidAgentListener.java: Changed xml
header to UTF-8 encoding.
* src/pandroid/agent/PandroidAgentTentacle.java: Changed data
String to byte array.
* Pandroid Agent v3.0_UTF8.apk: Added apk that sends xml in
utf-8 encoding.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/PandroidAgentListener.java: Fixed
values not showing up on status view when pandroid activity
killed. Corrected spelling mistake of receiveBytes. Removed
last_gps_contact module, wasn't implemented.
* Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/PandroidAgentListener.java: Moved the
loading of the config values to an asynctask to force that updating
the values and then contacting the server and creating the
notification happens after all the config values have been loaded.
* src/pandroid/agent/Status.java: On resuming the app
the loading of the last values has been moved to an asynctask to force
updating the ui to wait for all the values to be loaded.
* src/pandroid/agent/*.java: Applied the Correct Indentation function
of eclipse to all code.
* res/layout/*.xml: Applied the Correct Indentation function
of eclipse to all code.
* Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8127 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/PandroidAgentListener.java: Changed gps module
to update coordinates after a time of "interval" AND "15 metres" if
no change then uses lastKnownLocation.
* Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* layout/spinner.xml: Changed spinnner text color to green.
* Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8077 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidMainfest.xml: Set theme to themes.xml, moved permissions
and uses to top of file.
* layout/spinner.xml: Theme for spinner that sets text
color to grey.
* values/themes.xml: For setting theme on devices < sdk 11
(android 3.0)
* values-v11/themes.xml: For setting theme on device above
sdk 11
* src/pandroid/agent/Setup.java: Set spinnner to use new
theme for setting text color
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8076 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* assets/database/pandroid.zip: Removed as no longer needed
* assets/libs/android-sqlite-asset-helper: Removed as no longer
needed
* layout/setup.xml: Disabled autocorrect on server address
and agent name text edits. Changed all dip to sp. Changed order
of some objects
* layout/setupnosim.xml: Disabled autocorrect on server address
and agent name text edits. Changed all dip to sp. Changed order
of some objects
* src/pandroid/agent/Core.java: Reordered lots of code
to improve legibility.
* src/pandroid/agent/DataBaseHandler.java: Removed as
no longer needed
* src/pandroid/agent/DataBaseHandler.java: Removed as
no longer needed
* src/pandroid/agent/HelperSharedPreferences: Removed
as no longer needed
* src/pandroid/agent/PandroidAgent.java: Removed all relating
to SharedPreferences
* src/pandroid/agent/PandroidAgentListener.java: loadConf on service
start. Restored SharedPreferences getter and setter. Notification
shows the whole time alarm enabled, on stop agent dissapears. On
connection shows message(unavoidable at current time).
* src/pandroid/agent/PandroidAgentTentacle.java: Changed socket
timeout to 2000ms.
* src/pandroid/agent/Setup.java: Reordered lots of code
to improve legibility.
* src/pandroid/agent/SMSBroadcastReceiver.java: Returned
to using local SharedPreferences.
* values: Added value for choosing task to report, odd suggestions.
* Pandroid Agent v3.0_iso-8859-1.apk: Updated to latest version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8075 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Pandroid Agent v3.0_iso-8859-1.apk: Restored proper default values
for server and interval.
* src/pandroid/agent/Core.java: Restored proper default values
for server and interval.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8073 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/Core.java: Reverted to previous commit
SharedPreferences.
* src/pandroid/agent/PandroidAgent.java: Reverted to previous commit
SharedPreferences.
* src/pandroid/agent/PandroidAgentListener.java: Notification only
shows when attempting to send xml, can't work out how to have it
persistent and not dissapear when Pandroid activity is destroyed.
* src/pandroid/agent/SMSBroadcastReceiver.java: Reverted to previous
commit SharedPreferences.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* assets/database/pandroid.zip: Added buffer size initial value.
* layout: Added buffer size text edit.
* src/pandroid/agent/Core.java: Added variable for buffer size
with initial value of 256KB. Moved all preference reading/editing
to HelperSharedPreferences.
* src/pandroid/agent/DataBaseHandler.java: Now extends
sqliteassethelper library.
* src/pandroid/agent/HelperSharedPreferences: New helper class in
attempt to mitigate SharedPreferences loss.
* src/pandroid/agent/PandroidAgent.java: Removed SharedPreferences
references and methods.
* src/pandroid/agent/PandroidAgentListener.java: Rewritten all get
and put preferences to use HelperSharedPreferences instead.
* src/pandroid/agent/Setup.java: Added views for buffer size.
* src/pandroid/agent/SMSBroadcastReceiver.java: Changed to use
HelperSharedPreferences.
* values: Added buffer size to all strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/Core.java: Single SharedPreferences and
Editor objects that are retrieved when needed. getSharedData()
and putSharedData() moved to this class from
PandroidAgentListener.
* src/pandroid/agent/PandroidAgent.java: Instantiate static
SharedPreferences and Editor objects with getters for each.
* src/pandroid/agent/PandroidAgentListener.java: buildXML() and
contact() are now background tasks. Implemented buffer, if xml fails
to send it stays in the system, next succesful conection after sends
all of the unsent xml files, current buffer size = 99 files.
* src/pandroid/agent/PandroidAgentTentacle.java: Changed socket to
timeout after 1000ms.
* src/pandroid/agent/SMSBroadcastReceiver.java: Changed SharedPreferences
to static version from PandroidAgent.java
* Pandroid Agent v3.0_iso-8859-1.apk: Updated to include latest
changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8069 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/Core.java: Separate load and store
methods for SharedPreferences and database.
* src/pandroid/agent/PandroidAgent.java: Values retrieved from
database onCreate. onPause and onDestroy values are saved to
database.
* src/pandroid/agent/PandroidAgentListener.java: Reverted to using
SharedPreferences at runtime, database used when app not in view.
Added module as proof of iso-8859-1 now working.
* Pandroid Agent v3.0_iso-8859-1.apk: For testing whether
configuration is no longer lost after an amount of time.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/Core.java: Changed get and update
database values methods to support new DataBaseHandler.
* src/pandroid/agent/DataBaseHandler.java: Complete rewrite.
* src/pandroid/agent/PandroidAgent.java: Removed initiate
database, database now supplied with build.
* src/pandroid/agent/PandroidAgentListener.java: changed
SimIDReport to simIDReport to reflect database.
* assets/database/pandroid.zip: zipped sqlite3
database containing all default values.
* libs/android-sqlite-asset-helper.jar: library to facilitate
database operations. Only temporarily being used.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/Core.java: Migrated from shared
preferences to sqlite database. Method to create and
initialize database with default values.
* src/pandroid/agent/DataBaseHandler.java: Creates
a database and provides methods for interaction.
* src/pandroid/agent/DataHandler.java: Objects for
facilitating interaction of data with the database.
* src/pandroid/agent/PandroidAgent.java: If first run
then creates and initializes database. Needs to be
replaced by copying default db that would ship with
pandroid.
* src/pandroid/agent/PandroidAgentListener.java: Adapted
get and put sharedData to use database instead,
* src/pandroid/agent/Setup.java: Reduced
configuration updates
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8038 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* src/pandroid/agent/Core.java: Migrated from shared
preferences to sqlite database. Method to create and
initialize database with default values.
* src/pandroid/agent/DataBaseHandler.java: Creates
a database and provides methods for interaction.
* src/pandroid/agent/DataHandler.java: Objects for
facilitating interaction of data with the database.
* src/pandroid/agent/PandroidAgent.java: If first run
then creates and initializes database. Needs to be
replaced by copying default db that would ship with
pandroid.
* src/pandroid/agent/PandroidAgentListener.java: Adapted
get and put sharedData to use database instead,
* src/pandroid/agent/Setup.java: Reduced
configuration updates
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8037 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer: Added support for NetBSD.
* NetBSD/pandora_agent, NetBSD/pandora_agent.conf: Added launcher
script and configuration file for NetBSD.
Contributed by Hiroki SHIMIZU. Thanks!
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8021 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* installer/pandora.mpi: Added an uninstall action to delete
the agent's at job.
* installer/scripts/delete_at_job.bat: Added to repository. Batch
script to delete the agent's at job.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5474 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_regexp.cc: Do not open the file in the
constructor to avoid trouble if other modules modify it before
the regexp module runs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5448 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_perfcounter.cc,
modules/pandora_module_perfcounter.h: Use MinrGW's pdh.h
instead of our own definitions.
* modules/pandora_module.cc: Fixed a bug in pre-conditions that led to an
infinite loop.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5257 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/pandora_windows_service.cc: Brokers do not need to
modify the path.
* win32/installer/pandora.mpi,
win32/pandora.cc,
unix/DEBIAN/control,
unix/DEBIAN/make_deb_package.sh,
unix/pandora_agent.spec,
unix/pandora_agent: Updated version strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* windows/pandora_wmi.cc: Removed some debugging messages.
* modules/pandora_module.h,
modules/pandora_module.cc,
pandora_windows_service.cc: Fixed pre-conditions (were not working
properly).
* modules/pandora_module_regexp.cc: Improved file status detection and
small fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5247 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* windows/pandora_wmi.cc: Added a debug message.
* modules/pandora_module_perfcounter.cc,
modules/pandora_module_perfcounter.h,
modules/pandora_module_factory.cc: Added support to read the
'cooked' value of a performance counter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5244 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer: Removed duplicated lines and spaces to
tabs. Also removed lines that set group to wheel (gid of wheel is 0).
* plugins/files_indir: Added support for FreeBSD.
* plugins/pandora_update: Fixed $conf_path for FreeBSD and spaces
to tabs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5237 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_logevent.cc,
modules/pandora_module_logevent.h: Added support for regular
expressions to the pattern filter.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5220 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_snmpget.cc: Modified the call to snmpget.exe
to directly retrieve the value.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5204 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module.h,
modules/pandora_module_exec.cc,
modules/pandora_module_exec.h,
modules/pandora_module_list.cc,
modules/pandora_module_factory.cc,
modules/pandora_module.cc,
Makefile.am: Added native ping and SNMP get modules that wrap the
calls to ping.exe and snmpget.exe.
* modules/pandora_module_ping.h,
modules/pandora_module_snmpget.h,
modules/pandora_module_ping.cc,
modules/pandora_module_snmpget.cc: Added to repository. Ping and
SNMP get modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5203 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* windows/pandora_wmi.cc: Use double instead of long for intermediate
result to avoid overflows. Fixes bug #3422900.
* modules/pandora_module_perfcounter.cc: Print PDH errors in a more
descriptive format.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* build.sh, modules/pandora_module_odbc.cc, Makefile.am: Made
changes to cross-compile in openSUSE 11.4.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_windows_service.h,
pandora_windows_service.cc: Several fixes to the proxy mode and
broker agents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* android/src/pandroid/agent/PandroidAgentListener.java: fixed type of
memory module.
* android/res/values/strings.xml, android/res/values-en/strings.xml,
android/res/values-es/strings.xml: rewrote the help text for to erase the
references to proximity module.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* android/AndroidManifest.xml: updated the number of version.
* android/res/values/strings.xml, android/res/values-en/strings.xml,
android/res/values-es/strings.xml: added the help text in other languages.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5096 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* android/src/pandroid/agent/PandroidAgentListener.java: fixed the
location and change to show the percent memory free.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AndroidManifest.xml: added new activies and permission of batery.
* src/pandroid/agent/PandroidAgent.java, src/pandroid/agent/Setup.java,
src/pandroid/agent/Status.java,
src/pandroid/agent/PandroidAgentListener.java,
src/pandroid/agent/EventReceiver.java, src/pandroid/agent/Help.java,
src/pandroid/agent/About.java: wip.
* res/values/strings.xml, res/values-en/strings.xml,
res/values-es/strings.xml: added strings and translations into spanish.
* res/menu/options_menu.xml: added a menu file.
* res/drawable-ldpi/help.png, res/drawable-ldpi/about.png,
res/drawable-ldpi/pandorafms_logo.png: added image files.
* res/layout/setup.xml, res/layout/status.xml, res/layout/help.xml,
res/layout/about.xml: wip and added the need layout for new activies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5072 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* android/.classpath, android/libs/commons-lang3-3.0.1.jar: added the
library "org.apache.commons.lang".
* android/AndroidManifest.xml: added the activities Status and Setup. And
apply theme the no titlebar to main activity.
* android/res/drawable-hdpi/logo.png, android/res/drawable-hdpi/icon.png,
android/res/drawable-mdpi/logo.png, android/res/drawable-mdpi/icon.png:
removed the images with same size or quality for the subtypes devices.
* android/res/layout/setup.xml, android/res/layout/status.xml: added the
layouts for the new activies.
* android/res/values/strings.xml: added the new strings.
* android/src/pandroid/agent/Setup.java,
android/src/pandroid/agent/Status.java: added the new activies.
* android/src/pandroid/agent/Core.java: added utility class for the proyect.
* android/src/pandroid/agent/PandroidAgent.java: added the lost comment
header with the license. started to modify to show as tabactivity and other
changes.
* android/src/pandroid/agent/PandroidAgentTentacle.java: added the lost
comment header with the license.
* android/src/pandroid/agent/PandroidAgentListener.java: added the lost
comment header with the license. And wip for the new data to monitorice.
* android/src/pandroid/agent/EventReceiver.java: added the lost comment
header with the license. And added some traces.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* android/default.properties, android/AndroidManifest.xml: added permission
to READ_PHONE_STATE and level up the SDK.
* android/bin/*, android/gen/pandroid/agent/R.java: erased non source or
config files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* android/default.properties, android/AndroidManifest.xml: added permission
to READ_PHONE_STATE and level up the SDK.
* android/bin/*, android/gen/pandroid/agent/R.java: erased non source or
config files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5026 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_windows_service.cc: Fixed a problem sending XML with broker
mode enabled (the "master" agent didn't report).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5011 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/util/tentacle_server.exe: Tentacle Proxy temporal
with temporal patch for Windows Platforms.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4951 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/pandora_agent: Clear the old process information before
parsing current process information. Also added missing
load_procs() call to module_cpuproc().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4944 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent: Now module_condition and module_precondition
accept numeric parameter without fractional part.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/plugins/grep_log,
shellscript/linux/plugins/grep_log: Restored previous code because
it needs to start searching on the last position known. First time
plugin starts, seek to the final position to avoid fire old events
detected in the log. Plugin only gives new events once starts to work
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4873 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/plugins/grep_log
shellscript/linux/plugins/grep_log: Changed parse_log
function in order to retrieve token correctly.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_regexp.cc,
modules/pandora_module_regexp.h,
modules/pandora_module_factory.cc: Check file size to detect if the
file was truncated. Added a new configuration token to avoid seeking
to the eof.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_factory.cc: Fixed a bug collecting some module
parameters like min_warning, max_warning, min_ff_event, etc.
Fixes: 3396949
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/bin/PandoraAgent.exe: Updated the executable
with the last code build fixing "runWMIQuery error"
for bug 3394721
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4798 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent.spec,
pandora_agent.redhat.spec (added) Updated specs to be used
with OpenSUSE build service.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/pandora_agent.conf: Ready to get the server string from the
installer
* installer/pandora.mpi: Updated installer, version, some strings
and added the question to get the agent group.
* installer/pandora.ico: New icon for windows shortcuts. Nice! :)
* pandora.cc: Updated version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_plugin.cc: Set a virtually infinite timeout
for plugins.
* pandora_windows_service.cc: The Pandora_Windows_Service destructor
could try to dereference a NULL pointer. Fixed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/windows/pandora_windows_info.h
win32/windows/pandora_wmi.cc
win32/windows/pandora_wmi.h
win32/windows/pandora_windows_info.cc
win32/bin/PandoraAgent.exe
win32/bin/pandora_agent.conf
win32/pandora_windows_service.cc: Added to the windows agent
the address token with manual (specified address) and auto
(detecting from WMI the address) modes
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/PandoraAgent.exe: Compiled new exe with a bug fixed.
* pandora_windows_service.cc: Fixed a bug related to proxy mode.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4650 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/pandora_agent: Don't remove 1st line of the result of the PROC_CMDS,
1st line isn't a header. Also fixed and simplified some commands.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_windows_service.h, pandora_windows_service.cc: Added proxy
mode feature.
* bin/PandoraAgent.exe: Created new compiled version with proxy mode
feature.
* bin/pandora_agent.conf: Added new parameters to configure proxy mode.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/Linux/pandora_agent.conf: Change default memory modules to get it with free command
and using postprocessing to unit conversion. Bug: 3284422
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module.h,
modules/pandora_module_factory.cc,
modules/pandora_module.cc: Set additional module configuration
parameters from the XML.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/bin/pandora_agent.conf: Add example lines with drone agents and additional configuration files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4569 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/pandora_agent_conf.cc
win32/pandora_windows_service.cc
win32/main.cc: Created runtime enviroment variables for agents and fixed bug in drone agents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4559 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/Linux/pandora_agent.conf
unix/pandora_agent: Changed the ip_address token name
to address to compatibility with the server works
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4491 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/Linux/pandora_agent.conf
unix/pandora_agent: Added ip_address token to conf file and
auto and manual mode into agent script.
Added gis_exec token to obtain gis coordinates executing a
script
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4490 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/pandora_windows_service.cc
win32/modules/pandora_module.cc
win32/modules/pandora_module.h
win32/modules/pandora_module_factory.cc
unix/pandora_agent: Allow the windows and unix agent to include preconditions on modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4474 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/pandora_agent_conf.cc
win32/pandora_agent_conf.h
win32/modules/pandora_module_list.cc
win32/modules/pandora_module_list.h: Allow the windows agent to include additional configuration files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/modules/pandora_module_exec.cc,
win32/pandora_windows_service.cc: Fixed get module output part of over 4096 byte.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AIX/pandora_agent.conf, Linux/pandora_agent.conf, HP-UX/pandora_agent.conf
SunOS/pandora_agent.conf: Deleted proxy_user parameter because is not
needed. Also fixed some comments.
* pandora_agent: Resctricted Proxy Mode to non root users. The agent must
be launched by a non root user to use Proxy Mode.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer: Added code to install tentacle_server with
pandora agent.
* AIX/pandora_agent.conf: Added two new parameters proxy_mode and
proxy_user.
* tentacle_server: Added tentacle server with proxy support.
* pandora_agent_daemon: Add feature to stop tentacle_server when
pandora agent stops.
* Linux/pandora_agent.conf: Added two new parameters proxy_mode and
proxy_user.
* HP-UX/pandora_agent.conf: Added two new parameters proxy_mode and
proxy_user.
* pandora_agent: Added support to tentacle_server and proxy_mode.
* SunOS/pandora_agent.conf: Added two new parameters proxy_mode and
proxy_user.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/pandora_agent: Fixed a typo with logfile parameter. Also fixed
the gathering of secondary_server_opts parameters when transfer mode is
Tentacle. Thanks to KIKUCHI Koichiro for the report.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/modules/pandora_module_factory.cc, unix/pandora_agent: Changed
module_post_process to module_postprocess to match the documentation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/modules/pandora_module.h,
win32/modules/pandora_module_factory.cc,
win32/modules/pandora_module.cc,
unix/pandora_agent,
shellscript/linux/pandora_agent: Set the module min, max and
post_process in the XML data file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* android/src/pandroid/agent/PandroidAgent.java
android/bin/Copy of Copy of Pandroid Agent.apk
android/res/drawable-ldpi/logo.png
android/res/drawable-ldpi/icon.png
android/res/drawable-mdpi/logo.png
android/res/drawable-mdpi/icon.png: Removed an unecessary apk
file, added icons and logos to low and middle quality,
fixed xml file deletion, setted farscape as default host
and added to the default agent name a unique identifier
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3820 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent: Detach threads to avoid excessive resource usage,
since threads were not joined until all modules were executed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* android/.project
android/AndroidManifest.xml: Adding a neccesary directive
for market on manifest and update the pandroid agent version
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3809 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent.c: Solved some leaks
* pandora_agent.conf: Added some example modules
* pandora_config.c: Added parse_config, fill module & fill setup functions
* pandora_config.h: Fixed function prototypes
* pandora_util.c: Added xml writer & trim functions
* pandora_util.h: Added trim functions prototype
* pandora_type.h: Added pointer for the link list
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3799 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/installer/pandora.mpi, win32/pandora.cc, unix/pandora_agent: Free
the threads semaphore when a module or plugin does not execute.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* android/AndroidManifest.xml
android/src/pandroid/agent/PandroidAgent.java
android/src/pandroid/agent/PandroidAgentTentacle.java
android/src/pandroid/agent/PandroidAgentListener.java
android/src/pandroid/agent/EventReceiver.java
android/bin/Pandroid Agent v0.3.apk
android/bin/pandroid/agent/PandroidAgentListener$MyLocationListener.class
android/bin/pandroid/agent/PandroidAgentListener$1.class
android/bin/pandroid/agent/PandroidAgent.class
android/bin/pandroid/agent/R$id.class
android/bin/pandroid/agent/PandroidAgentListener.class
android/bin/pandroid/agent/R$string.class
android/bin/pandroid/agent/tentacle_client.class
android/bin/pandroid/agent/R$layout.class
android/bin/pandroid/agent/PandroidAgent$1.class
android/bin/pandroid/agent/PandroidAgent$2.class
android/bin/pandroid/agent/EventReceiver.class
android/bin/pandroid/agent/PandroidAgent$3.class
android/bin/pandroid/agent/PandroidAgent$4.class
android/bin/pandroid/agent/PandroidAgent$5.class
android/bin/pandroid/agent/PandroidAgent$6.class
android/bin/pandroid/agent/PandroidAgent$7.class
android/bin/resources.ap_
android/bin/classes.dex
android/res/layout/main.xml
android/gen/pandroid/agent/R.java: Coded the heavy part of app to
background in a service and changed the way of do the contact from
loops to android alarms to fix the app sleep when screen off.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3794 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/FreeBSD/pandora_agent.conf: Fixed invalid cpu usage data is
returned when system has only one disk device.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/pandora_agent_daemon: Changed order of 'su' argument.
Username should be as the 1st argument on Solaris.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent.c: Uses pandora_types.h instead module_types.h. Now delete
the XML after sent.
* configure.in: Change version.
* pandora_config.c: Read remote_config variable and other small changes.
* pandora_util.c: New function to produce timestamp strings, now report
timestamp in XML.
* TODO: Small doc about design goals and pending things to implement.
* pandora_type.h: Renamed file with contains all structs.
* util/pandora_agent_installer: Specific installer for Busybox.
* util/pandora_agent_daemon: Specific daemon launcher for Busybox.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/pandora_agent, win32/pandora.cc,
win32/installer/pandora.mpi: Updated version strings for the
3.2 release.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer, DEBIAN/postinst, DEBIAN/prerm,
DEBIAN/make_deb_package.sh, pandora_agent.spec,
pandora_agent, SunOS/make_solaris_package/prototype,
SunOS/make_solaris_package/make_solaris_package.sh,
pandora_agent_exec: Renamed pandora_exec to
pandora_agent_exec to avoid conflicts with the pandora_exec
script installed by the server.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer, pandora_agent_daemon: Additional
changes to run the agent as a different user. Starting and
stopping the daemon did not work except as root.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent_installer: Remove all init symbolic links.
* plugins/pandora_update: Give the agent daemon some time to stop.
Necessary on Windows.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f