Difference between revisions of "Research RDXD"

From WebOS Internals
Jump to navigation Jump to search
(New page: ==Overview== Let's discuss the [http://www.palm.com/us/company/privacy.html|Palm Privacy notice]... Palm explicitly reserves the rights to collect from your phone, all location information...)
 
Line 11: Line 11:
 
===minicore.txt===
 
===minicore.txt===
  
Used to track events in /var/minicores
+
*Used to track events in [[research_minicores|/var/minicores]]
Created by /usr/lib/rdxd/parse_minicore.sh
+
*Created by [[research_parse_minicore.sh|/usr/lib/rdxd/parse_minicore.sh]]
  
 
present if a crash happens, this could be of some concern depending on what application you're running. This is essentially a stack trace of the error that occurred. There's no memory data contained in the file, only the procedures that resulted in the crash, so I wouldn't think it too horribly concerning.
 
present if a crash happens, this could be of some concern depending on what application you're running. This is essentially a stack trace of the error that occurred. There's no memory data contained in the file, only the procedures that resulted in the crash, so I wouldn't think it too horribly concerning.
  
 
===javadump.txt===
 
===javadump.txt===
Used to track events in /var/javadumps
+
*Used to track events in [[research_javadumps|/var/javadumps]]
Created by /usr/lib/rdxd/parse_javadump.sh
+
*Created by [[research_parse_javadump.sh|/usr/lib/rdxd/parse_javadump.sh]]
  
 
===cro.txt===
 
===cro.txt===
Used to track events in /var/cro
+
*Used to track events in [[research_cro|/var/cro]]
  
 
===touchpaneldump.txt===
 
===touchpaneldump.txt===
Used to track events in /var/touchpaneldump
+
*Used to track events in [[research_touchpaneldump|/var/touchpaneldump]]
  
 
===javaoom.txt===
 
===javaoom.txt===
Used to track events in /var/javaoom
+
*Used to track events in [[research_javaoom|/var/javaoom]]
  
 
===fsck_dirty.txt===
 
===fsck_dirty.txt===
Used to track events in /var/fsck
+
*Used to track events in [[research_fsck|/var/fsck]]
  
 
===kernelpanic.txt===
 
===kernelpanic.txt===
Used to track events in /var/kernelpanics
+
*Used to track events in [[research_kernelpanics|/var/kernelpanics]]
  
 
===misc.bin===
 
===misc.bin===
Used to track events in /var/misc]
+
*Used to track events in [[research_misc.bin|/var/misc]]
Created by /usr/lib/rdxd/parse_miscellaneous.sh
+
*Created by [[research_parse_miscellaneous.sh|/usr/lib/rdxd/parse_miscellaneous.sh]]
  
 
==CONTEXTLOG==
 
==CONTEXTLOG==
 
According to the Script Author, the context log is used for: "This section contains files that provide contextual information to a crash report, but are not indicative of a crash themselves.  For instance logs serve this purpose. When rdxd detects a crash it will run each of the following scripts passing a path to the desired output.  The script must produce a file at the provided path."
 
According to the Script Author, the context log is used for: "This section contains files that provide contextual information to a crash report, but are not indicative of a crash themselves.  For instance logs serve this purpose. When rdxd detects a crash it will run each of the following scripts passing a path to the desired output.  The script must produce a file at the provided path."
  
==sysinfo.txt===
+
===sysinfo.txt===
Generated by /usr/lib/rdxd/make_sysinfo.sh
+
*Generated by [[research_makesysinfo|/usr/lib/rdxd/make_sysinfo.sh]]
  
 
Creates a text file with the output of the following commands:
 
Creates a text file with the output of the following commands:
Line 62: Line 62:
  
 
===syslog.txt===
 
===syslog.txt===
Generated by /usr/lib/rdxd/dumplog.sh using /var/log/messages
+
*Generated by [[research_dumplog.sh|/usr/lib/rdxd/dumplog.sh]] using /var/log/messages
  
 
This is a listing of the syslog log file. Of interest is the shear noise that Luna puts off. Any time you change a preference on your phone, Luna logs it. Times when your phone goes to sleep are also logged. Connections and disconnections from the network are logged. Luna also does make some entries regarding usage of apps. Primarily I saw each time I started the Youtube app listed in there. It did capture the event that created the minicore file as well. So there's good time stamps of logging the event. Overall, aside from tracking some basic activity and usage, I didn't see much in this file to be overly alarmed by.
 
This is a listing of the syslog log file. Of interest is the shear noise that Luna puts off. Any time you change a preference on your phone, Luna logs it. Times when your phone goes to sleep are also logged. Connections and disconnections from the network are logged. Luna also does make some entries regarding usage of apps. Primarily I saw each time I started the Youtube app listed in there. It did capture the event that created the minicore file as well. So there's good time stamps of logging the event. Overall, aside from tracking some basic activity and usage, I didn't see much in this file to be overly alarmed by.
  
 
===fsck.txt===
 
===fsck.txt===
Generated by /usr/lib/rdxd/dumplog.sh using /var/log/fsck.log
+
*Generated by [[research_dumplog.sh|/usr/lib/rdxd/dumplog.sh]] using /var/log/fsck.log
  
 
This file reports which version is installed and the status of the mounted partitions. It could be derived how much space on your device or how many files your device might be holding. Of little to no concern.
 
This file reports which version is installed and the status of the mounted partitions. It could be derived how much space on your device or how many files your device might be holding. Of little to no concern.
  
 
===manifest.txt===
 
===manifest.txt===
Generated by /usr/lib/rdxd/make_manifest.sh
+
*Generated by [[research_make_manifest|/usr/lib/rdxd/make_manifest.sh]]
  
 
This is a file that concerns me greatly. This is essentially a listing of all packages and their versions that are installed on the machine. So if you're using home brew apps, this will be how Sprint or Palm will know what you're doing. Of moderate to high concern.
 
This is a file that concerns me greatly. This is essentially a listing of all packages and their versions that are installed on the machine. So if you're using home brew apps, this will be how Sprint or Palm will know what you're doing. Of moderate to high concern.
  
 
===dmesg.txt===
 
===dmesg.txt===
Generated by /usr/lib/rdxd/make_kernel.sh
+
*Generated by [[research_make_kernel|/usr/lib/rdxd/make_kernel.sh]]
  
 
This file is a listing of your dmesg data. From this data it is possible to determine if any modifications have been done to the system hardware perimeters or if you've done things like installed any tethering packages that utilize usbnet. Of minor concern.
 
This file is a listing of your dmesg data. From this data it is possible to determine if any modifications have been done to the system hardware perimeters or if you've done things like installed any tethering packages that utilize usbnet. Of minor concern.
  
 
===rootfs_history.txt===
 
===rootfs_history.txt===
Generated by /usr/lib/rdxd/dumplog.sh using /etc/rootfs_open.log
+
*Generated by [[research_dumplog.sh|/usr/lib/rdxd/dumplog.sh]] using /etc/rootfs_open.log
  
 
==overview.txt==
 
==overview.txt==
 
This file identifies your phone. It contains the serial number, MEID or IMEI (guess they plan on having a GSM version), the build information (including service provider), and a listing of all files attached.
 
This file identifies your phone. It contains the serial number, MEID or IMEI (guess they plan on having a GSM version), the build information (including service provider), and a listing of all files attached.

Revision as of 16:31, 15 September 2009

Overview

Let's discuss the Privacy notice... Palm explicitly reserves the rights to collect from your phone, all location information acquired, any system logs, any messages, emails, phone calls, and pretty much any other information you store or process on your phone. Worse off, they also explicitly reserve the right to send any of that information to any of their third party affiliates. I don't know about you, but that prompted an immediate email to Palm's Privacy email to request an immediate Opt Out. But lets look at some of the guts behind that. The rxdx facility is one of serveral on the Palm Pre that aggregates system usage information into packages sent to Palm. The rxdx facility handles the collection of the contents of /var/log and a few other miscellaneous things. This practice is common for sysadmins who want to keep tabs on a wide variety of servers. Whether or not you want this information going to Palm is yet another question.

/etc/rxdx.conf

This is the main configuration file for the rxdx facility. It defines each of the text files that are generated and sent off and provides the scripts that are used to generate the text files. There are two main variables that presumably define how rdxd operates. These two variables are AutoUpload and MaxPendingReports. Presumably, these determine if rdxd should automatically upload files and how many it should keep on hand between sends. However, I've not located documentation to verify this yet. The developers of this script comment the variables as "TODO: document this".

/var/log/rxdx

Each of the ".txt" files is stored into a gziped and tarred archive located in /var/log/rdxd/pending and /var/log/rdxd/uploaded.

minicore.txt

present if a crash happens, this could be of some concern depending on what application you're running. This is essentially a stack trace of the error that occurred. There's no memory data contained in the file, only the procedures that resulted in the crash, so I wouldn't think it too horribly concerning.

javadump.txt

cro.txt

touchpaneldump.txt

javaoom.txt

fsck_dirty.txt

kernelpanic.txt

misc.bin

CONTEXTLOG

According to the Script Author, the context log is used for: "This section contains files that provide contextual information to a crash report, but are not indicative of a crash themselves. For instance logs serve this purpose. When rdxd detects a crash it will run each of the following scripts passing a path to the desired output. The script must produce a file at the provided path."

sysinfo.txt

Creates a text file with the output of the following commands:

   cat /proc/cpuinfo
   cat /sys/class/mmc_host/mmc0/mmc0:0001/manfid
   cat /sys/class/mmc_host/mmc0/mmc0:0001/oemid
   cat /sys/class/mmc_host/mmc0/mmc0:0001/serial
   cat /sys/devices/w1_bus_master1/w1_master_slaves
   cat /proc/mounts
   uptime
   df -h
   ps -f (ran as root)
   jthreads
   jps

This file should be very concerning. Checking out your latest porn on your phone? Well, if you're doing it when this process collects this information, Sprint and Palm and any other third party affiliate will know. (Don aluminum foil hat).


syslog.txt

This is a listing of the syslog log file. Of interest is the shear noise that Luna puts off. Any time you change a preference on your phone, Luna logs it. Times when your phone goes to sleep are also logged. Connections and disconnections from the network are logged. Luna also does make some entries regarding usage of apps. Primarily I saw each time I started the Youtube app listed in there. It did capture the event that created the minicore file as well. So there's good time stamps of logging the event. Overall, aside from tracking some basic activity and usage, I didn't see much in this file to be overly alarmed by.

fsck.txt

This file reports which version is installed and the status of the mounted partitions. It could be derived how much space on your device or how many files your device might be holding. Of little to no concern.

manifest.txt

This is a file that concerns me greatly. This is essentially a listing of all packages and their versions that are installed on the machine. So if you're using home brew apps, this will be how Sprint or Palm will know what you're doing. Of moderate to high concern.

dmesg.txt

This file is a listing of your dmesg data. From this data it is possible to determine if any modifications have been done to the system hardware perimeters or if you've done things like installed any tethering packages that utilize usbnet. Of minor concern.

rootfs_history.txt

overview.txt

This file identifies your phone. It contains the serial number, MEID or IMEI (guess they plan on having a GSM version), the build information (including service provider), and a listing of all files attached.