I am trying to use silvertunnel-ng in order to connect to a hidden service which i created with tor. If i use the code bellow from netbeans i can connect to the socket using the .onion url.
--
the libraries that i use are:
when i transfer the project to android studio it works only if i use
but the connection fails with a timeout error like that
final String HOST = "xw7pdude7qmfqiqim67f.onion";
final TcpipNetAddress proxyTcpipNetAddress = new TcpipNetAddress(HOST, 1444);
System.out.println("Connecting ");
socket = NetFactory.getInstance().getNetLayerById(NetLayerIDs.TOR_OVER_TLS_OVER_TCPIP).createNetSocket(null, null, proxyTcpipNetAddress);
System.out.println("Connected");
Has anyone managed to connect to an .onion url using silvertunnel-ng on android studio? Which libraries should i use? Is there an alternative to silvertunnel-ng?
答案 0 :(得分:2)
好吧,几天前发布了silvertunnel-ng的新快照,问题解决了。我确认可以使用silvertunnel-ng从android连接到tor。