1. 09 Apr, 2020 1 commit
    • David Goulet's avatar
      client: Revert setting PreferIPv6 on by default · cd2121a1
      David Goulet authored and teor's avatar teor committed
      
      
      This change broke torsocks that by default is expecting an IPv4 for hostname
      resolution because it can't ask tor for a specific IP version with the SOCKS5
      extension.
      
      PreferIPv6 made it that sometimes the IPv6 could be returned to torsocks that
      was expecting an IPv4.
      
      Torsocks is probably a very unique case because the runtime flow is that it
      hijacks DNS resolution (ex: getaddrinfo()), gets an IP and then sends it back
      for the connect() to happen.
      
      The libc has DNS resolution functions that allows the caller to request a
      specific INET family but torsocks can't tell tor to resolve the hostname only
      to an IPv4 or IPv6 and thus by default fallsback to IPv4.
      
      Reverting this change into 0.4.3.x series but we'll keep it in the 0.4.4.x
      series in the hope that we add this SOCKS5 extension to tor for DNS resolution
      and then change torsocks to use that.
      
      Fixes #33804
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      cd2121a1
  2. 05 Apr, 2020 2 commits
  3. 04 Apr, 2020 1 commit
    • teor's avatar
      changes: file for ticket 33782 · b1e1c6b5
      teor authored
      Avoid conflicts between the fake sockets in tor's unit tests, and real
      file descriptors. Resolves issues running unit tests with GitHub
      Actions, where the process that embeds or launches the tests has
      already opened a large number of file descriptors.
      
      Fixes bug 33782; bugfix on 0.2.8.1-alpha.
      
      Found and fixed by Putta Khunchalee.
      b1e1c6b5
  4. 03 Apr, 2020 2 commits
  5. 01 Apr, 2020 1 commit
  6. 30 Mar, 2020 1 commit
  7. 26 Mar, 2020 1 commit
  8. 25 Mar, 2020 2 commits
  9. 23 Mar, 2020 1 commit
  10. 20 Mar, 2020 9 commits
  11. 19 Mar, 2020 5 commits
  12. 18 Mar, 2020 11 commits
  13. 17 Mar, 2020 3 commits