Torsocks issueshttps://gitlab.torproject.org/tpo/core/torsocks/-/issues2020-06-27T14:12:04Zhttps://gitlab.torproject.org/tpo/core/torsocks/-/issues/22068Make it explicit that Torsocks won't work correctly in certain scenarios in t...2020-06-27T14:12:04ZTracMake it explicit that Torsocks won't work correctly in certain scenarios in the READMEAs far as I understand, Torsocks works by setting LD_PRELOAD, so an application that doesn't uses libc, and instead uses syscalls directly will be able to bypass torsocks and connect directly to the Internet.
I think a warning about it ...As far as I understand, Torsocks works by setting LD_PRELOAD, so an application that doesn't uses libc, and instead uses syscalls directly will be able to bypass torsocks and connect directly to the Internet.
I think a warning about it on the README file, and MAN page is needed, besides making it explicit that using Torsocks is not 100% safe as the README might make you think, for example:
> _Torsocks allows you to use most applications in a safe way with Tor. It ensures that DNS requests are handled safely and explicitly rejects any traffic other than TCP from the application you're using._
> Torsocks is an ELF shared library that is loaded before all others. The library overrides every needed Internet communication libc function calls such as connect(2) or gethostbyname(3).
> _This process is transparent to the user and if torsocks detects any communication that can't go through the Tor network such as UDP traffic, for instance, the connection is denied. If, for any reason, there is no way for torsocks to provide the Tor anonymity guarantee to your application, torsocks will force the application to quit and stop everything._
**Trac**:
**Username**: FranciscouzoDavid Gouletdgoulet@torproject.orgDavid Gouletdgoulet@torproject.org