1. 11 Aug, 2020 1 commit
  2. 09 Jul, 2020 3 commits
  3. 01 May, 2020 1 commit
    • Nick Mathewson's avatar
      Fix a GCC 10.0.1 compilation error. · b1c383e3
      Nick Mathewson authored
      Do not try to stuff "HS_DESC_DECODE_GENERIC_ERROR" (-1) into a
      socks5_reply_status_t (enum).  It doesn't actually make sense, and
      isn't one of our documented extensions.
      
      (This can only happen on a nonfatal assertion that we haven't seen,
      so it probably isn't happening in practice.)
      
      Fixes another case of bug 34077; bugfix on 0.4.3.1-alpha.
      b1c383e3
  4. 13 Apr, 2020 1 commit
  5. 09 Apr, 2020 1 commit
  6. 08 Apr, 2020 4 commits
  7. 17 Mar, 2020 1 commit
  8. 18 Feb, 2020 1 commit
  9. 12 Feb, 2020 1 commit
  10. 11 Feb, 2020 1 commit
  11. 06 Feb, 2020 1 commit
  12. 03 Feb, 2020 1 commit
  13. 21 Jan, 2020 1 commit
  14. 08 Jan, 2020 1 commit
  15. 10 Dec, 2019 1 commit
  16. 03 Dec, 2019 5 commits
  17. 27 Nov, 2019 2 commits
  18. 18 Nov, 2019 11 commits
  19. 24 Oct, 2019 1 commit
    • David Goulet's avatar
      hs-v3: Remove a BUG() caused by an acceptable race · ed57a04a
      David Goulet authored
      
      
      hs_client_purge_state() and hs_cache_clean_as_client() can remove a descriptor
      from the client cache with a NEWNYM or simply when the descriptor expires.
      
      Which means that for an INTRO circuit being established during that time, once
      it opens, we lookup the descriptor to get the IP object but hey surprised, no
      more descriptor.
      
      The approach here is minimalist that is accept the race and close the circuit
      since we can not continue. Before that, the circuit would stay opened and the
      client wait the SockTimeout.
      
      Fixers #28970.
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      ed57a04a
  20. 17 Oct, 2019 1 commit
    • David Goulet's avatar
      hs-v3: Add a series of decoding error code · 52bf54ec
      David Goulet authored
      
      
      This commit introduces the hs_desc_decode_status_t enum which aims at having
      more fine grained error code when decoding a descriptor.
      
      This will be useful in later commits when we support keeping a descriptor that
      can't be decrypted due to missing or bad client authorization creds.
      
      No behavior change.
      
      Part of #30382.
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      52bf54ec