summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2020-05-18idevice_connection_send: Make sure send works with non-blocking socketsGravatar Nikias Bassen1-1/+17
2020-05-18Add support for com.apple.companion_proxyGravatar Nikias Bassen3-0/+416
2020-05-18Use direct socket connection for network devicesGravatar Nikias Bassen1-7/+76
Instead of relaying data via usbmuxd this change will have it connect directly to the device via network after retrieving its address from usbmuxd
2020-05-17idevice: [OpenSSL] Fix SSL_read with non-blocking socketsGravatar Nikias Bassen1-1/+10
2020-05-15idevice: [OpenSSL] Make sure SSL handshake works with non-blocking socketGravatar Nikias Bassen1-8/+18
2020-05-03diagnostics_relay: Don't use reserved words as function argumentsGravatar Nikias Bassen1-6/+6
2020-04-27syslog_relay: Add new function syslog_relay_start_capture_rawGravatar Nikias Bassen1-2/+37
to allow access to the unprocessed raw data
2020-04-13afc: Remove unused client struct members from afc.c tooGravatar Nikias Bassen1-2/+0
2020-04-13afc: Remove unused members from internal afc client structGravatar Nikias Bassen1-2/+0
2020-02-20debugserver: Fix argv encodingGravatar Shane Garrett1-2/+2
The encoding of the "A" command in idevicedebug had issues when encoding a character with a value > 0x7F such as some UTF-8 characters.
2020-02-20debugserver: Fix whitespace errorGravatar Nikias Bassen1-1/+1
2020-02-20debugserver: Proxy SERVICE_E_TIMEOUT into DEBUGSERVER_E_TIMEOUTGravatar Demyan Kimitsa1-0/+2
This allows proper handling the timeout case in debugserver_client_receive_with_timeout
2020-02-20introduces optional `idevice_connection_disable_ssl` with ability not to ↵Gravatar Demyan Kimitsa3-15/+30
send SSL shutdown message. As in debugserver this message will be considered as GDB server communication and break things
2020-02-17Increase timeout for service receive methodsGravatar Nikias Bassen2-2/+2
2020-01-05win32: Define minimum windows version and use static libgccGravatar Nikias Bassen1-1/+1
2020-01-05Define ETIMEDOUT if requiredGravatar Nikias Bassen1-0/+4
2020-01-05Make sure all source files include config.hGravatar Nikias Bassen14-1/+46
2019-12-16Define the flags for the diagnostics_relay_* methods in a ↵Gravatar Frederik Carlier1-3/+3
diagnostics_relay_action_t enum
2019-11-20debugserver: Return size of the returned bufferGravatar Nikias Bassen1-9/+10
2019-11-13debugserver: Improved memory handling in debugserver_client_send_command() ↵Gravatar Nikias Bassen1-23/+24
and debugserver_client_receive_response()
2019-11-08Add new function lockdown_strerror() to get a readable description of a ↵Gravatar Nikias Bassen1-62/+84
lockdownd_error_t
2019-11-07Add new idevice_get_device_list_extended() allowing to list all devices, ↵Gravatar Nikias Bassen1-0/+56
including network Instead of just returning a list of UDIDs (like idevice_get_device_list) this function will return idevice_info_t* records which also contains the type of the connection and the connection data.
2019-11-07Add propert support for network (WiFi) devices via new ↵Gravatar Nikias Bassen2-27/+73
idevice_new_with_options()
2019-10-29property_list_service: Consider a successful 0 byte read a timeout rather ↵Gravatar Nikias Bassen1-0/+5
than an error condition
2019-09-29idevice: properly handle partial SSL writesGravatar Nikias Bassen1-8/+15
2019-09-28idevice: fix hang in SSL_shutdownGravatar Mikkel Kamstrup Erlandsen1-1/+7
2019-09-27mobile_image_mounter: Better error handling (e.g. when device is locked)Gravatar Nikias Bassen1-36/+41
2019-09-27Make sure to handle timeout errors in device link service and all depending ↵Gravatar Nikias Bassen8-56/+81
services
2019-09-25restore: Update error codes and properly convert underlying ↵Gravatar Nikias Bassen1-26/+26
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 Bassen1-63/+0
2019-08-28Add preboardservice_v2 implementationGravatar Nikias Bassen3-0/+353
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-06-23replace all occurrences of occured by occurredGravatar Yves-Alexis Perez6-9/+9
Do it in all comments and errors messages
2019-06-22Make sure to not use deprecated API when compiling with OpenSSL >= 1.1Gravatar Rosen Penev1-1/+7
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-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 Bassen1-2/+6
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 Bassen2-2/+2
2019-06-14debugserver: Fix for iOS 13Gravatar Nikias Bassen1-0/+1
2019-06-13Timeout support for SSL connections and better timeout handeling.Gravatar DanyL5-68/+122
2019-06-11common: Update thread.c/.h to match the one from libusbmuxdGravatar Nikias Bassen6-14/+17
2019-06-10Make sure OpenSSL version checks don't fail when using LibreSSLGravatar Nikias Bassen1-7/+6
2019-02-12lockdown: Make sure to return correct error code when pairing failsGravatar Nikias Bassen1-1/+1
2018-09-29lockdown: Pass along usbmux device id when saving pair recordsGravatar Nikias Bassen2-1/+3