summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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.
2009-11-05Fix: properly remove devices from collection when usbmuxd terminatesv1.0.0Gravatar Nikias Bassen1-2/+1
... instead of freeing the collection itself. This fixes the problem with gvfs Volumes not getting removed when unplugging a device and thus increasing the number of devices listed under 'Places' or the save file dialog in GNOME.
2009-10-31Fix signal handling and work around a udev bugGravatar Hector Martin1-4/+20
Switch to ppoll() to avoid a race condition while handling signals (see the ppoll/pselect manpages) and also work around the udev bug that causes child processes to inherit udev's signal mask (which masks everything).
2009-10-31Fix USB pid range check: was trying to claim all Apple devicesGravatar Hector Martin1-1/+1
2009-10-31Add .gitattributes to ignore git stuff on exportv1.0.0-rc2Gravatar Hector Martin1-0/+2
2009-10-31Link libusbmuxd with pthread (fix underlinking)Gravatar Christophe Fergeau1-1/+2
2009-10-30Revert "Use LIB_SUFFIX for udev rules file too"Gravatar Hector Martin1-1/+1
This reverts commit 7682ad8e1baf5ebd4ad1e30f43a267220e2adffc.
2009-10-28Use LIB_SUFFIX for udev rules file tooGravatar Hector Martin1-1/+1
2009-10-28Add build time reminder about creating a userGravatar Hector Martin1-0/+6
2009-10-28Fix usbmuxd->usbmux username in READMEGravatar Hector Martin1-1/+1
2009-10-28Use lib64 on 64-bit systemsGravatar Hector Martin3-8/+12
2009-10-26Improve READMEGravatar Hector Martin1-3/+7
2009-10-25Add note that the sftp hack is obsoletev1.0.0-rc1Gravatar Hector Martin1-0/+6
2009-10-25Add missing license headers and make them consistentGravatar Hector Martin20-35/+177
2009-10-12Make some log messages more consistentGravatar Hector Martin1-4/+4
2009-10-12Downgrade "no connection for packet" message loglevel tooGravatar Hector Martin1-1/+1
Also happens after connection is closed by the host and the like, to be expected.
2009-10-12optimize: persist fdlist for duration of main_loopGravatar Hector Martin3-2/+9
constant malloc and realloc was wasting lots of time
2009-10-12optimize: considerable CPU usage was due to needless ops for unlogged messagesGravatar Hector Martin1-3/+3
2009-10-12Downgrade unknown client fd message loglevelGravatar Hector Martin1-1/+1
It can happen sometimes when the phone and the client close at the same time (during the same mainloop iteration) and the like, it's not important when it shows up during connection teardown.
2009-10-10Disable polling in udev mode, use udev to signal device discoveryGravatar Hector Martin3-16/+56
2009-10-10Add libusb-1.0.3 dep to pkg-configGravatar Hector Martin1-1/+1
2009-10-03Require libusb-1.0.3 and hardcode explicit ZLP logicGravatar Hector Martin4-99/+1
1.0.3 has the 0-byte transaction fix. The saga continues on the libusb trac. Whenever they add the ZLP flag we can get rid of the 0-byte logic and just set it.
2009-09-23Add usbmuxd_device_list_free functionGravatar Martin Szulecki2-0/+17