summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-09-25restore: Update error codes and properly convert underlying ↵Gravatar Nikias Bassen2-33/+30
property_list_service errors
2019-09-05idevice: Fix handling SSL/TLS version selection for OpenSSL 1.1.0+ and for ↵Gravatar Nikias Bassen3-14/+24
older devices
2019-08-29preboard: Remove development notes from preboard.c and add info to public headerGravatar Nikias Bassen2-63/+17
2019-08-28Add preboardservice_v2 implementationGravatar Nikias Bassen5-0/+522
2019-08-18idevice: [win32] Move windows.h include after socket.h to prevent 'must ↵Gravatar Nikias Bassen1-4/+4
include winsock.h before windows.h'
2019-08-18Force use of TLSv1 for backwards compatibility with older iOS versionsGravatar Nikias Bassen1-1/+13
2019-07-19installation_proxy: Terminate worker thread before freeing property list ↵Gravatar Nikias Bassen1-1/+2
service client to prevent segfault
2019-07-19syslog_relay: Terminate worker thread before freeing service client to ↵Gravatar Nikias Bassen1-8/+1
prevent segfault
2019-07-19OpenSSL: Use SSL_pending() to determine if we want a select() before SSL_read()Gravatar Nikias Bassen1-11/+16
In order to obey the timeout in idevice_connection_receive_timeout(), we are using select() via socket_check_fd(). However, the SSL bio might have buffered more bytes than actually requested upon a call to SSL_read(), so in the next call to idevice_connection_receive_timeout() a select() would not find the fd being ready to read, and make it fail with an error, after the specified timeout is reached. With the help of SSL_pending() we can now skip calling select() so that SSL_read() will directly be called again.
2019-07-12Fix service startup in idevicecrashreport for iOS 13Gravatar Nikias Bassen1-17/+17
2019-06-25idevicecrashreport: zero-fill full struct stat structure instead of just the ↵Gravatar Nikias Bassen1-1/+1
size
2019-06-23Fix a typo in ideviceprovision error messageGravatar Yves-Alexis Perez1-1/+1
2019-06-23Fix other typos in idevicediagnostics manpageGravatar Yves-Alexis Perez1-1/+1
2019-06-23Replace all occurrences of seperated by separatedGravatar Yves-Alexis Perez2-2/+2
Both in idevicediagnostics man page and in an error message
2019-06-23replace all occurrences of occured by occurredGravatar Yves-Alexis Perez15-37/+37
Do it in all comments and errors messages
2019-06-22configure.ac: Remove largefile hackeryGravatar Rosen Penev1-24/+0
It requires a program to be ran, which cannot be done when cross compiling. AC_SYS_LARGEFILE seems to be enough to implement largefile checking.
2019-06-22Make sure to not use deprecated API when compiling with OpenSSL >= 1.1Gravatar Rosen Penev2-7/+19
There are several missing headers as well as deprecated functions for which compatibility was added as needed.
2019-06-21Use OPENSSL_THREADID_* API for OpenSSL >= 1.0.0 && < 1.1.0Gravatar Nikias Bassen1-0/+15
2019-06-21idevicebackup2: Handle errors when receiving files and report back to deviceGravatar Nikias Bassen1-3/+7
2019-06-21Converted README to markdown and updated linksGravatar Nikias Bassen2-79/+68
2019-06-16notification_proxy: Make np_observe_notifications() atomicGravatar Nikias Bassen1-7/+14
Otherwise the notification callback might fire before all notifications that should be observed have been registered. This way the callback will only be called after _all_ notifications have been registered.
2019-06-16syslog_relay: Fix timeout issue introduced with recent libusbmuxd commit ↵Gravatar Nikias Bassen2-7/+13
ca245709
2019-06-16service: Silence timeout errorsGravatar Nikias Bassen2-9/+8
2019-06-16service: Fix typo SERIVCE_E_NOT_ENOUGH_DATA to SERVICE_E_NOT_ENOUGH_DATAGravatar Nikias Bassen3-5/+5
2019-06-14debugserver: Fix for iOS 13Gravatar Nikias Bassen1-0/+1
2019-06-13cyhton: Fix webinspector.pxi having undefined error typesGravatar Nikias Bassen1-1/+3
2019-06-13Timeout support for SSL connections and better timeout handeling.Gravatar DanyL14-88/+163
2019-06-13socket: Return -ETIMEDOUT when select() in socket_read_fd() reached the timeoutGravatar Nikias Bassen1-0/+4
2019-06-11Drop ax_swig_enable_cxx.m4Gravatar Yves-Alexis Perez1-53/+0
The macro doesn't seem used at all
2019-06-11Use _LIBS instead of _LDFLAGS for cython linkGravatar Yves-Alexis Perez1-3/+3
Latest version of AX_PYTHON_DEVEL m4 macro use _LIBS and not LDFLAGS
2019-06-11m4: Update cython_python to use newer AX_PYTHON_DEVEL macroGravatar Nikias Bassen1-1/+1
2019-06-11common: Update thread.c/.h to match the one from libusbmuxdGravatar Nikias Bassen9-31/+87
2019-06-10Make sure OpenSSL version checks don't fail when using LibreSSLGravatar Nikias Bassen1-7/+6
2019-06-10configure.ac: Fix --without-cython/--with-cython logicGravatar Nikias Bassen1-7/+7
2019-05-21common: Update socket.c to match the one from libusbmuxdGravatar Nikias Bassen2-60/+165
2019-04-04Updated ac_python_devel.m4 to newer ax_python_devel.m4Gravatar Nikias Bassen1-65/+123
2019-02-16idevicepair: Fix udid being freed before printing error message containing udidGravatar Nikias Bassen1-2/+3
2019-02-12lockdown: Make sure to return correct error code when pairing failsGravatar Nikias Bassen1-1/+1
2019-02-09idevicepair: Add another error case instead of printing 'unhandled error'Gravatar Nikias Bassen1-0/+1
2019-02-08idevicepair: Fix 'validate' command which was broken since iOS 11Gravatar Nikias Bassen1-3/+5
Apple removed the lockdownd command 'ValidatePair'. Validating a pairing can just be done by trying to use the present pairing record to try to start a lockdownd session: if it succeeds, the pairing is valid, otherwise obviously not. So this is what we do now.
2019-01-26idevicebackup2: Make reboot after restore the defaultGravatar Nikias Bassen1-6/+9
As seen in #726 the previous behavior results in wrong assumptions that a restore is possible without rebooting the device, however this is not how iOS is handling it. I added a command line switch --no-reboot now that will let you still restore without rebooting, if anyone wants to play around with that...
2019-01-26idevicebackup2: Move writing of RestoreApplications.plist to helper ↵Gravatar Nikias Bassen1-57/+72
function, add command line switch to skip
2019-01-26idevicebackup2: Write /iTunesRestore/RestoreApplications.plist on restoreGravatar Samuel Sadok1-3/+62
This will trigger re-installation of apps that were installed when the backup was created once the device finishes the restore and rebooted.
2018-10-30idevicebackup2: Fix scan_directory() for platforms not having d_type in ↵Gravatar Nikias Bassen2-0/+8
struct dirent
2018-10-29idevicebackup2: Fix rmdir_recursive() not deleting all files/directories ↵Gravatar Nikias Bassen1-20/+55
(esp. on network filesystems)
2018-10-01tools: Remove length check on device UDID arguments to support newer devicesGravatar Nikias Bassen35-97/+95
The 40 characters length check on the device UDID made newer devices unusable with the libimobiledevice tools and was actually redundant since an invalid UDID will always fail to resolve. This commit removes the length check alltogether (but makes sure it is not an empty string "").
2018-09-29lockdown: Pass along usbmux device id when saving pair recordsGravatar Nikias Bassen5-5/+8
2018-09-29idevice: Add usbmux device id (handle/mux id) to internal data structureGravatar Nikias Bassen3-14/+8
2018-09-03idevicebackup2: Make sure iTunesSettings are correctly stored in Info.plist ↵Gravatar Nikias Bassen1-1/+1
(i.e. not freed before writing)
2018-09-03idevicebackup2: Prevent lockdownd timeoutsGravatar Nikias Bassen1-31/+38