Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2024-01-31 | Move LIBIMOBILEDEVICE_API to public headers | Nikias Bassen | 55 | -321/+348 | |
2023-12-16 | idevice: Update for LibreSSL >= 3.6.0 | orbea | 1 | -1/+2 | |
Since LibreSSL 3.6.0 SSL_CTX_set_security_level() has been available. | |||||
2023-12-16 | lockdown-cu: Fix the build with LibreSSL >= 3.5.0 | orbea | 1 | -2/+2 | |
In LibreSSL >= 3.5.0 many structs are defined as opaque as they are in OpenSSL 1.1. | |||||
2023-12-16 | mobilebackup: Add missing include | Nikias Bassen | 1 | -0/+1 | |
2023-12-16 | sbservices: Read setIconState response | Dave Nicolson | 1 | -1/+4 | |
This allows the same connection to be used again after sbservices_set_icon_state is called. Fixes #928. | |||||
2023-12-12 | Fix iOS 1 SSL connection | tihmstar | 1 | -0/+14 | |
Detect if we're talking to iOS 1 `if (connection->device->version == 0)` and set `SSL_CTX_set_min_proto_version(ssl_ctx, 0);` to support SSL3. iOS 1 doesn't understand TLS1_VERSION, it can only speak SSL3_VERSION. However, modern OpenSSL is usually compiled without SSLv3 support. So if we set min_proto_version to SSL3_VERSION on an OpenSSL instance which doesn't support it, it will just ignore min_proto_version altogether and fall back to an even higher version. To avoid accidentally breaking iOS 2.0+, we set min version to 0 instead. | |||||
2023-10-07 | automake: Reorder CFLAGS to fix build issues and use correct SSL library ↵ | Nikias Bassen | 1 | -7/+7 | |
flags across Makefiles | |||||
2023-07-05 | Silence (v)asprintf related compiler warnings | Nikias Bassen | 1 | -2/+5 | |
2023-07-05 | Updated OpenSSL-specific code to use OpenSSL 3.0+ API | Nikias Bassen | 1 | -2/+32 | |
2023-06-28 | idevice: Add missing include for Windows | Nikias Bassen | 1 | -0/+1 | |
2023-06-28 | idevice: Fix network address handling in other code paths too | Nikias Bassen | 1 | -4/+37 | |
2023-06-27 | idevice: Use network addresses as is from what we get from (lib)usbmuxd | Nikias Bassen | 1 | -19/+8 | |
2023-04-21 | Updated to use latest libplist API changes | Nikias Bassen | 1 | -1/+1 | |
2023-03-23 | installation_proxy: Handle BundleIDs in instproxy_client_options_add | Nikias Bassen | 1 | -1/+1 | |
BundleIDs are passed as an array so we need to make sure it gets added as such. In fact though we just copy the node from the va_arg :) | |||||
2023-02-21 | reverse_proxy: Fix use-after-free | Nikias Bassen | 1 | -1/+2 | |
2023-01-11 | idevice: Use more reliable version check macro for OpenSSL 3 specific things | Nikias Bassen | 1 | -1/+1 | |
OpenSSL versions pre 3.0 do not define OPENSSL_VERSION_MAJOR etc. | |||||
2023-01-11 | idevice: Fix connections to <= iOS 5 devices with OpenSSL 3 | Nikias Bassen | 1 | -1/+10 | |
Thanks @tihmstar for pointing this out. | |||||
2023-01-11 | idevice: Simplify TLS version selection code for older devices | Nikias Bassen | 1 | -6/+4 | |
Turns out that SSL_CTX_set_options does *not* clear options that have been set before. | |||||
2022-10-04 | lockdown: Fix error parsing for older iOS versions | Nikias Bassen | 1 | -35/+19 | |
A logical bug did prevent parsing the 'Error' node since the code path is never reached when a 'Result' node is found first. This is mitigated by always checking for the 'Error' node first. | |||||
2022-10-04 | mobilebackup: Fix version check to allow operability with really old iOS ↵ | Nikias Bassen | 1 | -2/+18 | |
versions | |||||
2022-09-14 | restore: Remove incorrect invocation of free() in restored_get_value | Nikias Bassen | 1 | -1/+1 | |
The free would cause a use-after-free when the plist is later freed, which eventually ends up in a crash. Thanks @TrungNguyen1909 for catching this. | |||||
2022-09-04 | Fix iOS SDK build | Kabir Oberai | 1 | -1/+2 | |
2022-07-03 | idevice: Fix OpenSSL 3.0 internal error on read timeout | Ruipu Ma | 1 | -0/+12 | |
2022-05-10 | idevice: Restore original behavior for idevice_event_unsubscribe() | Nikias Bassen | 1 | -0/+1 | |
Due to an implementation detail from the past, a call to idevice_event_unsubscribe would not cause the callback function to be called with IDEVICE_DEVICE_REMOVE events, even though originally it was planned to be that way. Due to the internal changes for the newer idevice_events_subscribe/unsubscribe API, that behavior changed and it would call the callback. Now to not break current software implementations depending on the original behavior we modify the old API to behave the same as before the change. | |||||
2022-05-09 | instproxy: Use synchronous mode when callbacks are NULL, as documented | Marc Prud'hommeaux | 1 | -6/+6 | |
Synchronous modes for `instproxy_install`, `instproxy_upgrade`, `instproxy_uninstall`, `instproxy_archive`, `instproxy_restore`, and `instproxy_remove_archive` appear to be ignoring the documented behavior that “If NULL is passed, this function will run synchronously”. This commit fixes the advertised behavior. | |||||
2022-05-09 | Add new idevice_events_subscribe/unsubscribe API with context | Nikias Bassen | 1 | -10/+49 | |
The older API idevice_event_subscribe/unsubscribe can only be used by a single instance. With the addition of a context, is is now possible to register multiple callback functions in different threads. For backwards compatibility the old API will still be available for a while before being removed in a future release. | |||||
2022-05-05 | idevicebtlogger: update for libimobiledevice-glue | Matthias Ringwald | 1 | -1/+1 | |
2022-05-05 | idevicebtlogger: Minor cleanup | Geoffrey Kruse | 2 | -1/+2 | |
2022-05-05 | idevicebtlogger: Cleanup warnings, todos and magic numbers | Geoffrey Kruse | 2 | -21/+16 | |
2022-05-05 | Initial commit of working packet logger (idevicebtlogger) | Geoffrey Kruse | 3 | -1/+273 | |
2022-05-02 | idevice: Fix sign issue in idevice_get_device_list_extended | Семён Марьясин | 1 | -1/+1 | |
In sync with idevice_from_mux_device, line 384. Without this fix, data size 128 (the common value) is treated as -128, resulting in incorrect allocation. Related to #1248 but doesn't fully fix it. | |||||
2022-05-02 | lockdownd: Fix memory leaks in error conditions | Sami Kortelainen | 1 | -0/+3 | |
2022-04-30 | [clang-tidy] Do not use else after return | Rosen Penev | 9 | -94/+93 | |
Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2022-04-22 | [clang-tidy] Fix bugprone string compare | Rosen Penev | 6 | -9/+9 | |
Found with bugprone-suspicious-string-compare Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2022-04-22 | [clang-tidy] add parentheses to macros | Rosen Penev | 3 | -6/+6 | |
Found with bugprone-macro-parentheses Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2022-04-22 | [clang-tidy] use const pointer parameter | Rosen Penev | 1 | -1/+1 | |
Found with readability-non-const-parameter Signed-off-by: Rosen Penev <rosenp@gmail.com> | |||||
2022-04-22 | Fix a few inconsistent declarations | Nikias Bassen | 1 | -7/+4 | |
2022-04-22 | idevice: Fix mistreatment of 0-byte sent cases | Li Beinan | 1 | -1/+4 | |
Currently if 0 byte gets sent, it is treated as not-enough-data. This is wrong, because with TCP, 0-byte-sent usually means the receiver end is closed. We must set a new case for this and must not normalize the sent-bytes to 0 in general. | |||||
2022-04-12 | Add property_list_client_get_service_client() and service_get_connection() ↵ | Nikias Bassen | 2 | -0/+14 | |
functions This allows for custom service implementations to easier switch to non-plist communication after the service has been started. | |||||
2022-03-29 | idevice: Fix debug message showing function name twice | Nikias Bassen | 1 | -1/+1 | |
2022-03-29 | Remove buggy and redundant debug output | Ben Wagner | 1 | -2/+0 | |
2022-03-29 | Handle connection failures in debugserver_client_receive_response; also ↵ | Ben Wagner | 1 | -92/+85 | |
simplify the code | |||||
2022-03-29 | Format | Ben Wagner | 1 | -6/+7 | |
2022-03-29 | Fix compile | Ben Wagner | 1 | -1/+1 | |
2022-03-29 | Add timeout and interrupt handling to debugserver. Fix ↵ | Ben Wagner | 2 | -3/+24 | |
debugserver_client_handle_response | |||||
2022-03-29 | debugserver: Check return value of asprintf to eliminate compiler warnings | Baodong Chen | 1 | -6/+14 | |
2022-03-29 | reverse_proxy: Add asprintf.h include to make sure vasprintf is available on ↵ | Nikias Bassen | 1 | -0/+1 | |
Windows | |||||
2022-03-29 | reverse_proxy: Make sure ECONNRESET and ETIMEDOUT are defined | Nikias Bassen | 1 | -1/+7 | |
2022-03-29 | idevice: win32: Add winsock2.h include for struct sockaddr_storage | Nikias Bassen | 1 | -4/+5 | |
2022-03-29 | idevice: Make sure ECONNREFUSED is defined | Nikias Bassen | 1 | -0/+4 | |