summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-05-28iproxy: Allow multiple port mappings (in local:device format)Gravatar Nikias Bassen1-54/+119
2020-05-28socket: Increase listen socket backlog queue lengthGravatar Nikias Bassen1-2/+2
2020-05-28iproxy: Allow specifying source address for the listening socketGravatar Nikias Bassen3-21/+99
2020-05-27iproxy: Get rid of concurrent threads and use loop with select() insteadGravatar Nikias Bassen1-150/+74
2020-05-18socket: Make sure fd is ready to write before calling send()Gravatar Nikias Bassen1-0/+4
2020-05-18tools: Make iproxy and inetcat use direct socket connection for network devicesGravatar Nikias Bassen2-5/+70
Instead of going through usbmuxd this change will have it connect directly to the device via network after retrieving its address from usbmuxd
2020-05-18socket: Add new functions socket_connect_addr() and socket_addr_to_string()Gravatar Nikias Bassen2-11/+187
2020-05-18iproxy: Fix build on win32Gravatar Nikias Bassen1-1/+1
2020-05-15socket: Make connecting sockets non-blockingGravatar Nikias Bassen1-11/+31
2020-05-14inetcat: Properly handle USB vs. network devices with new command line switchesGravatar Nikias Bassen1-23/+99
2020-05-14iproxy: Properly handle USB vs. network devices with new command line switchesGravatar Nikias Bassen1-36/+112
2020-05-14configure: Add PACKAGE_URL and PACKAGE_BUGREPORTGravatar Nikias Bassen1-1/+1
2020-04-27Fix compiler warning about missing void in function declaration of ↵Gravatar fidetro2-2/+2
usbmuxd_unsubscribe()
2020-01-14configure.ac: Drop AC_FUNC_MALLOC/REALLOC and use AC_CHECK_FUNCS instead to ↵Gravatar Nikias Bassen1-3/+1
allow cross compiliation
2019-12-05Bump version to 2.0.2Gravatar Nikias Bassen1-1/+1
2019-12-05tools: Update .gitignore and name in header of c fileGravatar Nikias Bassen2-2/+2
2019-11-26inetcat: Add missing sys/select headerGravatar Rosen Penev1-0/+1
Fixes compilation under musl.
2019-11-26tools: Rename icat to inetcat due to name conflict with sleuthkit2.0.1Gravatar Nikias Bassen4-6/+12
See https://github.com/libimobiledevice/libusbmuxd/issues/84
2019-11-07Updated NEWS for release2.0.0Gravatar Nikias Bassen1-0/+9
2019-11-07Update libplist version requirementGravatar Nikias Bassen1-1/+1
2019-11-07Bump version to 2.0.0Gravatar Nikias Bassen1-1/+1
2019-11-07Bump soversion due to changes in interfaceGravatar Nikias Bassen1-1/+1
2019-11-06Fix enum comments in doxygen compatible wayGravatar Nikias Bassen1-3/+3
2019-10-23Added icat to .gitignoreGravatar Nikias Bassen1-0/+1
2019-09-28tools: Ignore SIGPIPEGravatar Nikias Bassen2-0/+8
2019-08-03win32: Fix compilationGravatar Nikias Bassen3-2/+25
2019-08-03tools: Add new tool 'icat'Gravatar Adrien Guinet2-1/+154
2019-06-29iproxy: Fix (newly introduced) timeout errors not being handledGravatar Nikias Bassen1-2/+2
2019-06-20Convert README to markdown and update linksGravatar Nikias Bassen2-70/+66
2019-06-13socket: Return -ETIMEDOUT when select() in socket_read_fd() reached the timeoutGravatar Nikias Bassen1-0/+4
2019-06-12common: Use portable pointer initialization and assert on allocation failureGravatar Nikias Bassen1-6/+16
2019-05-27configure: Add missing check for pselectGravatar Nikias Bassen1-0/+1
2019-05-26Remove unnecessary NULL pointer checksGravatar Nikias Bassen1-9/+4
2019-05-25inotify: Fix hang when usbmuxd is not running and device monitor is stoppedGravatar Nikias Bassen1-2/+47
2019-05-25Make sure device monitor thread can be cancelled without pthread_cancelGravatar Nikias Bassen2-5/+7
2019-05-25configure.ac: Make sure pthread_cancel is properly detectedGravatar Nikias Bassen1-1/+3
2019-05-23Make sure to send device remove events when unregistering the callbackGravatar Nikias Bassen1-0/+8
2019-05-22Add new usbmuxd_events_subscribe/unsubscribe functions with a context so it ↵Gravatar Nikias Bassen4-43/+184
can be used in different threads
2019-05-21socket: Return -ECONNRESET from socket_receive_timeout() instead of -EAGAIN ↵Gravatar Nikias Bassen1-1/+5
if peer closed the socket Returning -EAGAIN would indicate the caller can try again, but if the peer closed the socket that wouldn't make any sense. Thanks to sctol for reporting.
2019-05-21socket: Move initialization of timeval structure into retry loop in ↵Gravatar Nikias Bassen1-8/+7
socket_check_fd() Depending on the platform, select() may modify the timeval structure to indicate the amount left on the timer, so we reset the timeout before calling select() again. Thanks to sctol for reporting.
2019-03-23Fix Segmentation Fault when UDID parsing failed by bailing out in case of errorGravatar Nikias Bassen1-1/+1
Fixes #63.
2019-02-27Use common thread implementation as used in other libimobiledevice librariesGravatar Nikias Bassen6-40/+241
2019-02-26win32: Make sure ECONNREFUSED is definedGravatar Nikias Bassen1-0/+3
2019-01-18Return meaningful error codes from usbmuxd_connect()Gravatar Nikias Bassen2-6/+15
2018-10-21socket: Make sure to use socket_close() really everywhereGravatar Nikias Bassen1-1/+1
2018-10-19Use socket_close instead of close to close a socketGravatar Frederik Carlier1-1/+1
2018-10-16Avoid code duplication for sanitizing udidGravatar Nikias Bassen1-14/+15
2018-10-15Rename DEBUG and ERROR macros to avoid name collisionGravatar Nikias Bassen1-52/+52
2018-10-14Allow using non-standard usbmuxd socket address via environment variableGravatar Nikias Bassen3-31/+127
By using USBMUXD_SOCKET_ADDRESS environment variable, it is possible to make libusbmuxd connect to the specified address. The value needs to be in format ADDRESS:PORT (or UNIX:PATH on unix systems). If no port number is specified or parsing fails, the standard socket address (or unix domain socket file path) will be used silently.
2018-10-13Add proper support for USB and network (WiFi sync) devices reported by usbmuxdGravatar Nikias Bassen3-111/+257
This commit extends the interface with a new function usbmuxd_get_device() that allows to look up USB *and* network devices, while the 'old' interface usbmuxd_get_device_by_udid() only targets USB devices. The usbmuxd_device_info_t structure now has new members 'conn_type' and 'conn_data' so that the returned device info allows to figure out if a device is available via USB or network. Check the comments in include/usbmuxd.h for more details.