1. 22 Dec, 2017 1 commit
    • teor's avatar
      Make the default DirAuthorityFallbackRate 0.1 · 30e13716
      teor authored
      This makes clients on the public tor network prefer to bootstrap off fallback
      directory mirrors.
      
      This is a follow-up to 24679, which removed weights from the default fallbacks.
      
      Implements ticket 24681.
      30e13716
  2. 27 Nov, 2017 1 commit
  3. 23 Oct, 2017 1 commit
  4. 17 Oct, 2017 1 commit
  5. 20 Sep, 2017 1 commit
    • teor's avatar
      Remove longclaw's IPv6 address, as it will soon change · 8e52c465
      teor authored
      Authority IPv6 addresses were originally added in 0.2.8.1-alpha.
      
      This leaves 3/8 directory authorities with IPv6 addresses, but there
      are also 52 fallback directory mirrors with IPv6 addresses.
      
      Resolves 19760.
      8e52c465
  6. 07 Feb, 2017 1 commit
  7. 24 Aug, 2016 1 commit
  8. 03 Jul, 2016 1 commit
  9. 28 Apr, 2016 2 commits
  10. 07 Apr, 2016 1 commit
  11. 15 Mar, 2016 2 commits
  12. 14 Mar, 2016 1 commit
  13. 11 Mar, 2016 2 commits
  14. 01 Mar, 2016 1 commit
  15. 27 Feb, 2016 1 commit
  16. 22 Feb, 2016 1 commit
  17. 12 Feb, 2016 1 commit
  18. 28 Jan, 2016 3 commits
  19. 26 Jan, 2016 1 commit
  20. 08 Jan, 2016 1 commit
  21. 07 Jan, 2016 1 commit
  22. 06 Jan, 2016 1 commit
  23. 22 Dec, 2015 1 commit
  24. 21 Dec, 2015 2 commits
  25. 18 Dec, 2015 2 commits
  26. 15 Dec, 2015 5 commits
    • teor's avatar
      Add Fallback Directory Candidate Selection Script · 4c1c2a31
      teor authored
      "Tor has included a feature to fetch the initial consensus from nodes
       other than the authorities for a while now. We just haven't shipped a
       list of alternate locations for clients to go to yet.
      
       Reasons why we might want to ship tor with a list of additional places
       where clients can find the consensus is that it makes authority
       reachability and BW less important.
      
       We want them to have been around and using their current key, address,
       and port for a while now (120 days), and have been running, a guard,
       and a v2 directory mirror for most of that time."
      
      Features:
      * whitelist and blacklist for an opt-in/opt-out trial.
      * excludes BadExits, tor versions that aren't recommended, and low
        consensus weight directory mirrors.
      * reduces the weighting of Exits to avoid overloading them.
      * places limits on the weight of any one fallback.
      * includes an IPv6 address and orport for each FallbackDir, as
        implemented in #17327. (Tor won't bootstrap using IPv6 fallbacks
        until #17840 is merged.)
      * generated output includes timestamps & Onionoo URL for traceability.
      * unit test ensures that we successfully load all included default
        fallback directories.
      
      Closes ticket #15775. Patch by "teor".
      OnionOO script by "weasel", "teor", "gsathya", and "karsten".
      4c1c2a31
    • Nick Mathewson's avatar
      Update KeepCapabilities based on comments from asn · 405a8d3f
      Nick Mathewson authored
      * The option is now KeepBindCapabilities
      * We now warn if the user specifically asked for KeepBindCapabilities
        and we can't deliver.
      * The unit tests are willing to start.
      * Fewer unused-variable warnings.
      * More documentation, fewer misspellings.
      405a8d3f
    • Nick Mathewson's avatar
      Add ability to keep the CAP_NET_BIND_SERVICE capability on Linux · e8cc839e
      Nick Mathewson authored
      This feature allows us to bind low ports when starting as root and
      switching UIDs.
      
      Based on code by David Goulet.
      
      Implement feature 8195
      e8cc839e
    • teor (Tim Wilson-Brown)'s avatar
      Prop210: Add schedules for simultaneous client consensus downloads · 35bbf2e4
      teor (Tim Wilson-Brown) authored
      Prop210: Add attempt-based connection schedules
      
      Existing tor schedules increment the schedule position on failure,
      then retry the connection after the scheduled time.
      
      To make multiple simultaneous connections, we need to increment the
      schedule position when making each attempt, then retry a (potentially
      simultaneous) connection after the scheduled time.
      
      (Also change find_dl_schedule_and_len to find_dl_schedule, as it no
      longer takes or returns len.)
      
      Prop210: Add multiple simultaneous consensus downloads for clients
      
      Make connections on TestingClientBootstrapConsensus*DownloadSchedule,
      incrementing the schedule each time the client attempts to connect.
      
      Check if the number of downloads is less than
      TestingClientBootstrapConsensusMaxInProgressTries before trying any
      more connections.
      35bbf2e4
    • teor (Tim Wilson-Brown)'s avatar
      Add UseDefaultFallbackDirs for hard-coded directory mirrors · 080ae03e
      teor (Tim Wilson-Brown) authored and Nick Mathewson's avatar Nick Mathewson committed
      UseDefaultFallbackDirs enables any hard-coded fallback
      directory mirrors. Default is 1, set it to 0 to disable fallbacks.
      
      Implements ticket 17576.
      Patch by "teor".
      080ae03e
  27. 14 Dec, 2015 3 commits