[Dev] Using qtox via tor

Klaus Ethgen Klaus+tox at Ethgen.ch
Sat Oct 13 11:26:35 UTC 2018


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi Folks,

please excuse that I jump onto this list. I just subscribed for this
issue and will not stay here forever. :-) 

I try to debug a strange problem in qtox. When I use it without any
proxy, everything works. But when I use socks proxy via tor (I even
tried http proxy with the same result), it fails with the message
"attempted to send message of length 113 on uninitialised socket" and no
connection will be established.

Versions:
OS: Linux
Dist: Gentoo
qtox: 1.16.3 (but tried also with 9999, that is git HEAD.)
toxcore: 0.2.5 (but tried also with 9999, that is git HEAD.)

With versions of toxcore 0.1.10 and qtox 1.11.0, it worked well but
unfortunatelly, the qtox-1.11.0-emerge is not available anymore and I
didn't safe a binary package.

I am not fully sure but I believe that it worked also with the versions
above once before one upgrade.

So I tried to find why it failed recently. That brought me to
toxcore/network.c where this logic was changed heavily around version
0.2.2. However, I cannot find the reason why proxy connections are
failing.

It might be of interest that libsodium was upgraded too around the time
when it broke. But I cannot find any connection between libsodium and
proxy stuff.

As I don't know the qtox and toxcore code that good that I am able to
search deeper, I want to ask you if you have any idea, what could fail
around proxy stuff. If it is a bug, I can open a bug issue on github but
I am even not convinced if it is a bug of toxcore or qtox.

Ah, yes, I seen issue #5174 of qtox. But this is closed and I see only
marginal similarity to my problem.

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus at Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAlvB1msACgkQpnwKsYAZ
9qzwCQwAj8togaBNL1BoBnnBAYtyvAovaSEtiwn8PKIBVVvV5Ha8CVLnqYL6ytRn
KuiV+1Ye/X9K1cUGUUeK6xdwi5z5aOcptr+1nwB0HkfnMrTDr8A0zGwFQXaZ52Jg
DfT0+ztGgr/7bM/grCXpMj9cUtMKbRfYb6Hbtn0rlPw0Z8EDdBVGtnkaoGXO7lNo
uAZ6eZxW1p61K61J6jzvN7c+jbtPpPMcYh4OhxxEmAuTyCN6ztJyRzZcMgu+6d58
RmU9tfrk2Efx0ECRqv0wCLGIfcG1w+tk39mOgtOsreOSuzWjHMpdnHTMOva+fs29
D8ReUD3/A5WxhQQ5o0MtqPwZG/5pS3ovciaHw6wxRgvemjtUIFsBUXU4ZnPRHTWE
ucCubQZZVOWSBwRLgzo/XiPEJyJTFL+Dd6qpAyHSKipO5Fw4j3E6xBlC2e8j0AYL
L0bP2Q3LHeC35RIkgvkcBbsRyJZ0WEgTWm+FNNS+DAtmupt078hZ0LbsUvt0YjnD
xKO/SjNJ
=/3fs
-----END PGP SIGNATURE-----


More information about the Dev mailing list