summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-07-15Forward usbmuxd connect error codes instead of using -1 everywhereGravatar Nikias Bassen1-14/+22
2021-06-30README: Fix typoGravatar Nikias Bassen1-1/+1
2021-02-05tools: Flip order of windows.h and winsock2.h to get rid of compiler warning ↵Gravatar Nikias Bassen1-1/+1
(Windows)
2020-12-30Remove cast to the same typeGravatar Rosen Penev1-1/+1
[clang-tidy] Found with google-readability-casting Signed-off-by: Rosen Penev rosenp@gmail.com
2020-12-30Add parentheses to macro argumentsGravatar Rosen Penev2-4/+4
[clang-tidy] Found with bugprone-macro-parentheses Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-30Do not use else after return or break for better code readabilityGravatar Rosen Penev4-33/+43
[clang-tidy] Found with readability-else-after-return Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-30Remove pointless returnGravatar Rosen Penev1-1/+0
[clang-tidy] Found with readability-redundant-control-flow Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-30Fix inconsistent declarationsGravatar Rosen Penev2-18/+18
[clang-tidy] Found with readability-inconsistent-declaration-parameter-name Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-12-28docs: Fix typo in inetcat manpageGravatar Nikias Bassen1-1/+1
Thanks to @corsac-s for spotting this.
2020-11-27socket: Fix build on WindowsGravatar Nikias Bassen5-5/+312
2020-09-16common: Increase timeout for socket_send() to reasonable valueGravatar Nikias Bassen1-1/+2
The short timeout of 1000 ms might cause problems in different situations like a firmware restore, where 1000 ms can easily be hit. Increasing this to a higher value will mitigate it for this case, but actually the error handling at a higher level needs to be improved.
2020-06-15Post release version bump to 2.0.3Gravatar Martin Szulecki1-1/+1
2020-06-15Update NEWS with latest changes2.0.2Gravatar Martin Szulecki1-0/+8
2020-06-15iproxy: Add missing includeGravatar Nikias Bassen1-0/+1
2020-06-15iproxy: Add new "--version" option to output version informationGravatar Martin Szulecki1-1/+9
2020-06-15inetcat: Add new "--version" option to output version informationGravatar Martin Szulecki1-1/+9
2020-06-14Make sure generated pkg-config file is matched by .gitignore ruleGravatar Martin Szulecki1-1/+1
2020-06-14Add API version to library and pkgconfig file for proper linkingGravatar Nikias Bassen3-9/+9
2020-06-13Add "contributing" section to README.mdGravatar Martin Szulecki1-0/+19
2020-06-13Update README.md to fix minor typos and dependencies for installationGravatar Martin Szulecki1-3/+6
2020-06-13Update README with Apple trademarksGravatar Nikias Bassen1-1/+2
2020-06-12Improve README.md with feature, installation and usage sectionsGravatar Martin Szulecki1-39/+112
2020-06-09Apply changes towards a project wide common "autogen.sh" fileGravatar Martin Szulecki1-11/+22
2020-06-08Fix pkg-config file pointing to older libplist dependencyGravatar Nikias Bassen1-1/+1
2020-06-08Move pkg-config file into src dir and rename it to include major version as ↵Gravatar Nikias Bassen4-4/+4
standard recommends
2020-06-08configure: Update libplist version requirementGravatar Nikias Bassen1-2/+2
2020-06-08Remove trailing whitespace errors from all filesGravatar Martin Szulecki2-7/+7
2020-06-08Make sure README.md file is added to distribution archiveGravatar Martin Szulecki1-0/+3
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