Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Telepresence segfaults (sometimes) in inject-tcp mode #195
Some investigation today reveals one explanation for this behavior (and explains the difference across different networks).
When torsocks is used, the forward resolution results in a request to the SOCKS proxy to do the resolve (command
When torsocks is used, the reverse resolve results in the command
This is probably a torsocks bug (I expect torsocks' author expects it to talk to Tor and doesn't expect this not-implemented response from Tor; but segfaulting still seems like the wrong result).
And the segfault only happens in some network configurations because it depends on a reverse lookup happening and
This could probably be fixed in torsocks or our SOCKS proxy or both.