Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2022-03-29 | common: Make sure ETIMEDOUT is defined | 1 | -0/+4 | ||
2021-09-01 | Remove common code in favor of new libimobiledevice-glue | 8 | -2052/+3 | ||
2021-07-29 | common: Return proper error codes from userpref_read_pair_record | 2 | -18/+24 | ||
2021-07-27 | Add support for MbedTLS | 2 | -41/+279 | ||
2021-04-13 | common: Add missing *_LIBS and *_CFLAGS to fix build | 1 | -0/+5 | ||
2021-02-17 | Remove redundent `select` call from idevicedebugserverproxy.c | 1 | -2/+0 | ||
- Turns out `socket_receive` anyway internally calls `select` again. Use `socket_receive_timeout` instead. - Remove logging for timeout in socket.c as well, it is not really an error condition | |||||
2020-12-30 | common: Merge socket changes from libusbmuxd | 2 | -47/+386 | ||
2020-12-10 | ideviceprovision: Fix date output by adding MAC_EPOCH | 1 | -1/+1 | ||
2020-06-08 | Unfold automake variables into multiple lines for maintainability | 1 | -8/+21 | ||
2020-06-08 | socket: Fix IPv6 scope id lookup logic to handle another network device problem | 1 | -2/+12 | ||
The lookup logic preferred to return the last suitable scope id match. This became a problem if there was already a suitable scope id match before that was higher in the interface list. This now chooses the higher last scope id interface match and thus probably in the routing preference. | |||||
2020-06-06 | socket: Improve IPv6 scope id detection to fix network devices on OSX | 1 | -6/+24 | ||
The helper should now also work for loopback addresses and prefer any initially supplied scope id to maintain routing information if possible. Otherwise it just picks the best suitable route. Let us see if this is stable enough to prevent us from adding routing table parsing cruft and other logic... | |||||
2020-06-06 | socket: Use common IPv6 scope values and correct loopback scope to link-local | 1 | -4/+4 | ||
2020-06-06 | common: Fix socket_connect_addr() not connecting using IPv6 in some cases | 1 | -0/+107 | ||
This extends the socket helper with functions to determine the "scope" and a suitable "scope id" of an IPv6 address. Now socket_connect_addr() does not trust the provided IPv6 "scope id" and always attempts to determine it using the new helpers. This became a requirement during testing with remote usbmux connections that provide a different "scope id" and thus might cause IPv6 routing to not work at all. Thus the "scope id" is only valid per host. | |||||
2020-05-18 | common: Update socket.c/.h from libusbmuxd | 2 | -22/+218 | ||
2020-02-20 | Update debug.c to consistently output to stderr | 1 | -5/+2 | ||
This makes debug_print_line consistent with debug_buffer and among other things, ensures output from `idevicedebug run` can be easily divided into output from the app itself (stdout) from debug output from libimobiledevice (stderr). | |||||
2020-01-05 | Define ETIMEDOUT if required | 1 | -0/+3 | ||
2019-11-13 | debugserver: Improved memory handling in debugserver_client_send_command() ↵ | 2 | -2/+53 | ||
and debugserver_client_receive_response() | |||||
2019-06-22 | Make sure to not use deprecated API when compiling with OpenSSL >= 1.1 | 1 | -6/+12 | ||
There are several missing headers as well as deprecated functions for which compatibility was added as needed. | |||||
2019-06-13 | socket: Return -ETIMEDOUT when select() in socket_read_fd() reached the timeout | 1 | -0/+4 | ||
2019-06-11 | common: Update thread.c/.h to match the one from libusbmuxd | 2 | -14/+67 | ||
2019-05-21 | common: Update socket.c to match the one from libusbmuxd | 2 | -60/+165 | ||
2018-10-01 | tools: Remove length check on device UDID arguments to support newer devices | 1 | -29/+24 | ||
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-29 | lockdown: Pass along usbmux device id when saving pair records | 2 | -3/+4 | ||
2018-04-27 | userpref: [GnuTLS] Use valid serial for >= 3.6.0 | 1 | -3/+3 | ||
Another change in 3.6.0 is that a serial of '\0' is not valid anymore. Bump it to one. | |||||
2018-04-27 | userpref: [GnuTLS] Fix 3.6.0 SHA1 compatibility | 1 | -3/+3 | ||
Verification will fail if a special flag is not passed. Use gnutls_x509_crt_sign2() instead of gnutls_x509_crt_sign() to make sure that passing this flag works in 3.6.0 and stays working with 3.6.1. | |||||
2016-11-04 | userpref: [GnuTLS] Fix pairing record generation and improve error handling | 1 | -40/+45 | ||
In newer GnuTLS versions the parameters supplied to gnutls_x509_privkey_import_rsa_raw() are actually checked for somewhat sane values. Since we were passing the same values for all parameters, this check fails and the device certificate is never generated. However due to missing checks the pairing record was saved anyway, with an empty device certificate. This led to TLS errors during communication, leading to the "GnuTLS: Error in pull function" error message appearing and the communication to fail. This commit fixes the issue by passing some sane values, and also improves the overall error handling during generation of the paring record. | |||||
2016-07-27 | userpref: Remove obsoleted function userpref_has_pair_record() | 1 | -29/+0 | ||
Since pair records are meanwhile handled by usbmuxd there is no need to check for the existence of a pair record on disk. Asking usbmuxd for a pair record of a given UDID is sufficient to know if it exists or not. | |||||
2016-04-01 | idevicebackup: fix some timestamps that are relative to the Mac epoch ↵ | 1 | -0/+2 | ||
instead of Unix one | |||||
2015-12-29 | common: [security fix] Make sure sockets only listen locally | 1 | -2/+2 | ||
2015-10-09 | common: Add missing gnutls/openssl CFLAGS to Makefile.am | 1 | -1/+1 | ||
2015-01-28 | Remove trailing whitespace errors from all files | 7 | -21/+21 | ||
2015-01-13 | thread: Introduce thread_new and thread_free to cover handle leaks on WIN32 | 2 | -5/+13 | ||
2015-01-12 | common: Convert int16_t macro error types of userpref module into enum | 1 | -10/+10 | ||
2014-12-08 | Replace () with (void) in libinternalcommon and tools for consistency | 2 | -2/+2 | ||
2014-10-27 | debug: Fix linking failure on OS X by keeping debug level symbol internal | 2 | -3/+12 | ||
This change keeps the debug level symbol within the internal convenience library and makes it accessible using an internal helper. This fixes linking, prevents new exported symbols and finally allows proper control of enabling debug messages. | |||||
2014-10-26 | debug: Fix symbol locality for linker so debug messages are printed again | 1 | -16/+3 | ||
2014-10-26 | common: Remove obsolete symbol hiding macros from userpref module | 1 | -14/+6 | ||
2014-10-26 | Supress printing very long plists in debug output | 1 | -1/+7 | ||
2014-10-22 | common: Move size format helper to utils and use it in idevicebackup tools | 2 | -0/+23 | ||
2014-10-22 | common: Move string_toupper() helper to utils and use it in idevicebackup tools | 2 | -0/+11 | ||
2014-10-22 | common: Share idevicebackup helper string_build_path() from utils | 2 | -0/+30 | ||
2014-10-22 | common: Change stpcpy() signature code style slightly | 2 | -2/+2 | ||
2014-10-03 | common: Fix distcheck target | 2 | -2/+2 | ||
2014-10-03 | Avoid exporting non-public symbols | 3 | -14/+7 | ||
2014-09-13 | common: Fix Win32 linking by adding ws2_32 to libraries | 1 | -1/+1 | ||
2014-08-06 | userpref: Fix wrong documentation about return values of ↵ | 1 | -7/+10 | ||
userpref_read_system_buid() Also, add a debug message that will print the actual error code. | |||||
2014-08-06 | common/utils: Silence compiler warning about ignored return value from fread() | 1 | -1/+4 | ||
2014-05-21 | Silence compiler warning about format strings using PRIu64 | 1 | -1/+1 | ||
2014-05-21 | ideviceinfo: Move plist print helper code to common | 2 | -0/+197 | ||
2014-05-20 | common: Add missing libusbmuxd_CFLAGS and libusbmuxd_LIBS to Makefile.am | 1 | -2/+2 | ||