1. 28 Aug, 2018 1 commit
  2. 21 Jul, 2018 1 commit
  3. 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.
  4. 03 Jul, 2018 1 commit
  5. 01 Jul, 2018 2 commits
  6. 20 Jun, 2018 2 commits
  7. 15 Jun, 2018 4 commits
  8. 14 Jun, 2018 2 commits
  9. 10 May, 2018 2 commits
  10. 05 May, 2018 1 commit
  11. 01 May, 2018 2 commits
  12. 07 Feb, 2018 1 commit
  13. 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
  14. 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.
  15. 08 Dec, 2017 2 commits
  16. 31 Oct, 2017 3 commits
  17. 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.
  18. 03 Aug, 2017 1 commit
  19. 15 Mar, 2017 1 commit
  20. 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.
  21. 01 Feb, 2017 4 commits
  22. 27 Jan, 2017 1 commit
  23. 13 Jan, 2017 2 commits
    • teor's avatar
      Remove redundant boolean expression from firewall_is_fascist_impl() · 2debcc86
      teor authored and Nick Mathewson's avatar Nick Mathewson committed
      Let A = UseBridges
      Let B = ClientUseIPv4
      Then firewall_is_fascist_impl expands and simplifies to:
      B || (!(A || ...) && A)
      B || (!A && ... && A)
      B || 0
    • teor's avatar
      When IPv6 addresses have not been downloaded, use hard-coded address info · 0417dae5
      teor authored and Nick Mathewson's avatar Nick Mathewson committed
      The microdesc consensus does not contain any IPv6 addresses.
      When a client has a microdesc consensus but no microdescriptor, make it
      use the hard-coded IPv6 address for the node (if available).
      (Hard-coded addresses can come from authorities, fallback directories,
      or configured bridges.)
      If there is no hard-coded address, log a BUG message, and fail the
      connection attempt. (All existing code checks for a hard-coded address
      before choosing a node address.)
      Fixes 20996, fix on b167e82f from 19608 in
  24. 16 Dec, 2016 1 commit