1. 22 May, 2019 1 commit
    • David Goulet's avatar
      sendme: Record cell digest on both client and exit · 59b9eecc
      David Goulet authored and Nick Mathewson's avatar Nick Mathewson committed
      
      
      It turns out that only the exit side is validating the authenticated SENDME v1
      logic and never the client side. Which means that if a client ever uploaded
      data towards an exit, the authenticated SENDME logic wouldn't apply.
      
      For this to work, we have to record the cell digest client side as well which
      introduced a new function that supports both type of edges.
      
      This also removes a test that is not valid anymore which was that we didn't
      allow cell recording on an origin circuit (client).
      
      Part of #30428
      
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      59b9eecc
  2. 13 May, 2019 1 commit
    • David Goulet's avatar
      sendme: Fix coverity CID 1444999 · def96ce8
      David Goulet authored
      
      
      The code flow in theory can end up with a layer_hint to be NULL but in
      practice it should never happen because with an origin circuit, we must have
      the layer_hint.
      
      Just in case, BUG() on it if we ever end up in this situation and recover by
      closing the circuit.
      
      Fixes #30467.
      
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      def96ce8
  3. 03 May, 2019 1 commit
  4. 02 May, 2019 1 commit
  5. 29 Apr, 2019 21 commits