summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2010-06-17Remove spurious newline in messageGravatar Hector Martin1-1/+1
2010-06-13Fix cygwin buildsGravatar Cerrato Renaud3-2/+3
- libusbmuxd/CMakeLists.txt : there was a neglect into install rules, for DLL, RUNTIME was missing. - libusbmuxd.c : added __CYGWIN__ conditionnal compilation checks to force regular socket instead of UNIX sockets on CYGWIN platform.
2010-06-13Abort processing for some client errors (instead of crashing)Gravatar Hector Martin1-0/+3
Missing 'return' statements caused the code to keep running on a deallocated client, which would cause the server to crash.
2010-06-12Send the port number in screwed up endian in the plist (Apple compat)Gravatar Hector Martin1-1/+1
2010-06-12Actually enable the new protocolGravatar Hector Martin2-0/+2
2010-06-12These patches get usbmuxd compiling/working on FreeBSD. With minor changes, ↵Gravatar Jacob Myers4-6/+16
it could work on other BSD's also.
2010-06-12Some README updates and fixesGravatar Hector Martin1-4/+3
2010-05-27Added missing FindPLIST.cmake fileGravatar Nikias Bassen1-0/+31
2010-05-26libusbmuxd: use winsock API for win32Gravatar Nikias Bassen5-4/+49
2010-05-26Add protocol version 1 (plist based) support using libplistGravatar Nikias Bassen6-28/+402
2010-05-26usbmuxd: rename notify_device to notify_device_add; added notify_device_removeGravatar Nikias Bassen1-4/+9
2010-05-26libusbmuxd: add send_packet and send_listen/connect_packet functionsGravatar Nikias Bassen1-30/+59
... and use a global tag variable changing with each request
2010-05-26libusbmuxd: add generic receive_packet function and use itGravatar Nikias Bassen1-91/+117
2010-05-26Refuse to build usbmuxd on win32 as libusb-1.0 is not availableGravatar Nikias Bassen1-0/+7
2010-05-26libusbmuxd: use define for the win32 port numberGravatar Nikias Bassen2-1/+5
2010-05-26libusbmuxd: use connect_usbmuxd_socket instead of connect_unix_socketGravatar Nikias Bassen1-1/+1
... inside usbmuxd_get_device_list. This makes sure it works on win32 systems.
2010-05-26Use more common predefined compiler macro to detect win32Gravatar Nikias Bassen1-1/+1
2010-05-26libusbmuxd: win32 does not support unix domain socketsGravatar Nikias Bassen2-0/+4
2010-05-26libusbmuxd: rename FD_* enum values to FDM_* to prevent conflictsGravatar Nikias Bassen2-7/+7
This seems to be a win32 issue only. But this rename doesn't hurt!
2010-05-25Fix older CMake releases failing to parse rules properlyGravatar Martin Szulecki1-1/+1
2010-05-25Detach kernel drivers before changing configurationsGravatar Hector Martin1-0/+20
This is especially useful when bConfigurationValue is 2, which tends to be a mixed HID/USB-Audio configuration that the kernel likes to use. Otherwise usbmuxd cannot change the configuration.
2010-05-18Parse out interface/endpoint descriptors instead of hardcoding themGravatar Hector Martin2-13/+53
This should make usbmuxd work with devices in recovery mode
2010-05-11Make max_payload unsigned toov1.0.4Gravatar Hector Martin1-1/+1
2010-05-11Fix aborts due to transmit window overflowGravatar Hector Martin1-1/+6
c0b02222 made conn->sendable unsigned. If the device reduces the window after we've sent too much data already, it can become negative, overflow, and cause connection aborts when we send too much data. Fix this by checking for this condition and setting conn->sendable to 0. Thanks to Thomas Jost and Nikias Bassen for debugging this issue.
2010-04-11Unify CMakeLists indentation and endif() stuffGravatar Hector Martin1-12/+10
2010-04-11Add automatic git versioning and tag for archivesGravatar Hector Martin3-3/+39
2010-04-08libusbmuxd: close connection after enumerating devicesGravatar Nikias Bassen1-0/+3
2010-04-08Ignore SIGPIPE, otherwise usbmuxd might shut down on connection abortGravatar Nikias Bassen1-0/+1
2010-04-08iproxy: Remove unused mutexGravatar Nikias Bassen1-2/+0
2010-04-08libusbmuxd: suppress compiler warningGravatar Nikias Bassen1-2/+2
2010-04-08libusbmuxd: support shorter device info record messagesGravatar Nikias Bassen1-1/+1
This adds support for older original usbmuxd implementations shipped with iTunes.
2010-04-08libusbmuxd itself does not depend on libusb so remove the referenceGravatar Nikias Bassen1-1/+0
2010-04-08OSX: add workaround for missing ppoll system callGravatar Nikias Bassen1-0/+15
2010-04-08Add cmake option WITH_USBMUXD for disabling build of usbmuxd (Win/OSX)Gravatar Nikias Bassen1-2/+19
Run cmake -DWITH_USBMUXD=NO to disable building of usbmuxd, e.g. for systems like Windows or OSX where iTunes is installed. It will also skip the udev sub-directory on build.
2010-04-04Detect the iPad and let usbmuxd talk to itGravatar Martin Szulecki2-5/+5
2010-03-22Flag udev device with USBMUX_SUPPORTEDv1.0.3Gravatar Martin Szulecki1-1/+1
Desktop tools can now check for devices supporting the usbmux protocol without having to maintain any usb id ranges or similar.
2010-02-07Remove silly null statementv1.0.2Gravatar Hector Martin1-1/+1
2010-02-07Clean up CMakeLists (inspired by Gentoo patch)Gravatar Hector Martin4-19/+24
2010-02-01Don't crash on TCP junk during device initGravatar Hector Martin1-3/+9
2010-01-30Require explicit username to drop privsGravatar Hector Martin2-8/+12
2010-01-30Do not attempt to drop privs to rootGravatar Hector Martin1-24/+27
2010-01-25Clean up readme, add trademark notice, rename thingsGravatar Hector Martin1-16/+24
2010-01-25Remove libusbmuxd debug again that slipped byGravatar Hector Martin1-1/+0
2010-01-24Clean up packet size types and add some paranoiaGravatar Hector Martin4-21/+35
None of this should fix an exploit, it's just healthy paranoia.
2010-01-24Security fix: check cumulative packet size for split device packetsGravatar Hector Martin1-0/+5
2010-01-24Clean up libusbmuxd warningsGravatar Hector Martin1-3/+1
2010-01-24Add missing pthread.h include to libusbmuxdGravatar Hector Martin1-0/+1
2010-01-24Use -Wall globallyGravatar Hector Martin3-3/+6
2010-01-19Removed debugging printf's and added __func__ to all remaining fprintf'sGravatar Nikias Bassen1-22/+11
2009-12-07Get rid of SHORT_NOT_OK flag for USB sendsGravatar Hector Martin1-2/+0
This flag is useful for reads only (and we don't want it on our reads anyway). In DEBUG mode, the USB kernel driver is anal about this useless flag and reports an error.