summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-06-08socket: Fix IPv6 scope id lookup logic to handle another network device problemGravatar Martin Szulecki1-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-08Update README.md links and creditsGravatar Martin Szulecki1-4/+5
2020-06-07socket: Fix socket_connect_addr() not connecting using IPv6 in some casesGravatar Martin Szulecki1-0/+125
This extends the socket helper with functions to determine the "scope" and a suitable "scope id" of an IPv6 address. While socket_connect_addr() prefers any initially supplied "scope id" to maintain routing information if possible, it will attempt to determine the best suitable route with 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-06-07iproxy: Use sockaddr_storage struct in network connection logicGravatar Nikias Bassen1-5/+6
2020-06-07iproxy: Allow proper listening on localhost for IPv6 _and_ IPv4Gravatar Nikias Bassen1-23/+70
2020-06-07socket: Improve socket_create() with proper use of getaddrinfoGravatar Nikias Bassen1-95/+58
2020-06-04Update NEWS with latest changesGravatar Martin Szulecki1-0/+14
2020-06-04Unify usage output of tools and use proper indentationGravatar Martin Szulecki2-24/+27
2020-06-04Update project URLs in man pages of toolsGravatar Martin Szulecki2-4/+4
2020-06-04Update project URL in configure.acGravatar Martin Szulecki1-1/+1
2020-05-31Add man pages for iproxy and inetcatGravatar Nikias Bassen5-1/+122
2020-05-31inetcat: Update usage to better reflect what the tool actually doesGravatar Nikias Bassen1-2/+2
2020-05-31iproxy: Update usage to reflect new local:remote port formatGravatar Nikias Bassen1-2/+3
2020-05-29iproxy: Fix crash when no UDID is givenGravatar Nikias Bassen1-1/+1
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