1. 01 Dec, 2018 3 commits
  2. 20 Sep, 2018 1 commit
    • Nick Mathewson's avatar
      Split most of dirserv.c into several new modules · b54a5e70
      Nick Mathewson authored
      In dirauth:
        * bwauth.c reads and uses bandwidth files
        * guardfraction.c reads and uses the guardfraction file
        * reachability.c tests relay reachability
        * recommend_pkg.c handles the recommended-packages lines.
        * recv_descs.c handles fingerprint files and processing incoming
          routerinfos that relays upload to us
        * voteflag.c computes flag thresholds and sets those thresholds on
          routerstatuses when computing votes
      In control:
        * fmt_serverstatus.c generates the ancient "v1 server status"
          format that controllers expect.
      In nodelist:
        * routerstatus_fmt.c formats routerstatus entries for a consensus,
          a vote, or for the controller.
  3. 14 Sep, 2018 2 commits
  4. 28 Aug, 2018 1 commit
  5. 21 Aug, 2018 1 commit
  6. 21 Jul, 2018 1 commit
  7. 05 Jul, 2018 2 commits
    • Nick Mathewson's avatar
      Fix every include path changed in the previous commit (automated) · ef486e3c
      Nick Mathewson authored
      I am very glad to have written this script.
    • Nick Mathewson's avatar
      Move literally everything out of src/or · 63b4ea22
      Nick Mathewson authored
      This commit won't build yet -- it just puts everything in a slightly
      more logical place.
      The reasoning here is that "src/core" will hold the stuff that every (or
      nearly every) tor instance will need in order to do onion routing.
      Other features (including some necessary ones) will live in
      "src/feature".  The "src/app" directory will hold the stuff needed
      to have Tor be an application you can actually run.
      This commit DOES NOT refactor the former contents of src/or into a
      logical set of acyclic libraries, or change any code at all.  That
      will have to come in the future.
      We will continue to move things around and split them in the future,
      but I hope this lays a reasonable groundwork for doing so.
  8. 03 Jul, 2018 1 commit
  9. 01 Jul, 2018 2 commits
  10. 20 Jun, 2018 2 commits
  11. 15 Jun, 2018 4 commits
  12. 14 Jun, 2018 2 commits
  13. 10 May, 2018 2 commits
  14. 05 May, 2018 1 commit
  15. 01 May, 2018 2 commits
  16. 07 Feb, 2018 1 commit
  17. 24 Dec, 2017 1 commit
    • teor's avatar
      Clear the address when we can't choose a reachable address · 09b9a35c
      teor authored
      When the fascist_firewall_choose_address_ functions don't find a
      reachable address, set the returned address to the null address and port.
      This is a precautionary measure, because some callers do not check the
      return value.
      Fixes bug 24736; bugfix on
  18. 10 Dec, 2017 1 commit
    • teor's avatar
      Stop waiting for microdescs if the consensus supports IPv6 ORPorts · b66b62fb
      teor authored
      Also make IPv6-only clients wait for microdescs for relays, even if we were
      previously using descriptors (or were using them as a bridge) and have
      a cached descriptor for them.
      But if node_is_a_configured_bridge(), stop waiting for its IPv6 address in
      a microdescriptor, because we'll never use it.
      Implements #23827.
  19. 08 Dec, 2017 2 commits
  20. 31 Oct, 2017 3 commits
  21. 24 Sep, 2017 1 commit
    • Roger Dingledine's avatar
      Assign Exit flag only for ports 80 and 443 · 8dff23eb
      Roger Dingledine authored
      Make the "Exit" flag assignment only depend on whether the exit
      policy allows connections to ports 80 and 443. Previously relays
      would get the Exit flag if they allowed connections to one of
      these ports and also port 6667.
      Resolves ticket 23637.
  22. 03 Aug, 2017 1 commit
  23. 15 Mar, 2017 1 commit
  24. 14 Feb, 2017 1 commit
    • Nick Mathewson's avatar
      Fix policies.c instance of the "if (r=(a-b)) return r" pattern · 1afc2ed9
      Nick Mathewson authored
      I think this one probably can't underflow, since the input ranges
      are small.  But let's not tempt fate.
      This patch also replaces the "cmp" functions here with just "eq"
      functions, since nothing actually checked for anything besides 0 and
      Related to 21278.
  25. 01 Feb, 2017 1 commit