Trying to run KTor server on Android setup to use a Unix Domain Socket so that I can expose it as a Tor HiddenService. It's working now using HTTPS, but it looks like unix domain sockets are Java16+ only?
Any chance there could be some wedge in there to use either
android.net.LocalSocket
-OR-
java.net.UnixDomainSocketAddress
?
Matt Nelson
06/19/2022, 9:21 PM
Have Tor's
ControlPort
and
SocksPort
using unix domain sockets on Android via
android.net.LocalSocket
, and then on desktop for JDK 9+ using jnr-unixsocket
Wish there was a way to setup ktor with some sort of Socket abstraction (b/c