summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2013-11-30lockdown: Do not free session_id again after stop_session already didGravatar Martin Szulecki1-1/+0
2013-11-20idevice: properly handle partial SSL_read()sGravatar Nikias Bassen1-1/+9
2013-11-10installation_proxy: Fix operations exiting before being finished due to timeoutGravatar Martin Szulecki1-4/+5
The internal status callback used a timeout of 30 seconds to receive status messages about the progress of an operation. However, slow devices or large app archives trigger this timeout causing the handler to return before the operation was actually complete. This fixes it by removing the internal timeout by waiting forever and only returning early in case of a real error.
2013-11-10property_list_service: Rename RECEIVE_TIMEOUT error for more clarityGravatar Martin Szulecki4-3/+5
2013-11-08lockdown: fix possible invalid free in GnuTLS cert generation codeGravatar Nikias Bassen1-3/+3
2013-11-04installation_proxy: Remove dead code from uninstall methodGravatar Martin Szulecki1-5/+0
2013-11-04Convert stray spaces to corresponding tabsGravatar Martin Szulecki6-96/+97
2013-10-09Remove duplicate newline from debug messages as one is added automaticallyGravatar Martin Szulecki6-8/+8
2013-10-09lockdown: Plug few possible memory leaks in generate_pair_record_plist()Gravatar Martin Szulecki1-16/+6
2013-10-09property_list_service: improve error checking on receiveGravatar Nikias Bassen1-2/+19
2013-09-24restore: improve restored_query_type result checkingGravatar Nikias Bassen1-11/+14
2013-09-24lockdown: improve lockdownd_query_type result checkingGravatar Nikias Bassen1-4/+11
2013-09-23lockdown: Remove EscrowBag feature for now as it caused services to not startGravatar Martin Szulecki1-7/+0
2013-09-23Avoid versioning shared library for Windows targetGravatar Martin Szulecki1-0/+1
2013-09-23Correctly refer to libpthread_LIBSGravatar Martin Szulecki1-1/+1
2013-09-21lockdown: Only sent EscrowBag if we are running in a secure sessionGravatar Martin Szulecki1-2/+6
2013-09-21idevicebackup2: Add experimental support for using backups in the cloudGravatar Martin Szulecki1-3/+9
2013-09-21lockdown: Send EscrowBag when starting service for automatic unlockingGravatar Martin Szulecki1-0/+3
2013-09-19lockdown: Remove pairing code which is obsoleted by usbmuxd's preflight handlerGravatar Martin Szulecki1-53/+0
2013-09-19lockdown: Don't shutdown SSL during StopSession already or device complainsGravatar Martin Szulecki1-7/+6
2013-09-19notification_proxy: handle error conditions in notification polling threadGravatar Nikias Bassen1-4/+14
2013-09-19property_list_service: handle timeout condition on receiveGravatar Nikias Bassen2-1/+5
this adds the new error code PROPERTY_LIST_SERVICE_E_TIMEOUT that occurs if the given timeout is reached when trying to receive data.
2013-09-17lockdownd: remove unused udid variable in reconnect functionGravatar Nikias Bassen1-4/+0
2013-09-17lockdown: Refactor pair record generation/loading logic a bit for efficiencyGravatar Martin Szulecki1-42/+47
The current code always requests the public key and set's the SystemBUID, even if a pair record already exists which has these values ready. The change moves logic to only do that during generation of new certificates.
2013-09-17lockdown: Fix debug message during reconnect to show correct udidGravatar Martin Szulecki1-1/+1
2013-09-17lockdown: Fix generation of x509 subject key identifier extension for GnuTLSGravatar Martin Szulecki1-7/+12
2013-09-17Make sure to re-use the DeviceCertificate instead of generating a new one ↵Gravatar Nikias Bassen1-8/+15
every time This prevented iTunes from using a pairing made by libimobiledevice giving an error that the device sent invalid data.
2013-09-17lockdown: Add missing x509 extensions to match other platforms using GnuTLSGravatar Martin Szulecki1-0/+8
2013-09-17Fix broken build of GnuTLS and silence two compiler warningsGravatar Martin Szulecki2-3/+3
2013-09-17lockdown: Add missing x509 extensions to match other platforms using OpenSSLGravatar Martin Szulecki1-2/+18
2013-09-17lockdown: Allow starting services without the need for a running SSL sessionGravatar Martin Szulecki1-2/+2
2013-09-17Refactor userpref logic to use plist format and implement trust dialog handlingGravatar Martin Szulecki3-49/+214
iOS 7 introduced a new pairing workflow which increases security by showing a trust dialog to the user before pairing with the host is allowed. The userpref system was refactored to use the native plist format, too. Configuration files of the native implementations are used on each platform. Former configuration files are no longer in use and can be deleted.
2013-09-17idevice: Add udid attribute to idevice_connection_t for referencing devicesGravatar Martin Szulecki2-0/+7
2013-09-16afc: fix some return types (afc_error_t vs. idevice_error_t)Gravatar Nikias Bassen1-4/+4
2013-08-19webinspector: Implement support for partial messages when sending or receivingGravatar Martin Szulecki2-42/+125
The protocol appears to split plist payload on 8096 bytes boundries into multiple WIRPartialMessage messages. Now partial messages are correctly decoded during receiving and split automatically when sending large messages by the implementation.
2013-08-08idevicebackup2: Implement support for encrypted backups in Unback commandGravatar Aaron Burghardt1-0/+6
Allows to specify a password for the Unback request. It is also sent in the main message, not in an options dictionary.
2013-08-07idevice: Export SSL control functions for idevice_connection_tGravatar Martin Szulecki1-3/+0
2013-08-05service: Make generic service public to enable external service implementationsGravatar Martin Szulecki1-30/+1
2013-08-05Implement *_start_service() helper to simplify creation of service clientsGravatar Martin Szulecki13-0/+260
2013-07-19syslog_relay: Add doc comments for syslog_relay(_start|_stop)_capture()Gravatar Martin Szulecki1-0/+26
2013-07-18installation_proxy: Fix another two memory leaksGravatar Martin Szulecki1-0/+4
2013-07-16Fix memory leaks in instproxy_client_get_path_for_bundle_identifier()Gravatar Martin Szulecki1-0/+10
2013-06-30Fixed memory leak in lockdownd_gen_pair_cert() by freeing X509_EXTENSION ↵Gravatar Aaron Burghardt1-0/+1
object when using OpenSSL.
2013-06-30Fixed memory leak in lockdownd_gen_pair_cert() when getting cert data using ↵Gravatar Aaron Burghardt1-2/+5
OpenSSL.
2013-05-24syslog_relay: Make sure syslog worker thread is not stuck foreverGravatar Martin Szulecki1-2/+4
2013-05-23syslog_relay: Remove syslog_relay_send() as the service is read-onlyGravatar Martin Szulecki1-31/+0
2013-05-23Add protocol implementation for syslog_relay serviceGravatar Martin Szulecki3-1/+342
2013-05-23heartbeat: Fix wrong error codes in documentationGravatar Martin Szulecki1-4/+4
2013-04-25installation_proxy: Add helper to retrieve filepath of an app from deviceGravatar Martin Szulecki1-0/+97
2013-04-25common: Move debug and userpref code into libinternalcommonGravatar Martin Szulecki28-1490/+26