TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Release of gandalf 0.8, battled hardened, scalable iPhone port forwarding

2 pointsby e_d_g_a_rover 9 years ago
I&#x27;m proud to announce release of gandalf 0.8, this is a very battled tested tool to port forward ports on jailbroken iPhones. It lets you do ssh -p 2000 root@localhost.<p>Similar to other tools, gandalf is better because<p>1) It is scalable, worked with 25+ iPhones at the same time, see README about needing to use custom version of usbmuxd and issues the linux kernel might give you.<p>2) Provides a nice status server, see what devices are tunneled with gandalf --status<p>3) Battle tested under stress.<p>4) Written in a functional programming language OCaml, so you know its type safe.<p>5) Features nice options like closing connections if there is no activity on the tunnel after a configurable period of time, defaults to five minutes.<p>6) Doesn&#x27;t leak any file descriptors, so you can actually leave this on and forget about it.<p>Easily installed via opam, OCaml&#x27;s package manager.<p>opam install usbmux<p>Provide a mapping file of the form &lt;udid&gt;:&lt;local_port&gt;:&lt;device_port&gt;<p>Find the udid of connected devices with plain listen mode:<p>$ gandalf<p>Will print as devices plug in and out.<p>more serious sample usage:<p>sudo which gandalf --mappings etc&#x2F;idevices&#x2F;mappings --daemonize --verbose --timeout 900<p>Outputs colored debugging messages to the system log too.<p>Source code, star the repo if you like it!:<p>https:&#x2F;&#x2F;github.com&#x2F;onlinemediagroup&#x2F;ocaml-usbmux

no comments

no comments