Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-09-19 | userpref: Use system wide pair record path and add config directory getter | Martin Szulecki | 2 | -73/+4 | |
2013-09-19 | lockdown: Don't shutdown SSL during StopSession already or device complains | Martin Szulecki | 1 | -7/+6 | |
2013-09-19 | userpref: fix leak and possible endless recursion in mkdir_with_parents | Nikias Bassen | 1 | -7/+4 | |
2013-09-19 | utils: make buffer_write_to_filename overwrite instead of append to existing ↵ | Nikias Bassen | 1 | -3/+1 | |
files | |||||
2013-09-19 | notification_proxy: handle error conditions in notification polling thread | Nikias Bassen | 1 | -4/+14 | |
2013-09-19 | property_list_service: handle timeout condition on receive | Nikias Bassen | 2 | -1/+5 | |
this adds the new error code PROPERTY_LIST_SERVICE_E_TIMEOUT that occurs if the given timeout is reached when trying to receive data. | |||||
2013-09-17 | lockdownd: remove unused udid variable in reconnect function | Nikias Bassen | 1 | -4/+0 | |
2013-09-17 | userpref: Add missing argument docs for device_record_get_certs_as_pem() | Martin Szulecki | 1 | -0/+1 | |
2013-09-17 | lockdown: Refactor pair record generation/loading logic a bit for efficiency | Martin Szulecki | 1 | -42/+47 | |
The current code always requests the public key and set's the SystemBUID, even if a pair record already exists which has these values ready. The change moves logic to only do that during generation of new certificates. | |||||
2013-09-17 | lockdown: Fix debug message during reconnect to show correct udid | Martin Szulecki | 1 | -1/+1 | |
2013-09-17 | lockdown: Fix generation of x509 subject key identifier extension for GnuTLS | Martin Szulecki | 1 | -7/+12 | |
2013-09-17 | Make sure to re-use the DeviceCertificate instead of generating a new one ↵ | Nikias Bassen | 3 | -10/+30 | |
every time This prevented iTunes from using a pairing made by libimobiledevice giving an error that the device sent invalid data. | |||||
2013-09-17 | lockdown: Add missing x509 extensions to match other platforms using GnuTLS | Martin Szulecki | 1 | -0/+8 | |
2013-09-17 | Fix broken build of GnuTLS and silence two compiler warnings | Martin Szulecki | 3 | -5/+5 | |
2013-09-17 | lockdown: Add missing x509 extensions to match other platforms using OpenSSL | Martin Szulecki | 1 | -2/+18 | |
2013-09-17 | userpref: Add copyright reference | Martin Szulecki | 2 | -0/+2 | |
2013-09-17 | idevicepair: Port to use the new userpref API and add systembuid command | Martin Szulecki | 1 | -17/+32 | |
2013-09-17 | lockdown: Allow starting services without the need for a running SSL session | Martin Szulecki | 1 | -2/+2 | |
2013-09-17 | Refactor userpref logic to use plist format and implement trust dialog handling | Martin Szulecki | 6 | -409/+579 | |
iOS 7 introduced a new pairing workflow which increases security by showing a trust dialog to the user before pairing with the host is allowed. The userpref system was refactored to use the native plist format, too. Configuration files of the native implementations are used on each platform. Former configuration files are no longer in use and can be deleted. | |||||
2013-09-17 | idevice: Add udid attribute to idevice_connection_t for referencing devices | Martin Szulecki | 2 | -0/+7 | |
2013-09-17 | common: Add helpers to read and write plist files | Martin Szulecki | 2 | -0/+106 | |
2013-09-16 | afc: fix some return types (afc_error_t vs. idevice_error_t) | Nikias Bassen | 1 | -4/+4 | |
2013-09-13 | tools: fix GnuTLS build by adding missing libgcrypt build flags | Nikias Bassen | 1 | -2/+2 | |
2013-09-11 | filerelaytest: Variable can not be declared inside for loop on non C99 mode | Martin Szulecki | 1 | -6/+6 | |
2013-09-11 | Added the option to filerelaytest to pass sources on the command line. | Aaron Burghardt | 1 | -2/+16 | |
2013-09-07 | make variables for package dependencies, synchronize these with .pc file | Elan Ruusamäe | 2 | -4/+12 | |
2013-08-19 | webinspector: Implement support for partial messages when sending or receiving | Martin Szulecki | 2 | -42/+125 | |
The protocol appears to split plist payload on 8096 bytes boundries into multiple WIRPartialMessage messages. Now partial messages are correctly decoded during receiving and split automatically when sending large messages by the implementation. | |||||
2013-08-08 | idevicebackup2: Implement support for encrypted backups in Unback command | Aaron Burghardt | 2 | -1/+15 | |
Allows to specify a password for the Unback request. It is also sent in the main message, not in an options dictionary. | |||||
2013-08-07 | idevice: Export SSL control functions for idevice_connection_t | Martin Szulecki | 2 | -3/+2 | |
2013-08-05 | service: Make generic service public to enable external service implementations | Martin Szulecki | 3 | -31/+70 | |
2013-08-05 | Implement *_start_service() helper to simplify creation of service clients | Martin Szulecki | 26 | -0/+280 | |
2013-08-05 | Add public *_SERVICE_NAME defines for each service | Martin Szulecki | 13 | -0/+26 | |
2013-07-19 | Update README with latest code, ticket tracker and IRC URLs | Martin Szulecki | 1 | -2/+9 | |
2013-07-19 | syslog_relay: Add doc comments for syslog_relay(_start|_stop)_capture() | Martin Szulecki | 1 | -0/+26 | |
2013-07-18 | Update NEWS with latest changes | Martin Szulecki | 1 | -0/+20 | |
2013-07-18 | installation_proxy: Fix another two memory leaks | Martin Szulecki | 1 | -0/+4 | |
2013-07-16 | Fix memory leaks in instproxy_client_get_path_for_bundle_identifier() | Martin Szulecki | 1 | -0/+10 | |
2013-07-15 | userpref: correctly NULL-terminate arguments in string_concat calls | Nikias Bassen | 1 | -2/+2 | |
2013-07-13 | common: Fix malformed binary debug message dumping | Martin Szulecki | 1 | -1/+1 | |
2013-07-13 | common: Fix WIN32 portability for recent userpref security fix | Martin Szulecki | 1 | -1/+6 | |
2013-07-13 | common: Implement stpcpy() replacement for systems lacking it | Martin Szulecki | 2 | -0/+26 | |
2013-07-13 | configure.ac: Simply check for asprintf and vasprintf | Martin Szulecki | 1 | -10/+1 | |
2013-07-02 | Bug #331 - Don't create a /tmp/root directory insecurely | Federico Mena Quintero | 1 | -29/+76 | |
When finding the user's home directory to generate a subdirectory in $HOME/.config, we would fall back to /tmp if there were no environment variables for HOME or XDG_CONFIG_HOME. Since libimobiledevice gets used by upower, and since upowerd runs as root, this would cause a /tmp/root directory to be created insecurely, leaving upowerd vulnerable to a symlink attack. Now we fall back to getpwuid_r() to find the user's home directory if it is not provided in environment variables - this is the case when upowerd gets run via systemd, for example. The result is that we'll end up creating /root/.config, a safe directory, since regular users cannot create symlinks in /root. In the future we'll need a way for libimobiledevice to find where to store its pairing data on behalf of the console user, rather than writing it to /root. http://libiphone.lighthouseapp.com/projects/27916-libiphone/tickets/331-insecure-tmp-directory-use | |||||
2013-07-02 | common: Add utils.[ch] with a string_concat() function | Federico Mena Quintero | 3 | -1/+114 | |
Instead of doing malloc() and repeated strcat(), which is an O(n^2) way to concatenate multiple strings, we define a single O(total_len) function that uses stpcpy(). This will also make the rest of the code more legible and safer. | |||||
2013-07-01 | cython: Remove erroneous free() | Dawn K. Isabel | 1 | -2/+0 | |
2013-06-30 | Fixed leaked plist uint which is passed to ↵ | Aaron Burghardt | 1 | -1/+3 | |
mobilebackup2_send_status_response(). | |||||
2013-06-30 | Fixed multiple occurrences of memory leaks when empty plist dicts are passed ↵ | Aaron Burghardt | 1 | -5/+13 | |
to mobilebackup2_send_status_response(). | |||||
2013-06-30 | Fixed leaked lockdowns client object in do_post_notification(). | Aaron Burghardt | 1 | -0/+1 | |
2013-06-30 | Fixed memory leak in mb2_status_check_snapshot_state() by freeing the string ↵ | Aaron Burghardt | 1 | -0/+1 | |
returned from plist_get_string_val(). | |||||
2013-06-30 | Fixed memory leak by creating empty plist dict for iTunes settings only when ↵ | Aaron Burghardt | 1 | -2/+2 | |
it can’t be retrieved from the lockdown connection. That mimics the leaking implementation, but maybe it should be an error. |