0c657582f2
Splitting the socks5 request is causing issues when running against Tor. It causes Tor to fail with an address unknown error. Assembling the request and sending it in its entirety solves the issue. An strace of torsocks, that functions correctly when used with xbps, shows that the request is being sent all at once: recvfrom(3, "\5\0", 2, 0, NULL, NULL) sendto(3, "\5\1\0\3>lysator7eknrfl47rlyxvgeamrv7ucefgrrlhk7rouv3sna25asetwid.onion\0P", 69, 0, NULL, 0) recvfrom(3, "\5\0\0\1\0\0\0\0\0\0", 10, 0, NULL, NULL) Closes: #54 [via git-merge-pr] |
||
---|---|---|
.. | ||
common.c | ||
common.h | ||
errlist.sh | ||
fetch.c | ||
fetch.h | ||
file.c | ||
ftp.c | ||
ftp.errors | ||
http.c | ||
http.errors |