tor - silvertunnel-ng netlib 0.0.4 in android -
i want ask if possible use silvertunnel-ng netlib 0.0.4 on android device. try use have problem security calculation in encryption class of library.
warning message :
warn org.silvertunnel_ng.netlib.layer.tor.util.encryption - verifysignature(): try fix bug in security calculation openjdk-6 java web start (ticket #59) 04-14 22:01:28.262 [org.silvertunnel_ng.netlib.layer.tor.directory.directorymanagerthread] warn org.silvertunnel_ng.netlib.layer.tor.util.encryption - verifysignature(): original decrypteddigest=01:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:00:a0:22:cd:61:ae:b0:44:f7:a2:a6:03:22:90:79:66:b6:51:c4:ec:de 04-14 22:01:28.262 [org.silvertunnel_ng.netlib.layer.tor.directory.directorymanagerthread] warn org.silvertunnel_ng.netlib.layer.tor.util.encryption - verifysignature(): datadigest =a0:22:cd:61:ae:b0:44:f7:a2:a6:03:22:90:79:66:b6:51:c4:ec:de 04-14 22:01:28.272 [org.silvertunnel_ng.netlib.layer.tor.directory.directorymanagerthread] warn org.silvertunnel_ng.netlib.layer.tor.util.encryption - verifysignature(): try fix bug in security calculation openjdk-6 java web start (ticket #59) 04-14 22:01:28.272 [org.silvertunnel_ng.netlib.layer.tor.directory.directorymanagerthread] warn org.silvertunnel_ng.netlib.layer.tor.util.encryption - verifysignature(): original decrypteddigest=01:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:00:3c:46:3d:7e:ac:1b:79:cb:d5:da:ba:1c:1a:0f:17:fa:13:f2:d0:07 04-14 22:01:28.272 [org.silvertunnel_ng.netlib.layer.tor.directory.directorymanagerthread] warn org.silvertunnel_ng.netlib.layer.tor.util.encryption - verifysignature(): datadigest =3c:46:3d:7e:ac:1b:79:cb:d5:da:ba:1c:1a:0f:17:fa:13:f2:d0:07 04-14 22:01:28.282 [org.silvertunnel_ng.netlib.layer.tor.directory.directorymanagerthread] warn org.silvertunnel_ng.netlib.layer.tor.util.encryption - verifysignature(): try fix bug in security calculation openjdk-6 java web start (ticket #59) 04-14 22:01:28.282 [org.silvertunnel_ng.netlib.layer.tor.directory.directorymanagerthread] warn org.silvertunnel_ng.netlib.layer.tor.util.encryption - verifysignature(): original decrypteddigest=01:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:00:03:73:9f:06:08:84:cc:9f:20:87:62:27:c6:84:e6:06:10:3e:80:63 04-14 22:01:28.282 [org.silvertunnel_ng.netlib.layer.tor.directory.directorymanagerthread] warn org.silvertunnel_ng.netlib.layer.tor.util.encryption - verifysignature(): datadigest =03:73:9f:06:08:84:cc:9f:20:87:62:27:c6:84:e6:06:10:3e:80:63 04-14 22:01:28.292 [org.silvertunnel_ng.netlib.layer.tor.directory.directorymanagerthread] warn org.silvertunnel_ng.netlib.layer.tor.util.encryption - verifysignature(): try fix bug in security calculation openjdk-6 java web start (ticket #59) 04-14 22:01:28.292 [org.silvertunnel_ng.netlib.layer.tor.directory.directorymanagerthread] warn org.silvertunnel_ng.netlib.layer.tor.util.encryption - verifysignature(): original decrypteddigest=01:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:ff:00:ac:67:12:d3:81:4c:ea:7c:c9:20:a2:44:93:a4:55:16:bb:43:6b:64 04-14 22:01:28.292 [org.silvertunnel_ng.netlib.layer.tor.directory.directorymanagerthread] warn org.silvertunnel_ng.netlib.layer.tor.util.encryption - verifysignature(): datadigest =ac:67:12:d3:81:4c:ea:7c:c9:20:a2:44:93:a4:55:16:bb:43:6b:64 04-14 22:01:28.632 [org.silvertunnel_ng.netlib.layer.tor.directory.directorymanagerthread] info org.silvertunnel_ng.netlib.layer.tor.directory.directoryconsensus - validuntil=tue apr 14 22:00:00 eest 2015 old currentdate=tue apr 14 22:01:28 eest 2015 04-14 22:01:37.632 [org.silvertunnel_ng.netlib.layer.tor.directory.directorymanagerthread] info org.silvertunnel_ng.netlib.layer.tor.clientimpl.tor - tornetlayer new status: router descriptors (tor router details) loaded (30%) [controlnetsocketthread] info org.silvertunnel_ng.netlib.layer.control.controlnetsocketthread - send timeout controlnetsocket(loggingnetsocket(socket2netsocket(socket[address=/82.94.251.203,port=80,localport=37591]))): overall timeout reached 04-14 22:02:38.517 [controlnetsocketthread] info org.silvertunnel_ng.netlib.layer.control.controlnetsocketthread - send timeout controlnetsocket(loggingnetsocket(socket2netsocket(socket[address=/86.59.21.38,port=80,localport=52887]))): overall timeout reached 04-14 22:03:08.799 [controlnetsocketthread] info org.silvertunnel_ng.netlib.layer.control.controlnetsocketthread - send timeout controlnetsocket(loggingnetsocket(socket2netsocket(socket[address=/128.31.0.39,port=9131,localport=37239]))): overall timeout reached 04-14 22:03:39.192 [controlnetsocketthread] info org.silvertunnel_ng.netlib.layer.control.controlnetsocketthread - send timeout controlnetsocket(loggingnetsocket(socket2netsocket(socket[address=/171.25.193.9,port=443,localport=46458]))): overall timeout reached 04-14 22:04:09.524 [controlnetsocketthread] info org.silvertunnel_ng.netlib.layer.control.controlnetsocketthread - send timeout controlnetsocket(loggingnetsocket(socket2netsocket(socket[address=/208.83.223.34,port=443,localport=56812]))): overall timeout reached
overall timeout reached , never connecting tor network!
this warning message has nothing real error. show normal implementation of calculating signature different on jvms, message not providing value have removed logging of message library.
the real error can found here. solved , silvertunnel-ng able connect tor-network.
the thing not working setup of hiddenservice.
an android-sample project can found here.
the overall-timeout happens if router information cannot loaded fast enough tor network.
on android there 2 main reasons why happen:
- network speed
- garbage collector stopping threads because of memory usage
the silvertunnel-ng uses around 100-200 mb ram normal android apps.
to overcome issue check out above mentioned android-sample project.
Comments
Post a Comment