Skip to content
Snippets Groups Projects
  1. Mar 15, 2021
  2. Mar 12, 2021
  3. Mar 10, 2021
  4. Mar 08, 2021
  5. Mar 03, 2021
  6. Mar 01, 2021
  7. Feb 24, 2021
  8. Feb 23, 2021
    • David Goulet's avatar
      97e51dd0
    • David Goulet's avatar
      Remove mallinfo() from codebase · ad4f87ed
      David Goulet authored
      
      Now deprecated in libc >= 2.33
      
      Closes #40309
      
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      ad4f87ed
    • David Goulet's avatar
      Remove mallinfo() from codebase · 296a557b
      David Goulet authored
      
      Now deprecated in libc >= 2.33
      
      Closes #40309
      
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      296a557b
    • David Goulet's avatar
      relay: Avoid a directory early fetch · 39d0f69d
      David Goulet authored
      
      The directory_fetches_from_authorities() is used to know if a client or relay
      should fetch data from an authority early in the boot process.
      
      We had a condition in that function that made a relay trigger that fetch if it
      didn't know its address (so we can learn it). However, when this is called,
      the address discovery has not been done yet so it would always return true for
      a relay.
      
      Furthermore, it would always trigger a log notice that the IPv4 couldn't be
      found which was inevitable because the address discovery process has not been
      done yet (done when building our first descriptor).
      
      It is also important to point out that starting in 0.4.5.1-alpha, asking an
      authority for an address is done during address discovery time using a one-hop
      circuit thus independent from the relay deciding to fetch or not documents
      from an authority.
      
      Small fix also is to reverse the "IPv(4|6)Only" flag in the notice so that if
      we can't find IPv6 it would output to use IPv4Only.
      
      Fixes #40300
      
      Signed-off-by: David Goulet's avatarDavid Goulet <dgoulet@torproject.org>
      39d0f69d
  9. Feb 22, 2021
  10. Feb 19, 2021
  11. Feb 17, 2021
  12. Feb 15, 2021
  13. Feb 12, 2021
Loading