Trying to run KTor server on Android setup to use ...
# ktor
m
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
?
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
android.net.LocalSocket
doesn't implement
java.net.Socket
)
a