Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-07-29 | lockdown: Get DeviceClass to make sure OS version dependent code is executed ↵ | Nikias Bassen | 3 | -1/+34 | |
correctly The code in lockdownd_client_new_with_handshake would call the function lockdownd_validate_pair based on the OS version being less than 7.0 without taking into account that Watch OS has a different versioning scheme compared to the other device classes. For this and any future version/device specific checks, the code now queries the DeviceClass and stores it in the idevice_private struct. | |||||
2021-07-29 | Handle error cases in relevant code when retrieving pair record fails | Nikias Bassen | 2 | -11/+43 | |
2021-07-27 | afc: Suppress compiler warning when compiling without --enable-debug | Nikias Bassen | 1 | -2/+1 | |
2021-07-27 | Add support for MbedTLS | Nikias Bassen | 3 | -37/+188 | |
2021-07-26 | idevice: Remove unnecessary memcpy from internal_ssl_read() | Nikias Bassen | 1 | -29/+15 | |
2021-07-26 | idevice: Route OpenSSL reads/writes through internal_connection_* | Kabir Oberai | 2 | -42/+66 | |
Let's not allow OpenSSL to directly access our file descriptors | |||||
2021-07-25 | idevice: Make sure to handle timeout condition for network connections too | Nikias Bassen | 1 | -9/+11 | |
2021-06-22 | installation_proxy: Ignore non-status messages instead of terminating loop | Simon Søndergaard | 1 | -6/+3 | |
Some iOS versions will interleave a CFBundleIdentifier message into the Status messages, and the code would treat the CFBundleIdentifier message as an error. Terminating the loop, never seeing the last message - and even worse - never calling back to ideviceinstaller that would be stuck waiting for a callback with a message where Status == Complete. | |||||
2021-06-02 | mobilesync: Set DeviceLink version to 400 to support iOS 14b4+ | Nikias Bassen | 1 | -1/+1 | |
Thanks to @darshilgada24 for pointing this out. | |||||
2021-02-01 | debugserver: Return success when a receive timed out but actualy bytes have ↵ | Nikias Bassen | 1 | -1/+1 | |
been read | |||||
2021-02-01 | idevice: Allow partial reads in idevice_connection_receive_timeout() and ↵ | Nikias Bassen | 1 | -6/+9 | |
handle timeouts more adequate idevice_connection_receive_timeout(), when in SSL mode, was assuming it should always try to read the exact amount of data specified in `len` parameter. While this works with most protocols that have length fields or fixed sized headers/packets, some others (e.g. debugserver) break because it will request a read but doesn't know the size that is expected to be returned beforehand. This commit will handle timeouts better and return the number of bytes that were read in such cases (instead of returning 0 bytes read + error). Note that in the event of a timeout, IDEVICE_E_TIMEOUT will be returned even though actual data might have been read. The number of bytes read will be returned in recv_bytes. | |||||
2020-11-19 | idevice: Handle -EAGAIN in case usbmuxd_send() returns it | Nikias Bassen | 1 | -1/+4 | |
2020-09-10 | debugserver: Fix service startup for iOS 14b4+ | Nikias Bassen | 2 | -3/+13 | |
2020-08-10 | screenshotr: Set DeviceLink version to 400 to support iOS 14b4+ | Nikias Bassen | 1 | -1/+1 | |
2020-08-07 | mobilebackup2: Set DeviceLink version to 400 to support iOS 14b4+ | Nikias Bassen | 1 | -1/+1 | |
2020-08-06 | idevice: Fix build with LibreSSL | Nikias Bassen | 1 | -1/+1 | |
2020-06-14 | Add API version to library and pkgconfig file for proper linking | Nikias Bassen | 2 | -7/+7 | |
2020-06-13 | Allow OpenSSL >= 1.1.0 to use older/disallowed TLS versions | Author: Frederik Carlier | 1 | -1/+5 | |
2020-06-10 | lockdown: Remove unused includes | Nikias Bassen | 1 | -9/+0 | |
2020-06-08 | configure: Update libplist and libusbmuxd version dependencies | Nikias Bassen | 1 | -2/+2 | |
2020-06-08 | Remove whitespace errors from all files | Martin Szulecki | 3 | -3/+7 | |
2020-06-08 | Unfold automake variables into multiple lines for maintainability | Martin Szulecki | 1 | -29/+48 | |
2020-06-08 | idevice: Add fix for potential SSL_write timeout error case | Nikias Bassen | 1 | -3/+3 | |
2020-06-08 | Rename "compproxy" names to "companion_proxy" in all related code | Martin Szulecki | 2 | -92/+92 | |
This now matches how other services are named as we try to use the lockdownd provided name or otherwise a more readable one even if it is longer. | |||||
2020-06-08 | Fix filename typo in comments of companion_proxy service implementation | Martin Szulecki | 2 | -2/+2 | |
2020-06-06 | idevice: Revert not copying scope id for IPv6 addresses from usbmuxd again | Martin Szulecki | 1 | -2/+2 | |
This should still catch the more common case when using usbmuxd on the same host. Not copying the scope id in that case actually removes vital routing information. | |||||
2020-06-06 | idevice: Slightly improve connectivity logic and fix IPv6 for network devices | Martin Szulecki | 1 | -6/+8 | |
This change removes copying the scope id for IPv6 connections which caused problems if the usbmux connection data is used on different hosts or context. | |||||
2020-06-06 | idevice: Add some newlines for better code readability | Martin Szulecki | 1 | -0/+7 | |
2020-06-04 | idevice: Fix compiler warning about switch case fallthrough | Martin Szulecki | 1 | -1/+1 | |
2020-05-21 | idevice: [OpenSSL] Handle non-blocking SSL_write | Nikias Bassen | 1 | -0/+13 | |
2020-05-19 | afc: Reduce packet segmentation and unnecessary malloc/free | Nikias Bassen | 2 | -97/+188 | |
2020-05-18 | idevice_connection_send: Make sure send works with non-blocking sockets | Nikias Bassen | 1 | -1/+17 | |
2020-05-18 | Add support for com.apple.companion_proxy | Nikias Bassen | 3 | -0/+416 | |
2020-05-18 | Use direct socket connection for network devices | Nikias Bassen | 1 | -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-17 | idevice: [OpenSSL] Fix SSL_read with non-blocking sockets | Nikias Bassen | 1 | -1/+10 | |
2020-05-15 | idevice: [OpenSSL] Make sure SSL handshake works with non-blocking socket | Nikias Bassen | 1 | -8/+18 | |
2020-05-03 | diagnostics_relay: Don't use reserved words as function arguments | Nikias Bassen | 1 | -6/+6 | |
2020-04-27 | syslog_relay: Add new function syslog_relay_start_capture_raw | Nikias Bassen | 1 | -2/+37 | |
to allow access to the unprocessed raw data | |||||
2020-04-13 | afc: Remove unused client struct members from afc.c too | Nikias Bassen | 1 | -2/+0 | |
2020-04-13 | afc: Remove unused members from internal afc client struct | Nikias Bassen | 1 | -2/+0 | |
2020-02-20 | debugserver: Fix argv encoding | Shane Garrett | 1 | -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-20 | debugserver: Fix whitespace error | Nikias Bassen | 1 | -1/+1 | |
2020-02-20 | debugserver: Proxy SERVICE_E_TIMEOUT into DEBUGSERVER_E_TIMEOUT | Demyan Kimitsa | 1 | -0/+2 | |
This allows proper handling the timeout case in debugserver_client_receive_with_timeout | |||||
2020-02-20 | introduces optional `idevice_connection_disable_ssl` with ability not to ↵ | Demyan Kimitsa | 3 | -15/+30 | |
send SSL shutdown message. As in debugserver this message will be considered as GDB server communication and break things | |||||
2020-02-17 | Increase timeout for service receive methods | Nikias Bassen | 2 | -2/+2 | |
2020-01-05 | win32: Define minimum windows version and use static libgcc | Nikias Bassen | 1 | -1/+1 | |
2020-01-05 | Define ETIMEDOUT if required | Nikias Bassen | 1 | -0/+4 | |
2020-01-05 | Make sure all source files include config.h | Nikias Bassen | 14 | -1/+46 | |
2019-12-16 | Define the flags for the diagnostics_relay_* methods in a ↵ | Frederik Carlier | 1 | -3/+3 | |
diagnostics_relay_action_t enum | |||||
2019-11-20 | debugserver: Return size of the returned buffer | Nikias Bassen | 1 | -9/+10 | |