Skip to content
Snippets Groups Projects
  1. Aug 09, 2019
  2. Aug 08, 2019
  3. Aug 06, 2019
    • Nick Mathewson's avatar
      Avoid using labs() on time_t in channeltls.c · 0849d2a2
      Nick Mathewson authored
      On some windows builds, time_t is 64 bits but long is not.  This is
      causing appveyor builds to fail.
      
      Also, one of our uses of labs() on time_t was logically incorrect:
      it was telling us to accept NETINFO cells up to three minutes
      _before_ the message they were responding to, which doesn't make
      sense.
      
      This patch adds a time_abs() function that we should eventually move
      to intmath.h or something.  For now, though, it will make merges
      easier to have it file-local in channeltls.c.
      
      Fixes bug 31343; bugfix on 0.2.4.4-alpha.
      0849d2a2
  4. Jul 01, 2019
  5. Jun 28, 2019
    • teor's avatar
      changes: file for 28795 · fb977f8c
      teor authored
      Replace the 157 fallbacks originally introduced in Tor 0.3.5.6-rc
      in December 2018 (of which ~122 were still functional), with a
      list of 148 fallbacks (70 new, 78 existing, 79 removed) generated
      in June 2019.
      
      Closes ticket 28795.
      
      Note that we created extra lists from DE and US, but they didn't add
      any more fallbacks when we tried to merge them.
      fb977f8c
    • teor's avatar
      fallback: apply the second fallback list from 2019 · f3b2a81c
      teor authored
      Update the fallback directory mirrors by merging the current list with:
      fallback_dirs_2019-06-28-08-58-39_AU_f0437a39ddbc8459.inc
      
      Part of 28795, see that ticket for logs.
      f3b2a81c
    • teor's avatar
      fallback: apply the first fallback list from 2019 · 37c2808a
      teor authored
      Update the fallback directory mirrors by replacing the old list with:
      fallback_dirs_2019-06-25-11-49-10_AU_a37adb956fbb5cd2.inc
      
      Part of 28795, see that ticket for logs.
      37c2808a
  6. Jun 12, 2019
  7. Jun 11, 2019
  8. May 17, 2019
  9. Apr 30, 2019
  10. Apr 19, 2019
  11. Apr 17, 2019
    • teor's avatar
      test/relay: add a missing typedef · 031ed59d
      teor authored
      In 0.3.4 and later, these functions are declared in rephist.h:
      STATIC uint64_t find_largest_max(bw_array_t *b);
      STATIC void commit_max(bw_array_t *b);
      STATIC void advance_obs(bw_array_t *b);
      
      But in 0.2.9, they are declared in rephist.c and test_relay.c.
      
      So compilers fail with a "must use 'struct' tag" error.
      
      We add the missing struct typedef in test_relay.c, to match the
      declarations in rephist.c.
      
      (Merge commit 813019cc moves these functions into rephist.h instead.)
      
      Fixes bug 30184; not in any released version of Tor.
      031ed59d
  12. Apr 16, 2019
    • teor's avatar
      rephist: fix an undeclared type compilation error · 05d25d06
      teor authored
      In 0.3.4 and later, we declare write_array as:
      extern struct bw_array_t *write_array;
      ...
      typedef struct bw_array_t bw_array_t;
      
      But in 0.2.9, we declare write_array as:
      typedef struct bw_array_t bw_array_t;
      extern bw_array_t *write_array;
      
      And then again in rephist.c:
      typedef struct bw_array_t bw_array_t;
      
      So some compilers fail with a duplicate declaration error.
      
      We backport 684b396c, which removes the duplicate declaration.
      And this commit deals with the undeclared type error.
      
      Backports a single line from merge commit 813019cc.
      
      Fixes bug 30184; not in any released version of Tor.
      05d25d06
    • Nick Mathewson's avatar
      Remove another needless typedef · 684b396c
      Nick Mathewson authored and teor's avatar teor committed
      684b396c
  13. Apr 05, 2019
  14. Apr 04, 2019
    • Nick Mathewson's avatar
      Do not cache bogus results from classifying client ciphers · 1710f4bb
      Nick Mathewson authored
      When classifying a client's selection of TLS ciphers, if the client
      ciphers are not yet available, do not cache the result. Previously,
      we had cached the unavailability of the cipher list and never looked
      again, which in turn led us to assume that the client only supported
      the ancient V1 link protocol.  This, in turn, was causing Stem
      integration tests to stall in some cases.  Fixes bug 30021; bugfix
      on 0.2.4.8-alpha.
      1710f4bb
  15. Apr 03, 2019
  16. Apr 01, 2019
  17. Mar 22, 2019
  18. Mar 20, 2019
  19. Mar 19, 2019
  20. Mar 18, 2019
  21. Mar 14, 2019
    • Roger Dingledine's avatar
      relays shouldn't close idle rend circuits · add0f89c
      Roger Dingledine authored
      Allow connections to single onion services to remain idle without being
      disconnected.
      
      Relays acting as rendezvous points for single onion services were
      mistakenly closing idle established rendezvous circuits after 60 seconds,
      thinking that they are unused directory-fetching circuits that had served
      their purpose.
      
      Fixes bug 29665; bugfix on 0.2.1.26.
      add0f89c
  22. Mar 13, 2019
Loading